Skip to content

Commit

Permalink
rename mediapackagev2
Browse files Browse the repository at this point in the history
  • Loading branch information
corymhall committed Jan 21, 2025
1 parent cc8e894 commit a8e8025
Show file tree
Hide file tree
Showing 22 changed files with 519 additions and 448 deletions.
4 changes: 2 additions & 2 deletions provider/cmd/pulumi-resource-aws/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23696,7 +23696,7 @@
}
},
"aws_media_packagev2_channel_group": {
"current": "aws:mediapackage/v2ChannelGroup:V2ChannelGroup",
"current": "aws:mediapackagev2/channelGroup:ChannelGroup",
"majorVersion": 6
},
"aws_media_store_container": {
Expand Down Expand Up @@ -277252,7 +277252,7 @@
"aws:medialive/multiplex:Multiplex": 0,
"aws:medialive/multiplexProgram:MultiplexProgram": 1,
"aws:mediapackage/channel:Channel": 0,
"aws:mediapackage/v2ChannelGroup:V2ChannelGroup": 1,
"aws:mediapackagev2/channelGroup:ChannelGroup": 1,
"aws:mediastore/container:Container": 0,
"aws:mediastore/containerPolicy:ContainerPolicy": 0,
"aws:memorydb/acl:Acl": 0,
Expand Down

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provider/cmd/pulumi-resource-aws/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"mediaconvert": "MediaConvert",
"medialive": "MediaLive",
"mediapackage": "MediaPackage",
"mediapackagev2": "MediaPackageV2",
"mediastore": "MediaStore",
"memorydb": "MemoryDb",
"mq": "Mq",
Expand Down Expand Up @@ -308700,8 +308701,8 @@
"type": "object"
}
},
"aws:mediapackage/v2ChannelGroup:V2ChannelGroup": {
"description": "Creates an AWS Elemental MediaPackage Version 2 Channel Group.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mediapackage.V2ChannelGroup(\"example\", {\n name: \"example\",\n description: \"channel group for example channels\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mediapackage.V2ChannelGroup(\"example\",\n name=\"example\",\n description=\"channel group for example channels\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.MediaPackage.V2ChannelGroup(\"example\", new()\n {\n Name = \"example\",\n Description = \"channel group for example channels\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mediapackage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mediapackage.NewV2ChannelGroup(ctx, \"example\", \u0026mediapackage.V2ChannelGroupArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"channel group for example channels\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mediapackage.V2ChannelGroup;\nimport com.pulumi.aws.mediapackage.V2ChannelGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new V2ChannelGroup(\"example\", V2ChannelGroupArgs.builder()\n .name(\"example\")\n .description(\"channel group for example channels\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mediapackage:V2ChannelGroup\n properties:\n name: example\n description: channel group for example channels\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import Elemental MediaPackage Version 2 Channel Group using the channel group's `name`. For example:\n\n```sh\n$ pulumi import aws:mediapackage/v2ChannelGroup:V2ChannelGroup example example\n```\n",
"aws:mediapackagev2/channelGroup:ChannelGroup": {
"description": "Creates an AWS Elemental MediaPackage Version 2 Channel Group.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.mediapackagev2.ChannelGroup(\"example\", {\n name: \"example\",\n description: \"channel group for example channels\",\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.mediapackagev2.ChannelGroup(\"example\",\n name=\"example\",\n description=\"channel group for example channels\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.MediaPackageV2.ChannelGroup(\"example\", new()\n {\n Name = \"example\",\n Description = \"channel group for example channels\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mediapackagev2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := mediapackagev2.NewChannelGroup(ctx, \"example\", \u0026mediapackagev2.ChannelGroupArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tDescription: pulumi.String(\"channel group for example channels\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.mediapackagev2.ChannelGroup;\nimport com.pulumi.aws.mediapackagev2.ChannelGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ChannelGroup(\"example\", ChannelGroupArgs.builder()\n .name(\"example\")\n .description(\"channel group for example channels\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:mediapackagev2:ChannelGroup\n properties:\n name: example\n description: channel group for example channels\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import Elemental MediaPackage Version 2 Channel Group using the channel group's `name`. For example:\n\n```sh\n$ pulumi import aws:mediapackagev2/channelGroup:ChannelGroup example example\n```\n",
"properties": {
"arn": {
"type": "string",
Expand Down Expand Up @@ -308759,7 +308760,7 @@
}
},
"stateInputs": {
"description": "Input properties used for looking up and filtering V2ChannelGroup resources.\n",
"description": "Input properties used for looking up and filtering ChannelGroup resources.\n",
"properties": {
"arn": {
"type": "string",
Expand Down
2 changes: 2 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ const (
mediaconvertMod = "MediaConvert" // Media Convert
medialiveMod = "MediaLive" // Media Live
mediapackageMod = "MediaPackage" // Elemental MediaPackage
mediapackagev2Mod = "MediaPackageV2" // Elemental MediaPackage Version 2
mediastoreMod = "MediaStore" // Elemental MediaStore
memoryDbMod = "MemoryDb" // Memory DB
mqMod = "Mq" // MQ
Expand Down Expand Up @@ -406,6 +407,7 @@ var moduleMap = map[string]string{
"macie2": macie2Mod,
"media_convert": mediaconvertMod,
"media_package": mediapackageMod,
"media_packagev2": mediapackagev2Mod,
"media_store": mediastoreMod,
"medialive": medialiveMod,
"memorydb": memoryDbMod,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sdk/dotnet/MediaPackageV2/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions sdk/go/aws/mediapackage/init.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a8e8025

Please sign in to comment.