From 4756990c9db5629e9660b4fb2791e316ffcade38 Mon Sep 17 00:00:00 2001 From: Mikhail Shilkov Date: Tue, 24 Aug 2021 09:21:45 +0300 Subject: [PATCH] Generate API doc examples (#60) * Generate API doc examples * Github actions to init submodules --- .github/workflows/master.yml | 2 + .github/workflows/pull_request.yml | 2 + .gitmodules | 3 + Makefile | 20 +- aws-cloudformation-user-guide | 1 + .../cmd/pulumi-gen-aws-native/examples.go | 293 ++++++++++++++++++ provider/cmd/pulumi-gen-aws-native/main.go | 4 + .../pulumi-resource-aws-native/schema.json | 136 ++++---- provider/go.mod | 1 + provider/pkg/cf2pulumi/renderer.go | 52 +++- 10 files changed, 432 insertions(+), 82 deletions(-) create mode 100644 .gitmodules create mode 160000 aws-cloudformation-user-guide create mode 100644 provider/cmd/pulumi-gen-aws-native/examples.go diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 378ae96f93..d91b65daab 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -124,6 +124,8 @@ jobs: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Initialize submodules + run: make init_submodules - name: Build codegen binaries run: make codegen - name: Build Schema diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4b988d3e92..f3209e3f3c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,6 +41,8 @@ jobs: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Initialize submodules + run: make init_submodules - name: Build codegen binaries run: make codegen - name: Build Schema diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..9fe2ee653e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "aws-cloudformation-user-guide"] + path = aws-cloudformation-user-guide + url = https://github.com/awsdocs/aws-cloudformation-user-guide diff --git a/Makefile b/Makefile index fa4c5642a1..eb541a76c7 100644 --- a/Makefile +++ b/Makefile @@ -17,11 +17,27 @@ CFN_SCHEMA_URL ?= https://cfn-resource-specifications-${CFN_SCHEMA_REGION}- CFN_SCHEMA_DIR := provider/cmd/pulumi-gen-${PACK} CFN_SCHEMA_FILE := ${CFN_SCHEMA_DIR}/cfn-spec-${CFN_SCHEMA_REGION}.json -discovery::codegen +init_submodules:: + @for submodule in $$(git submodule status | awk {'print $$2'}); do \ + if [ ! -f "$$submodule/.git" ]; then \ + echo "Initializing submodule $$submodule" ; \ + (cd $$submodule && git submodule update --init); \ + fi; \ + done + +update_submodules:: init_submodules + @for submodule in $$(git submodule status | awk {'print $$2'}); do \ + echo "Updating submodule $$submodule" ; \ + (cd $$submodule && git checkout main && git pull origin main); \ + done + rm ./azure-provider-versions/provider_list.json + az provider list >> ./azure-provider-versions/provider_list.json + +discovery:: update_submodules codegen curl -s -L $(CFN_SCHEMA_URL) | gzip -d > $(CFN_SCHEMA_FILE) $(WORKING_DIR)/bin/$(CODEGEN) discovery $(CFN_SCHEMA_FILE) ${VERSION} -ensure:: +ensure:: init_submodules @echo "GO111MODULE=on go mod tidy" cd aws-sdk-go-v2-cf-preview && GO111MODULE=on go mod tidy cd provider && GO111MODULE=on go mod tidy diff --git a/aws-cloudformation-user-guide b/aws-cloudformation-user-guide new file mode 160000 index 0000000000..f572974eb3 --- /dev/null +++ b/aws-cloudformation-user-guide @@ -0,0 +1 @@ +Subproject commit f572974eb300892ab67b0f5fa0da0ba33f275994 diff --git a/provider/cmd/pulumi-gen-aws-native/examples.go b/provider/cmd/pulumi-gen-aws-native/examples.go new file mode 100644 index 0000000000..31e0d8d3ba --- /dev/null +++ b/provider/cmd/pulumi-gen-aws-native/examples.go @@ -0,0 +1,293 @@ +// Copyright 2016-2021, Pulumi Corporation. + +package main + +import ( + "bufio" + "bytes" + "fmt" + "github.com/blang/semver" + "github.com/hashicorp/hcl/v2" + "github.com/pkg/errors" + "github.com/pulumi/pulumi-aws-native/provider/pkg/cf2pulumi" + "github.com/pulumi/pulumi/pkg/v3/codegen/dotnet" + gogen "github.com/pulumi/pulumi/pkg/v3/codegen/go" + "github.com/pulumi/pulumi/pkg/v3/codegen/hcl2" + "github.com/pulumi/pulumi/pkg/v3/codegen/hcl2/syntax" + "github.com/pulumi/pulumi/pkg/v3/codegen/nodejs" + "github.com/pulumi/pulumi/pkg/v3/codegen/python" + "github.com/pulumi/pulumi/pkg/v3/codegen/schema" + "os" + "path" + "path/filepath" + "strings" + "text/template" +) + +func generateExamples(pkgSpec *schema.PackageSpec, languages []string) error { + // Find all snippets in the AWS CloudFormation Docs repo. + folder := path.Join(".", "aws-cloudformation-user-guide", "doc_source") + examples, err := findAllExamples(folder) + if err != nil { + return err + } + + // Cache to speed up code generation. + hcl2Cache := hcl2.Cache(hcl2.NewPackageCache()) + pkg, err := schema.ImportSpec(*pkgSpec, nil) + if err != nil { + return err + } + loaderOption := hcl2.Loader(inMemoryPackageLoader(map[string]*schema.Package{ + "aws-native": pkg, + })) + + // Render examples to SDK languages. + examplesRenderData := map[string][]exampleRenderData{} + for _, yaml := range examples { + example, err := generateExample(yaml, languages, hcl2Cache, loaderOption) + if err != nil { + // Skip all snippets that don't produce valid examples. + continue + } + var existing []exampleRenderData + if other, ok := examplesRenderData[example.ResourceType]; ok { + existing = other + } + examplesRenderData[example.ResourceType] = append(existing, exampleRenderData{ + ExampleDescription: "Example", + LanguageToExampleProgram: example.LanguageToExampleProgram, + }) + } + + // Write examples to the schema docs. + for resourceType, data := range examplesRenderData { + err = renderExampleToSchema(pkgSpec, resourceType, data) + if err != nil { + return errors.Wrapf(err, "rendering %s %+v", resourceType, data) + } + } + return nil +} + +func generateExample(yaml string, languages []string, bindOpts ...hcl2.BindOption) (*resourceExample, error) { + body, err := cf2pulumi.RenderText(yaml) + if err != nil { + return nil, errors.Wrapf(err, "rendering YAML") + } + + cf2pulumi.FormatBody(body) + text := fmt.Sprintf("%v", body) + + parser := syntax.NewParser() + if err := parser.ParseFile(strings.NewReader(text), "program.pp"); err != nil { + return nil, errors.Wrapf(err, "parsing IR") + } + if parser.Diagnostics.HasErrors() { + buf := new(bytes.Buffer) + _ = parser.NewDiagnosticWriter(buf, 0, false).WriteDiagnostics(parser.Diagnostics) + return nil, errors.Errorf("parser diagnostic errors: %s", buf) + } + + program, diags, err := hcl2.BindProgram(parser.Files, bindOpts...) + if err != nil { + return nil, errors.Wrapf(err, "binding program") + } + if diags.HasErrors() { + buf := new(bytes.Buffer) + _ = program.NewDiagnosticWriter(buf, 0, false).WriteDiagnostics(diags) + return nil, errors.Errorf("bind diagnostic errors: %s", buf) + } + + resourceType := "" + for _, node := range program.Nodes { + if res, ok := node.(*hcl2.Resource); ok { + resourceType = res.Token + break + } + } + if resourceType == "" { + return nil, errors.New("no resource node found") + } + + perLanguage := languageToExampleProgram{} + for _, target := range languages { + var files map[string][]byte + switch target { + case "dotnet": + files, diags, err = dotnet.GenerateProgram(program) + case "go": + files, diags, err = recoverableProgramGen(program, gogen.GenerateProgram) + case "nodejs": + files, diags, err = nodejs.GenerateProgram(program) + case "python": + files, diags, err = python.GenerateProgram(program) + } + if err != nil { + return nil, errors.Wrapf(err, "generating program") + } + if diags.HasErrors() { + buf := new(bytes.Buffer) + _ = program.NewDiagnosticWriter(buf, 0, true).WriteDiagnostics(diags) + return nil, errors.Errorf("generate diagnostic errors: %s", buf) + } + + var sb strings.Builder + for _, f := range files { + sb.WriteString(string(f)) + } + perLanguage[language(target)] = programText(sb.String()) + } + return &resourceExample{ + ResourceType: resourceType, + LanguageToExampleProgram: perLanguage, + }, nil +} + +func findAllExamples(folder string) ([]string, error) { + var fileNames, result []string + err := filepath.Walk(folder, func(path string, info os.FileInfo, err error) error { + if !info.IsDir() && strings.Contains(path, "aws-resource-") { + fileNames = append(fileNames, path) + } + return nil + }) + if err != nil { + return nil, err + } + for _, fileName := range fileNames { + examples, err := findExamples(fileName) + if err != nil { + return nil, err + } + result = append(result, examples...) + } + return result, nil +} + +func findExamples(fileName string) ([]string, error) { + docFile, err := os.Open(fileName) + if err != nil { + return nil, errors.Wrapf(err, "opening file") + } + defer func() { + _ = docFile.Close() + }() + + var result []string + var buf strings.Builder + snippet := false + + scanner := bufio.NewScanner(docFile) + for scanner.Scan() { + line := scanner.Text() + if strings.HasPrefix(line, "```") { + if snippet && buf.Len() > 0 { + result = append(result, buf.String()) + } + snippet = !snippet + continue + } + if snippet { + buf.WriteString(line) + buf.WriteRune('\n') + } else { + buf.Reset() + } + } + return result, scanner.Err() +} + +type programGenFn func(*hcl2.Program) (map[string][]byte, hcl.Diagnostics, error) + +func recoverableProgramGen(program *hcl2.Program, fn programGenFn) (files map[string][]byte, d hcl.Diagnostics, err error) { + defer func() { + if r := recover(); r != nil { + err = fmt.Errorf("panic recovered during generation: %v", r) + } + }() + + return fn(program) +} + +type programText string +type language string + +type languageToExampleProgram map[language]programText +type exampleRenderData struct { + ExampleDescription string + LanguageToExampleProgram languageToExampleProgram +} +type resourceExample struct { + ResourceType string + LanguageToExampleProgram languageToExampleProgram +} + +func renderExampleToSchema(pkgSpec *schema.PackageSpec, resourceName string, + examplesRenderData []exampleRenderData) error { + const tmpl = ` + +{{"{{% examples %}}"}} +## Example Usage +{{- range . }} +{{ "{{% example %}}" }} +### {{ .ExampleDescription }} + +{{- range $lang, $example := .LanguageToExampleProgram }} +{{ beginLanguage $lang }} +{{ $example }} +{{ endLanguage }} +{{ end }} +{{"{{% /example %}}"}} +{{- end }} +{{"{{% /examples %}}"}} +` + res, ok := pkgSpec.Resources[resourceName] + if !ok { + return fmt.Errorf("missing resource from schema: %s", resourceName) + } + + t, err := template.New("examples").Funcs(template.FuncMap{ + "beginLanguage": func(lang interface{}) string { + l := fmt.Sprintf("%s", lang) + switch l { + case "nodejs": + l = "typescript" + case "dotnet": + l = "csharp" + } + return fmt.Sprintf("```%s", l) + }, + "endLanguage": func() string { + return "```" + }, + }).Parse(tmpl) + if err != nil { + return err + } + b := strings.Builder{} + if err = t.Execute(&b, examplesRenderData); err != nil { + return err + } + res.Description += b.String() + pkgSpec.Resources[resourceName] = res + return nil +} + +// inMemoryPackageLoader prevents having to fetch the schema from +// the provider every time which significantly speeds up codegen. +func inMemoryPackageLoader(pkgs map[string]*schema.Package) schema.Loader { + return &inMemoryLoader{pkgs: pkgs} +} + +type inMemoryLoader struct { + pkgs map[string]*schema.Package +} + +func (l *inMemoryLoader) LoadPackage(pkg string, _ *semver.Version) (*schema.Package, error) { + if p, ok := l.pkgs[pkg]; ok { + return p, nil + } + + return nil, errors.Errorf("package %s not found in the in-memory map", pkg) +} diff --git a/provider/cmd/pulumi-gen-aws-native/main.go b/provider/cmd/pulumi-gen-aws-native/main.go index 4a9b2a2e96..70d28bd9f8 100644 --- a/provider/cmd/pulumi-gen-aws-native/main.go +++ b/provider/cmd/pulumi-gen-aws-native/main.go @@ -74,6 +74,10 @@ func main() { case "go": writeGoSDK(ppkg, outdir) case "schema": + err := generateExamples(&pkgSpec, []string{"nodejs","python","dotnet","go"}) + if err != nil { + panic(fmt.Sprintf("error generating examples: %v", err)) + } writePulumiSchema(pkgSpec, providerDir) default: panic(fmt.Sprintf("Unrecognized language '%s'", language)) diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json index 7f0024a2ca..19f0f4a77a 100644 --- a/provider/cmd/pulumi-resource-aws-native/schema.json +++ b/provider/cmd/pulumi-resource-aws-native/schema.json @@ -27044,7 +27044,7 @@ }, "resources": { "aws-native:accessanalyzer:Analyzer": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var analyzer = new AwsNative.AccessAnalyzer.Analyzer(\"analyzer\", new AwsNative.AccessAnalyzer.AnalyzerArgs\n {\n AnalyzerName = \"DevAccountAnalyzer\",\n ArchiveRules = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerArchiveRuleArgs\n {\n Filter = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerFilterArgs\n {\n Eq = \n {\n \"123456789012\",\n },\n Property = \"principal.AWS\",\n },\n },\n RuleName = \"ArchiveTrustedAccountAccess\",\n },\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerArchiveRuleArgs\n {\n Filter = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerFilterArgs\n {\n Contains = \n {\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n },\n Property = \"resource\",\n },\n },\n RuleName = \"ArchivePublicS3BucketsAccess\",\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Kind\",\n Value = \"Dev\",\n },\n },\n Type = \"ACCOUNT\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/accessanalyzer\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := accessanalyzer.NewAnalyzer(ctx, \"analyzer\", \u0026accessanalyzer.AnalyzerArgs{\n\t\t\tAnalyzerName: pulumi.String(\"DevAccountAnalyzer\"),\n\t\t\tArchiveRules: []accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\u0026accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\tFilter: []accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\u0026accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\tEq: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"123456789012\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tProperty: pulumi.String(\"principal.AWS\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tRuleName: pulumi.String(\"ArchiveTrustedAccountAccess\"),\n\t\t\t\t},\n\t\t\t\t\u0026accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\tFilter: []accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\u0026accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\tContains: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"arn:aws:s3:::docs-bucket\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"arn:aws:s3:::clients-bucket\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tProperty: pulumi.String(\"resource\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tRuleName: pulumi.String(\"ArchivePublicS3BucketsAccess\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Kind\"),\n\t\t\t\t\tValue: pulumi.String(\"Dev\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tType: pulumi.String(\"ACCOUNT\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst analyzer = new aws_native.accessanalyzer.Analyzer(\"analyzer\", {\n analyzerName: \"DevAccountAnalyzer\",\n archiveRules: [\n {\n filter: [{\n eq: [\"123456789012\"],\n property: \"principal.AWS\",\n }],\n ruleName: \"ArchiveTrustedAccountAccess\",\n },\n {\n filter: [{\n contains: [\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n ],\n property: \"resource\",\n }],\n ruleName: \"ArchivePublicS3BucketsAccess\",\n },\n ],\n tags: [{\n key: \"Kind\",\n value: \"Dev\",\n }],\n type: \"ACCOUNT\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nanalyzer = aws_native.accessanalyzer.Analyzer(\"analyzer\",\n analyzer_name=\"DevAccountAnalyzer\",\n archive_rules=[\n aws_native.accessanalyzer.AnalyzerArchiveRuleArgs(\n filter=[aws_native.accessanalyzer.AnalyzerFilterArgs(\n eq=[\"123456789012\"],\n property=\"principal.AWS\",\n )],\n rule_name=\"ArchiveTrustedAccountAccess\",\n ),\n aws_native.accessanalyzer.AnalyzerArchiveRuleArgs(\n filter=[aws_native.accessanalyzer.AnalyzerFilterArgs(\n contains=[\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n ],\n property=\"resource\",\n )],\n rule_name=\"ArchivePublicS3BucketsAccess\",\n ),\n ],\n tags=[aws_native.TagArgs(\n key=\"Kind\",\n value=\"Dev\",\n )],\n type=\"ACCOUNT\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var analyzer = new AwsNative.AccessAnalyzer.Analyzer(\"analyzer\", new AwsNative.AccessAnalyzer.AnalyzerArgs\n {\n AnalyzerName = \"MyAccountAnalyzer\",\n Type = \"ACCOUNT\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Kind\",\n Value = \"Dev\",\n },\n },\n ArchiveRules = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerArchiveRuleArgs\n {\n RuleName = \"ArchiveTrustedAccountAccess\",\n Filter = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerFilterArgs\n {\n Property = \"principal.AWS\",\n Eq = \n {\n \"123456789012\",\n },\n },\n },\n },\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerArchiveRuleArgs\n {\n RuleName = \"ArchivePublicS3BucketsAccess\",\n Filter = \n {\n new AwsNative.AccessAnalyzer.Inputs.AnalyzerFilterArgs\n {\n Property = \"resource\",\n Contains = \n {\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/accessanalyzer\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := accessanalyzer.NewAnalyzer(ctx, \"analyzer\", \u0026accessanalyzer.AnalyzerArgs{\n\t\t\tAnalyzerName: pulumi.String(\"MyAccountAnalyzer\"),\n\t\t\tType: pulumi.String(\"ACCOUNT\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Kind\"),\n\t\t\t\t\tValue: pulumi.String(\"Dev\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tArchiveRules: []accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\u0026accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\tRuleName: pulumi.String(\"ArchiveTrustedAccountAccess\"),\n\t\t\t\t\tFilter: []accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\u0026accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\tProperty: pulumi.String(\"principal.AWS\"),\n\t\t\t\t\t\t\tEq: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"123456789012\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026accessanalyzer.AnalyzerArchiveRuleArgs{\n\t\t\t\t\tRuleName: pulumi.String(\"ArchivePublicS3BucketsAccess\"),\n\t\t\t\t\tFilter: []accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\u0026accessanalyzer.AnalyzerFilterArgs{\n\t\t\t\t\t\t\tProperty: pulumi.String(\"resource\"),\n\t\t\t\t\t\t\tContains: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"arn:aws:s3:::docs-bucket\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"arn:aws:s3:::clients-bucket\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst analyzer = new aws_native.accessanalyzer.Analyzer(\"analyzer\", {\n analyzerName: \"MyAccountAnalyzer\",\n type: \"ACCOUNT\",\n tags: [{\n key: \"Kind\",\n value: \"Dev\",\n }],\n archiveRules: [\n {\n ruleName: \"ArchiveTrustedAccountAccess\",\n filter: [{\n property: \"principal.AWS\",\n eq: [\"123456789012\"],\n }],\n },\n {\n ruleName: \"ArchivePublicS3BucketsAccess\",\n filter: [{\n property: \"resource\",\n contains: [\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n ],\n }],\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nanalyzer = aws_native.accessanalyzer.Analyzer(\"analyzer\",\n analyzer_name=\"MyAccountAnalyzer\",\n type=\"ACCOUNT\",\n tags=[aws_native.TagArgs(\n key=\"Kind\",\n value=\"Dev\",\n )],\n archive_rules=[\n aws_native.accessanalyzer.AnalyzerArchiveRuleArgs(\n rule_name=\"ArchiveTrustedAccountAccess\",\n filter=[aws_native.accessanalyzer.AnalyzerFilterArgs(\n property=\"principal.AWS\",\n eq=[\"123456789012\"],\n )],\n ),\n aws_native.accessanalyzer.AnalyzerArchiveRuleArgs(\n rule_name=\"ArchivePublicS3BucketsAccess\",\n filter=[aws_native.accessanalyzer.AnalyzerFilterArgs(\n property=\"resource\",\n contains=[\n \"arn:aws:s3:::docs-bucket\",\n \"arn:aws:s3:::clients-bucket\",\n ],\n )],\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "analyzerName": { "type": "string", @@ -27195,7 +27195,7 @@ ] }, "aws-native:acmpca:CertificateAuthority": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var rootCA = new AwsNative.ACMPCA.CertificateAuthority(\"rootCA\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"ROOT\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"123\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = new AwsNative.ACMPCA.Inputs.CertificateAuthorityRevocationConfigurationArgs\n {\n CrlConfiguration = new AwsNative.ACMPCA.Inputs.CertificateAuthorityCrlConfigurationArgs\n {\n Enabled = false,\n },\n },\n });\n var rootCACertificate = new AwsNative.ACMPCA.Certificate(\"rootCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = rootCA.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 100,\n },\n });\n var rootCAActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"rootCAActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n Certificate = rootCACertificate.Certificate,\n Status = \"ACTIVE\",\n });\n var subordinateCAOne = new AwsNative.ACMPCA.CertificateAuthority(\"subordinateCAOne\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"Sub1\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = ,\n Tags = {},\n });\n var subordinateCAOneCACertificate = new AwsNative.ACMPCA.Certificate(\"subordinateCAOneCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = subordinateCAOne.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 90,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n rootCAActivation,\n },\n });\n var subordinateCAOneActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"subordinateCAOneActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n Certificate = subordinateCAOneCACertificate.Certificate,\n CertificateChain = rootCAActivation.Complete_certificate_chain,\n Status = \"ACTIVE\",\n });\n var subordinateCATwo = new AwsNative.ACMPCA.CertificateAuthority(\"subordinateCATwo\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key2\",\n Value = \"Value2\",\n },\n },\n });\n var subordinateCATwoCACertificate = new AwsNative.ACMPCA.Certificate(\"subordinateCATwoCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n CertificateSigningRequest = subordinateCATwo.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 80,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n subordinateCAOneActivation,\n },\n });\n var subordinateCATwoActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"subordinateCATwoActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n Certificate = subordinateCATwoCACertificate.Certificate,\n CertificateChain = subordinateCAOneActivation.Complete_certificate_chain,\n });\n var endEntityCertificate = new AwsNative.ACMPCA.Certificate(\"endEntityCertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n CertificateSigningRequest = @\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 70,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n subordinateCATwoActivation,\n },\n });\n this.CompleteCertificateChain = subordinateCATwoActivation.Complete_certificate_chain;\n this.CertificateArn = endEntityCertificate.Arn;\n }\n\n [Output(\"completeCertificateChain\")]\n public Output\u003cstring\u003e CompleteCertificateChain { get; set; }\n [Output(\"certificateArn\")]\n public Output\u003cstring\u003e CertificateArn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/acmpca\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trootCA, err := acmpca.NewCertificateAuthority(ctx, \"rootCA\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"ROOT\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"123\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: \u0026acmpca.CertificateAuthorityRevocationConfigurationArgs{\n\t\t\t\tCrlConfiguration: \u0026acmpca.CertificateAuthorityCrlConfigurationArgs{\n\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCACertificate, err := acmpca.NewCertificate(ctx, \"rootCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: rootCA.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/RootCACertificate/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(100),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCAActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"rootCAActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificate: rootCACertificate.Certificate,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOne, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCAOne\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"Sub1\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: nil,\n\t\t\tTags: TagArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCAOneCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: subordinateCAOne.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(90),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootCAActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCAOneActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificate: subordinateCAOneCACertificate.Certificate,\n\t\t\tCertificateChain: rootCAActivation.Complete_certificate_chain,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwo, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCATwo\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key2\"),\n\t\t\t\t\tValue: pulumi.String(\"Value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCATwoCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificateSigningRequest: subordinateCATwo.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(80),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCAOneActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCATwoActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificate: subordinateCATwoCACertificate.Certificate,\n\t\t\tCertificateChain: subordinateCAOneActivation.Complete_certificate_chain,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tendEntityCertificate, err := acmpca.NewCertificate(ctx, \"endEntityCertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificateSigningRequest: pulumi.String(\"-----BEGIN CERTIFICATE REQUEST-----\\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\\n-----END CERTIFICATE REQUEST-----\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(70),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCATwoActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"completeCertificateChain\", subordinateCATwoActivation.Complete_certificate_chain)\n\t\tctx.Export(\"certificateArn\", endEntityCertificate.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst rootCA = new aws_native.acmpca.CertificateAuthority(\"rootCA\", {\n type: \"ROOT\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"123\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {\n crlConfiguration: {\n enabled: false,\n },\n },\n});\nconst rootCACertificate = new aws_native.acmpca.Certificate(\"rootCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: rootCA.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity: {\n type: \"DAYS\",\n value: 100,\n },\n});\nconst rootCAActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\", {\n certificateAuthorityArn: rootCA.id,\n certificate: rootCACertificate.certificate,\n status: \"ACTIVE\",\n});\nconst subordinateCAOne = new aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"Sub1\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {},\n tags: [],\n});\nconst subordinateCAOneCACertificate = new aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: subordinateCAOne.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity: {\n type: \"DAYS\",\n value: 90,\n },\n}, {\n dependsOn: [rootCAActivation],\n});\nconst subordinateCAOneActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificate: subordinateCAOneCACertificate.certificate,\n certificateChain: rootCAActivation.completeCertificateChain,\n status: \"ACTIVE\",\n});\nconst subordinateCATwo = new aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n tags: [\n {\n key: \"Key1\",\n value: \"Value1\",\n },\n {\n key: \"Key2\",\n value: \"Value2\",\n },\n ],\n});\nconst subordinateCATwoCACertificate = new aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificateSigningRequest: subordinateCATwo.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity: {\n type: \"DAYS\",\n value: 80,\n },\n}, {\n dependsOn: [subordinateCAOneActivation],\n});\nconst subordinateCATwoActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificate: subordinateCATwoCACertificate.certificate,\n certificateChain: subordinateCAOneActivation.completeCertificateChain,\n});\nconst endEntityCertificate = new aws_native.acmpca.Certificate(\"endEntityCertificate\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificateSigningRequest: `-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`,\n signingAlgorithm: \"SHA256WITHRSA\",\n validity: {\n type: \"DAYS\",\n value: 70,\n },\n}, {\n dependsOn: [subordinateCATwoActivation],\n});\nexport const completeCertificateChain = subordinateCATwoActivation.completeCertificateChain;\nexport const certificateArn = endEntityCertificate.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nroot_ca = aws_native.acmpca.CertificateAuthority(\"rootCA\",\n type=\"ROOT\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n common_name=\"123\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n revocation_configuration=aws_native.acmpca.CertificateAuthorityRevocationConfigurationArgs(\n crl_configuration=aws_native.acmpca.CertificateAuthorityCrlConfigurationArgs(\n enabled=False,\n ),\n ))\nroot_ca_certificate = aws_native.acmpca.Certificate(\"rootCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=root_ca.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=100,\n ))\nroot_ca_activation = aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\",\n certificate_authority_arn=root_ca.id,\n certificate=root_ca_certificate.certificate,\n status=\"ACTIVE\")\nsubordinate_ca_one = aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n common_name=\"Sub1\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n revocation_configuration=aws_native.acmpca.CertificateAuthorityRevocationConfigurationArgs(),\n tags=[])\nsubordinate_ca_one_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=subordinate_ca_one.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=90,\n ),\n opts=pulumi.ResourceOptions(depends_on=[root_ca_activation]))\nsubordinate_ca_one_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate=subordinate_ca_one_ca_certificate.certificate,\n certificate_chain=root_ca_activation.complete_certificate_chain,\n status=\"ACTIVE\")\nsubordinate_ca_two = aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n tags=[\n aws_native.TagArgs(\n key=\"Key1\",\n value=\"Value1\",\n ),\n aws_native.TagArgs(\n key=\"Key2\",\n value=\"Value2\",\n ),\n ])\nsubordinate_ca_two_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate_signing_request=subordinate_ca_two.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=80,\n ),\n opts=pulumi.ResourceOptions(depends_on=[subordinate_ca_one_activation]))\nsubordinate_ca_two_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate=subordinate_ca_two_ca_certificate.certificate,\n certificate_chain=subordinate_ca_one_activation.complete_certificate_chain)\nend_entity_certificate = aws_native.acmpca.Certificate(\"endEntityCertificate\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate_signing_request=\"\"\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\"\"\",\n signing_algorithm=\"SHA256WITHRSA\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=70,\n ),\n opts=pulumi.ResourceOptions(depends_on=[subordinate_ca_two_activation]))\npulumi.export(\"completeCertificateChain\", subordinate_ca_two_activation.complete_certificate_chain)\npulumi.export(\"certificateArn\", end_entity_certificate.arn)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var rootCA = new AwsNative.ACMPCA.CertificateAuthority(\"rootCA\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"ROOT\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"123\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = new AwsNative.ACMPCA.Inputs.CertificateAuthorityRevocationConfigurationArgs\n {\n CrlConfiguration = new AwsNative.ACMPCA.Inputs.CertificateAuthorityCrlConfigurationArgs\n {\n Enabled = false,\n },\n },\n });\n var rootCACertificate = new AwsNative.ACMPCA.Certificate(\"rootCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = rootCA.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 100,\n },\n });\n var rootCAActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"rootCAActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n Certificate = rootCACertificate.Certificate,\n Status = \"ACTIVE\",\n });\n var subordinateCAOne = new AwsNative.ACMPCA.CertificateAuthority(\"subordinateCAOne\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"Sub1\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = ,\n Tags = {},\n });\n var subordinateCAOneCACertificate = new AwsNative.ACMPCA.Certificate(\"subordinateCAOneCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = subordinateCAOne.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 90,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n rootCAActivation,\n },\n });\n var subordinateCAOneActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"subordinateCAOneActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n Certificate = subordinateCAOneCACertificate.Certificate,\n CertificateChain = rootCAActivation.Complete_certificate_chain,\n Status = \"ACTIVE\",\n });\n var subordinateCATwo = new AwsNative.ACMPCA.CertificateAuthority(\"subordinateCATwo\", new AwsNative.ACMPCA.CertificateAuthorityArgs\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.ACMPCA.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key2\",\n Value = \"Value2\",\n },\n },\n });\n var subordinateCATwoCACertificate = new AwsNative.ACMPCA.Certificate(\"subordinateCATwoCACertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n CertificateSigningRequest = subordinateCATwo.Certificate_signing_request,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 80,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n subordinateCAOneActivation,\n },\n });\n var subordinateCATwoActivation = new AwsNative.ACMPCA.CertificateAuthorityActivation(\"subordinateCATwoActivation\", new AwsNative.ACMPCA.CertificateAuthorityActivationArgs\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n Certificate = subordinateCATwoCACertificate.Certificate,\n CertificateChain = subordinateCAOneActivation.Complete_certificate_chain,\n });\n var endEntityCertificate = new AwsNative.ACMPCA.Certificate(\"endEntityCertificate\", new AwsNative.ACMPCA.CertificateArgs\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n CertificateSigningRequest = @\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Validity = new AwsNative.ACMPCA.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 70,\n },\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n subordinateCATwoActivation,\n },\n });\n this.CompleteCertificateChain = subordinateCATwoActivation.Complete_certificate_chain;\n this.CertificateArn = endEntityCertificate.Arn;\n }\n\n [Output(\"completeCertificateChain\")]\n public Output\u003cstring\u003e CompleteCertificateChain { get; set; }\n [Output(\"certificateArn\")]\n public Output\u003cstring\u003e CertificateArn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/acmpca\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trootCA, err := acmpca.NewCertificateAuthority(ctx, \"rootCA\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"ROOT\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"123\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: \u0026acmpca.CertificateAuthorityRevocationConfigurationArgs{\n\t\t\t\tCrlConfiguration: \u0026acmpca.CertificateAuthorityCrlConfigurationArgs{\n\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCACertificate, err := acmpca.NewCertificate(ctx, \"rootCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: rootCA.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/RootCACertificate/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(100),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCAActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"rootCAActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificate: rootCACertificate.Certificate,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOne, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCAOne\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"Sub1\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: nil,\n\t\t\tTags: TagArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCAOneCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: subordinateCAOne.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(90),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootCAActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCAOneActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificate: subordinateCAOneCACertificate.Certificate,\n\t\t\tCertificateChain: rootCAActivation.Complete_certificate_chain,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwo, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCATwo\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key2\"),\n\t\t\t\t\tValue: pulumi.String(\"Value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCATwoCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificateSigningRequest: subordinateCATwo.Certificate_signing_request,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(80),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCAOneActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCATwoActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificate: subordinateCATwoCACertificate.Certificate,\n\t\t\tCertificateChain: subordinateCAOneActivation.Complete_certificate_chain,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tendEntityCertificate, err := acmpca.NewCertificate(ctx, \"endEntityCertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificateSigningRequest: pulumi.String(\"-----BEGIN CERTIFICATE REQUEST-----\\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\\n-----END CERTIFICATE REQUEST-----\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(70),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCATwoActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"completeCertificateChain\", subordinateCATwoActivation.Complete_certificate_chain)\n\t\tctx.Export(\"certificateArn\", endEntityCertificate.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst rootCA = new aws_native.acmpca.CertificateAuthority(\"rootCA\", {\n type: \"ROOT\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"123\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {\n crlConfiguration: {\n enabled: false,\n },\n },\n});\nconst rootCACertificate = new aws_native.acmpca.Certificate(\"rootCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: rootCA.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity: {\n type: \"DAYS\",\n value: 100,\n },\n});\nconst rootCAActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\", {\n certificateAuthorityArn: rootCA.id,\n certificate: rootCACertificate.certificate,\n status: \"ACTIVE\",\n});\nconst subordinateCAOne = new aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"Sub1\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {},\n tags: [],\n});\nconst subordinateCAOneCACertificate = new aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: subordinateCAOne.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity: {\n type: \"DAYS\",\n value: 90,\n },\n}, {\n dependsOn: [rootCAActivation],\n});\nconst subordinateCAOneActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificate: subordinateCAOneCACertificate.certificate,\n certificateChain: rootCAActivation.completeCertificateChain,\n status: \"ACTIVE\",\n});\nconst subordinateCATwo = new aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n tags: [\n {\n key: \"Key1\",\n value: \"Value1\",\n },\n {\n key: \"Key2\",\n value: \"Value2\",\n },\n ],\n});\nconst subordinateCATwoCACertificate = new aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificateSigningRequest: subordinateCATwo.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity: {\n type: \"DAYS\",\n value: 80,\n },\n}, {\n dependsOn: [subordinateCAOneActivation],\n});\nconst subordinateCATwoActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificate: subordinateCATwoCACertificate.certificate,\n certificateChain: subordinateCAOneActivation.completeCertificateChain,\n});\nconst endEntityCertificate = new aws_native.acmpca.Certificate(\"endEntityCertificate\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificateSigningRequest: `-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`,\n signingAlgorithm: \"SHA256WITHRSA\",\n validity: {\n type: \"DAYS\",\n value: 70,\n },\n}, {\n dependsOn: [subordinateCATwoActivation],\n});\nexport const completeCertificateChain = subordinateCATwoActivation.completeCertificateChain;\nexport const certificateArn = endEntityCertificate.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nroot_ca = aws_native.acmpca.CertificateAuthority(\"rootCA\",\n type=\"ROOT\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n common_name=\"123\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n revocation_configuration=aws_native.acmpca.CertificateAuthorityRevocationConfigurationArgs(\n crl_configuration=aws_native.acmpca.CertificateAuthorityCrlConfigurationArgs(\n enabled=False,\n ),\n ))\nroot_ca_certificate = aws_native.acmpca.Certificate(\"rootCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=root_ca.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=100,\n ))\nroot_ca_activation = aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\",\n certificate_authority_arn=root_ca.id,\n certificate=root_ca_certificate.certificate,\n status=\"ACTIVE\")\nsubordinate_ca_one = aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n common_name=\"Sub1\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n revocation_configuration=aws_native.acmpca.CertificateAuthorityRevocationConfigurationArgs(),\n tags=[])\nsubordinate_ca_one_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=subordinate_ca_one.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=90,\n ),\n opts=pulumi.ResourceOptions(depends_on=[root_ca_activation]))\nsubordinate_ca_one_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate=subordinate_ca_one_ca_certificate.certificate,\n certificate_chain=root_ca_activation.complete_certificate_chain,\n status=\"ACTIVE\")\nsubordinate_ca_two = aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject=aws_native.acmpca.CertificateAuthoritySubjectArgs(\n country=\"US\",\n organization=\"string\",\n organizational_unit=\"string\",\n distinguished_name_qualifier=\"string\",\n state=\"string\",\n serial_number=\"string\",\n locality=\"string\",\n title=\"string\",\n surname=\"string\",\n given_name=\"string\",\n initials=\"DG\",\n pseudonym=\"string\",\n generation_qualifier=\"DBG\",\n ),\n tags=[\n aws_native.TagArgs(\n key=\"Key1\",\n value=\"Value1\",\n ),\n aws_native.TagArgs(\n key=\"Key2\",\n value=\"Value2\",\n ),\n ])\nsubordinate_ca_two_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate_signing_request=subordinate_ca_two.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=80,\n ),\n opts=pulumi.ResourceOptions(depends_on=[subordinate_ca_one_activation]))\nsubordinate_ca_two_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate=subordinate_ca_two_ca_certificate.certificate,\n certificate_chain=subordinate_ca_one_activation.complete_certificate_chain)\nend_entity_certificate = aws_native.acmpca.Certificate(\"endEntityCertificate\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate_signing_request=\"\"\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\"\"\",\n signing_algorithm=\"SHA256WITHRSA\",\n validity=aws_native.acmpca.CertificateValidityArgs(\n type=\"DAYS\",\n value=70,\n ),\n opts=pulumi.ResourceOptions(depends_on=[subordinate_ca_two_activation]))\npulumi.export(\"completeCertificateChain\", subordinate_ca_two_activation.complete_certificate_chain)\npulumi.export(\"certificateArn\", end_entity_certificate.arn)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -27725,7 +27725,7 @@ ] }, "aws-native:apigateway:ApiKey": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var apiKeyName = config.Require(\"apiKeyName\");\n var customerId = config.Require(\"customerId\");\n var generateDistinctId = config.Require(\"generateDistinctId\");\n var apiKey = new AwsNative.ApiGateway.ApiKey(\"apiKey\", new AwsNative.ApiGateway.ApiKeyArgs\n {\n CustomerId = customerId,\n GenerateDistinctId = generateDistinctId,\n Name = apiKeyName,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeyName := cfg.Require(\"apiKeyName\")\n\t\tcustomerId := cfg.Require(\"customerId\")\n\t\tgenerateDistinctId := cfg.Require(\"generateDistinctId\")\n\t\t_, err := apigateway.NewApiKey(ctx, \"apiKey\", \u0026apigateway.ApiKeyArgs{\n\t\t\tCustomerId: pulumi.String(customerId),\n\t\t\tGenerateDistinctId: pulumi.String(generateDistinctId),\n\t\t\tName: pulumi.String(apiKeyName),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiKeyName = config.require(\"apiKeyName\");\nconst customerId = config.require(\"customerId\");\nconst generateDistinctId = config.require(\"generateDistinctId\");\nconst apiKey = new aws_native.apigateway.ApiKey(\"apiKey\", {\n customerId: customerId,\n generateDistinctId: generateDistinctId,\n name: apiKeyName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_name = config.require(\"apiKeyName\")\ncustomer_id = config.require(\"customerId\")\ngenerate_distinct_id = config.require(\"generateDistinctId\")\napi_key = aws_native.apigateway.ApiKey(\"apiKey\",\n customer_id=customer_id,\n generate_distinct_id=generate_distinct_id,\n name=api_key_name)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var apiKeyName = config.Require(\"apiKeyName\");\n var customerId = config.Require(\"customerId\");\n var generateDistinctId = config.Require(\"generateDistinctId\");\n var apiKey = new AwsNative.ApiGateway.ApiKey(\"apiKey\", new AwsNative.ApiGateway.ApiKeyArgs\n {\n CustomerId = customerId,\n GenerateDistinctId = generateDistinctId,\n Name = apiKeyName,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeyName := cfg.Require(\"apiKeyName\")\n\t\tcustomerId := cfg.Require(\"customerId\")\n\t\tgenerateDistinctId := cfg.Require(\"generateDistinctId\")\n\t\t_, err := apigateway.NewApiKey(ctx, \"apiKey\", \u0026apigateway.ApiKeyArgs{\n\t\t\tCustomerId: pulumi.String(customerId),\n\t\t\tGenerateDistinctId: pulumi.String(generateDistinctId),\n\t\t\tName: pulumi.String(apiKeyName),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiKeyName = config.require(\"apiKeyName\");\nconst customerId = config.require(\"customerId\");\nconst generateDistinctId = config.require(\"generateDistinctId\");\nconst apiKey = new aws_native.apigateway.ApiKey(\"apiKey\", {\n customerId: customerId,\n generateDistinctId: generateDistinctId,\n name: apiKeyName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_name = config.require(\"apiKeyName\")\ncustomer_id = config.require(\"customerId\")\ngenerate_distinct_id = config.require(\"generateDistinctId\")\napi_key = aws_native.apigateway.ApiKey(\"apiKey\",\n customer_id=customer_id,\n generate_distinct_id=generate_distinct_id,\n name=api_key_name)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "aPIKeyId": { "type": "string" @@ -28277,7 +28277,7 @@ ] }, "aws-native:appflow:Flow": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testFlow = new AwsNative.AppFlow.Flow(\"testFlow\", new AwsNative.AppFlow.FlowArgs\n {\n FlowName = \"MyEventFlow\",\n Description = \"Test event flow for CloudFormation from salesforce to s3\",\n TriggerConfig = new AwsNative.AppFlow.Inputs.FlowTriggerConfigArgs\n {\n TriggerType = \"Event\",\n },\n SourceFlowConfig = new AwsNative.AppFlow.Inputs.FlowSourceFlowConfigArgs\n {\n ConnectorType = \"Salesforce\",\n ConnectorProfileName = \"TestConnectorProfile\",\n SourceConnectorProperties = new AwsNative.AppFlow.Inputs.FlowSourceConnectorPropertiesArgs\n {\n Salesforce = new AwsNative.AppFlow.Inputs.FlowSalesforceSourcePropertiesArgs\n {\n Object = \"Account\",\n EnableDynamicFieldUpdate = false,\n IncludeDeletedRecords = true,\n },\n },\n },\n DestinationFlowConfigList = \n {\n new AwsNative.AppFlow.Inputs.FlowDestinationFlowConfigArgs\n {\n ConnectorType = \"S3\",\n DestinationConnectorProperties = new AwsNative.AppFlow.Inputs.FlowDestinationConnectorPropertiesArgs\n {\n S3 = new AwsNative.AppFlow.Inputs.FlowS3DestinationPropertiesArgs\n {\n BucketName = \"TestOutputBucket\",\n S3OutputFormatConfig = new AwsNative.AppFlow.Inputs.FlowS3OutputFormatConfigArgs\n {\n FileType = \"JSON\",\n AggregationConfig = new AwsNative.AppFlow.Inputs.FlowAggregationConfigArgs\n {\n AggregationType = \"None\",\n },\n },\n },\n },\n },\n },\n Tasks = \n {\n new AwsNative.AppFlow.Inputs.FlowTaskArgs\n {\n TaskType = \"Filter\",\n SourceFields = \n {\n \"Id\",\n \"Name\",\n },\n ConnectorOperator = new AwsNative.AppFlow.Inputs.FlowConnectorOperatorArgs\n {\n Salesforce = \"PROJECTION\",\n },\n },\n new AwsNative.AppFlow.Inputs.FlowTaskArgs\n {\n TaskType = \"Map\",\n SourceFields = \n {\n \"Id\",\n },\n TaskProperties = \n {\n new AwsNative.AppFlow.Inputs.FlowTaskPropertiesObjectArgs\n {\n Key = \"SOURCE_DATA_TYPE\",\n Value = \"id\",\n },\n new AwsNative.AppFlow.Inputs.FlowTaskPropertiesObjectArgs\n {\n Key = \"DESTINATION_DATA_TYPE\",\n Value = \"id\",\n },\n },\n DestinationField = \"Id\",\n ConnectorOperator = new AwsNative.AppFlow.Inputs.FlowConnectorOperatorArgs\n {\n Salesforce = \"NO_OP\",\n },\n },\n new AwsNative.AppFlow.Inputs.FlowTaskArgs\n {\n TaskType = \"Map\",\n SourceFields = \n {\n \"Name\",\n },\n TaskProperties = \n {\n new AwsNative.AppFlow.Inputs.FlowTaskPropertiesObjectArgs\n {\n Key = \"SOURCE_DATA_TYPE\",\n Value = \"string\",\n },\n new AwsNative.AppFlow.Inputs.FlowTaskPropertiesObjectArgs\n {\n Key = \"DESTINATION_DATA_TYPE\",\n Value = \"string\",\n },\n },\n DestinationField = \"Name\",\n ConnectorOperator = new AwsNative.AppFlow.Inputs.FlowConnectorOperatorArgs\n {\n Salesforce = \"NO_OP\",\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"testKey\",\n Value = \"testValue\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/appflow\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := appflow.NewFlow(ctx, \"testFlow\", \u0026appflow.FlowArgs{\n\t\t\tFlowName: pulumi.String(\"MyEventFlow\"),\n\t\t\tDescription: pulumi.String(\"Test event flow for CloudFormation from salesforce to s3\"),\n\t\t\tTriggerConfig: \u0026appflow.FlowTriggerConfigArgs{\n\t\t\t\tTriggerType: pulumi.String(\"Event\"),\n\t\t\t},\n\t\t\tSourceFlowConfig: \u0026appflow.FlowSourceFlowConfigArgs{\n\t\t\t\tConnectorType: pulumi.String(\"Salesforce\"),\n\t\t\t\tConnectorProfileName: pulumi.String(\"TestConnectorProfile\"),\n\t\t\t\tSourceConnectorProperties: \u0026appflow.FlowSourceConnectorPropertiesArgs{\n\t\t\t\t\tSalesforce: \u0026appflow.FlowSalesforceSourcePropertiesArgs{\n\t\t\t\t\t\tObject: pulumi.String(\"Account\"),\n\t\t\t\t\t\tEnableDynamicFieldUpdate: pulumi.Bool(false),\n\t\t\t\t\t\tIncludeDeletedRecords: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tDestinationFlowConfigList: appflow.FlowDestinationFlowConfigArray{\n\t\t\t\t\u0026appflow.FlowDestinationFlowConfigArgs{\n\t\t\t\t\tConnectorType: pulumi.String(\"S3\"),\n\t\t\t\t\tDestinationConnectorProperties: \u0026appflow.FlowDestinationConnectorPropertiesArgs{\n\t\t\t\t\t\tS3: \u0026appflow.FlowS3DestinationPropertiesArgs{\n\t\t\t\t\t\t\tBucketName: pulumi.String(\"TestOutputBucket\"),\n\t\t\t\t\t\t\tS3OutputFormatConfig: \u0026appflow.FlowS3OutputFormatConfigArgs{\n\t\t\t\t\t\t\t\tFileType: pulumi.String(\"JSON\"),\n\t\t\t\t\t\t\t\tAggregationConfig: \u0026appflow.FlowAggregationConfigArgs{\n\t\t\t\t\t\t\t\t\tAggregationType: pulumi.String(\"None\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTasks: appflow.FlowTaskArray{\n\t\t\t\t\u0026appflow.FlowTaskArgs{\n\t\t\t\t\tTaskType: pulumi.String(\"Filter\"),\n\t\t\t\t\tSourceFields: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Id\"),\n\t\t\t\t\t\tpulumi.String(\"Name\"),\n\t\t\t\t\t},\n\t\t\t\t\tConnectorOperator: \u0026appflow.FlowConnectorOperatorArgs{\n\t\t\t\t\t\tSalesforce: pulumi.String(\"PROJECTION\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026appflow.FlowTaskArgs{\n\t\t\t\t\tTaskType: pulumi.String(\"Map\"),\n\t\t\t\t\tSourceFields: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Id\"),\n\t\t\t\t\t},\n\t\t\t\t\tTaskProperties: appflow.FlowTaskPropertiesObjectArray{\n\t\t\t\t\t\t\u0026appflow.FlowTaskPropertiesObjectArgs{\n\t\t\t\t\t\t\tKey: pulumi.String(\"SOURCE_DATA_TYPE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"id\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026appflow.FlowTaskPropertiesObjectArgs{\n\t\t\t\t\t\t\tKey: pulumi.String(\"DESTINATION_DATA_TYPE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"id\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDestinationField: pulumi.String(\"Id\"),\n\t\t\t\t\tConnectorOperator: \u0026appflow.FlowConnectorOperatorArgs{\n\t\t\t\t\t\tSalesforce: pulumi.String(\"NO_OP\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026appflow.FlowTaskArgs{\n\t\t\t\t\tTaskType: pulumi.String(\"Map\"),\n\t\t\t\t\tSourceFields: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Name\"),\n\t\t\t\t\t},\n\t\t\t\t\tTaskProperties: appflow.FlowTaskPropertiesObjectArray{\n\t\t\t\t\t\t\u0026appflow.FlowTaskPropertiesObjectArgs{\n\t\t\t\t\t\t\tKey: pulumi.String(\"SOURCE_DATA_TYPE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"string\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026appflow.FlowTaskPropertiesObjectArgs{\n\t\t\t\t\t\t\tKey: pulumi.String(\"DESTINATION_DATA_TYPE\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"string\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDestinationField: pulumi.String(\"Name\"),\n\t\t\t\t\tConnectorOperator: \u0026appflow.FlowConnectorOperatorArgs{\n\t\t\t\t\t\tSalesforce: pulumi.String(\"NO_OP\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"testKey\"),\n\t\t\t\t\tValue: pulumi.String(\"testValue\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testFlow = new aws_native.appflow.Flow(\"testFlow\", {\n flowName: \"MyEventFlow\",\n description: \"Test event flow for CloudFormation from salesforce to s3\",\n triggerConfig: {\n triggerType: \"Event\",\n },\n sourceFlowConfig: {\n connectorType: \"Salesforce\",\n connectorProfileName: \"TestConnectorProfile\",\n sourceConnectorProperties: {\n salesforce: {\n object: \"Account\",\n enableDynamicFieldUpdate: false,\n includeDeletedRecords: true,\n },\n },\n },\n destinationFlowConfigList: [{\n connectorType: \"S3\",\n destinationConnectorProperties: {\n s3: {\n bucketName: \"TestOutputBucket\",\n s3OutputFormatConfig: {\n fileType: \"JSON\",\n aggregationConfig: {\n aggregationType: \"None\",\n },\n },\n },\n },\n }],\n tasks: [\n {\n taskType: \"Filter\",\n sourceFields: [\n \"Id\",\n \"Name\",\n ],\n connectorOperator: {\n salesforce: \"PROJECTION\",\n },\n },\n {\n taskType: \"Map\",\n sourceFields: [\"Id\"],\n taskProperties: [\n {\n key: \"SOURCE_DATA_TYPE\",\n value: \"id\",\n },\n {\n key: \"DESTINATION_DATA_TYPE\",\n value: \"id\",\n },\n ],\n destinationField: \"Id\",\n connectorOperator: {\n salesforce: \"NO_OP\",\n },\n },\n {\n taskType: \"Map\",\n sourceFields: [\"Name\"],\n taskProperties: [\n {\n key: \"SOURCE_DATA_TYPE\",\n value: \"string\",\n },\n {\n key: \"DESTINATION_DATA_TYPE\",\n value: \"string\",\n },\n ],\n destinationField: \"Name\",\n connectorOperator: {\n salesforce: \"NO_OP\",\n },\n },\n ],\n tags: [{\n key: \"testKey\",\n value: \"testValue\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_flow = aws_native.appflow.Flow(\"testFlow\",\n flow_name=\"MyEventFlow\",\n description=\"Test event flow for CloudFormation from salesforce to s3\",\n trigger_config=aws_native.appflow.FlowTriggerConfigArgs(\n trigger_type=\"Event\",\n ),\n source_flow_config=aws_native.appflow.FlowSourceFlowConfigArgs(\n connector_type=\"Salesforce\",\n connector_profile_name=\"TestConnectorProfile\",\n source_connector_properties=aws_native.appflow.FlowSourceConnectorPropertiesArgs(\n salesforce=aws_native.appflow.FlowSalesforceSourcePropertiesArgs(\n object=\"Account\",\n enable_dynamic_field_update=False,\n include_deleted_records=True,\n ),\n ),\n ),\n destination_flow_config_list=[aws_native.appflow.FlowDestinationFlowConfigArgs(\n connector_type=\"S3\",\n destination_connector_properties=aws_native.appflow.FlowDestinationConnectorPropertiesArgs(\n s3=aws_native.appflow.FlowS3DestinationPropertiesArgs(\n bucket_name=\"TestOutputBucket\",\n s3_output_format_config=aws_native.appflow.FlowS3OutputFormatConfigArgs(\n file_type=\"JSON\",\n aggregation_config=aws_native.appflow.FlowAggregationConfigArgs(\n aggregation_type=\"None\",\n ),\n ),\n ),\n ),\n )],\n tasks=[\n aws_native.appflow.FlowTaskArgs(\n task_type=\"Filter\",\n source_fields=[\n \"Id\",\n \"Name\",\n ],\n connector_operator=aws_native.appflow.FlowConnectorOperatorArgs(\n salesforce=\"PROJECTION\",\n ),\n ),\n aws_native.appflow.FlowTaskArgs(\n task_type=\"Map\",\n source_fields=[\"Id\"],\n task_properties=[\n aws_native.appflow.FlowTaskPropertiesObjectArgs(\n key=\"SOURCE_DATA_TYPE\",\n value=\"id\",\n ),\n aws_native.appflow.FlowTaskPropertiesObjectArgs(\n key=\"DESTINATION_DATA_TYPE\",\n value=\"id\",\n ),\n ],\n destination_field=\"Id\",\n connector_operator=aws_native.appflow.FlowConnectorOperatorArgs(\n salesforce=\"NO_OP\",\n ),\n ),\n aws_native.appflow.FlowTaskArgs(\n task_type=\"Map\",\n source_fields=[\"Name\"],\n task_properties=[\n aws_native.appflow.FlowTaskPropertiesObjectArgs(\n key=\"SOURCE_DATA_TYPE\",\n value=\"string\",\n ),\n aws_native.appflow.FlowTaskPropertiesObjectArgs(\n key=\"DESTINATION_DATA_TYPE\",\n value=\"string\",\n ),\n ],\n destination_field=\"Name\",\n connector_operator=aws_native.appflow.FlowConnectorOperatorArgs(\n salesforce=\"NO_OP\",\n ),\n ),\n ],\n tags=[aws_native.TagArgs(\n key=\"testKey\",\n value=\"testValue\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "description": { "type": "string", @@ -28666,7 +28666,7 @@ ] }, "aws-native:athena:DataCatalog": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myAthenaDataCatalog = new AwsNative.Athena.DataCatalog(\"myAthenaDataCatalog\", new AwsNative.Athena.DataCatalogArgs\n {\n Name = \"MyCustomDataCatalog\",\n Type = \"HIVE\",\n Description = \"Custom Hive Catalog Description\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n Parameters = \n {\n { \"metadata-function\", \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := athena.NewDataCatalog(ctx, \"myAthenaDataCatalog\", \u0026athena.DataCatalogArgs{\n\t\t\tName: pulumi.String(\"MyCustomDataCatalog\"),\n\t\t\tType: pulumi.String(\"HIVE\"),\n\t\t\tDescription: pulumi.String(\"Custom Hive Catalog Description\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tParameters: pulumi.StringMap{\n\t\t\t\t\"metadata-function\": pulumi.String(\"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myAthenaDataCatalog = new aws_native.athena.DataCatalog(\"myAthenaDataCatalog\", {\n name: \"MyCustomDataCatalog\",\n type: \"HIVE\",\n description: \"Custom Hive Catalog Description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n parameters: {\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_data_catalog = aws_native.athena.DataCatalog(\"myAthenaDataCatalog\",\n name=\"MyCustomDataCatalog\",\n type=\"HIVE\",\n description=\"Custom Hive Catalog Description\",\n tags=[\n aws_native.TagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.TagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n parameters={\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "description": { "type": "string", @@ -28734,7 +28734,7 @@ ] }, "aws-native:athena:NamedQuery": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var athenaNamedQuery = new AwsNative.Athena.NamedQuery(\"athenaNamedQuery\", new AwsNative.Athena.NamedQueryArgs\n {\n Database = \"swfnetadata\",\n Description = \"A query that selects all aggregated data\",\n Name = \"MostExpensiveWorkflow\",\n QueryString = \"SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\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 := athena.NewNamedQuery(ctx, \"athenaNamedQuery\", \u0026athena.NamedQueryArgs{\n\t\t\tDatabase: pulumi.String(\"swfnetadata\"),\n\t\t\tDescription: pulumi.String(\"A query that selects all aggregated data\"),\n\t\t\tName: pulumi.String(\"MostExpensiveWorkflow\"),\n\t\t\tQueryString: pulumi.String(\"SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst athenaNamedQuery = new aws_native.athena.NamedQuery(\"athenaNamedQuery\", {\n database: \"swfnetadata\",\n description: \"A query that selects all aggregated data\",\n name: \"MostExpensiveWorkflow\",\n queryString: \"SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nathena_named_query = aws_native.athena.NamedQuery(\"athenaNamedQuery\",\n database=\"swfnetadata\",\n description=\"A query that selects all aggregated data\",\n name=\"MostExpensiveWorkflow\",\n query_string=\"SELECT workflowname, AVG(activitytaskstarted) AS AverageWorkflow FROM swfmetadata WHERE year='17' AND GROUP BY workflowname ORDER BY AverageWorkflow DESC LIMIT 10\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "database": { "type": "string", @@ -28844,7 +28844,7 @@ ] }, "aws-native:athena:WorkGroup": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myAthenaWorkGroup = new AwsNative.Athena.WorkGroup(\"myAthenaWorkGroup\", new AwsNative.Athena.WorkGroupArgs\n {\n Name = \"MyCustomWorkGroup\",\n Description = \"My WorkGroup\",\n State = \"ENABLED\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n WorkGroupConfiguration = new AwsNative.Athena.Inputs.WorkGroupWorkGroupConfigurationArgs\n {\n BytesScannedCutoffPerQuery = 200000000,\n EnforceWorkGroupConfiguration = false,\n PublishCloudWatchMetricsEnabled = false,\n RequesterPaysEnabled = true,\n ResultConfiguration = new AwsNative.Athena.Inputs.WorkGroupResultConfigurationArgs\n {\n OutputLocation = \"s3://path/to/my/bucket/\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := athena.NewWorkGroup(ctx, \"myAthenaWorkGroup\", \u0026athena.WorkGroupArgs{\n\t\t\tName: pulumi.String(\"MyCustomWorkGroup\"),\n\t\t\tDescription: pulumi.String(\"My WorkGroup\"),\n\t\t\tState: pulumi.String(\"ENABLED\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tWorkGroupConfiguration: \u0026athena.WorkGroupWorkGroupConfigurationArgs{\n\t\t\t\tBytesScannedCutoffPerQuery: pulumi.Int(200000000),\n\t\t\t\tEnforceWorkGroupConfiguration: pulumi.Bool(false),\n\t\t\t\tPublishCloudWatchMetricsEnabled: pulumi.Bool(false),\n\t\t\t\tRequesterPaysEnabled: pulumi.Bool(true),\n\t\t\t\tResultConfiguration: \u0026athena.WorkGroupResultConfigurationArgs{\n\t\t\t\t\tOutputLocation: pulumi.String(\"s3://path/to/my/bucket/\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myAthenaWorkGroup = new aws_native.athena.WorkGroup(\"myAthenaWorkGroup\", {\n name: \"MyCustomWorkGroup\",\n description: \"My WorkGroup\",\n state: \"ENABLED\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n workGroupConfiguration: {\n bytesScannedCutoffPerQuery: 200000000,\n enforceWorkGroupConfiguration: false,\n publishCloudWatchMetricsEnabled: false,\n requesterPaysEnabled: true,\n resultConfiguration: {\n outputLocation: \"s3://path/to/my/bucket/\",\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_work_group = aws_native.athena.WorkGroup(\"myAthenaWorkGroup\",\n name=\"MyCustomWorkGroup\",\n description=\"My WorkGroup\",\n state=\"ENABLED\",\n tags=[\n aws_native.TagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.TagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n work_group_configuration=aws_native.athena.WorkGroupWorkGroupConfigurationArgs(\n bytes_scanned_cutoff_per_query=200000000,\n enforce_work_group_configuration=False,\n publish_cloud_watch_metrics_enabled=False,\n requester_pays_enabled=True,\n result_configuration=aws_native.athena.WorkGroupResultConfigurationArgs(\n output_location=\"s3://path/to/my/bucket/\",\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myAthenaWorkGroup = new AwsNative.Athena.WorkGroup(\"myAthenaWorkGroup\", new AwsNative.Athena.WorkGroupArgs\n {\n Name = \"MyCustomWorkGroup\",\n Description = \"My WorkGroup Updated\",\n State = \"DISABLED\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n WorkGroupConfigurationUpdates = new AwsNative.Athena.Inputs.WorkGroupWorkGroupConfigurationUpdatesArgs\n {\n BytesScannedCutoffPerQuery = 10000000,\n EnforceWorkGroupConfiguration = true,\n PublishCloudWatchMetricsEnabled = true,\n RequesterPaysEnabled = false,\n ResultConfigurationUpdates = new AwsNative.Athena.Inputs.WorkGroupResultConfigurationUpdatesArgs\n {\n EncryptionConfiguration = new AwsNative.Athena.Inputs.WorkGroupEncryptionConfigurationArgs\n {\n EncryptionOption = \"SSE_S3\",\n },\n OutputLocation = \"s3://path/to/my/bucket/updated/\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := athena.NewWorkGroup(ctx, \"myAthenaWorkGroup\", \u0026athena.WorkGroupArgs{\n\t\t\tName: pulumi.String(\"MyCustomWorkGroup\"),\n\t\t\tDescription: pulumi.String(\"My WorkGroup Updated\"),\n\t\t\tState: pulumi.String(\"DISABLED\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tWorkGroupConfigurationUpdates: \u0026athena.WorkGroupWorkGroupConfigurationUpdatesArgs{\n\t\t\t\tBytesScannedCutoffPerQuery: pulumi.Int(10000000),\n\t\t\t\tEnforceWorkGroupConfiguration: pulumi.Bool(true),\n\t\t\t\tPublishCloudWatchMetricsEnabled: pulumi.Bool(true),\n\t\t\t\tRequesterPaysEnabled: pulumi.Bool(false),\n\t\t\t\tResultConfigurationUpdates: \u0026athena.WorkGroupResultConfigurationUpdatesArgs{\n\t\t\t\t\tEncryptionConfiguration: \u0026athena.WorkGroupEncryptionConfigurationArgs{\n\t\t\t\t\t\tEncryptionOption: pulumi.String(\"SSE_S3\"),\n\t\t\t\t\t},\n\t\t\t\t\tOutputLocation: pulumi.String(\"s3://path/to/my/bucket/updated/\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myAthenaWorkGroup = new aws_native.athena.WorkGroup(\"myAthenaWorkGroup\", {\n name: \"MyCustomWorkGroup\",\n description: \"My WorkGroup Updated\",\n state: \"DISABLED\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n workGroupConfigurationUpdates: {\n bytesScannedCutoffPerQuery: 10000000,\n enforceWorkGroupConfiguration: true,\n publishCloudWatchMetricsEnabled: true,\n requesterPaysEnabled: false,\n resultConfigurationUpdates: {\n encryptionConfiguration: {\n encryptionOption: \"SSE_S3\",\n },\n outputLocation: \"s3://path/to/my/bucket/updated/\",\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_work_group = aws_native.athena.WorkGroup(\"myAthenaWorkGroup\",\n name=\"MyCustomWorkGroup\",\n description=\"My WorkGroup Updated\",\n state=\"DISABLED\",\n tags=[\n aws_native.TagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.TagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n work_group_configuration_updates=aws_native.athena.WorkGroupWorkGroupConfigurationUpdatesArgs(\n bytes_scanned_cutoff_per_query=10000000,\n enforce_work_group_configuration=True,\n publish_cloud_watch_metrics_enabled=True,\n requester_pays_enabled=False,\n result_configuration_updates=aws_native.athena.WorkGroupResultConfigurationUpdatesArgs(\n encryption_configuration=aws_native.athena.WorkGroupEncryptionConfigurationArgs(\n encryption_option=\"SSE_S3\",\n ),\n output_location=\"s3://path/to/my/bucket/updated/\",\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "creationTime": { "type": "string" @@ -29375,7 +29375,7 @@ ] }, "aws-native:cassandra:Keyspace": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myNewKeyspace = new AwsNative.Cassandra.Keyspace(\"myNewKeyspace\", new AwsNative.Cassandra.KeyspaceArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag1\",\n Value = \"val1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag2\",\n Value = \"val2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := cassandra.NewKeyspace(ctx, \"myNewKeyspace\", \u0026cassandra.KeyspaceArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag1\"),\n\t\t\t\t\tValue: pulumi.String(\"val1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag2\"),\n\t\t\t\t\tValue: pulumi.String(\"val2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myNewKeyspace = new aws_native.cassandra.Keyspace(\"myNewKeyspace\", {\n keyspaceName: \"MyNewKeyspace\",\n tags: [\n {\n key: \"tag1\",\n value: \"val1\",\n },\n {\n key: \"tag2\",\n value: \"val2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_new_keyspace = aws_native.cassandra.Keyspace(\"myNewKeyspace\",\n keyspace_name=\"MyNewKeyspace\",\n tags=[\n aws_native.TagArgs(\n key=\"tag1\",\n value=\"val1\",\n ),\n aws_native.TagArgs(\n key=\"tag2\",\n value=\"val2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "keyspaceName": { "type": "string", @@ -29405,7 +29405,7 @@ } }, "aws-native:cassandra:Table": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myNewTable = new AwsNative.Cassandra.Table(\"myNewTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"Message\",\n ColumnType = \"ASCII\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\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 := cassandra.NewTable(ctx, \"myNewTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"Message\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myNewTable = new aws_native.cassandra.Table(\"myNewTable\", {\n keyspaceName: \"MyNewKeyspace\",\n partitionKeyColumns: [{\n columnName: \"Message\",\n columnType: \"ASCII\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_new_table = aws_native.cassandra.Table(\"myNewTable\",\n keyspace_name=\"MyNewKeyspace\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"Message\",\n column_type=\"ASCII\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myNewTable = new AwsNative.Cassandra.Table(\"myNewTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"Message\",\n ColumnType = \"ASCII\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\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 := cassandra.NewTable(ctx, \"myNewTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"Message\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myNewTable = new aws_native.cassandra.Table(\"myNewTable\", {\n keyspaceName: \"MyNewKeyspace\",\n partitionKeyColumns: [{\n columnName: \"Message\",\n columnType: \"ASCII\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_new_table = aws_native.cassandra.Table(\"myNewTable\",\n keyspace_name=\"MyNewKeyspace\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"Message\",\n column_type=\"ASCII\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecondTable = new AwsNative.Cassandra.Table(\"mySecondTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n TableName = \"Employees\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"id\",\n ColumnType = \"ASCII\",\n },\n },\n ClusteringKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs\n {\n Column = new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"division\",\n ColumnType = \"ASCII\",\n },\n OrderBy = \"ASC\",\n },\n },\n RegularColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"name\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"region\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"project\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"role\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"pay_scale\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"vacation_hrs\",\n ColumnType = \"FLOAT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"manager_id\",\n ColumnType = \"TEXT\",\n },\n },\n BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs\n {\n Mode = \"PROVISIONED\",\n ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs\n {\n ReadCapacityUnits = 5,\n WriteCapacityUnits = 5,\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\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 := cassandra.NewTable(ctx, \"mySecondTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tTableName: pulumi.String(\"Employees\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusteringKeyColumns: []cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\u0026cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\tColumn: \u0026cassandra.TableColumnArgs{\n\t\t\t\t\t\tColumnName: pulumi.String(\"division\"),\n\t\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrderBy: pulumi.String(\"ASC\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegularColumns: []cassandra.TableColumnArgs{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"name\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"region\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"project\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"role\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"pay_scale\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"vacation_hrs\"),\n\t\t\t\t\tColumnType: pulumi.String(\"FLOAT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"manager_id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBillingMode: \u0026cassandra.TableBillingModeArgs{\n\t\t\t\tMode: pulumi.String(\"PROVISIONED\"),\n\t\t\t\tProvisionedThroughput: \u0026cassandra.TableProvisionedThroughputArgs{\n\t\t\t\t\tReadCapacityUnits: pulumi.Int(5),\n\t\t\t\t\tWriteCapacityUnits: pulumi.Int(5),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecondTable = new aws_native.cassandra.Table(\"mySecondTable\", {\n keyspaceName: \"MyNewKeyspace\",\n tableName: \"Employees\",\n partitionKeyColumns: [{\n columnName: \"id\",\n columnType: \"ASCII\",\n }],\n clusteringKeyColumns: [{\n column: {\n columnName: \"division\",\n columnType: \"ASCII\",\n },\n orderBy: \"ASC\",\n }],\n regularColumns: [\n {\n columnName: \"name\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"region\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"project\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"role\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"pay_scale\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"vacation_hrs\",\n columnType: \"FLOAT\",\n },\n {\n columnName: \"manager_id\",\n columnType: \"TEXT\",\n },\n ],\n billingMode: {\n mode: \"PROVISIONED\",\n provisionedThroughput: {\n readCapacityUnits: 5,\n writeCapacityUnits: 5,\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_second_table = aws_native.cassandra.Table(\"mySecondTable\",\n keyspace_name=\"MyNewKeyspace\",\n table_name=\"Employees\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"id\",\n column_type=\"ASCII\",\n )],\n clustering_key_columns=[aws_native.cassandra.TableClusteringKeyColumnArgs(\n column=aws_native.cassandra.TableColumnArgs(\n column_name=\"division\",\n column_type=\"ASCII\",\n ),\n order_by=\"ASC\",\n )],\n regular_columns=[\n aws_native.cassandra.TableColumnArgs(\n column_name=\"name\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"region\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"project\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"role\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"pay_scale\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"vacation_hrs\",\n column_type=\"FLOAT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"manager_id\",\n column_type=\"TEXT\",\n ),\n ],\n billing_mode=aws_native.cassandra.TableBillingModeArgs(\n mode=\"PROVISIONED\",\n provisioned_throughput=aws_native.cassandra.TableProvisionedThroughputArgs(\n read_capacity_units=5,\n write_capacity_units=5,\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecondTable = new AwsNative.Cassandra.Table(\"mySecondTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n TableName = \"Employees\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"id\",\n ColumnType = \"ASCII\",\n },\n },\n ClusteringKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs\n {\n Column = new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"division\",\n ColumnType = \"ASCII\",\n },\n OrderBy = \"ASC\",\n },\n },\n RegularColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"name\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"region\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"project\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"role\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"pay_scale\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"vacation_hrs\",\n ColumnType = \"FLOAT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"manager_id\",\n ColumnType = \"TEXT\",\n },\n },\n BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs\n {\n Mode = \"PROVISIONED\",\n ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs\n {\n ReadCapacityUnits = 5,\n WriteCapacityUnits = 5,\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\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 := cassandra.NewTable(ctx, \"mySecondTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tTableName: pulumi.String(\"Employees\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusteringKeyColumns: []cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\u0026cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\tColumn: \u0026cassandra.TableColumnArgs{\n\t\t\t\t\t\tColumnName: pulumi.String(\"division\"),\n\t\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrderBy: pulumi.String(\"ASC\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegularColumns: []cassandra.TableColumnArgs{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"name\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"region\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"project\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"role\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"pay_scale\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"vacation_hrs\"),\n\t\t\t\t\tColumnType: pulumi.String(\"FLOAT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"manager_id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBillingMode: \u0026cassandra.TableBillingModeArgs{\n\t\t\t\tMode: pulumi.String(\"PROVISIONED\"),\n\t\t\t\tProvisionedThroughput: \u0026cassandra.TableProvisionedThroughputArgs{\n\t\t\t\t\tReadCapacityUnits: pulumi.Int(5),\n\t\t\t\t\tWriteCapacityUnits: pulumi.Int(5),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecondTable = new aws_native.cassandra.Table(\"mySecondTable\", {\n keyspaceName: \"MyNewKeyspace\",\n tableName: \"Employees\",\n partitionKeyColumns: [{\n columnName: \"id\",\n columnType: \"ASCII\",\n }],\n clusteringKeyColumns: [{\n column: {\n columnName: \"division\",\n columnType: \"ASCII\",\n },\n orderBy: \"ASC\",\n }],\n regularColumns: [\n {\n columnName: \"name\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"region\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"project\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"role\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"pay_scale\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"vacation_hrs\",\n columnType: \"FLOAT\",\n },\n {\n columnName: \"manager_id\",\n columnType: \"TEXT\",\n },\n ],\n billingMode: {\n mode: \"PROVISIONED\",\n provisionedThroughput: {\n readCapacityUnits: 5,\n writeCapacityUnits: 5,\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_second_table = aws_native.cassandra.Table(\"mySecondTable\",\n keyspace_name=\"MyNewKeyspace\",\n table_name=\"Employees\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"id\",\n column_type=\"ASCII\",\n )],\n clustering_key_columns=[aws_native.cassandra.TableClusteringKeyColumnArgs(\n column=aws_native.cassandra.TableColumnArgs(\n column_name=\"division\",\n column_type=\"ASCII\",\n ),\n order_by=\"ASC\",\n )],\n regular_columns=[\n aws_native.cassandra.TableColumnArgs(\n column_name=\"name\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"region\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"project\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"role\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"pay_scale\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"vacation_hrs\",\n column_type=\"FLOAT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"manager_id\",\n column_type=\"TEXT\",\n ),\n ],\n billing_mode=aws_native.cassandra.TableBillingModeArgs(\n mode=\"PROVISIONED\",\n provisioned_throughput=aws_native.cassandra.TableProvisionedThroughputArgs(\n read_capacity_units=5,\n write_capacity_units=5,\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecondTable = new AwsNative.Cassandra.Table(\"mySecondTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n TableName = \"Employees\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"id\",\n ColumnType = \"ASCII\",\n },\n },\n ClusteringKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs\n {\n Column = new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"division\",\n ColumnType = \"ASCII\",\n },\n OrderBy = \"ASC\",\n },\n },\n RegularColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"name\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"region\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"project\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"role\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"pay_scale\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"vacation_hrs\",\n ColumnType = \"FLOAT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"manager_id\",\n ColumnType = \"TEXT\",\n },\n },\n PointInTimeRecoveryEnabled = true,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag1\",\n Value = \"val1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag2\",\n Value = \"val2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := cassandra.NewTable(ctx, \"mySecondTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tTableName: pulumi.String(\"Employees\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusteringKeyColumns: []cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\u0026cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\tColumn: \u0026cassandra.TableColumnArgs{\n\t\t\t\t\t\tColumnName: pulumi.String(\"division\"),\n\t\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrderBy: pulumi.String(\"ASC\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegularColumns: []cassandra.TableColumnArgs{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"name\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"region\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"project\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"role\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"pay_scale\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"vacation_hrs\"),\n\t\t\t\t\tColumnType: pulumi.String(\"FLOAT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"manager_id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPointInTimeRecoveryEnabled: pulumi.Bool(true),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag1\"),\n\t\t\t\t\tValue: pulumi.String(\"val1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag2\"),\n\t\t\t\t\tValue: pulumi.String(\"val2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecondTable = new aws_native.cassandra.Table(\"mySecondTable\", {\n keyspaceName: \"MyNewKeyspace\",\n tableName: \"Employees\",\n partitionKeyColumns: [{\n columnName: \"id\",\n columnType: \"ASCII\",\n }],\n clusteringKeyColumns: [{\n column: {\n columnName: \"division\",\n columnType: \"ASCII\",\n },\n orderBy: \"ASC\",\n }],\n regularColumns: [\n {\n columnName: \"name\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"region\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"project\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"role\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"pay_scale\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"vacation_hrs\",\n columnType: \"FLOAT\",\n },\n {\n columnName: \"manager_id\",\n columnType: \"TEXT\",\n },\n ],\n pointInTimeRecoveryEnabled: true,\n tags: [\n {\n key: \"tag1\",\n value: \"val1\",\n },\n {\n key: \"tag2\",\n value: \"val2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_second_table = aws_native.cassandra.Table(\"mySecondTable\",\n keyspace_name=\"MyNewKeyspace\",\n table_name=\"Employees\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"id\",\n column_type=\"ASCII\",\n )],\n clustering_key_columns=[aws_native.cassandra.TableClusteringKeyColumnArgs(\n column=aws_native.cassandra.TableColumnArgs(\n column_name=\"division\",\n column_type=\"ASCII\",\n ),\n order_by=\"ASC\",\n )],\n regular_columns=[\n aws_native.cassandra.TableColumnArgs(\n column_name=\"name\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"region\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"project\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"role\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"pay_scale\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"vacation_hrs\",\n column_type=\"FLOAT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"manager_id\",\n column_type=\"TEXT\",\n ),\n ],\n point_in_time_recovery_enabled=True,\n tags=[\n aws_native.TagArgs(\n key=\"tag1\",\n value=\"val1\",\n ),\n aws_native.TagArgs(\n key=\"tag2\",\n value=\"val2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecondTable = new AwsNative.Cassandra.Table(\"mySecondTable\", new AwsNative.Cassandra.TableArgs\n {\n KeyspaceName = \"MyNewKeyspace\",\n TableName = \"Employees\",\n PartitionKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"id\",\n ColumnType = \"ASCII\",\n },\n },\n ClusteringKeyColumns = \n {\n new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs\n {\n Column = new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"division\",\n ColumnType = \"ASCII\",\n },\n OrderBy = \"ASC\",\n },\n },\n RegularColumns = \n {\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"name\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"region\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"project\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"role\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"pay_scale\",\n ColumnType = \"TEXT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"vacation_hrs\",\n ColumnType = \"FLOAT\",\n },\n new AwsNative.Cassandra.Inputs.TableColumnArgs\n {\n ColumnName = \"manager_id\",\n ColumnType = \"TEXT\",\n },\n },\n BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs\n {\n Mode = \"PROVISIONED\",\n ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs\n {\n ReadCapacityUnits = 5,\n WriteCapacityUnits = 5,\n },\n },\n PointInTimeRecoveryEnabled = true,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag1\",\n Value = \"val1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag2\",\n Value = \"val2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := cassandra.NewTable(ctx, \"mySecondTable\", \u0026cassandra.TableArgs{\n\t\t\tKeyspaceName: pulumi.String(\"MyNewKeyspace\"),\n\t\t\tTableName: pulumi.String(\"Employees\"),\n\t\t\tPartitionKeyColumns: cassandra.TableColumnArray{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusteringKeyColumns: []cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\u0026cassandra.TableClusteringKeyColumnArgs{\n\t\t\t\t\tColumn: \u0026cassandra.TableColumnArgs{\n\t\t\t\t\t\tColumnName: pulumi.String(\"division\"),\n\t\t\t\t\t\tColumnType: pulumi.String(\"ASCII\"),\n\t\t\t\t\t},\n\t\t\t\t\tOrderBy: pulumi.String(\"ASC\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRegularColumns: []cassandra.TableColumnArgs{\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"name\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"region\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"project\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"role\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"pay_scale\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"vacation_hrs\"),\n\t\t\t\t\tColumnType: pulumi.String(\"FLOAT\"),\n\t\t\t\t},\n\t\t\t\t\u0026cassandra.TableColumnArgs{\n\t\t\t\t\tColumnName: pulumi.String(\"manager_id\"),\n\t\t\t\t\tColumnType: pulumi.String(\"TEXT\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBillingMode: \u0026cassandra.TableBillingModeArgs{\n\t\t\t\tMode: pulumi.String(\"PROVISIONED\"),\n\t\t\t\tProvisionedThroughput: \u0026cassandra.TableProvisionedThroughputArgs{\n\t\t\t\t\tReadCapacityUnits: pulumi.Int(5),\n\t\t\t\t\tWriteCapacityUnits: pulumi.Int(5),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPointInTimeRecoveryEnabled: pulumi.Bool(true),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag1\"),\n\t\t\t\t\tValue: pulumi.String(\"val1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag2\"),\n\t\t\t\t\tValue: pulumi.String(\"val2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecondTable = new aws_native.cassandra.Table(\"mySecondTable\", {\n keyspaceName: \"MyNewKeyspace\",\n tableName: \"Employees\",\n partitionKeyColumns: [{\n columnName: \"id\",\n columnType: \"ASCII\",\n }],\n clusteringKeyColumns: [{\n column: {\n columnName: \"division\",\n columnType: \"ASCII\",\n },\n orderBy: \"ASC\",\n }],\n regularColumns: [\n {\n columnName: \"name\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"region\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"project\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"role\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"pay_scale\",\n columnType: \"TEXT\",\n },\n {\n columnName: \"vacation_hrs\",\n columnType: \"FLOAT\",\n },\n {\n columnName: \"manager_id\",\n columnType: \"TEXT\",\n },\n ],\n billingMode: {\n mode: \"PROVISIONED\",\n provisionedThroughput: {\n readCapacityUnits: 5,\n writeCapacityUnits: 5,\n },\n },\n pointInTimeRecoveryEnabled: true,\n tags: [\n {\n key: \"tag1\",\n value: \"val1\",\n },\n {\n key: \"tag2\",\n value: \"val2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_second_table = aws_native.cassandra.Table(\"mySecondTable\",\n keyspace_name=\"MyNewKeyspace\",\n table_name=\"Employees\",\n partition_key_columns=[aws_native.cassandra.TableColumnArgs(\n column_name=\"id\",\n column_type=\"ASCII\",\n )],\n clustering_key_columns=[aws_native.cassandra.TableClusteringKeyColumnArgs(\n column=aws_native.cassandra.TableColumnArgs(\n column_name=\"division\",\n column_type=\"ASCII\",\n ),\n order_by=\"ASC\",\n )],\n regular_columns=[\n aws_native.cassandra.TableColumnArgs(\n column_name=\"name\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"region\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"project\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"role\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"pay_scale\",\n column_type=\"TEXT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"vacation_hrs\",\n column_type=\"FLOAT\",\n ),\n aws_native.cassandra.TableColumnArgs(\n column_name=\"manager_id\",\n column_type=\"TEXT\",\n ),\n ],\n billing_mode=aws_native.cassandra.TableBillingModeArgs(\n mode=\"PROVISIONED\",\n provisioned_throughput=aws_native.cassandra.TableProvisionedThroughputArgs(\n read_capacity_units=5,\n write_capacity_units=5,\n ),\n ),\n point_in_time_recovery_enabled=True,\n tags=[\n aws_native.TagArgs(\n key=\"tag1\",\n value=\"val1\",\n ),\n aws_native.TagArgs(\n key=\"tag2\",\n value=\"val2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "billingMode": { "$ref": "#/types/aws-native:cassandra:TableBillingMode", @@ -29711,7 +29711,7 @@ } }, "aws-native:cloudformation:ModuleVersion": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion1 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion1\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n var moduleVersion2 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion2\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n moduleVersion1,\n },\n });\n var moduleDefaultVersion = new AwsNative.CloudFormation.ModuleDefaultVersion(\"moduleDefaultVersion\", new AwsNative.CloudFormation.ModuleDefaultVersionArgs\n {\n Arn = moduleVersion2.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmoduleVersion1, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion1\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmoduleVersion2, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion2\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmoduleVersion1,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewModuleDefaultVersion(ctx, \"moduleDefaultVersion\", \u0026cloudformation.ModuleDefaultVersionArgs{\n\t\t\tArn: moduleVersion2.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion1 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion1\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\nconst moduleVersion2 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion2\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n}, {\n dependsOn: [moduleVersion1],\n});\nconst moduleDefaultVersion = new aws_native.cloudformation.ModuleDefaultVersion(\"moduleDefaultVersion\", {arn: moduleVersion2.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version1 = aws_native.cloudformation.ModuleVersion(\"moduleVersion1\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\nmodule_version2 = aws_native.cloudformation.ModuleVersion(\"moduleVersion2\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n opts=pulumi.ResourceOptions(depends_on=[module_version1]))\nmodule_default_version = aws_native.cloudformation.ModuleDefaultVersion(\"moduleDefaultVersion\", arn=module_version2.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion1 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion1\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n var moduleVersion2 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion2\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n moduleVersion1,\n },\n });\n var moduleDefaultVersion = new AwsNative.CloudFormation.ModuleDefaultVersion(\"moduleDefaultVersion\", new AwsNative.CloudFormation.ModuleDefaultVersionArgs\n {\n Arn = moduleVersion2.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmoduleVersion1, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion1\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmoduleVersion2, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion2\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmoduleVersion1,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewModuleDefaultVersion(ctx, \"moduleDefaultVersion\", \u0026cloudformation.ModuleDefaultVersionArgs{\n\t\t\tArn: moduleVersion2.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion1 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion1\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\nconst moduleVersion2 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion2\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n}, {\n dependsOn: [moduleVersion1],\n});\nconst moduleDefaultVersion = new aws_native.cloudformation.ModuleDefaultVersion(\"moduleDefaultVersion\", {arn: moduleVersion2.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version1 = aws_native.cloudformation.ModuleVersion(\"moduleVersion1\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\nmodule_version2 = aws_native.cloudformation.ModuleVersion(\"moduleVersion2\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n opts=pulumi.ResourceOptions(depends_on=[module_version1]))\nmodule_default_version = aws_native.cloudformation.ModuleDefaultVersion(\"moduleDefaultVersion\", arn=module_version2.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\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 := cloudformation.NewModuleVersion(ctx, \"moduleVersion\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion = new aws_native.cloudformation.ModuleVersion(\"moduleVersion\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version = aws_native.cloudformation.ModuleVersion(\"moduleVersion\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\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 := cloudformation.NewModuleVersion(ctx, \"moduleVersion\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion = new aws_native.cloudformation.ModuleVersion(\"moduleVersion\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version = aws_native.cloudformation.ModuleVersion(\"moduleVersion\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion1 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion1\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n var moduleVersion2 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion2\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n moduleVersion1,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmoduleVersion1, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion1\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewModuleVersion(ctx, \"moduleVersion2\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmoduleVersion1,\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion1 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion1\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\nconst moduleVersion2 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion2\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n}, {\n dependsOn: [moduleVersion1],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version1 = aws_native.cloudformation.ModuleVersion(\"moduleVersion1\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\nmodule_version2 = aws_native.cloudformation.ModuleVersion(\"moduleVersion2\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n opts=pulumi.ResourceOptions(depends_on=[module_version1]))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var moduleVersion1 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion1\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n });\n var moduleVersion2 = new AwsNative.CloudFormation.ModuleVersion(\"moduleVersion2\", new AwsNative.CloudFormation.ModuleVersionArgs\n {\n ModuleName = \"My::Sample::Test::MODULE\",\n ModulePackage = \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n }, new CustomResourceOptions\n {\n DependsOn = \n {\n moduleVersion1,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmoduleVersion1, err := cloudformation.NewModuleVersion(ctx, \"moduleVersion1\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewModuleVersion(ctx, \"moduleVersion2\", \u0026cloudformation.ModuleVersionArgs{\n\t\t\tModuleName: pulumi.String(\"My::Sample::Test::MODULE\"),\n\t\t\tModulePackage: pulumi.String(\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tmoduleVersion1,\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst moduleVersion1 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion1\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\",\n});\nconst moduleVersion2 = new aws_native.cloudformation.ModuleVersion(\"moduleVersion2\", {\n moduleName: \"My::Sample::Test::MODULE\",\n modulePackage: \"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n}, {\n dependsOn: [moduleVersion1],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmodule_version1 = aws_native.cloudformation.ModuleVersion(\"moduleVersion1\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v1.zip\")\nmodule_version2 = aws_native.cloudformation.ModuleVersion(\"moduleVersion2\",\n module_name=\"My::Sample::Test::MODULE\",\n module_package=\"s3://my-sample-moduleversion-bucket/sample-module-package-v2.zip\",\n opts=pulumi.ResourceOptions(depends_on=[module_version1]))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -29921,7 +29921,7 @@ } }, "aws-native:cloudformation:ResourceVersion": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourceversion.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-resourceversion.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n var resourceDefaultVersion = new AwsNative.CloudFormation.ResourceDefaultVersion(\"resourceDefaultVersion\", new AwsNative.CloudFormation.ResourceDefaultVersionArgs\n {\n TypeVersionArn = resourceVersion.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tresourceVersion, err := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewResourceDefaultVersion(ctx, \"resourceDefaultVersion\", \u0026cloudformation.ResourceDefaultVersionArgs{\n\t\t\tTypeVersionArn: resourceVersion.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\nconst resourceDefaultVersion = new aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", {typeVersionArn: resourceVersion.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\nresource_default_version = aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", type_version_arn=resource_version.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n var resourceDefaultVersion = new AwsNative.CloudFormation.ResourceDefaultVersion(\"resourceDefaultVersion\", new AwsNative.CloudFormation.ResourceDefaultVersionArgs\n {\n TypeVersionArn = resourceVersion.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tresourceVersion, err := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewResourceDefaultVersion(ctx, \"resourceDefaultVersion\", \u0026cloudformation.ResourceDefaultVersionArgs{\n\t\t\tTypeVersionArn: resourceVersion.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\nconst resourceDefaultVersion = new aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", {typeVersionArn: resourceVersion.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\nresource_default_version = aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", type_version_arn=resource_version.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\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 := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\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 := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n var resourceDefaultVersion = new AwsNative.CloudFormation.ResourceDefaultVersion(\"resourceDefaultVersion\", new AwsNative.CloudFormation.ResourceDefaultVersionArgs\n {\n TypeVersionArn = resourceVersion.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tresourceVersion, err := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewResourceDefaultVersion(ctx, \"resourceDefaultVersion\", \u0026cloudformation.ResourceDefaultVersionArgs{\n\t\t\tTypeVersionArn: resourceVersion.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\nconst resourceDefaultVersion = new aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", {typeVersionArn: resourceVersion.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\nresource_default_version = aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", type_version_arn=resource_version.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var resourceVersion = new AwsNative.CloudFormation.ResourceVersion(\"resourceVersion\", new AwsNative.CloudFormation.ResourceVersionArgs\n {\n TypeName = \"My::Sample::Resource\",\n SchemaHandlerPackage = \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n });\n var resourceDefaultVersion = new AwsNative.CloudFormation.ResourceDefaultVersion(\"resourceDefaultVersion\", new AwsNative.CloudFormation.ResourceDefaultVersionArgs\n {\n TypeVersionArn = resourceVersion.Id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudformation\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tresourceVersion, err := cloudformation.NewResourceVersion(ctx, \"resourceVersion\", \u0026cloudformation.ResourceVersionArgs{\n\t\t\tTypeName: pulumi.String(\"My::Sample::Resource\"),\n\t\t\tSchemaHandlerPackage: pulumi.String(\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudformation.NewResourceDefaultVersion(ctx, \"resourceDefaultVersion\", \u0026cloudformation.ResourceDefaultVersionArgs{\n\t\t\tTypeVersionArn: resourceVersion.ID(),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst resourceVersion = new aws_native.cloudformation.ResourceVersion(\"resourceVersion\", {\n typeName: \"My::Sample::Resource\",\n schemaHandlerPackage: \"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\",\n});\nconst resourceDefaultVersion = new aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", {typeVersionArn: resourceVersion.id});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nresource_version = aws_native.cloudformation.ResourceVersion(\"resourceVersion\",\n type_name=\"My::Sample::Resource\",\n schema_handler_package=\"s3://my-sample-resourceversion-bucket/my-sample-resource.zip\")\nresource_default_version = aws_native.cloudformation.ResourceDefaultVersion(\"resourceDefaultVersion\", type_version_arn=resource_version.id)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -30273,7 +30273,7 @@ ] }, "aws-native:cloudfront:CloudFrontOriginAccessIdentity": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var cloudfrontoriginaccessidentity = new AwsNative.CloudFront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", new AwsNative.CloudFront.CloudFrontOriginAccessIdentityArgs\n {\n CloudFrontOriginAccessIdentityConfig = new AwsNative.CloudFront.Inputs.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs\n {\n Comment = \"string-value\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudfront\"\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 := cloudfront.NewCloudFrontOriginAccessIdentity(ctx, \"cloudfrontoriginaccessidentity\", \u0026cloudfront.CloudFrontOriginAccessIdentityArgs{\n\t\t\tCloudFrontOriginAccessIdentityConfig: \u0026cloudfront.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs{\n\t\t\t\tComment: pulumi.String(\"string-value\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst cloudfrontoriginaccessidentity = new aws_native.cloudfront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", {cloudFrontOriginAccessIdentityConfig: {\n comment: \"string-value\",\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncloudfrontoriginaccessidentity = aws_native.cloudfront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", cloud_front_origin_access_identity_config=aws_native.cloudfront.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs(\n comment=\"string-value\",\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var cloudfrontoriginaccessidentity = new AwsNative.CloudFront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", new AwsNative.CloudFront.CloudFrontOriginAccessIdentityArgs\n {\n CloudFrontOriginAccessIdentityConfig = new AwsNative.CloudFront.Inputs.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs\n {\n Comment = \"string-value\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudfront\"\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 := cloudfront.NewCloudFrontOriginAccessIdentity(ctx, \"cloudfrontoriginaccessidentity\", \u0026cloudfront.CloudFrontOriginAccessIdentityArgs{\n\t\t\tCloudFrontOriginAccessIdentityConfig: \u0026cloudfront.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs{\n\t\t\t\tComment: pulumi.String(\"string-value\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst cloudfrontoriginaccessidentity = new aws_native.cloudfront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", {cloudFrontOriginAccessIdentityConfig: {\n comment: \"string-value\",\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncloudfrontoriginaccessidentity = aws_native.cloudfront.CloudFrontOriginAccessIdentity(\"cloudfrontoriginaccessidentity\", cloud_front_origin_access_identity_config=aws_native.cloudfront.CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfigArgs(\n comment=\"string-value\",\n))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "cloudFrontOriginAccessIdentityConfig": { "$ref": "#/types/aws-native:cloudfront:CloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfig", @@ -30303,7 +30303,7 @@ ] }, "aws-native:cloudfront:Distribution": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var cloudfrontdistribution = new AwsNative.CloudFront.Distribution(\"cloudfrontdistribution\", new AwsNative.CloudFront.DistributionArgs\n {\n DistributionConfig = new AwsNative.CloudFront.Inputs.DistributionDistributionConfigArgs\n {\n CacheBehaviors = \n {\n new AwsNative.CloudFront.Inputs.DistributionCacheBehaviorArgs\n {\n LambdaFunctionAssociations = \n {\n new AwsNative.CloudFront.Inputs.DistributionLambdaFunctionAssociationArgs\n {\n EventType = \"string-value\",\n LambdaFunctionARN = \"string-value\",\n },\n },\n },\n },\n DefaultCacheBehavior = new AwsNative.CloudFront.Inputs.DistributionDefaultCacheBehaviorArgs\n {\n LambdaFunctionAssociations = \n {\n new AwsNative.CloudFront.Inputs.DistributionLambdaFunctionAssociationArgs\n {\n EventType = \"string-value\",\n LambdaFunctionARN = \"string-value\",\n },\n },\n },\n Ipv6Enabled = \"boolean-value\",\n Origins = \n {\n new AwsNative.CloudFront.Inputs.DistributionOriginArgs\n {\n CustomOriginConfig = new AwsNative.CloudFront.Inputs.DistributionCustomOriginConfigArgs\n {\n OriginKeepaliveTimeout = \"integer-value\",\n OriginReadTimeout = \"integer-value\",\n },\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"string-value\",\n Value = \"string-value\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudfront\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := cloudfront.NewDistribution(ctx, \"cloudfrontdistribution\", \u0026cloudfront.DistributionArgs{\n\t\t\tDistributionConfig: \u0026cloudfront.DistributionDistributionConfigArgs{\n\t\t\t\tCacheBehaviors: cloudfront.DistributionCacheBehaviorArray{\n\t\t\t\t\t\u0026cloudfront.DistributionCacheBehaviorArgs{\n\t\t\t\t\t\tLambdaFunctionAssociations: cloudfront.DistributionLambdaFunctionAssociationArray{\n\t\t\t\t\t\t\t\u0026cloudfront.DistributionLambdaFunctionAssociationArgs{\n\t\t\t\t\t\t\t\tEventType: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\t\tLambdaFunctionARN: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tDefaultCacheBehavior: \u0026cloudfront.DistributionDefaultCacheBehaviorArgs{\n\t\t\t\t\tLambdaFunctionAssociations: cloudfront.DistributionLambdaFunctionAssociationArray{\n\t\t\t\t\t\t\u0026cloudfront.DistributionLambdaFunctionAssociationArgs{\n\t\t\t\t\t\t\tEventType: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\tLambdaFunctionARN: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tIpv6Enabled: \"boolean-value\",\n\t\t\t\tOrigins: cloudfront.DistributionOriginArray{\n\t\t\t\t\t\u0026cloudfront.DistributionOriginArgs{\n\t\t\t\t\t\tCustomOriginConfig: \u0026cloudfront.DistributionCustomOriginConfigArgs{\n\t\t\t\t\t\t\tOriginKeepaliveTimeout: pulumi.Int(\"integer-value\"),\n\t\t\t\t\t\t\tOriginReadTimeout: pulumi.Int(\"integer-value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"string-value\"),\n\t\t\t\t\tValue: pulumi.String(\"string-value\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst cloudfrontdistribution = new aws_native.cloudfront.Distribution(\"cloudfrontdistribution\", {\n distributionConfig: {\n cacheBehaviors: [{\n lambdaFunctionAssociations: [{\n eventType: \"string-value\",\n lambdaFunctionARN: \"string-value\",\n }],\n }],\n defaultCacheBehavior: {\n lambdaFunctionAssociations: [{\n eventType: \"string-value\",\n lambdaFunctionARN: \"string-value\",\n }],\n },\n ipv6Enabled: \"boolean-value\",\n origins: [{\n customOriginConfig: {\n originKeepaliveTimeout: \"integer-value\",\n originReadTimeout: \"integer-value\",\n },\n }],\n },\n tags: [{\n key: \"string-value\",\n value: \"string-value\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncloudfrontdistribution = aws_native.cloudfront.Distribution(\"cloudfrontdistribution\",\n distribution_config=aws_native.cloudfront.DistributionDistributionConfigArgs(\n cache_behaviors=[aws_native.cloudfront.DistributionCacheBehaviorArgs(\n lambda_function_associations=[aws_native.cloudfront.DistributionLambdaFunctionAssociationArgs(\n event_type=\"string-value\",\n lambda_function_arn=\"string-value\",\n )],\n )],\n default_cache_behavior=aws_native.cloudfront.DistributionDefaultCacheBehaviorArgs(\n lambda_function_associations=[aws_native.cloudfront.DistributionLambdaFunctionAssociationArgs(\n event_type=\"string-value\",\n lambda_function_arn=\"string-value\",\n )],\n ),\n ipv6_enabled=\"boolean-value\",\n origins=[aws_native.cloudfront.DistributionOriginArgs(\n custom_origin_config=aws_native.cloudfront.DistributionCustomOriginConfigArgs(\n origin_keepalive_timeout=\"integer-value\",\n origin_read_timeout=\"integer-value\",\n ),\n )],\n ),\n tags=[aws_native.TagArgs(\n key=\"string-value\",\n value=\"string-value\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var cloudfrontdistribution = new AwsNative.CloudFront.Distribution(\"cloudfrontdistribution\", new AwsNative.CloudFront.DistributionArgs\n {\n DistributionConfig = new AwsNative.CloudFront.Inputs.DistributionDistributionConfigArgs\n {\n CacheBehaviors = \n {\n new AwsNative.CloudFront.Inputs.DistributionCacheBehaviorArgs\n {\n LambdaFunctionAssociations = \n {\n new AwsNative.CloudFront.Inputs.DistributionLambdaFunctionAssociationArgs\n {\n EventType = \"string-value\",\n LambdaFunctionARN = \"string-value\",\n },\n },\n },\n },\n DefaultCacheBehavior = new AwsNative.CloudFront.Inputs.DistributionDefaultCacheBehaviorArgs\n {\n LambdaFunctionAssociations = \n {\n new AwsNative.CloudFront.Inputs.DistributionLambdaFunctionAssociationArgs\n {\n EventType = \"string-value\",\n LambdaFunctionARN = \"string-value\",\n },\n },\n },\n Ipv6Enabled = \"boolean-value\",\n Origins = \n {\n new AwsNative.CloudFront.Inputs.DistributionOriginArgs\n {\n CustomOriginConfig = new AwsNative.CloudFront.Inputs.DistributionCustomOriginConfigArgs\n {\n OriginKeepaliveTimeout = \"integer-value\",\n OriginReadTimeout = \"integer-value\",\n },\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"string-value\",\n Value = \"string-value\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cloudfront\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := cloudfront.NewDistribution(ctx, \"cloudfrontdistribution\", \u0026cloudfront.DistributionArgs{\n\t\t\tDistributionConfig: \u0026cloudfront.DistributionDistributionConfigArgs{\n\t\t\t\tCacheBehaviors: cloudfront.DistributionCacheBehaviorArray{\n\t\t\t\t\t\u0026cloudfront.DistributionCacheBehaviorArgs{\n\t\t\t\t\t\tLambdaFunctionAssociations: cloudfront.DistributionLambdaFunctionAssociationArray{\n\t\t\t\t\t\t\t\u0026cloudfront.DistributionLambdaFunctionAssociationArgs{\n\t\t\t\t\t\t\t\tEventType: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\t\tLambdaFunctionARN: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tDefaultCacheBehavior: \u0026cloudfront.DistributionDefaultCacheBehaviorArgs{\n\t\t\t\t\tLambdaFunctionAssociations: cloudfront.DistributionLambdaFunctionAssociationArray{\n\t\t\t\t\t\t\u0026cloudfront.DistributionLambdaFunctionAssociationArgs{\n\t\t\t\t\t\t\tEventType: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t\tLambdaFunctionARN: pulumi.String(\"string-value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tIpv6Enabled: \"boolean-value\",\n\t\t\t\tOrigins: cloudfront.DistributionOriginArray{\n\t\t\t\t\t\u0026cloudfront.DistributionOriginArgs{\n\t\t\t\t\t\tCustomOriginConfig: \u0026cloudfront.DistributionCustomOriginConfigArgs{\n\t\t\t\t\t\t\tOriginKeepaliveTimeout: pulumi.Int(\"integer-value\"),\n\t\t\t\t\t\t\tOriginReadTimeout: pulumi.Int(\"integer-value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"string-value\"),\n\t\t\t\t\tValue: pulumi.String(\"string-value\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst cloudfrontdistribution = new aws_native.cloudfront.Distribution(\"cloudfrontdistribution\", {\n distributionConfig: {\n cacheBehaviors: [{\n lambdaFunctionAssociations: [{\n eventType: \"string-value\",\n lambdaFunctionARN: \"string-value\",\n }],\n }],\n defaultCacheBehavior: {\n lambdaFunctionAssociations: [{\n eventType: \"string-value\",\n lambdaFunctionARN: \"string-value\",\n }],\n },\n ipv6Enabled: \"boolean-value\",\n origins: [{\n customOriginConfig: {\n originKeepaliveTimeout: \"integer-value\",\n originReadTimeout: \"integer-value\",\n },\n }],\n },\n tags: [{\n key: \"string-value\",\n value: \"string-value\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncloudfrontdistribution = aws_native.cloudfront.Distribution(\"cloudfrontdistribution\",\n distribution_config=aws_native.cloudfront.DistributionDistributionConfigArgs(\n cache_behaviors=[aws_native.cloudfront.DistributionCacheBehaviorArgs(\n lambda_function_associations=[aws_native.cloudfront.DistributionLambdaFunctionAssociationArgs(\n event_type=\"string-value\",\n lambda_function_arn=\"string-value\",\n )],\n )],\n default_cache_behavior=aws_native.cloudfront.DistributionDefaultCacheBehaviorArgs(\n lambda_function_associations=[aws_native.cloudfront.DistributionLambdaFunctionAssociationArgs(\n event_type=\"string-value\",\n lambda_function_arn=\"string-value\",\n )],\n ),\n ipv6_enabled=\"boolean-value\",\n origins=[aws_native.cloudfront.DistributionOriginArgs(\n custom_origin_config=aws_native.cloudfront.DistributionCustomOriginConfigArgs(\n origin_keepalive_timeout=\"integer-value\",\n origin_read_timeout=\"integer-value\",\n ),\n )],\n ),\n tags=[aws_native.TagArgs(\n key=\"string-value\",\n value=\"string-value\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "distributionConfig": { "$ref": "#/types/aws-native:cloudfront:DistributionDistributionConfig", @@ -30773,7 +30773,7 @@ ] }, "aws-native:codeartifact:Domain": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\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 := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {domainName: \"my-domain\"});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", domain_name=\"my-domain\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n EncryptionKey = \"arn:aws:kms:us-west-2:123456789012:key/12345678-9abc-def1-2345-6789abcdef12\",\n PermissionsPolicyDocument = \n {\n { \"version\", \"2012-10-17\" },\n { \"statement\", \n {\n \n {\n { \"action\", \n {\n \"codeartifact:ReadFromRepository\",\n \"codeartifact:DescribePackageVersion\",\n \"codeartifact:DescribeRepository\",\n \"codeartifact:GetPackageVersionReadme\",\n \"codeartifact:GetRepositoryEndpoint\",\n \"codeartifact:ListPackageVersionAssets\",\n \"codeartifact:ListPackageVersionDependencies\",\n \"codeartifact:ListPackageVersions\",\n \"codeartifact:ListPackages\",\n \"codeartifact:ReadFromRepository\",\n } },\n { \"effect\", \"Allow\" },\n { \"principal\", \n {\n { \"aws\", \"arn:aws:iam::123456789012:root\" },\n } },\n { \"resource\", \"*\" },\n },\n } },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\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 := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\n\t\t\tEncryptionKey: pulumi.String(\"arn:aws:kms:us-west-2:123456789012:key/12345678-9abc-def1-2345-6789abcdef12\"),\n\t\t\tPermissionsPolicyDocument: pulumi.Any{\n\t\t\t\tVersion: \"2012-10-17\",\n\t\t\t\tStatement: []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"action\": []string{\n\t\t\t\t\t\t\t\"codeartifact:ReadFromRepository\",\n\t\t\t\t\t\t\t\"codeartifact:DescribePackageVersion\",\n\t\t\t\t\t\t\t\"codeartifact:DescribeRepository\",\n\t\t\t\t\t\t\t\"codeartifact:GetPackageVersionReadme\",\n\t\t\t\t\t\t\t\"codeartifact:GetRepositoryEndpoint\",\n\t\t\t\t\t\t\t\"codeartifact:ListPackageVersionAssets\",\n\t\t\t\t\t\t\t\"codeartifact:ListPackageVersionDependencies\",\n\t\t\t\t\t\t\t\"codeartifact:ListPackageVersions\",\n\t\t\t\t\t\t\t\"codeartifact:ListPackages\",\n\t\t\t\t\t\t\t\"codeartifact:ReadFromRepository\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"effect\": \"Allow\",\n\t\t\t\t\t\t\"principal\": map[string]interface{}{\n\t\t\t\t\t\t\t\"aws\": \"arn:aws:iam::123456789012:root\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"resource\": \"*\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {\n domainName: \"my-domain\",\n encryptionKey: \"arn:aws:kms:us-west-2:123456789012:key/12345678-9abc-def1-2345-6789abcdef12\",\n permissionsPolicyDocument: {\n version: \"2012-10-17\",\n statement: [{\n action: [\n \"codeartifact:ReadFromRepository\",\n \"codeartifact:DescribePackageVersion\",\n \"codeartifact:DescribeRepository\",\n \"codeartifact:GetPackageVersionReadme\",\n \"codeartifact:GetRepositoryEndpoint\",\n \"codeartifact:ListPackageVersionAssets\",\n \"codeartifact:ListPackageVersionDependencies\",\n \"codeartifact:ListPackageVersions\",\n \"codeartifact:ListPackages\",\n \"codeartifact:ReadFromRepository\",\n ],\n effect: \"Allow\",\n principal: {\n aws: \"arn:aws:iam::123456789012:root\",\n },\n resource: \"*\",\n }],\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\",\n domain_name=\"my-domain\",\n encryption_key=\"arn:aws:kms:us-west-2:123456789012:key/12345678-9abc-def1-2345-6789abcdef12\",\n permissions_policy_document={\n \"version\": \"2012-10-17\",\n \"statement\": [{\n \"action\": [\n \"codeartifact:ReadFromRepository\",\n \"codeartifact:DescribePackageVersion\",\n \"codeartifact:DescribeRepository\",\n \"codeartifact:GetPackageVersionReadme\",\n \"codeartifact:GetRepositoryEndpoint\",\n \"codeartifact:ListPackageVersionAssets\",\n \"codeartifact:ListPackageVersionDependencies\",\n \"codeartifact:ListPackageVersions\",\n \"codeartifact:ListPackages\",\n \"codeartifact:ReadFromRepository\",\n ],\n \"effect\": \"Allow\",\n \"principal\": {\n \"aws\": \"arn:aws:iam::123456789012:root\",\n },\n \"resource\": \"*\",\n }],\n })\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"keyname1\",\n Value = \"value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"keyname2\",\n Value = \"value2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {\n domainName: \"my-domain\",\n tags: [\n {\n key: \"keyname1\",\n value: \"value1\",\n },\n {\n key: \"keyname2\",\n value: \"value2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\",\n domain_name=\"my-domain\",\n tags=[\n aws_native.TagArgs(\n key=\"keyname1\",\n value=\"value1\",\n ),\n aws_native.TagArgs(\n key=\"keyname2\",\n value=\"value2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n });\n var myCodeArtifactRepository = new AwsNative.CodeArtifact.Repository(\"myCodeArtifactRepository\", new AwsNative.CodeArtifact.RepositoryArgs\n {\n RepositoryName = \"my-repo\",\n DomainName = myCodeArtifactDomain.Name,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmyCodeArtifactDomain, err := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = codeartifact.NewRepository(ctx, \"myCodeArtifactRepository\", \u0026codeartifact.RepositoryArgs{\n\t\t\tRepositoryName: pulumi.String(\"my-repo\"),\n\t\t\tDomainName: myCodeArtifactDomain.Name,\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {domainName: \"my-domain\"});\nconst myCodeArtifactRepository = new aws_native.codeartifact.Repository(\"myCodeArtifactRepository\", {\n repositoryName: \"my-repo\",\n domainName: myCodeArtifactDomain.name,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", domain_name=\"my-domain\")\nmy_code_artifact_repository = aws_native.codeartifact.Repository(\"myCodeArtifactRepository\",\n repository_name=\"my-repo\",\n domain_name=my_code_artifact_domain.name)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n });\n var myCodeArtifactUpstreamRepository = new AwsNative.CodeArtifact.Repository(\"myCodeArtifactUpstreamRepository\", new AwsNative.CodeArtifact.RepositoryArgs\n {\n RepositoryName = \"my-upstream-repo\",\n DomainName = myCodeArtifactDomain.Name,\n ExternalConnections = \n {\n \"public:npmjs\",\n },\n });\n var myCodeArtifactRepository = new AwsNative.CodeArtifact.Repository(\"myCodeArtifactRepository\", new AwsNative.CodeArtifact.RepositoryArgs\n {\n RepositoryName = \"my-repo\",\n DomainName = myCodeArtifactDomain.Name,\n Upstreams = \n {\n myCodeArtifactUpstreamRepository.Name,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmyCodeArtifactDomain, err := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tmyCodeArtifactUpstreamRepository, err := codeartifact.NewRepository(ctx, \"myCodeArtifactUpstreamRepository\", \u0026codeartifact.RepositoryArgs{\n\t\t\tRepositoryName: pulumi.String(\"my-upstream-repo\"),\n\t\t\tDomainName: myCodeArtifactDomain.Name,\n\t\t\tExternalConnections: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"public:npmjs\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = codeartifact.NewRepository(ctx, \"myCodeArtifactRepository\", \u0026codeartifact.RepositoryArgs{\n\t\t\tRepositoryName: pulumi.String(\"my-repo\"),\n\t\t\tDomainName: myCodeArtifactDomain.Name,\n\t\t\tUpstreams: pulumi.StringArray{\n\t\t\t\tmyCodeArtifactUpstreamRepository.Name,\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {domainName: \"my-domain\"});\nconst myCodeArtifactUpstreamRepository = new aws_native.codeartifact.Repository(\"myCodeArtifactUpstreamRepository\", {\n repositoryName: \"my-upstream-repo\",\n domainName: myCodeArtifactDomain.name,\n externalConnections: [\"public:npmjs\"],\n});\nconst myCodeArtifactRepository = new aws_native.codeartifact.Repository(\"myCodeArtifactRepository\", {\n repositoryName: \"my-repo\",\n domainName: myCodeArtifactDomain.name,\n upstreams: [myCodeArtifactUpstreamRepository.name],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", domain_name=\"my-domain\")\nmy_code_artifact_upstream_repository = aws_native.codeartifact.Repository(\"myCodeArtifactUpstreamRepository\",\n repository_name=\"my-upstream-repo\",\n domain_name=my_code_artifact_domain.name,\n external_connections=[\"public:npmjs\"])\nmy_code_artifact_repository = aws_native.codeartifact.Repository(\"myCodeArtifactRepository\",\n repository_name=\"my-repo\",\n domain_name=my_code_artifact_domain.name,\n upstreams=[my_code_artifact_upstream_repository.name])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCodeArtifactDomain = new AwsNative.CodeArtifact.Domain(\"myCodeArtifactDomain\", new AwsNative.CodeArtifact.DomainArgs\n {\n DomainName = \"my-domain\",\n });\n var myCodeArtifactRepository = new AwsNative.CodeArtifact.Repository(\"myCodeArtifactRepository\", new AwsNative.CodeArtifact.RepositoryArgs\n {\n RepositoryName = \"my-repo\",\n DomainName = myCodeArtifactDomain.Name,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"keyname1\",\n Value = \"value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"keyname2\",\n Value = \"value2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codeartifact\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmyCodeArtifactDomain, err := codeartifact.NewDomain(ctx, \"myCodeArtifactDomain\", \u0026codeartifact.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"my-domain\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = codeartifact.NewRepository(ctx, \"myCodeArtifactRepository\", \u0026codeartifact.RepositoryArgs{\n\t\t\tRepositoryName: pulumi.String(\"my-repo\"),\n\t\t\tDomainName: myCodeArtifactDomain.Name,\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCodeArtifactDomain = new aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", {domainName: \"my-domain\"});\nconst myCodeArtifactRepository = new aws_native.codeartifact.Repository(\"myCodeArtifactRepository\", {\n repositoryName: \"my-repo\",\n domainName: myCodeArtifactDomain.name,\n tags: [\n {\n key: \"keyname1\",\n value: \"value1\",\n },\n {\n key: \"keyname2\",\n value: \"value2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_code_artifact_domain = aws_native.codeartifact.Domain(\"myCodeArtifactDomain\", domain_name=\"my-domain\")\nmy_code_artifact_repository = aws_native.codeartifact.Repository(\"myCodeArtifactRepository\",\n repository_name=\"my-repo\",\n domain_name=my_code_artifact_domain.name,\n tags=[\n aws_native.TagArgs(\n key=\"keyname1\",\n value=\"value1\",\n ),\n aws_native.TagArgs(\n key=\"keyname2\",\n value=\"value2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -31060,7 +31060,7 @@ ] }, "aws-native:codegurureviewer:RepositoryAssociation": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation(\"myRepositoryAssociation\", new AwsNative.CodeGuruReviewer.RepositoryAssociationArgs\n {\n Name = \"MyRepository\",\n Type = \"CodeCommit\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer\"\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 := codegurureviewer.NewRepositoryAssociation(ctx, \"myRepositoryAssociation\", \u0026codegurureviewer.RepositoryAssociationArgs{\n\t\t\tName: pulumi.String(\"MyRepository\"),\n\t\t\tType: pulumi.String(\"CodeCommit\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\", {\n name: \"MyRepository\",\n type: \"CodeCommit\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_repository_association = aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\",\n name=\"MyRepository\",\n type=\"CodeCommit\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation(\"myRepositoryAssociation\", new AwsNative.CodeGuruReviewer.RepositoryAssociationArgs\n {\n Name = \"MyBitbucketRepoName\",\n Type = \"Bitbucket\",\n ConnectionArn = \"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n Owner = \"MyOwnerName\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer\"\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 := codegurureviewer.NewRepositoryAssociation(ctx, \"myRepositoryAssociation\", \u0026codegurureviewer.RepositoryAssociationArgs{\n\t\t\tName: pulumi.String(\"MyBitbucketRepoName\"),\n\t\t\tType: pulumi.String(\"Bitbucket\"),\n\t\t\tConnectionArn: pulumi.String(\"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\"),\n\t\t\tOwner: pulumi.String(\"MyOwnerName\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\", {\n name: \"MyBitbucketRepoName\",\n type: \"Bitbucket\",\n connectionArn: \"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n owner: \"MyOwnerName\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_repository_association = aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\",\n name=\"MyBitbucketRepoName\",\n type=\"Bitbucket\",\n connection_arn=\"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n owner=\"MyOwnerName\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation(\"myRepositoryAssociation\", new AwsNative.CodeGuruReviewer.RepositoryAssociationArgs\n {\n Name = \"MyGitHubEnterpriseRepoName\",\n Type = \"GitHubEnterpriseServer\",\n ConnectionArn = \"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n Owner = \"MyOwnerName\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer\"\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 := codegurureviewer.NewRepositoryAssociation(ctx, \"myRepositoryAssociation\", \u0026codegurureviewer.RepositoryAssociationArgs{\n\t\t\tName: pulumi.String(\"MyGitHubEnterpriseRepoName\"),\n\t\t\tType: pulumi.String(\"GitHubEnterpriseServer\"),\n\t\t\tConnectionArn: pulumi.String(\"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\"),\n\t\t\tOwner: pulumi.String(\"MyOwnerName\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\", {\n name: \"MyGitHubEnterpriseRepoName\",\n type: \"GitHubEnterpriseServer\",\n connectionArn: \"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n owner: \"MyOwnerName\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_repository_association = aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\",\n name=\"MyGitHubEnterpriseRepoName\",\n type=\"GitHubEnterpriseServer\",\n connection_arn=\"arn:aws:codestar-connections:us-west-2:123456789012:connection/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n owner=\"MyOwnerName\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myRepositoryAssociation = new AwsNative.CodeGuruReviewer.RepositoryAssociation(\"myRepositoryAssociation\", new AwsNative.CodeGuruReviewer.RepositoryAssociationArgs\n {\n Name = \"MyRepository\",\n Type = \"CodeCommit\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag1-key\",\n Value = \"tag1-value\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"tag2-key\",\n Value = \"tag2-value\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codegurureviewer\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codegurureviewer.NewRepositoryAssociation(ctx, \"myRepositoryAssociation\", \u0026codegurureviewer.RepositoryAssociationArgs{\n\t\t\tName: pulumi.String(\"MyRepository\"),\n\t\t\tType: pulumi.String(\"CodeCommit\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag1-key\"),\n\t\t\t\t\tValue: pulumi.String(\"tag1-value\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag2-key\"),\n\t\t\t\t\tValue: pulumi.String(\"tag2-value\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myRepositoryAssociation = new aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\", {\n name: \"MyRepository\",\n type: \"CodeCommit\",\n tags: [\n {\n key: \"tag1-key\",\n value: \"tag1-value\",\n },\n {\n key: \"tag2-key\",\n value: \"tag2-value\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_repository_association = aws_native.codegurureviewer.RepositoryAssociation(\"myRepositoryAssociation\",\n name=\"MyRepository\",\n type=\"CodeCommit\",\n tags=[\n aws_native.TagArgs(\n key=\"tag1-key\",\n value=\"tag1-value\",\n ),\n aws_native.TagArgs(\n key=\"tag2-key\",\n value=\"tag2-value\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "associationArn": { "type": "string" @@ -31134,7 +31134,7 @@ ] }, "aws-native:codestarconnections:Connection": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleConnection = new AwsNative.CodeStarConnections.Connection(\"sampleConnection\", new AwsNative.CodeStarConnections.ConnectionArgs\n {\n ConnectionName = \"MyConnection\",\n ProviderType = \"Bitbucket\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Project\",\n Value = \"ProjectB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codestarconnections\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codestarconnections.NewConnection(ctx, \"sampleConnection\", \u0026codestarconnections.ConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"MyConnection\"),\n\t\t\tProviderType: pulumi.String(\"Bitbucket\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Project\"),\n\t\t\t\t\tValue: pulumi.String(\"ProjectB\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleConnection = new aws_native.codestarconnections.Connection(\"sampleConnection\", {\n connectionName: \"MyConnection\",\n providerType: \"Bitbucket\",\n tags: [{\n key: \"Project\",\n value: \"ProjectB\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_connection = aws_native.codestarconnections.Connection(\"sampleConnection\",\n connection_name=\"MyConnection\",\n provider_type=\"Bitbucket\",\n tags=[aws_native.TagArgs(\n key=\"Project\",\n value=\"ProjectB\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleConnection = new AwsNative.CodeStarConnections.Connection(\"sampleConnection\", new AwsNative.CodeStarConnections.ConnectionArgs\n {\n ConnectionName = \"MyConnection\",\n ProviderType = \"Bitbucket\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Project\",\n Value = \"ProjectB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codestarconnections\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codestarconnections.NewConnection(ctx, \"sampleConnection\", \u0026codestarconnections.ConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"MyConnection\"),\n\t\t\tProviderType: pulumi.String(\"Bitbucket\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Project\"),\n\t\t\t\t\tValue: pulumi.String(\"ProjectB\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleConnection = new aws_native.codestarconnections.Connection(\"sampleConnection\", {\n connectionName: \"MyConnection\",\n providerType: \"Bitbucket\",\n tags: [{\n key: \"Project\",\n value: \"ProjectB\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_connection = aws_native.codestarconnections.Connection(\"sampleConnection\",\n connection_name=\"MyConnection\",\n provider_type=\"Bitbucket\",\n tags=[aws_native.TagArgs(\n key=\"Project\",\n value=\"ProjectB\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleConnection = new AwsNative.CodeStarConnections.Connection(\"sampleConnection\", new AwsNative.CodeStarConnections.ConnectionArgs\n {\n ConnectionName = \"MyConnection\",\n ProviderType = \"GitHubEnterpriseServer\",\n HostArn = \"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Project\",\n Value = \"ProjectB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codestarconnections\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codestarconnections.NewConnection(ctx, \"sampleConnection\", \u0026codestarconnections.ConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"MyConnection\"),\n\t\t\tProviderType: pulumi.String(\"GitHubEnterpriseServer\"),\n\t\t\tHostArn: pulumi.String(\"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Project\"),\n\t\t\t\t\tValue: pulumi.String(\"ProjectB\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleConnection = new aws_native.codestarconnections.Connection(\"sampleConnection\", {\n connectionName: \"MyConnection\",\n providerType: \"GitHubEnterpriseServer\",\n hostArn: \"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n tags: [{\n key: \"Project\",\n value: \"ProjectB\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_connection = aws_native.codestarconnections.Connection(\"sampleConnection\",\n connection_name=\"MyConnection\",\n provider_type=\"GitHubEnterpriseServer\",\n host_arn=\"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n tags=[aws_native.TagArgs(\n key=\"Project\",\n value=\"ProjectB\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleConnection = new AwsNative.CodeStarConnections.Connection(\"sampleConnection\", new AwsNative.CodeStarConnections.ConnectionArgs\n {\n ConnectionName = \"MyConnection\",\n ProviderType = \"GitHubEnterpriseServer\",\n HostArn = \"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Project\",\n Value = \"ProjectB\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/codestarconnections\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := codestarconnections.NewConnection(ctx, \"sampleConnection\", \u0026codestarconnections.ConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"MyConnection\"),\n\t\t\tProviderType: pulumi.String(\"GitHubEnterpriseServer\"),\n\t\t\tHostArn: pulumi.String(\"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Project\"),\n\t\t\t\t\tValue: pulumi.String(\"ProjectB\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleConnection = new aws_native.codestarconnections.Connection(\"sampleConnection\", {\n connectionName: \"MyConnection\",\n providerType: \"GitHubEnterpriseServer\",\n hostArn: \"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n tags: [{\n key: \"Project\",\n value: \"ProjectB\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_connection = aws_native.codestarconnections.Connection(\"sampleConnection\",\n connection_name=\"MyConnection\",\n provider_type=\"GitHubEnterpriseServer\",\n host_arn=\"arn:aws:codestar-connections:us-west-2:123456789123:host/abc123-example\",\n tags=[aws_native.TagArgs(\n key=\"Project\",\n value=\"ProjectB\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "connectionArn": { "type": "string" @@ -31536,7 +31536,7 @@ ] }, "aws-native:customerprofiles:Domain": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var domain = new AwsNative.CustomerProfiles.Domain(\"domain\", new AwsNative.CustomerProfiles.DomainArgs\n {\n DomainName = \"ExampleDomain\",\n DefaultEncryptionKey = \"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE\",\n DeadLetterQueueUrl = \"arn:aws:sqs:us-east-1:123456789012:DLQName\",\n DefaultExpirationDays = 6,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/customerprofiles\"\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 := customerprofiles.NewDomain(ctx, \"domain\", \u0026customerprofiles.DomainArgs{\n\t\t\tDomainName: pulumi.String(\"ExampleDomain\"),\n\t\t\tDefaultEncryptionKey: pulumi.String(\"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE\"),\n\t\t\tDeadLetterQueueUrl: pulumi.String(\"arn:aws:sqs:us-east-1:123456789012:DLQName\"),\n\t\t\tDefaultExpirationDays: pulumi.Int(6),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst domain = new aws_native.customerprofiles.Domain(\"domain\", {\n domainName: \"ExampleDomain\",\n defaultEncryptionKey: \"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE\",\n deadLetterQueueUrl: \"arn:aws:sqs:us-east-1:123456789012:DLQName\",\n defaultExpirationDays: 6,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ndomain = aws_native.customerprofiles.Domain(\"domain\",\n domain_name=\"ExampleDomain\",\n default_encryption_key=\"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE\",\n dead_letter_queue_url=\"arn:aws:sqs:us-east-1:123456789012:DLQName\",\n default_expiration_days=6)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "createdAt": { "type": "string" @@ -31604,7 +31604,7 @@ ] }, "aws-native:customerprofiles:Integration": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testIntegration = new AwsNative.CustomerProfiles.Integration(\"testIntegration\", new AwsNative.CustomerProfiles.IntegrationArgs\n {\n DomainName = \"ExampleDomain\",\n ObjectTypeName = \"CTR\",\n Uri = \"arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/customerprofiles\"\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 := customerprofiles.NewIntegration(ctx, \"testIntegration\", \u0026customerprofiles.IntegrationArgs{\n\t\t\tDomainName: pulumi.String(\"ExampleDomain\"),\n\t\t\tObjectTypeName: pulumi.String(\"CTR\"),\n\t\t\tUri: pulumi.String(\"arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testIntegration = new aws_native.customerprofiles.Integration(\"testIntegration\", {\n domainName: \"ExampleDomain\",\n objectTypeName: \"CTR\",\n uri: \"arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_integration = aws_native.customerprofiles.Integration(\"testIntegration\",\n domain_name=\"ExampleDomain\",\n object_type_name=\"CTR\",\n uri=\"arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "createdAt": { "type": "string" @@ -31674,7 +31674,7 @@ ] }, "aws-native:customerprofiles:ObjectType": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var objectType = new AwsNative.CustomerProfiles.ObjectType(\"objectType\", new AwsNative.CustomerProfiles.ObjectTypeArgs\n {\n DomainName = \"ExampleDomain\",\n ObjectTypeName = \"ExampleObjectType\",\n AllowProfileCreation = false,\n Description = \"Description Example\",\n ExpirationDays = 1,\n Fields = \n {\n new AwsNative.CustomerProfiles.Inputs.ObjectTypeFieldMapArgs\n {\n Name = \"email\",\n ObjectTypeField = new AwsNative.CustomerProfiles.Inputs.ObjectTypeObjectTypeFieldArgs\n {\n Source = \"_source.email\",\n Target = \"_profile.BusinessEmail\",\n ContentType = \"EMAIL_ADDRESS\",\n },\n },\n },\n Keys = \n {\n new AwsNative.CustomerProfiles.Inputs.ObjectTypeKeyMapArgs\n {\n Name = \"_email\",\n ObjectTypeKeyList = \n {\n new AwsNative.CustomerProfiles.Inputs.ObjectTypeObjectTypeKeyArgs\n {\n FieldNames = \n {\n \"email\",\n },\n StandardIdentifiers = \n {\n \"PROFILE\",\n \"UNIQUE\",\n },\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/customerprofiles\"\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 := customerprofiles.NewObjectType(ctx, \"objectType\", \u0026customerprofiles.ObjectTypeArgs{\n\t\t\tDomainName: pulumi.String(\"ExampleDomain\"),\n\t\t\tObjectTypeName: pulumi.String(\"ExampleObjectType\"),\n\t\t\tAllowProfileCreation: pulumi.Bool(false),\n\t\t\tDescription: pulumi.String(\"Description Example\"),\n\t\t\tExpirationDays: pulumi.Int(1),\n\t\t\tFields: []customerprofiles.ObjectTypeFieldMapArgs{\n\t\t\t\t\u0026customerprofiles.ObjectTypeFieldMapArgs{\n\t\t\t\t\tName: pulumi.String(\"email\"),\n\t\t\t\t\tObjectTypeField: \u0026customerprofiles.ObjectTypeObjectTypeFieldArgs{\n\t\t\t\t\t\tSource: pulumi.String(\"_source.email\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"_profile.BusinessEmail\"),\n\t\t\t\t\t\tContentType: pulumi.String(\"EMAIL_ADDRESS\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tKeys: []customerprofiles.ObjectTypeKeyMapArgs{\n\t\t\t\t\u0026customerprofiles.ObjectTypeKeyMapArgs{\n\t\t\t\t\tName: pulumi.String(\"_email\"),\n\t\t\t\t\tObjectTypeKeyList: customerprofiles.ObjectTypeObjectTypeKeyArray{\n\t\t\t\t\t\t\u0026customerprofiles.ObjectTypeObjectTypeKeyArgs{\n\t\t\t\t\t\t\tFieldNames: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"email\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tStandardIdentifiers: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"PROFILE\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"UNIQUE\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst objectType = new aws_native.customerprofiles.ObjectType(\"objectType\", {\n domainName: \"ExampleDomain\",\n objectTypeName: \"ExampleObjectType\",\n allowProfileCreation: false,\n description: \"Description Example\",\n expirationDays: 1,\n fields: [{\n name: \"email\",\n objectTypeField: {\n source: \"_source.email\",\n target: \"_profile.BusinessEmail\",\n contentType: \"EMAIL_ADDRESS\",\n },\n }],\n keys: [{\n name: \"_email\",\n objectTypeKeyList: [{\n fieldNames: [\"email\"],\n standardIdentifiers: [\n \"PROFILE\",\n \"UNIQUE\",\n ],\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nobject_type = aws_native.customerprofiles.ObjectType(\"objectType\",\n domain_name=\"ExampleDomain\",\n object_type_name=\"ExampleObjectType\",\n allow_profile_creation=False,\n description=\"Description Example\",\n expiration_days=1,\n fields=[aws_native.customerprofiles.ObjectTypeFieldMapArgs(\n name=\"email\",\n object_type_field=aws_native.customerprofiles.ObjectTypeObjectTypeFieldArgs(\n source=\"_source.email\",\n target=\"_profile.BusinessEmail\",\n content_type=\"EMAIL_ADDRESS\",\n ),\n )],\n keys=[aws_native.customerprofiles.ObjectTypeKeyMapArgs(\n name=\"_email\",\n object_type_key_list=[aws_native.customerprofiles.ObjectTypeObjectTypeKeyArgs(\n field_names=[\"email\"],\n standard_identifiers=[\n \"PROFILE\",\n \"UNIQUE\",\n ],\n )],\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "allowProfileCreation": { "type": "boolean", @@ -31794,7 +31794,7 @@ ] }, "aws-native:databrew:Dataset": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testDataBrewDataset = new AwsNative.DataBrew.Dataset(\"testDataBrewDataset\", new AwsNative.DataBrew.DatasetArgs\n {\n Name = \"cf-test-dataset1\",\n Input = new AwsNative.DataBrew.Inputs.DatasetInputArgs\n {\n S3InputDefinition = new AwsNative.DataBrew.Inputs.DatasetS3LocationArgs\n {\n Bucket = \"test-location\",\n Key = \"test.xlsx\",\n },\n },\n FormatOptions = new AwsNative.DataBrew.Inputs.DatasetFormatOptionsArgs\n {\n Excel = new AwsNative.DataBrew.Inputs.DatasetExcelOptionsArgs\n {\n SheetNames = \n {\n \"test\",\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key00AtCreate\",\n Value = \"value001AtCreate\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := databrew.NewDataset(ctx, \"testDataBrewDataset\", \u0026databrew.DatasetArgs{\n\t\t\tName: pulumi.String(\"cf-test-dataset1\"),\n\t\t\tInput: \u0026databrew.DatasetInputArgs{\n\t\t\t\tS3InputDefinition: \u0026databrew.DatasetS3LocationArgs{\n\t\t\t\t\tBucket: pulumi.String(\"test-location\"),\n\t\t\t\t\tKey: pulumi.String(\"test.xlsx\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFormatOptions: \u0026databrew.DatasetFormatOptionsArgs{\n\t\t\t\tExcel: \u0026databrew.DatasetExcelOptionsArgs{\n\t\t\t\t\tSheetNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"test\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key00AtCreate\"),\n\t\t\t\t\tValue: pulumi.String(\"value001AtCreate\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testDataBrewDataset = new aws_native.databrew.Dataset(\"testDataBrewDataset\", {\n name: \"cf-test-dataset1\",\n input: {\n s3InputDefinition: {\n bucket: \"test-location\",\n key: \"test.xlsx\",\n },\n },\n formatOptions: {\n excel: {\n sheetNames: [\"test\"],\n },\n },\n tags: [{\n key: \"key00AtCreate\",\n value: \"value001AtCreate\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_data_brew_dataset = aws_native.databrew.Dataset(\"testDataBrewDataset\",\n name=\"cf-test-dataset1\",\n input=aws_native.databrew.DatasetInputArgs(\n s3_input_definition=aws_native.databrew.DatasetS3LocationArgs(\n bucket=\"test-location\",\n key=\"test.xlsx\",\n ),\n ),\n format_options=aws_native.databrew.DatasetFormatOptionsArgs(\n excel=aws_native.databrew.DatasetExcelOptionsArgs(\n sheet_names=[\"test\"],\n ),\n ),\n tags=[aws_native.TagArgs(\n key=\"key00AtCreate\",\n value=\"value001AtCreate\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "format": { "type": "string", @@ -31864,7 +31864,7 @@ ] }, "aws-native:databrew:Job": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myDataBrewProfileJob = new AwsNative.DataBrew.Job(\"myDataBrewProfileJob\", new AwsNative.DataBrew.JobArgs\n {\n Type = \"PROFILE\",\n Name = \"job-test\",\n DatasetName = \"dataset-test\",\n RoleArn = \"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n JobSample = new AwsNative.DataBrew.Inputs.JobJobSampleArgs\n {\n Mode = \"FULL_DATASET\",\n },\n OutputLocation = new AwsNative.DataBrew.Inputs.JobOutputLocationArgs\n {\n Bucket = \"test-output\",\n Key = \"job-output.json\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key00AtCreate\",\n Value = \"value001AtCreate\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := databrew.NewJob(ctx, \"myDataBrewProfileJob\", \u0026databrew.JobArgs{\n\t\t\tType: pulumi.String(\"PROFILE\"),\n\t\t\tName: pulumi.String(\"job-test\"),\n\t\t\tDatasetName: pulumi.String(\"dataset-test\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::1234567891011:role/PassRoleAdmin\"),\n\t\t\tJobSample: \u0026databrew.JobJobSampleArgs{\n\t\t\t\tMode: pulumi.String(\"FULL_DATASET\"),\n\t\t\t},\n\t\t\tOutputLocation: \u0026databrew.JobOutputLocationArgs{\n\t\t\t\tBucket: pulumi.String(\"test-output\"),\n\t\t\t\tKey: pulumi.String(\"job-output.json\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key00AtCreate\"),\n\t\t\t\t\tValue: pulumi.String(\"value001AtCreate\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myDataBrewProfileJob = new aws_native.databrew.Job(\"myDataBrewProfileJob\", {\n type: \"PROFILE\",\n name: \"job-test\",\n datasetName: \"dataset-test\",\n roleArn: \"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n jobSample: {\n mode: \"FULL_DATASET\",\n },\n outputLocation: {\n bucket: \"test-output\",\n key: \"job-output.json\",\n },\n tags: [{\n key: \"key00AtCreate\",\n value: \"value001AtCreate\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_data_brew_profile_job = aws_native.databrew.Job(\"myDataBrewProfileJob\",\n type=\"PROFILE\",\n name=\"job-test\",\n dataset_name=\"dataset-test\",\n role_arn=\"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n job_sample=aws_native.databrew.JobJobSampleArgs(\n mode=\"FULL_DATASET\",\n ),\n output_location=aws_native.databrew.JobOutputLocationArgs(\n bucket=\"test-output\",\n key=\"job-output.json\",\n ),\n tags=[aws_native.TagArgs(\n key=\"key00AtCreate\",\n value=\"value001AtCreate\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "dataCatalogOutputs": { "type": "array", @@ -32074,7 +32074,7 @@ ] }, "aws-native:databrew:Project": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myDataBrewProject = new AwsNative.DataBrew.Project(\"myDataBrewProject\", new AwsNative.DataBrew.ProjectArgs\n {\n Name = \"test-project\",\n RecipeName = \"test-project-recipe\",\n DatasetName = \"test-dataset\",\n RoleArn = \"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n Sample = new AwsNative.DataBrew.Inputs.ProjectSampleArgs\n {\n Size = 500,\n Type = \"LAST_N\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key00AtCreate\",\n Value = \"value001AtCreate\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := databrew.NewProject(ctx, \"myDataBrewProject\", \u0026databrew.ProjectArgs{\n\t\t\tName: pulumi.String(\"test-project\"),\n\t\t\tRecipeName: pulumi.String(\"test-project-recipe\"),\n\t\t\tDatasetName: pulumi.String(\"test-dataset\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::1234567891011:role/PassRoleAdmin\"),\n\t\t\tSample: \u0026databrew.ProjectSampleArgs{\n\t\t\t\tSize: pulumi.Int(500),\n\t\t\t\tType: pulumi.String(\"LAST_N\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key00AtCreate\"),\n\t\t\t\t\tValue: pulumi.String(\"value001AtCreate\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myDataBrewProject = new aws_native.databrew.Project(\"myDataBrewProject\", {\n name: \"test-project\",\n recipeName: \"test-project-recipe\",\n datasetName: \"test-dataset\",\n roleArn: \"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n sample: {\n size: 500,\n type: \"LAST_N\",\n },\n tags: [{\n key: \"key00AtCreate\",\n value: \"value001AtCreate\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_data_brew_project = aws_native.databrew.Project(\"myDataBrewProject\",\n name=\"test-project\",\n recipe_name=\"test-project-recipe\",\n dataset_name=\"test-dataset\",\n role_arn=\"arn:aws:iam::1234567891011:role/PassRoleAdmin\",\n sample=aws_native.databrew.ProjectSampleArgs(\n size=500,\n type=\"LAST_N\",\n ),\n tags=[aws_native.TagArgs(\n key=\"key00AtCreate\",\n value=\"value001AtCreate\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "datasetName": { "type": "string", @@ -32148,7 +32148,7 @@ ] }, "aws-native:databrew:Recipe": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myDataBrewRecipe = new AwsNative.DataBrew.Recipe(\"myDataBrewRecipe\", new AwsNative.DataBrew.RecipeArgs\n {\n Name = \"na-recipe-cf-test\",\n Description = \"This is the recipe description.\",\n Steps = \n {\n new AwsNative.DataBrew.Inputs.RecipeRecipeStepArgs\n {\n Action = new AwsNative.DataBrew.Inputs.RecipeActionArgs\n {\n Operation = \"EXTRACT_PATTERN\",\n Parameters = new AwsNative.DataBrew.Inputs.RecipeParameterMapArgs\n {\n SourceColumn = \"Consulate\",\n Pattern = \"A\",\n TargetColumn = \"extract_pattern\",\n },\n },\n ConditionExpressions = \n {\n new AwsNative.DataBrew.Inputs.RecipeConditionExpressionArgs\n {\n Condition = \"LESS_THAN\",\n ConditionValue = \"2\",\n TargetColumn = \"target\",\n },\n new AwsNative.DataBrew.Inputs.RecipeConditionExpressionArgs\n {\n Condition = \"GREATER_THAN\",\n Value = \"0\",\n TargetColumn = \"target\",\n },\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"key00AtCreate\",\n Value = \"value001AtCreate\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/databrew\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := databrew.NewRecipe(ctx, \"myDataBrewRecipe\", \u0026databrew.RecipeArgs{\n\t\t\tName: pulumi.String(\"na-recipe-cf-test\"),\n\t\t\tDescription: pulumi.String(\"This is the recipe description.\"),\n\t\t\tSteps: databrew.RecipeRecipeStepArray{\n\t\t\t\t\u0026databrew.RecipeRecipeStepArgs{\n\t\t\t\t\tAction: \u0026databrew.RecipeActionArgs{\n\t\t\t\t\t\tOperation: pulumi.String(\"EXTRACT_PATTERN\"),\n\t\t\t\t\t\tParameters: \u0026databrew.RecipeParameterMapArgs{\n\t\t\t\t\t\t\tSourceColumn: \"Consulate\",\n\t\t\t\t\t\t\tPattern: \"A\",\n\t\t\t\t\t\t\tTargetColumn: \"extract_pattern\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tConditionExpressions: databrew.RecipeConditionExpressionArray{\n\t\t\t\t\t\t\u0026databrew.RecipeConditionExpressionArgs{\n\t\t\t\t\t\t\tCondition: pulumi.String(\"LESS_THAN\"),\n\t\t\t\t\t\t\tConditionValue: \"2\",\n\t\t\t\t\t\t\tTargetColumn: pulumi.String(\"target\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026databrew.RecipeConditionExpressionArgs{\n\t\t\t\t\t\t\tCondition: pulumi.String(\"GREATER_THAN\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"0\"),\n\t\t\t\t\t\t\tTargetColumn: pulumi.String(\"target\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"key00AtCreate\"),\n\t\t\t\t\tValue: pulumi.String(\"value001AtCreate\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myDataBrewRecipe = new aws_native.databrew.Recipe(\"myDataBrewRecipe\", {\n name: \"na-recipe-cf-test\",\n description: \"This is the recipe description.\",\n steps: [{\n action: {\n operation: \"EXTRACT_PATTERN\",\n parameters: {\n sourceColumn: \"Consulate\",\n pattern: \"A\",\n targetColumn: \"extract_pattern\",\n },\n },\n conditionExpressions: [\n {\n condition: \"LESS_THAN\",\n conditionValue: \"2\",\n targetColumn: \"target\",\n },\n {\n condition: \"GREATER_THAN\",\n value: \"0\",\n targetColumn: \"target\",\n },\n ],\n }],\n tags: [{\n key: \"key00AtCreate\",\n value: \"value001AtCreate\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_data_brew_recipe = aws_native.databrew.Recipe(\"myDataBrewRecipe\",\n name=\"na-recipe-cf-test\",\n description=\"This is the recipe description.\",\n steps=[aws_native.databrew.RecipeRecipeStepArgs(\n action=aws_native.databrew.RecipeActionArgs(\n operation=\"EXTRACT_PATTERN\",\n parameters=aws_native.databrew.RecipeParameterMapArgs(\n source_column=\"Consulate\",\n pattern=\"A\",\n target_column=\"extract_pattern\",\n ),\n ),\n condition_expressions=[\n aws_native.databrew.RecipeConditionExpressionArgs(\n condition=\"LESS_THAN\",\n condition_value=\"2\",\n target_column=\"target\",\n ),\n aws_native.databrew.RecipeConditionExpressionArgs(\n condition=\"GREATER_THAN\",\n value=\"0\",\n target_column=\"target\",\n ),\n ],\n )],\n tags=[aws_native.TagArgs(\n key=\"key00AtCreate\",\n value=\"value001AtCreate\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "description": { "type": "string", @@ -32268,7 +32268,7 @@ ] }, "aws-native:datasync:Agent": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var agent = new AwsNative.DataSync.Agent(\"agent\", new AwsNative.DataSync.AgentArgs\n {\n ActivationKey = \"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n AgentName = \"MyAgent\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewAgent(ctx, \"agent\", \u0026datasync.AgentArgs{\n\t\t\tActivationKey: pulumi.String(\"AAAAA-7AAAA-GG7MC-3I9R3-27COD\"),\n\t\t\tAgentName: pulumi.String(\"MyAgent\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst agent = new aws_native.datasync.Agent(\"agent\", {\n activationKey: \"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n agentName: \"MyAgent\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nagent = aws_native.datasync.Agent(\"agent\",\n activation_key=\"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n agent_name=\"MyAgent\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var agent = new AwsNative.DataSync.Agent(\"agent\", new AwsNative.DataSync.AgentArgs\n {\n ActivationKey = \"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n AgentName = \"MyAgent\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewAgent(ctx, \"agent\", \u0026datasync.AgentArgs{\n\t\t\tActivationKey: pulumi.String(\"AAAAA-7AAAA-GG7MC-3I9R3-27COD\"),\n\t\t\tAgentName: pulumi.String(\"MyAgent\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst agent = new aws_native.datasync.Agent(\"agent\", {\n activationKey: \"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n agentName: \"MyAgent\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nagent = aws_native.datasync.Agent(\"agent\",\n activation_key=\"AAAAA-7AAAA-GG7MC-3I9R3-27COD\",\n agent_name=\"MyAgent\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "activationKey": { "type": "string", @@ -32356,7 +32356,7 @@ ] }, "aws-native:datasync:LocationEFS": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationEFS = new AwsNative.DataSync.LocationEFS(\"locationEFS\", new AwsNative.DataSync.LocationEFSArgs\n {\n Ec2Config = new AwsNative.DataSync.Inputs.LocationEFSEc2ConfigArgs\n {\n SecurityGroupArns = \n {\n \"arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f\",\n },\n SubnetArn = \"arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678\",\n },\n EfsFilesystemArn = \"arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs\",\n Subdirectory = \"/MySubdirectory\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationEFS(ctx, \"locationEFS\", \u0026datasync.LocationEFSArgs{\n\t\t\tEc2Config: \u0026datasync.LocationEFSEc2ConfigArgs{\n\t\t\t\tSecurityGroupArns: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f\"),\n\t\t\t\t},\n\t\t\t\tSubnetArn: pulumi.String(\"arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678\"),\n\t\t\t},\n\t\t\tEfsFilesystemArn: pulumi.String(\"arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs\"),\n\t\t\tSubdirectory: pulumi.String(\"/MySubdirectory\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationEFS = new aws_native.datasync.LocationEFS(\"locationEFS\", {\n ec2Config: {\n securityGroupArns: [\"arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f\"],\n subnetArn: \"arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678\",\n },\n efsFilesystemArn: \"arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs\",\n subdirectory: \"/MySubdirectory\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_efs = aws_native.datasync.LocationEFS(\"locationEFS\",\n ec2_config=aws_native.datasync.LocationEFSEc2ConfigArgs(\n security_group_arns=[\"arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f\"],\n subnet_arn=\"arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678\",\n ),\n efs_filesystem_arn=\"arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs\",\n subdirectory=\"/MySubdirectory\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "ec2Config": { "$ref": "#/types/aws-native:datasync:LocationEFSEc2Config", @@ -32514,7 +32514,7 @@ ] }, "aws-native:datasync:LocationNFS": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationNFS = new AwsNative.DataSync.LocationNFS(\"locationNFS\", new AwsNative.DataSync.LocationNFSArgs\n {\n MountOptions = new AwsNative.DataSync.Inputs.LocationNFSMountOptionsArgs\n {\n Version = \"NFS4_0\",\n },\n OnPremConfig = new AwsNative.DataSync.Inputs.LocationNFSOnPremConfigArgs\n {\n AgentArns = \n {\n \"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\",\n },\n },\n ServerHostname = \"MyServer@example.com\",\n Subdirectory = \"/MySubdirectory\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationNFS(ctx, \"locationNFS\", \u0026datasync.LocationNFSArgs{\n\t\t\tMountOptions: \u0026datasync.LocationNFSMountOptionsArgs{\n\t\t\t\tVersion: pulumi.String(\"NFS4_0\"),\n\t\t\t},\n\t\t\tOnPremConfig: \u0026datasync.LocationNFSOnPremConfigArgs{\n\t\t\t\tAgentArns: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tServerHostname: pulumi.String(\"MyServer@example.com\"),\n\t\t\tSubdirectory: pulumi.String(\"/MySubdirectory\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationNFS = new aws_native.datasync.LocationNFS(\"locationNFS\", {\n mountOptions: {\n version: \"NFS4_0\",\n },\n onPremConfig: {\n agentArns: [\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n },\n serverHostname: \"MyServer@example.com\",\n subdirectory: \"/MySubdirectory\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_nfs = aws_native.datasync.LocationNFS(\"locationNFS\",\n mount_options=aws_native.datasync.LocationNFSMountOptionsArgs(\n version=\"NFS4_0\",\n ),\n on_prem_config=aws_native.datasync.LocationNFSOnPremConfigArgs(\n agent_arns=[\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n ),\n server_hostname=\"MyServer@example.com\",\n subdirectory=\"/MySubdirectory\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "locationArn": { "type": "string" @@ -32586,7 +32586,7 @@ ] }, "aws-native:datasync:LocationObjectStorage": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationObjectStorage = new AwsNative.DataSync.LocationObjectStorage(\"locationObjectStorage\", new AwsNative.DataSync.LocationObjectStorageArgs\n {\n AgentArns = \n {\n \"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\",\n },\n BucketName = \"MyBucket\",\n ServerHostname = \"MyServer@example.com\",\n ServerProtocol = \"HTTPS\",\n Subdirectory = \"/MySubdirectory\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationObjectStorage(ctx, \"locationObjectStorage\", \u0026datasync.LocationObjectStorageArgs{\n\t\t\tAgentArns: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"),\n\t\t\t},\n\t\t\tBucketName: pulumi.String(\"MyBucket\"),\n\t\t\tServerHostname: pulumi.String(\"MyServer@example.com\"),\n\t\t\tServerProtocol: pulumi.String(\"HTTPS\"),\n\t\t\tSubdirectory: pulumi.String(\"/MySubdirectory\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationObjectStorage = new aws_native.datasync.LocationObjectStorage(\"locationObjectStorage\", {\n agentArns: [\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n bucketName: \"MyBucket\",\n serverHostname: \"MyServer@example.com\",\n serverProtocol: \"HTTPS\",\n subdirectory: \"/MySubdirectory\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_object_storage = aws_native.datasync.LocationObjectStorage(\"locationObjectStorage\",\n agent_arns=[\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n bucket_name=\"MyBucket\",\n server_hostname=\"MyServer@example.com\",\n server_protocol=\"HTTPS\",\n subdirectory=\"/MySubdirectory\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationObjectStorage = new AwsNative.DataSync.LocationObjectStorage(\"locationObjectStorage\", new AwsNative.DataSync.LocationObjectStorageArgs\n {\n AgentArns = \n {\n \"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\",\n },\n BucketName = \"MyBucket\",\n ServerHostname = \"MyServer@example.com\",\n ServerProtocol = \"HTTPS\",\n Subdirectory = \"/MySubdirectory\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationObjectStorage(ctx, \"locationObjectStorage\", \u0026datasync.LocationObjectStorageArgs{\n\t\t\tAgentArns: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"),\n\t\t\t},\n\t\t\tBucketName: pulumi.String(\"MyBucket\"),\n\t\t\tServerHostname: pulumi.String(\"MyServer@example.com\"),\n\t\t\tServerProtocol: pulumi.String(\"HTTPS\"),\n\t\t\tSubdirectory: pulumi.String(\"/MySubdirectory\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationObjectStorage = new aws_native.datasync.LocationObjectStorage(\"locationObjectStorage\", {\n agentArns: [\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n bucketName: \"MyBucket\",\n serverHostname: \"MyServer@example.com\",\n serverProtocol: \"HTTPS\",\n subdirectory: \"/MySubdirectory\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_object_storage = aws_native.datasync.LocationObjectStorage(\"locationObjectStorage\",\n agent_arns=[\"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs\"],\n bucket_name=\"MyBucket\",\n server_hostname=\"MyServer@example.com\",\n server_protocol=\"HTTPS\",\n subdirectory=\"/MySubdirectory\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "accessKey": { "type": "string", @@ -32696,7 +32696,7 @@ ] }, "aws-native:datasync:LocationS3": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationS3 = new AwsNative.DataSync.LocationS3(\"locationS3\", new AwsNative.DataSync.LocationS3Args\n {\n S3BucketArn = \"arn:aws:s3:::MyBucket\",\n S3Config = new AwsNative.DataSync.Inputs.LocationS3S3ConfigArgs\n {\n BucketAccessRoleArn = \"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n },\n S3StorageClass = \"STANDARD\",\n Subdirectory = \"/MyFolder\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationS3(ctx, \"locationS3\", \u0026datasync.LocationS3Args{\n\t\t\tS3BucketArn: pulumi.String(\"arn:aws:s3:::MyBucket\"),\n\t\t\tS3Config: \u0026datasync.LocationS3S3ConfigArgs{\n\t\t\t\tBucketAccessRoleArn: pulumi.String(\"arn:aws:iam::111222333444:role/MyBucketAccessRole\"),\n\t\t\t},\n\t\t\tS3StorageClass: pulumi.String(\"STANDARD\"),\n\t\t\tSubdirectory: pulumi.String(\"/MyFolder\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationS3 = new aws_native.datasync.LocationS3(\"locationS3\", {\n s3BucketArn: \"arn:aws:s3:::MyBucket\",\n s3Config: {\n bucketAccessRoleArn: \"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n },\n s3StorageClass: \"STANDARD\",\n subdirectory: \"/MyFolder\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_s3 = aws_native.datasync.LocationS3(\"locationS3\",\n s3_bucket_arn=\"arn:aws:s3:::MyBucket\",\n s3_config=aws_native.datasync.LocationS3S3ConfigArgs(\n bucket_access_role_arn=\"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n ),\n s3_storage_class=\"STANDARD\",\n subdirectory=\"/MyFolder\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var locationS3 = new AwsNative.DataSync.LocationS3(\"locationS3\", new AwsNative.DataSync.LocationS3Args\n {\n S3BucketArn = \"arn:aws:s3:::MyBucket\",\n S3Config = new AwsNative.DataSync.Inputs.LocationS3S3ConfigArgs\n {\n BucketAccessRoleArn = \"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n },\n S3StorageClass = \"STANDARD\",\n Subdirectory = \"/MyFolder\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewLocationS3(ctx, \"locationS3\", \u0026datasync.LocationS3Args{\n\t\t\tS3BucketArn: pulumi.String(\"arn:aws:s3:::MyBucket\"),\n\t\t\tS3Config: \u0026datasync.LocationS3S3ConfigArgs{\n\t\t\t\tBucketAccessRoleArn: pulumi.String(\"arn:aws:iam::111222333444:role/MyBucketAccessRole\"),\n\t\t\t},\n\t\t\tS3StorageClass: pulumi.String(\"STANDARD\"),\n\t\t\tSubdirectory: pulumi.String(\"/MyFolder\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst locationS3 = new aws_native.datasync.LocationS3(\"locationS3\", {\n s3BucketArn: \"arn:aws:s3:::MyBucket\",\n s3Config: {\n bucketAccessRoleArn: \"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n },\n s3StorageClass: \"STANDARD\",\n subdirectory: \"/MyFolder\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nlocation_s3 = aws_native.datasync.LocationS3(\"locationS3\",\n s3_bucket_arn=\"arn:aws:s3:::MyBucket\",\n s3_config=aws_native.datasync.LocationS3S3ConfigArgs(\n bucket_access_role_arn=\"arn:aws:iam::111222333444:role/MyBucketAccessRole\",\n ),\n s3_storage_class=\"STANDARD\",\n subdirectory=\"/MyFolder\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "locationArn": { "type": "string" @@ -32872,7 +32872,7 @@ ] }, "aws-native:datasync:Task": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var agent = new AwsNative.DataSync.Task(\"agent\", new AwsNative.DataSync.TaskArgs\n {\n SourceLocationArn = \"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n DestinationLocationArn = \"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewTask(ctx, \"agent\", \u0026datasync.TaskArgs{\n\t\t\tSourceLocationArn: pulumi.String(\"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\"),\n\t\t\tDestinationLocationArn: pulumi.String(\"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst agent = new aws_native.datasync.Task(\"agent\", {\n sourceLocationArn: \"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n destinationLocationArn: \"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nagent = aws_native.datasync.Task(\"agent\",\n source_location_arn=\"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n destination_location_arn=\"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var task = new AwsNative.DataSync.Task(\"task\", new AwsNative.DataSync.TaskArgs\n {\n SourceLocationArn = \"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n DestinationLocationArn = \"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync\"\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 := datasync.NewTask(ctx, \"task\", \u0026datasync.TaskArgs{\n\t\t\tSourceLocationArn: pulumi.String(\"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\"),\n\t\t\tDestinationLocationArn: pulumi.String(\"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst task = new aws_native.datasync.Task(\"task\", {\n sourceLocationArn: \"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n destinationLocationArn: \"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntask = aws_native.datasync.Task(\"task\",\n source_location_arn=\"arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3\",\n destination_location_arn=\"arn:aws:datasync:us-east-2:111222333444:location/loc-18ec8bcgd437d61t4\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "cloudWatchLogGroupArn": { "type": "string", @@ -33080,7 +33080,7 @@ ] }, "aws-native:devopsguru:NotificationChannel": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myNotificationChannel = new AwsNative.DevOpsGuru.NotificationChannel(\"myNotificationChannel\", new AwsNative.DevOpsGuru.NotificationChannelArgs\n {\n Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelNotificationChannelConfigArgs\n {\n Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs\n {\n TopicArn = \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru\"\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 := devopsguru.NewNotificationChannel(ctx, \"myNotificationChannel\", \u0026devopsguru.NotificationChannelArgs{\n\t\t\tConfig: \u0026devopsguru.NotificationChannelNotificationChannelConfigArgs{\n\t\t\t\tSns: \u0026devopsguru.NotificationChannelSnsChannelConfigArgs{\n\t\t\t\t\tTopicArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myNotificationChannel = new aws_native.devopsguru.NotificationChannel(\"myNotificationChannel\", {config: {\n sns: {\n topicArn: \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n },\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_notification_channel = aws_native.devopsguru.NotificationChannel(\"myNotificationChannel\", config=aws_native.devopsguru.NotificationChannelNotificationChannelConfigArgs(\n sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(\n topic_arn=\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n ),\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myNotificationChannel1 = new AwsNative.DevOpsGuru.NotificationChannel(\"myNotificationChannel1\", new AwsNative.DevOpsGuru.NotificationChannelArgs\n {\n Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelNotificationChannelConfigArgs\n {\n Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs\n {\n TopicArn = \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n },\n },\n });\n var myNotificationChannel2 = new AwsNative.DevOpsGuru.NotificationChannel(\"myNotificationChannel2\", new AwsNative.DevOpsGuru.NotificationChannelArgs\n {\n Config = new AwsNative.DevOpsGuru.Inputs.NotificationChannelNotificationChannelConfigArgs\n {\n Sns = new AwsNative.DevOpsGuru.Inputs.NotificationChannelSnsChannelConfigArgs\n {\n TopicArn = \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru\"\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 := devopsguru.NewNotificationChannel(ctx, \"myNotificationChannel1\", \u0026devopsguru.NotificationChannelArgs{\n\t\t\tConfig: \u0026devopsguru.NotificationChannelNotificationChannelConfigArgs{\n\t\t\t\tSns: \u0026devopsguru.NotificationChannelSnsChannelConfigArgs{\n\t\t\t\t\tTopicArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = devopsguru.NewNotificationChannel(ctx, \"myNotificationChannel2\", \u0026devopsguru.NotificationChannelArgs{\n\t\t\tConfig: \u0026devopsguru.NotificationChannelNotificationChannelConfigArgs{\n\t\t\t\tSns: \u0026devopsguru.NotificationChannelSnsChannelConfigArgs{\n\t\t\t\t\tTopicArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myNotificationChannel1 = new aws_native.devopsguru.NotificationChannel(\"myNotificationChannel1\", {config: {\n sns: {\n topicArn: \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n },\n}});\nconst myNotificationChannel2 = new aws_native.devopsguru.NotificationChannel(\"myNotificationChannel2\", {config: {\n sns: {\n topicArn: \"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2\",\n },\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_notification_channel1 = aws_native.devopsguru.NotificationChannel(\"myNotificationChannel1\", config=aws_native.devopsguru.NotificationChannelNotificationChannelConfigArgs(\n sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(\n topic_arn=\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel\",\n ),\n))\nmy_notification_channel2 = aws_native.devopsguru.NotificationChannel(\"myNotificationChannel2\", config=aws_native.devopsguru.NotificationChannelNotificationChannelConfigArgs(\n sns=aws_native.devopsguru.NotificationChannelSnsChannelConfigArgs(\n topic_arn=\"arn:aws:sns:us-east-1:123456789012:DefaultNotificationChannel2\",\n ),\n))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "config": { "$ref": "#/types/aws-native:devopsguru:NotificationChannelNotificationChannelConfig", @@ -33106,7 +33106,7 @@ ] }, "aws-native:devopsguru:ResourceCollection": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-resourcecollection.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-resourcecollection.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection(\"myResourceCollection\", new AwsNative.DevOpsGuru.ResourceCollectionArgs\n {\n ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionResourceCollectionFilterArgs\n {\n CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs\n {\n StackNames = \n {\n \"StackA\",\n \"StackB\",\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru\"\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 := devopsguru.NewResourceCollection(ctx, \"myResourceCollection\", \u0026devopsguru.ResourceCollectionArgs{\n\t\t\tResourceCollectionFilter: \u0026devopsguru.ResourceCollectionResourceCollectionFilterArgs{\n\t\t\t\tCloudFormation: \u0026devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{\n\t\t\t\t\tStackNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"StackA\"),\n\t\t\t\t\t\tpulumi.String(\"StackB\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myResourceCollection = new aws_native.devopsguru.ResourceCollection(\"myResourceCollection\", {resourceCollectionFilter: {\n cloudFormation: {\n stackNames: [\n \"StackA\",\n \"StackB\",\n ],\n },\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_resource_collection = aws_native.devopsguru.ResourceCollection(\"myResourceCollection\", resource_collection_filter=aws_native.devopsguru.ResourceCollectionResourceCollectionFilterArgs(\n cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(\n stack_names=[\n \"StackA\",\n \"StackB\",\n ],\n ),\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection(\"myResourceCollection\", new AwsNative.DevOpsGuru.ResourceCollectionArgs\n {\n ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionResourceCollectionFilterArgs\n {\n CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs\n {\n StackNames = \n {\n \"*\",\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru\"\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 := devopsguru.NewResourceCollection(ctx, \"myResourceCollection\", \u0026devopsguru.ResourceCollectionArgs{\n\t\t\tResourceCollectionFilter: \u0026devopsguru.ResourceCollectionResourceCollectionFilterArgs{\n\t\t\t\tCloudFormation: \u0026devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{\n\t\t\t\t\tStackNames: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myResourceCollection = new aws_native.devopsguru.ResourceCollection(\"myResourceCollection\", {resourceCollectionFilter: {\n cloudFormation: {\n stackNames: [\"*\"],\n },\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_resource_collection = aws_native.devopsguru.ResourceCollection(\"myResourceCollection\", resource_collection_filter=aws_native.devopsguru.ResourceCollectionResourceCollectionFilterArgs(\n cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(\n stack_names=[\"*\"],\n ),\n))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "resourceCollectionFilter": { "$ref": "#/types/aws-native:devopsguru:ResourceCollectionResourceCollectionFilter", @@ -33482,7 +33482,7 @@ ] }, "aws-native:ec2:EnclaveCertificateIamRoleAssociation": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myEnclaveCertificateIamRoleAssociation = new AwsNative.EC2.EnclaveCertificateIamRoleAssociation(\"myEnclaveCertificateIamRoleAssociation\", new AwsNative.EC2.EnclaveCertificateIamRoleAssociationArgs\n {\n CertificateArn = \"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n RoleArn = \"arn:aws:iam::123456789012:role/my-acm-role\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ec2\"\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 := ec2.NewEnclaveCertificateIamRoleAssociation(ctx, \"myEnclaveCertificateIamRoleAssociation\", \u0026ec2.EnclaveCertificateIamRoleAssociationArgs{\n\t\t\tCertificateArn: pulumi.String(\"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/my-acm-role\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myEnclaveCertificateIamRoleAssociation = new aws_native.ec2.EnclaveCertificateIamRoleAssociation(\"myEnclaveCertificateIamRoleAssociation\", {\n certificateArn: \"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n roleArn: \"arn:aws:iam::123456789012:role/my-acm-role\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_enclave_certificate_iam_role_association = aws_native.ec2.EnclaveCertificateIamRoleAssociation(\"myEnclaveCertificateIamRoleAssociation\",\n certificate_arn=\"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n role_arn=\"arn:aws:iam::123456789012:role/my-acm-role\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myCertAssociation = new AwsNative.EC2.EnclaveCertificateIamRoleAssociation(\"myCertAssociation\", new AwsNative.EC2.EnclaveCertificateIamRoleAssociationArgs\n {\n CertificateArn = \"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n RoleArn = \"arn:aws:iam::123456789012:role/my-acm-role\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ec2\"\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 := ec2.NewEnclaveCertificateIamRoleAssociation(ctx, \"myCertAssociation\", \u0026ec2.EnclaveCertificateIamRoleAssociationArgs{\n\t\t\tCertificateArn: pulumi.String(\"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/my-acm-role\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myCertAssociation = new aws_native.ec2.EnclaveCertificateIamRoleAssociation(\"myCertAssociation\", {\n certificateArn: \"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n roleArn: \"arn:aws:iam::123456789012:role/my-acm-role\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_cert_association = aws_native.ec2.EnclaveCertificateIamRoleAssociation(\"myCertAssociation\",\n certificate_arn=\"arn:aws:acm:us-east-1:123456789012:certificate/123abcde-cdef-abcd-1234-123abEXAMPLE\",\n role_arn=\"arn:aws:iam::123456789012:role/my-acm-role\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "certificateArn": { "type": "string", @@ -33972,7 +33972,7 @@ ] }, "aws-native:ec2:PrefixList": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var newPrefixList = new AwsNative.EC2.PrefixList(\"newPrefixList\", new AwsNative.EC2.PrefixListArgs\n {\n PrefixListName = \"vpc-1-servers\",\n AddressFamily = \"IPv4\",\n MaxEntries = 10,\n Entries = \n {\n new AwsNative.EC2.Inputs.PrefixListEntryArgs\n {\n Cidr = \"10.0.0.5/32\",\n Description = \"Server 1\",\n },\n new AwsNative.EC2.Inputs.PrefixListEntryArgs\n {\n Cidr = \"10.0.0.10/32\",\n Description = \"Server 2\",\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Name\",\n Value = \"VPC-1-Servers\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := ec2.NewPrefixList(ctx, \"newPrefixList\", \u0026ec2.PrefixListArgs{\n\t\t\tPrefixListName: pulumi.String(\"vpc-1-servers\"),\n\t\t\tAddressFamily: pulumi.String(\"IPv4\"),\n\t\t\tMaxEntries: pulumi.Int(10),\n\t\t\tEntries: []ec2.PrefixListEntryArgs{\n\t\t\t\t\u0026ec2.PrefixListEntryArgs{\n\t\t\t\t\tCidr: pulumi.String(\"10.0.0.5/32\"),\n\t\t\t\t\tDescription: pulumi.String(\"Server 1\"),\n\t\t\t\t},\n\t\t\t\t\u0026ec2.PrefixListEntryArgs{\n\t\t\t\t\tCidr: pulumi.String(\"10.0.0.10/32\"),\n\t\t\t\t\tDescription: pulumi.String(\"Server 2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Name\"),\n\t\t\t\t\tValue: pulumi.String(\"VPC-1-Servers\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst newPrefixList = new aws_native.ec2.PrefixList(\"newPrefixList\", {\n prefixListName: \"vpc-1-servers\",\n addressFamily: \"IPv4\",\n maxEntries: 10,\n entries: [\n {\n cidr: \"10.0.0.5/32\",\n description: \"Server 1\",\n },\n {\n cidr: \"10.0.0.10/32\",\n description: \"Server 2\",\n },\n ],\n tags: [{\n key: \"Name\",\n value: \"VPC-1-Servers\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nnew_prefix_list = aws_native.ec2.PrefixList(\"newPrefixList\",\n prefix_list_name=\"vpc-1-servers\",\n address_family=\"IPv4\",\n max_entries=10,\n entries=[\n aws_native.ec2.PrefixListEntryArgs(\n cidr=\"10.0.0.5/32\",\n description=\"Server 1\",\n ),\n aws_native.ec2.PrefixListEntryArgs(\n cidr=\"10.0.0.10/32\",\n description=\"Server 2\",\n ),\n ],\n tags=[aws_native.TagArgs(\n key=\"Name\",\n value=\"VPC-1-Servers\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "addressFamily": { "type": "string", @@ -34702,7 +34702,7 @@ ] }, "aws-native:ecr:Repository": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var lifecyclePolicyText = config.Require(\"lifecyclePolicyText\");\n var repositoryName = config.Require(\"repositoryName\");\n var registryId = config.Require(\"registryId\");\n var myRepository = new AwsNative.ECR.Repository(\"myRepository\", new AwsNative.ECR.RepositoryArgs\n {\n LifecyclePolicy = new AwsNative.ECR.Inputs.RepositoryLifecyclePolicyArgs\n {\n LifecyclePolicyText = lifecyclePolicyText,\n RegistryId = registryId,\n },\n RepositoryName = repositoryName,\n });\n this.Arn = myRepository.Arn;\n }\n\n [Output(\"arn\")]\n public Output\u003cstring\u003e Arn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecr\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tlifecyclePolicyText := cfg.Require(\"lifecyclePolicyText\")\n\t\trepositoryName := cfg.Require(\"repositoryName\")\n\t\tregistryId := cfg.Require(\"registryId\")\n\t\tmyRepository, err := ecr.NewRepository(ctx, \"myRepository\", \u0026ecr.RepositoryArgs{\n\t\t\tLifecyclePolicy: \u0026ecr.RepositoryLifecyclePolicyArgs{\n\t\t\t\tLifecyclePolicyText: pulumi.String(lifecyclePolicyText),\n\t\t\t\tRegistryId: pulumi.String(registryId),\n\t\t\t},\n\t\t\tRepositoryName: pulumi.String(repositoryName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"arn\", myRepository.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst lifecyclePolicyText = config.require(\"lifecyclePolicyText\");\nconst repositoryName = config.require(\"repositoryName\");\nconst registryId = config.require(\"registryId\");\nconst myRepository = new aws_native.ecr.Repository(\"myRepository\", {\n lifecyclePolicy: {\n lifecyclePolicyText: lifecyclePolicyText,\n registryId: registryId,\n },\n repositoryName: repositoryName,\n});\nexport const arn = myRepository.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nlifecycle_policy_text = config.require(\"lifecyclePolicyText\")\nrepository_name = config.require(\"repositoryName\")\nregistry_id = config.require(\"registryId\")\nmy_repository = aws_native.ecr.Repository(\"myRepository\",\n lifecycle_policy=aws_native.ecr.RepositoryLifecyclePolicyArgs(\n lifecycle_policy_text=lifecycle_policy_text,\n registry_id=registry_id,\n ),\n repository_name=repository_name)\npulumi.export(\"arn\", my_repository.arn)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var lifecyclePolicyText = config.Require(\"lifecyclePolicyText\");\n var repositoryName = config.Require(\"repositoryName\");\n var registryId = config.Require(\"registryId\");\n var myRepository = new AwsNative.ECR.Repository(\"myRepository\", new AwsNative.ECR.RepositoryArgs\n {\n LifecyclePolicy = new AwsNative.ECR.Inputs.RepositoryLifecyclePolicyArgs\n {\n LifecyclePolicyText = lifecyclePolicyText,\n RegistryId = registryId,\n },\n RepositoryName = repositoryName,\n });\n this.Arn = myRepository.Arn;\n }\n\n [Output(\"arn\")]\n public Output\u003cstring\u003e Arn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecr\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tlifecyclePolicyText := cfg.Require(\"lifecyclePolicyText\")\n\t\trepositoryName := cfg.Require(\"repositoryName\")\n\t\tregistryId := cfg.Require(\"registryId\")\n\t\tmyRepository, err := ecr.NewRepository(ctx, \"myRepository\", \u0026ecr.RepositoryArgs{\n\t\t\tLifecyclePolicy: \u0026ecr.RepositoryLifecyclePolicyArgs{\n\t\t\t\tLifecyclePolicyText: pulumi.String(lifecyclePolicyText),\n\t\t\t\tRegistryId: pulumi.String(registryId),\n\t\t\t},\n\t\t\tRepositoryName: pulumi.String(repositoryName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"arn\", myRepository.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst lifecyclePolicyText = config.require(\"lifecyclePolicyText\");\nconst repositoryName = config.require(\"repositoryName\");\nconst registryId = config.require(\"registryId\");\nconst myRepository = new aws_native.ecr.Repository(\"myRepository\", {\n lifecyclePolicy: {\n lifecyclePolicyText: lifecyclePolicyText,\n registryId: registryId,\n },\n repositoryName: repositoryName,\n});\nexport const arn = myRepository.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nlifecycle_policy_text = config.require(\"lifecyclePolicyText\")\nrepository_name = config.require(\"repositoryName\")\nregistry_id = config.require(\"registryId\")\nmy_repository = aws_native.ecr.Repository(\"myRepository\",\n lifecycle_policy=aws_native.ecr.RepositoryLifecyclePolicyArgs(\n lifecycle_policy_text=lifecycle_policy_text,\n registry_id=registry_id,\n ),\n repository_name=repository_name)\npulumi.export(\"arn\", my_repository.arn)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -34798,7 +34798,7 @@ } }, "aws-native:ecs:CapacityProvider": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ecsCapacityProvider = new AwsNative.ECS.CapacityProvider(\"ecsCapacityProvider\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = \"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n MaximumScalingStepSize = 10,\n MinimumScalingStepSize = 1,\n Status = \"ENABLED\",\n TargetCapacity = 100,\n },\n ManagedTerminationProtection = \"ENABLED\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"environment\",\n Value = \"production\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := ecs.NewCapacityProvider(ctx, \"ecsCapacityProvider\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(\"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\"),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tMaximumScalingStepSize: pulumi.Int(10),\n\t\t\t\t\tMinimumScalingStepSize: pulumi.Int(1),\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t\tTargetCapacity: pulumi.Int(100),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"ENABLED\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"environment\"),\n\t\t\t\t\tValue: pulumi.String(\"production\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst ecsCapacityProvider = new aws_native.ecs.CapacityProvider(\"ecsCapacityProvider\", {\n autoScalingGroupProvider: {\n autoScalingGroupArn: \"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n managedScaling: {\n maximumScalingStepSize: 10,\n minimumScalingStepSize: 1,\n status: \"ENABLED\",\n targetCapacity: 100,\n },\n managedTerminationProtection: \"ENABLED\",\n },\n tags: [{\n key: \"environment\",\n value: \"production\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\necs_capacity_provider = aws_native.ecs.CapacityProvider(\"ecsCapacityProvider\",\n auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=\"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n maximum_scaling_step_size=10,\n minimum_scaling_step_size=1,\n status=\"ENABLED\",\n target_capacity=100,\n ),\n managed_termination_protection=\"ENABLED\",\n ),\n tags=[aws_native.TagArgs(\n key=\"environment\",\n value=\"production\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ecsCapacityProvider = new AwsNative.ECS.CapacityProvider(\"ecsCapacityProvider\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = \"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n MaximumScalingStepSize = 10,\n MinimumScalingStepSize = 1,\n Status = \"ENABLED\",\n TargetCapacity = 100,\n },\n ManagedTerminationProtection = \"ENABLED\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"environment\",\n Value = \"production\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := ecs.NewCapacityProvider(ctx, \"ecsCapacityProvider\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(\"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\"),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tMaximumScalingStepSize: pulumi.Int(10),\n\t\t\t\t\tMinimumScalingStepSize: pulumi.Int(1),\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t\tTargetCapacity: pulumi.Int(100),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"ENABLED\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"environment\"),\n\t\t\t\t\tValue: pulumi.String(\"production\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst ecsCapacityProvider = new aws_native.ecs.CapacityProvider(\"ecsCapacityProvider\", {\n autoScalingGroupProvider: {\n autoScalingGroupArn: \"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n managedScaling: {\n maximumScalingStepSize: 10,\n minimumScalingStepSize: 1,\n status: \"ENABLED\",\n targetCapacity: 100,\n },\n managedTerminationProtection: \"ENABLED\",\n },\n tags: [{\n key: \"environment\",\n value: \"production\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\necs_capacity_provider = aws_native.ecs.CapacityProvider(\"ecsCapacityProvider\",\n auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=\"arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111:autoScalingGroupName/MyAutoScalingGroup\",\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n maximum_scaling_step_size=10,\n minimum_scaling_step_size=1,\n status=\"ENABLED\",\n target_capacity=100,\n ),\n managed_termination_protection=\"ENABLED\",\n ),\n tags=[aws_native.TagArgs(\n key=\"environment\",\n value=\"production\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var autoScalingGroupArn1 = config.Require(\"autoScalingGroupArn1\");\n var autoScalingGroupArn2 = config.Require(\"autoScalingGroupArn2\");\n var capacityProvider1 = new AwsNative.ECS.CapacityProvider(\"capacityProvider1\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = autoScalingGroupArn1,\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n Status = \"ENABLED\",\n },\n ManagedTerminationProtection = \"DISABLED\",\n },\n });\n var capacityProvider2 = new AwsNative.ECS.CapacityProvider(\"capacityProvider2\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = autoScalingGroupArn2,\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n Status = \"ENABLED\",\n },\n ManagedTerminationProtection = \"DISABLED\",\n },\n });\n var cluster = new AwsNative.ECS.Cluster(\"cluster\", new AwsNative.ECS.ClusterArgs\n {\n });\n var clusterCPAssociation = new AwsNative.ECS.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", new AwsNative.ECS.ClusterCapacityProviderAssociationsArgs\n {\n Cluster = cluster.Id,\n CapacityProviders = \n {\n capacityProvider1.Id,\n capacityProvider2.Id,\n },\n DefaultCapacityProviderStrategy = \n {\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 2,\n Weight = 6,\n CapacityProvider = capacityProvider1.Id,\n },\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 0,\n Weight = 10,\n CapacityProvider = capacityProvider2.Id,\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tautoScalingGroupArn1 := cfg.Require(\"autoScalingGroupArn1\")\n\t\tautoScalingGroupArn2 := cfg.Require(\"autoScalingGroupArn2\")\n\t\tcapacityProvider1, err := ecs.NewCapacityProvider(ctx, \"capacityProvider1\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(autoScalingGroupArn1),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"DISABLED\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcapacityProvider2, err := ecs.NewCapacityProvider(ctx, \"capacityProvider2\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(autoScalingGroupArn2),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"DISABLED\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcluster, err := ecs.NewCluster(ctx, \"cluster\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ecs.NewClusterCapacityProviderAssociations(ctx, \"clusterCPAssociation\", \u0026ecs.ClusterCapacityProviderAssociationsArgs{\n\t\t\tCluster: cluster.ID(),\n\t\t\tCapacityProviders: pulumi.StringArray{\n\t\t\t\tcapacityProvider1.ID(),\n\t\t\t\tcapacityProvider2.ID(),\n\t\t\t},\n\t\t\tDefaultCapacityProviderStrategy: ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArray{\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(2),\n\t\t\t\t\tWeight: pulumi.Int(6),\n\t\t\t\t\tCapacityProvider: capacityProvider1.ID(),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(0),\n\t\t\t\t\tWeight: pulumi.Int(10),\n\t\t\t\t\tCapacityProvider: capacityProvider2.ID(),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst autoScalingGroupArn1 = config.require(\"autoScalingGroupArn1\");\nconst autoScalingGroupArn2 = config.require(\"autoScalingGroupArn2\");\nconst capacityProvider1 = new aws_native.ecs.CapacityProvider(\"capacityProvider1\", {autoScalingGroupProvider: {\n autoScalingGroupArn: autoScalingGroupArn1,\n managedScaling: {\n status: \"ENABLED\",\n },\n managedTerminationProtection: \"DISABLED\",\n}});\nconst capacityProvider2 = new aws_native.ecs.CapacityProvider(\"capacityProvider2\", {autoScalingGroupProvider: {\n autoScalingGroupArn: autoScalingGroupArn2,\n managedScaling: {\n status: \"ENABLED\",\n },\n managedTerminationProtection: \"DISABLED\",\n}});\nconst cluster = new aws_native.ecs.Cluster(\"cluster\", {});\nconst clusterCPAssociation = new aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", {\n cluster: cluster.id,\n capacityProviders: [\n capacityProvider1.id,\n capacityProvider2.id,\n ],\n defaultCapacityProviderStrategy: [\n {\n base: 2,\n weight: 6,\n capacityProvider: capacityProvider1.id,\n },\n {\n base: 0,\n weight: 10,\n capacityProvider: capacityProvider2.id,\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nauto_scaling_group_arn1 = config.require(\"autoScalingGroupArn1\")\nauto_scaling_group_arn2 = config.require(\"autoScalingGroupArn2\")\ncapacity_provider1 = aws_native.ecs.CapacityProvider(\"capacityProvider1\", auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=auto_scaling_group_arn1,\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n status=\"ENABLED\",\n ),\n managed_termination_protection=\"DISABLED\",\n))\ncapacity_provider2 = aws_native.ecs.CapacityProvider(\"capacityProvider2\", auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=auto_scaling_group_arn2,\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n status=\"ENABLED\",\n ),\n managed_termination_protection=\"DISABLED\",\n))\ncluster = aws_native.ecs.Cluster(\"cluster\")\ncluster_cpassociation = aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\",\n cluster=cluster.id,\n capacity_providers=[\n capacity_provider1.id,\n capacity_provider2.id,\n ],\n default_capacity_provider_strategy=[\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=2,\n weight=6,\n capacity_provider=capacity_provider1.id,\n ),\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=0,\n weight=10,\n capacity_provider=capacity_provider2.id,\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var autoScalingGroupArn1 = config.Require(\"autoScalingGroupArn1\");\n var autoScalingGroupArn2 = config.Require(\"autoScalingGroupArn2\");\n var capacityProvider1 = new AwsNative.ECS.CapacityProvider(\"capacityProvider1\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = autoScalingGroupArn1,\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n Status = \"ENABLED\",\n },\n ManagedTerminationProtection = \"DISABLED\",\n },\n });\n var capacityProvider2 = new AwsNative.ECS.CapacityProvider(\"capacityProvider2\", new AwsNative.ECS.CapacityProviderArgs\n {\n AutoScalingGroupProvider = new AwsNative.ECS.Inputs.CapacityProviderAutoScalingGroupProviderArgs\n {\n AutoScalingGroupArn = autoScalingGroupArn2,\n ManagedScaling = new AwsNative.ECS.Inputs.CapacityProviderManagedScalingArgs\n {\n Status = \"ENABLED\",\n },\n ManagedTerminationProtection = \"DISABLED\",\n },\n });\n var cluster = new AwsNative.ECS.Cluster(\"cluster\", new AwsNative.ECS.ClusterArgs\n {\n });\n var clusterCPAssociation = new AwsNative.ECS.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", new AwsNative.ECS.ClusterCapacityProviderAssociationsArgs\n {\n Cluster = cluster.Id,\n CapacityProviders = \n {\n capacityProvider1.Id,\n capacityProvider2.Id,\n },\n DefaultCapacityProviderStrategy = \n {\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 2,\n Weight = 6,\n CapacityProvider = capacityProvider1.Id,\n },\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 0,\n Weight = 10,\n CapacityProvider = capacityProvider2.Id,\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tautoScalingGroupArn1 := cfg.Require(\"autoScalingGroupArn1\")\n\t\tautoScalingGroupArn2 := cfg.Require(\"autoScalingGroupArn2\")\n\t\tcapacityProvider1, err := ecs.NewCapacityProvider(ctx, \"capacityProvider1\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(autoScalingGroupArn1),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"DISABLED\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcapacityProvider2, err := ecs.NewCapacityProvider(ctx, \"capacityProvider2\", \u0026ecs.CapacityProviderArgs{\n\t\t\tAutoScalingGroupProvider: \u0026ecs.CapacityProviderAutoScalingGroupProviderArgs{\n\t\t\t\tAutoScalingGroupArn: pulumi.String(autoScalingGroupArn2),\n\t\t\t\tManagedScaling: \u0026ecs.CapacityProviderManagedScalingArgs{\n\t\t\t\t\tStatus: pulumi.String(\"ENABLED\"),\n\t\t\t\t},\n\t\t\t\tManagedTerminationProtection: pulumi.String(\"DISABLED\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tcluster, err := ecs.NewCluster(ctx, \"cluster\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ecs.NewClusterCapacityProviderAssociations(ctx, \"clusterCPAssociation\", \u0026ecs.ClusterCapacityProviderAssociationsArgs{\n\t\t\tCluster: cluster.ID(),\n\t\t\tCapacityProviders: pulumi.StringArray{\n\t\t\t\tcapacityProvider1.ID(),\n\t\t\t\tcapacityProvider2.ID(),\n\t\t\t},\n\t\t\tDefaultCapacityProviderStrategy: ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArray{\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(2),\n\t\t\t\t\tWeight: pulumi.Int(6),\n\t\t\t\t\tCapacityProvider: capacityProvider1.ID(),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(0),\n\t\t\t\t\tWeight: pulumi.Int(10),\n\t\t\t\t\tCapacityProvider: capacityProvider2.ID(),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst autoScalingGroupArn1 = config.require(\"autoScalingGroupArn1\");\nconst autoScalingGroupArn2 = config.require(\"autoScalingGroupArn2\");\nconst capacityProvider1 = new aws_native.ecs.CapacityProvider(\"capacityProvider1\", {autoScalingGroupProvider: {\n autoScalingGroupArn: autoScalingGroupArn1,\n managedScaling: {\n status: \"ENABLED\",\n },\n managedTerminationProtection: \"DISABLED\",\n}});\nconst capacityProvider2 = new aws_native.ecs.CapacityProvider(\"capacityProvider2\", {autoScalingGroupProvider: {\n autoScalingGroupArn: autoScalingGroupArn2,\n managedScaling: {\n status: \"ENABLED\",\n },\n managedTerminationProtection: \"DISABLED\",\n}});\nconst cluster = new aws_native.ecs.Cluster(\"cluster\", {});\nconst clusterCPAssociation = new aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", {\n cluster: cluster.id,\n capacityProviders: [\n capacityProvider1.id,\n capacityProvider2.id,\n ],\n defaultCapacityProviderStrategy: [\n {\n base: 2,\n weight: 6,\n capacityProvider: capacityProvider1.id,\n },\n {\n base: 0,\n weight: 10,\n capacityProvider: capacityProvider2.id,\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nauto_scaling_group_arn1 = config.require(\"autoScalingGroupArn1\")\nauto_scaling_group_arn2 = config.require(\"autoScalingGroupArn2\")\ncapacity_provider1 = aws_native.ecs.CapacityProvider(\"capacityProvider1\", auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=auto_scaling_group_arn1,\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n status=\"ENABLED\",\n ),\n managed_termination_protection=\"DISABLED\",\n))\ncapacity_provider2 = aws_native.ecs.CapacityProvider(\"capacityProvider2\", auto_scaling_group_provider=aws_native.ecs.CapacityProviderAutoScalingGroupProviderArgs(\n auto_scaling_group_arn=auto_scaling_group_arn2,\n managed_scaling=aws_native.ecs.CapacityProviderManagedScalingArgs(\n status=\"ENABLED\",\n ),\n managed_termination_protection=\"DISABLED\",\n))\ncluster = aws_native.ecs.Cluster(\"cluster\")\ncluster_cpassociation = aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\",\n cluster=cluster.id,\n capacity_providers=[\n capacity_provider1.id,\n capacity_provider2.id,\n ],\n default_capacity_provider_strategy=[\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=2,\n weight=6,\n capacity_provider=capacity_provider1.id,\n ),\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=0,\n weight=10,\n capacity_provider=capacity_provider2.id,\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "autoScalingGroupProvider": { "$ref": "#/types/aws-native:ecs:CapacityProviderAutoScalingGroupProvider", @@ -34928,7 +34928,7 @@ } }, "aws-native:ecs:ClusterCapacityProviderAssociations": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var clusterName = config.Require(\"clusterName\");\n var clusterCPAssociation = new AwsNative.ECS.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", new AwsNative.ECS.ClusterCapacityProviderAssociationsArgs\n {\n Cluster = clusterName,\n CapacityProviders = \n {\n \"FARGATE\",\n \"FARGATE_SPOT\",\n },\n DefaultCapacityProviderStrategy = \n {\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 2,\n Weight = 1,\n CapacityProvider = \"FARGATE\",\n },\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 0,\n Weight = 1,\n CapacityProvider = \"FARGATE_SPOT\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tclusterName := cfg.Require(\"clusterName\")\n\t\t_, err := ecs.NewClusterCapacityProviderAssociations(ctx, \"clusterCPAssociation\", \u0026ecs.ClusterCapacityProviderAssociationsArgs{\n\t\t\tCluster: pulumi.String(clusterName),\n\t\t\tCapacityProviders: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"FARGATE\"),\n\t\t\t\tpulumi.String(\"FARGATE_SPOT\"),\n\t\t\t},\n\t\t\tDefaultCapacityProviderStrategy: ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArray{\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(2),\n\t\t\t\t\tWeight: pulumi.Int(1),\n\t\t\t\t\tCapacityProvider: pulumi.String(\"FARGATE\"),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(0),\n\t\t\t\t\tWeight: pulumi.Int(1),\n\t\t\t\t\tCapacityProvider: pulumi.String(\"FARGATE_SPOT\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst clusterName = config.require(\"clusterName\");\nconst clusterCPAssociation = new aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", {\n cluster: clusterName,\n capacityProviders: [\n \"FARGATE\",\n \"FARGATE_SPOT\",\n ],\n defaultCapacityProviderStrategy: [\n {\n base: 2,\n weight: 1,\n capacityProvider: \"FARGATE\",\n },\n {\n base: 0,\n weight: 1,\n capacityProvider: \"FARGATE_SPOT\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncluster_name = config.require(\"clusterName\")\ncluster_cpassociation = aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\",\n cluster=cluster_name,\n capacity_providers=[\n \"FARGATE\",\n \"FARGATE_SPOT\",\n ],\n default_capacity_provider_strategy=[\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=2,\n weight=1,\n capacity_provider=\"FARGATE\",\n ),\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=0,\n weight=1,\n capacity_provider=\"FARGATE_SPOT\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var clusterName = config.Require(\"clusterName\");\n var clusterCPAssociation = new AwsNative.ECS.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", new AwsNative.ECS.ClusterCapacityProviderAssociationsArgs\n {\n Cluster = clusterName,\n CapacityProviders = \n {\n \"FARGATE\",\n \"FARGATE_SPOT\",\n },\n DefaultCapacityProviderStrategy = \n {\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 2,\n Weight = 1,\n CapacityProvider = \"FARGATE\",\n },\n new AwsNative.ECS.Inputs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs\n {\n Base = 0,\n Weight = 1,\n CapacityProvider = \"FARGATE_SPOT\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tclusterName := cfg.Require(\"clusterName\")\n\t\t_, err := ecs.NewClusterCapacityProviderAssociations(ctx, \"clusterCPAssociation\", \u0026ecs.ClusterCapacityProviderAssociationsArgs{\n\t\t\tCluster: pulumi.String(clusterName),\n\t\t\tCapacityProviders: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"FARGATE\"),\n\t\t\t\tpulumi.String(\"FARGATE_SPOT\"),\n\t\t\t},\n\t\t\tDefaultCapacityProviderStrategy: ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArray{\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(2),\n\t\t\t\t\tWeight: pulumi.Int(1),\n\t\t\t\t\tCapacityProvider: pulumi.String(\"FARGATE\"),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs{\n\t\t\t\t\tBase: pulumi.Int(0),\n\t\t\t\t\tWeight: pulumi.Int(1),\n\t\t\t\t\tCapacityProvider: pulumi.String(\"FARGATE_SPOT\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst clusterName = config.require(\"clusterName\");\nconst clusterCPAssociation = new aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\", {\n cluster: clusterName,\n capacityProviders: [\n \"FARGATE\",\n \"FARGATE_SPOT\",\n ],\n defaultCapacityProviderStrategy: [\n {\n base: 2,\n weight: 1,\n capacityProvider: \"FARGATE\",\n },\n {\n base: 0,\n weight: 1,\n capacityProvider: \"FARGATE_SPOT\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncluster_name = config.require(\"clusterName\")\ncluster_cpassociation = aws_native.ecs.ClusterCapacityProviderAssociations(\"clusterCPAssociation\",\n cluster=cluster_name,\n capacity_providers=[\n \"FARGATE\",\n \"FARGATE_SPOT\",\n ],\n default_capacity_provider_strategy=[\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=2,\n weight=1,\n capacity_provider=\"FARGATE\",\n ),\n aws_native.ecs.ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs(\n base=0,\n weight=1,\n capacity_provider=\"FARGATE_SPOT\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "capacityProviders": { "type": "array", @@ -35246,7 +35246,7 @@ } }, "aws-native:ecs:TaskDefinition": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var taskdefinition = new AwsNative.ECS.TaskDefinition(\"taskdefinition\", new AwsNative.ECS.TaskDefinitionArgs\n {\n RequiresCompatibilities = \n {\n \"EC2\",\n \"FARGATE\",\n },\n ContainerDefinitions = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDefinitionArgs\n {\n Name = \"my-app\",\n MountPoints = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionMountPointArgs\n {\n SourceVolume = \"my-vol\",\n ContainerPath = \"/var/www/my-vol\",\n },\n },\n Image = \"amazon/amazon-ecs-sample\",\n Cpu = 256,\n EntryPoint = \n {\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n },\n Memory = 512,\n Essential = true,\n },\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDefinitionArgs\n {\n Name = \"busybox\",\n Image = \"busybox\",\n Cpu = 256,\n EntryPoint = \n {\n \"sh\",\n \"-c\",\n },\n Memory = 512,\n Command = \n {\n \"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\",\n },\n Essential = false,\n DependsOn = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDependencyArgs\n {\n ContainerName = \"my-app\",\n Condition = \"START\",\n },\n },\n VolumesFrom = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionVolumeFromArgs\n {\n SourceContainer = \"my-app\",\n },\n },\n },\n },\n Volumes = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionVolumeArgs\n {\n Host = new AwsNative.ECS.Inputs.TaskDefinitionHostVolumePropertiesArgs\n {\n SourcePath = \"/var/lib/docker/vfs/dir/\",\n },\n Name = \"my-vol\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\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 := ecs.NewTaskDefinition(ctx, \"taskdefinition\", \u0026ecs.TaskDefinitionArgs{\n\t\t\tRequiresCompatibilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EC2\"),\n\t\t\t\tpulumi.String(\"FARGATE\"),\n\t\t\t},\n\t\t\tContainerDefinitions: []ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\u0026ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\tName: pulumi.String(\"my-app\"),\n\t\t\t\t\tMountPoints: ecs.TaskDefinitionMountPointArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionMountPointArgs{\n\t\t\t\t\t\t\tSourceVolume: pulumi.String(\"my-vol\"),\n\t\t\t\t\t\t\tContainerPath: pulumi.String(\"/var/www/my-vol\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tImage: pulumi.String(\"amazon/amazon-ecs-sample\"),\n\t\t\t\t\tCpu: pulumi.Int(256),\n\t\t\t\t\tEntryPoint: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/usr/sbin/apache2\"),\n\t\t\t\t\t\tpulumi.String(\"-D\"),\n\t\t\t\t\t\tpulumi.String(\"FOREGROUND\"),\n\t\t\t\t\t},\n\t\t\t\t\tMemory: pulumi.Int(512),\n\t\t\t\t\tEssential: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\tName: pulumi.String(\"busybox\"),\n\t\t\t\t\tImage: pulumi.String(\"busybox\"),\n\t\t\t\t\tCpu: pulumi.Int(256),\n\t\t\t\t\tEntryPoint: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"sh\"),\n\t\t\t\t\t\tpulumi.String(\"-c\"),\n\t\t\t\t\t},\n\t\t\t\t\tMemory: pulumi.Int(512),\n\t\t\t\t\tCommand: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"),\n\t\t\t\t\t},\n\t\t\t\t\tEssential: pulumi.Bool(false),\n\t\t\t\t\tDependsOn: ecs.TaskDefinitionContainerDependencyArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionContainerDependencyArgs{\n\t\t\t\t\t\t\tContainerName: pulumi.String(\"my-app\"),\n\t\t\t\t\t\t\tCondition: pulumi.String(\"START\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tVolumesFrom: ecs.TaskDefinitionVolumeFromArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionVolumeFromArgs{\n\t\t\t\t\t\t\tSourceContainer: pulumi.String(\"my-app\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tVolumes: []ecs.TaskDefinitionVolumeArgs{\n\t\t\t\t\u0026ecs.TaskDefinitionVolumeArgs{\n\t\t\t\t\tHost: \u0026ecs.TaskDefinitionHostVolumePropertiesArgs{\n\t\t\t\t\t\tSourcePath: pulumi.String(\"/var/lib/docker/vfs/dir/\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"my-vol\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst taskdefinition = new aws_native.ecs.TaskDefinition(\"taskdefinition\", {\n requiresCompatibilities: [\n \"EC2\",\n \"FARGATE\",\n ],\n containerDefinitions: [\n {\n name: \"my-app\",\n mountPoints: [{\n sourceVolume: \"my-vol\",\n containerPath: \"/var/www/my-vol\",\n }],\n image: \"amazon/amazon-ecs-sample\",\n cpu: 256,\n entryPoint: [\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n ],\n memory: 512,\n essential: true,\n },\n {\n name: \"busybox\",\n image: \"busybox\",\n cpu: 256,\n entryPoint: [\n \"sh\",\n \"-c\",\n ],\n memory: 512,\n command: [\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"],\n essential: false,\n dependsOn: [{\n containerName: \"my-app\",\n condition: \"START\",\n }],\n volumesFrom: [{\n sourceContainer: \"my-app\",\n }],\n },\n ],\n volumes: [{\n host: {\n sourcePath: \"/var/lib/docker/vfs/dir/\",\n },\n name: \"my-vol\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntaskdefinition = aws_native.ecs.TaskDefinition(\"taskdefinition\",\n requires_compatibilities=[\n \"EC2\",\n \"FARGATE\",\n ],\n container_definitions=[\n aws_native.ecs.TaskDefinitionContainerDefinitionArgs(\n name=\"my-app\",\n mount_points=[aws_native.ecs.TaskDefinitionMountPointArgs(\n source_volume=\"my-vol\",\n container_path=\"/var/www/my-vol\",\n )],\n image=\"amazon/amazon-ecs-sample\",\n cpu=256,\n entry_point=[\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n ],\n memory=512,\n essential=True,\n ),\n aws_native.ecs.TaskDefinitionContainerDefinitionArgs(\n name=\"busybox\",\n image=\"busybox\",\n cpu=256,\n entry_point=[\n \"sh\",\n \"-c\",\n ],\n memory=512,\n command=[\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"],\n essential=False,\n depends_on=[aws_native.ecs.TaskDefinitionContainerDependencyArgs(\n container_name=\"my-app\",\n condition=\"START\",\n )],\n volumes_from=[aws_native.ecs.TaskDefinitionVolumeFromArgs(\n source_container=\"my-app\",\n )],\n ),\n ],\n volumes=[aws_native.ecs.TaskDefinitionVolumeArgs(\n host=aws_native.ecs.TaskDefinitionHostVolumePropertiesArgs(\n source_path=\"/var/lib/docker/vfs/dir/\",\n ),\n name=\"my-vol\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var taskdefinition = new AwsNative.ECS.TaskDefinition(\"taskdefinition\", new AwsNative.ECS.TaskDefinitionArgs\n {\n RequiresCompatibilities = \n {\n \"EC2\",\n \"FARGATE\",\n },\n ContainerDefinitions = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDefinitionArgs\n {\n Name = \"my-app\",\n MountPoints = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionMountPointArgs\n {\n SourceVolume = \"my-vol\",\n ContainerPath = \"/var/www/my-vol\",\n },\n },\n Image = \"amazon/amazon-ecs-sample\",\n Cpu = 256,\n EntryPoint = \n {\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n },\n Memory = 512,\n Essential = true,\n },\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDefinitionArgs\n {\n Name = \"busybox\",\n Image = \"busybox\",\n Cpu = 256,\n EntryPoint = \n {\n \"sh\",\n \"-c\",\n },\n Memory = 512,\n Command = \n {\n \"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\",\n },\n Essential = false,\n DependsOn = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionContainerDependencyArgs\n {\n ContainerName = \"my-app\",\n Condition = \"START\",\n },\n },\n VolumesFrom = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionVolumeFromArgs\n {\n SourceContainer = \"my-app\",\n },\n },\n },\n },\n Volumes = \n {\n new AwsNative.ECS.Inputs.TaskDefinitionVolumeArgs\n {\n Host = new AwsNative.ECS.Inputs.TaskDefinitionHostVolumePropertiesArgs\n {\n SourcePath = \"/var/lib/docker/vfs/dir/\",\n },\n Name = \"my-vol\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ecs\"\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 := ecs.NewTaskDefinition(ctx, \"taskdefinition\", \u0026ecs.TaskDefinitionArgs{\n\t\t\tRequiresCompatibilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"EC2\"),\n\t\t\t\tpulumi.String(\"FARGATE\"),\n\t\t\t},\n\t\t\tContainerDefinitions: []ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\u0026ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\tName: pulumi.String(\"my-app\"),\n\t\t\t\t\tMountPoints: ecs.TaskDefinitionMountPointArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionMountPointArgs{\n\t\t\t\t\t\t\tSourceVolume: pulumi.String(\"my-vol\"),\n\t\t\t\t\t\t\tContainerPath: pulumi.String(\"/var/www/my-vol\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tImage: pulumi.String(\"amazon/amazon-ecs-sample\"),\n\t\t\t\t\tCpu: pulumi.Int(256),\n\t\t\t\t\tEntryPoint: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/usr/sbin/apache2\"),\n\t\t\t\t\t\tpulumi.String(\"-D\"),\n\t\t\t\t\t\tpulumi.String(\"FOREGROUND\"),\n\t\t\t\t\t},\n\t\t\t\t\tMemory: pulumi.Int(512),\n\t\t\t\t\tEssential: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026ecs.TaskDefinitionContainerDefinitionArgs{\n\t\t\t\t\tName: pulumi.String(\"busybox\"),\n\t\t\t\t\tImage: pulumi.String(\"busybox\"),\n\t\t\t\t\tCpu: pulumi.Int(256),\n\t\t\t\t\tEntryPoint: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"sh\"),\n\t\t\t\t\t\tpulumi.String(\"-c\"),\n\t\t\t\t\t},\n\t\t\t\t\tMemory: pulumi.Int(512),\n\t\t\t\t\tCommand: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"),\n\t\t\t\t\t},\n\t\t\t\t\tEssential: pulumi.Bool(false),\n\t\t\t\t\tDependsOn: ecs.TaskDefinitionContainerDependencyArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionContainerDependencyArgs{\n\t\t\t\t\t\t\tContainerName: pulumi.String(\"my-app\"),\n\t\t\t\t\t\t\tCondition: pulumi.String(\"START\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tVolumesFrom: ecs.TaskDefinitionVolumeFromArray{\n\t\t\t\t\t\t\u0026ecs.TaskDefinitionVolumeFromArgs{\n\t\t\t\t\t\t\tSourceContainer: pulumi.String(\"my-app\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tVolumes: []ecs.TaskDefinitionVolumeArgs{\n\t\t\t\t\u0026ecs.TaskDefinitionVolumeArgs{\n\t\t\t\t\tHost: \u0026ecs.TaskDefinitionHostVolumePropertiesArgs{\n\t\t\t\t\t\tSourcePath: pulumi.String(\"/var/lib/docker/vfs/dir/\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"my-vol\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst taskdefinition = new aws_native.ecs.TaskDefinition(\"taskdefinition\", {\n requiresCompatibilities: [\n \"EC2\",\n \"FARGATE\",\n ],\n containerDefinitions: [\n {\n name: \"my-app\",\n mountPoints: [{\n sourceVolume: \"my-vol\",\n containerPath: \"/var/www/my-vol\",\n }],\n image: \"amazon/amazon-ecs-sample\",\n cpu: 256,\n entryPoint: [\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n ],\n memory: 512,\n essential: true,\n },\n {\n name: \"busybox\",\n image: \"busybox\",\n cpu: 256,\n entryPoint: [\n \"sh\",\n \"-c\",\n ],\n memory: 512,\n command: [\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"],\n essential: false,\n dependsOn: [{\n containerName: \"my-app\",\n condition: \"START\",\n }],\n volumesFrom: [{\n sourceContainer: \"my-app\",\n }],\n },\n ],\n volumes: [{\n host: {\n sourcePath: \"/var/lib/docker/vfs/dir/\",\n },\n name: \"my-vol\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntaskdefinition = aws_native.ecs.TaskDefinition(\"taskdefinition\",\n requires_compatibilities=[\n \"EC2\",\n \"FARGATE\",\n ],\n container_definitions=[\n aws_native.ecs.TaskDefinitionContainerDefinitionArgs(\n name=\"my-app\",\n mount_points=[aws_native.ecs.TaskDefinitionMountPointArgs(\n source_volume=\"my-vol\",\n container_path=\"/var/www/my-vol\",\n )],\n image=\"amazon/amazon-ecs-sample\",\n cpu=256,\n entry_point=[\n \"/usr/sbin/apache2\",\n \"-D\",\n \"FOREGROUND\",\n ],\n memory=512,\n essential=True,\n ),\n aws_native.ecs.TaskDefinitionContainerDefinitionArgs(\n name=\"busybox\",\n image=\"busybox\",\n cpu=256,\n entry_point=[\n \"sh\",\n \"-c\",\n ],\n memory=512,\n command=[\"/bin/sh -c \\\"while true; do /bin/date \u003e /var/www/my-vol/date; sleep 1; done\\\"\"],\n essential=False,\n depends_on=[aws_native.ecs.TaskDefinitionContainerDependencyArgs(\n container_name=\"my-app\",\n condition=\"START\",\n )],\n volumes_from=[aws_native.ecs.TaskDefinitionVolumeFromArgs(\n source_container=\"my-app\",\n )],\n ),\n ],\n volumes=[aws_native.ecs.TaskDefinitionVolumeArgs(\n host=aws_native.ecs.TaskDefinitionHostVolumePropertiesArgs(\n source_path=\"/var/lib/docker/vfs/dir/\",\n ),\n name=\"my-vol\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "containerDefinitions": { "type": "array", @@ -35814,7 +35814,7 @@ ] }, "aws-native:eks:FargateProfile": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-fargateprofile.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-fargateprofile.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var eksFargateProfile = new AwsNative.EKS.FargateProfile(\"eksFargateProfile\", new AwsNative.EKS.FargateProfileArgs\n {\n FargateProfileName = \"my-fargate-profile\",\n ClusterName = \"my-cluster\",\n PodExecutionRoleArn = \"arn:aws:iam::012345678910:role/AmazonEKSFargatePodExecutionRole\",\n Subnets = \n {\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n },\n Selectors = \n {\n new AwsNative.EKS.Inputs.FargateProfileSelectorArgs\n {\n Namespace = \"my-namespace\",\n Labels = \n {\n new AwsNative.EKS.Inputs.FargateProfileLabelArgs\n {\n Key = \"my-key\",\n Value = \"my-value\",\n },\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eks\"\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 := eks.NewFargateProfile(ctx, \"eksFargateProfile\", \u0026eks.FargateProfileArgs{\n\t\t\tFargateProfileName: pulumi.String(\"my-fargate-profile\"),\n\t\t\tClusterName: pulumi.String(\"my-cluster\"),\n\t\t\tPodExecutionRoleArn: pulumi.String(\"arn:aws:iam::012345678910:role/AmazonEKSFargatePodExecutionRole\"),\n\t\t\tSubnets: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\tpulumi.String(\"subnet-e7e761ac\"),\n\t\t\t},\n\t\t\tSelectors: eks.FargateProfileSelectorArray{\n\t\t\t\t\u0026eks.FargateProfileSelectorArgs{\n\t\t\t\t\tNamespace: pulumi.String(\"my-namespace\"),\n\t\t\t\t\tLabels: eks.FargateProfileLabelArray{\n\t\t\t\t\t\t\u0026eks.FargateProfileLabelArgs{\n\t\t\t\t\t\t\tKey: pulumi.String(\"my-key\"),\n\t\t\t\t\t\t\tValue: pulumi.String(\"my-value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst eksFargateProfile = new aws_native.eks.FargateProfile(\"eksFargateProfile\", {\n fargateProfileName: \"my-fargate-profile\",\n clusterName: \"my-cluster\",\n podExecutionRoleArn: \"arn:aws:iam::012345678910:role/AmazonEKSFargatePodExecutionRole\",\n subnets: [\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n selectors: [{\n namespace: \"my-namespace\",\n labels: [{\n key: \"my-key\",\n value: \"my-value\",\n }],\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\neks_fargate_profile = aws_native.eks.FargateProfile(\"eksFargateProfile\",\n fargate_profile_name=\"my-fargate-profile\",\n cluster_name=\"my-cluster\",\n pod_execution_role_arn=\"arn:aws:iam::012345678910:role/AmazonEKSFargatePodExecutionRole\",\n subnets=[\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n selectors=[aws_native.eks.FargateProfileSelectorArgs(\n namespace=\"my-namespace\",\n labels=[aws_native.eks.FargateProfileLabelArgs(\n key=\"my-key\",\n value=\"my-value\",\n )],\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -36502,7 +36502,7 @@ ] }, "aws-native:emrcontainers:VirtualCluster": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testVirtualCluster = new AwsNative.EMRContainers.VirtualCluster(\"testVirtualCluster\", new AwsNative.EMRContainers.VirtualClusterArgs\n {\n Name = \"VirtualClusterName\",\n ContainerProvider = new AwsNative.EMRContainers.Inputs.VirtualClusterContainerProviderArgs\n {\n Type = \"EKS\",\n Id = \"EKSClusterName\",\n Info = new AwsNative.EMRContainers.Inputs.VirtualClusterContainerInfoArgs\n {\n EksInfo = new AwsNative.EMRContainers.Inputs.VirtualClusterEksInfoArgs\n {\n Namespace = \"EKSNamespace\",\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n },\n });\n this.PrimaryId = null;\n }\n\n [Output(\"primaryId\")]\n public Output\u003cstring\u003e PrimaryId { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/emrcontainers\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\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 := emrcontainers.NewVirtualCluster(ctx, \"testVirtualCluster\", \u0026emrcontainers.VirtualClusterArgs{\n\t\t\tName: pulumi.String(\"VirtualClusterName\"),\n\t\t\tContainerProvider: \u0026emrcontainers.VirtualClusterContainerProviderArgs{\n\t\t\t\tType: pulumi.String(\"EKS\"),\n\t\t\t\tId: pulumi.String(\"EKSClusterName\"),\n\t\t\t\tInfo: \u0026emrcontainers.VirtualClusterContainerInfoArgs{\n\t\t\t\t\tEksInfo: \u0026emrcontainers.VirtualClusterEksInfoArgs{\n\t\t\t\t\t\tNamespace: pulumi.String(\"EKSNamespace\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"primaryId\", nil)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testVirtualCluster = new aws_native.emrcontainers.VirtualCluster(\"testVirtualCluster\", {\n name: \"VirtualClusterName\",\n containerProvider: {\n type: \"EKS\",\n id: \"EKSClusterName\",\n info: {\n eksInfo: {\n namespace: \"EKSNamespace\",\n },\n },\n },\n tags: [{\n key: \"Key1\",\n value: \"Value1\",\n }],\n});\nexport const primaryId = undefined;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_virtual_cluster = aws_native.emrcontainers.VirtualCluster(\"testVirtualCluster\",\n name=\"VirtualClusterName\",\n container_provider=aws_native.emrcontainers.VirtualClusterContainerProviderArgs(\n type=\"EKS\",\n id=\"EKSClusterName\",\n info=aws_native.emrcontainers.VirtualClusterContainerInfoArgs(\n eks_info=aws_native.emrcontainers.VirtualClusterEksInfoArgs(\n namespace=\"EKSNamespace\",\n ),\n ),\n ),\n tags=[aws_native.TagArgs(\n key=\"Key1\",\n value=\"Value1\",\n )])\npulumi.export(\"primaryId\", None)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testVirtualCluster = new AwsNative.EMRContainers.VirtualCluster(\"testVirtualCluster\", new AwsNative.EMRContainers.VirtualClusterArgs\n {\n Name = \"VirtualClusterName\",\n ContainerProvider = new AwsNative.EMRContainers.Inputs.VirtualClusterContainerProviderArgs\n {\n Type = \"EKS\",\n Id = \"EKSClusterName\",\n Info = new AwsNative.EMRContainers.Inputs.VirtualClusterContainerInfoArgs\n {\n EksInfo = new AwsNative.EMRContainers.Inputs.VirtualClusterEksInfoArgs\n {\n Namespace = \"EKSNamespace\",\n },\n },\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n },\n });\n this.PrimaryId = testVirtualCluster.Id;\n }\n\n [Output(\"primaryId\")]\n public Output\u003cstring\u003e PrimaryId { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/emrcontainers\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestVirtualCluster, err := emrcontainers.NewVirtualCluster(ctx, \"testVirtualCluster\", \u0026emrcontainers.VirtualClusterArgs{\n\t\t\tName: pulumi.String(\"VirtualClusterName\"),\n\t\t\tContainerProvider: \u0026emrcontainers.VirtualClusterContainerProviderArgs{\n\t\t\t\tType: pulumi.String(\"EKS\"),\n\t\t\t\tId: pulumi.String(\"EKSClusterName\"),\n\t\t\t\tInfo: \u0026emrcontainers.VirtualClusterContainerInfoArgs{\n\t\t\t\t\tEksInfo: \u0026emrcontainers.VirtualClusterEksInfoArgs{\n\t\t\t\t\t\tNamespace: pulumi.String(\"EKSNamespace\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"primaryId\", testVirtualCluster.ID())\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testVirtualCluster = new aws_native.emrcontainers.VirtualCluster(\"testVirtualCluster\", {\n name: \"VirtualClusterName\",\n containerProvider: {\n type: \"EKS\",\n id: \"EKSClusterName\",\n info: {\n eksInfo: {\n namespace: \"EKSNamespace\",\n },\n },\n },\n tags: [{\n key: \"Key1\",\n value: \"Value1\",\n }],\n});\nexport const primaryId = testVirtualCluster.id;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_virtual_cluster = aws_native.emrcontainers.VirtualCluster(\"testVirtualCluster\",\n name=\"VirtualClusterName\",\n container_provider=aws_native.emrcontainers.VirtualClusterContainerProviderArgs(\n type=\"EKS\",\n id=\"EKSClusterName\",\n info=aws_native.emrcontainers.VirtualClusterContainerInfoArgs(\n eks_info=aws_native.emrcontainers.VirtualClusterEksInfoArgs(\n namespace=\"EKSNamespace\",\n ),\n ),\n ),\n tags=[aws_native.TagArgs(\n key=\"Key1\",\n value=\"Value1\",\n )])\npulumi.export(\"primaryId\", test_virtual_cluster.id)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -36772,7 +36772,7 @@ ] }, "aws-native:eventschemas:RegistryPolicy": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var registryPolicy = new AwsNative.EventSchemas.RegistryPolicy(\"registryPolicy\", new AwsNative.EventSchemas.RegistryPolicyArgs\n {\n RegistryName = \"MyRegistry\",\n Policy = \n {\n { \"version\", \"2012-10-17\" },\n { \"statement\", \n {\n \n {\n { \"sid\", \"Test\" },\n { \"effect\", \"Allow\" },\n { \"action\", \n {\n \"schemas:*\",\n } },\n { \"principal\", \n {\n { \"aws\", \n {\n \"109876543210\",\n } },\n } },\n { \"resource\", \n {\n \"arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry\",\n \"arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*\",\n } },\n },\n } },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eventschemas\"\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 := eventschemas.NewRegistryPolicy(ctx, \"registryPolicy\", \u0026eventschemas.RegistryPolicyArgs{\n\t\t\tRegistryName: pulumi.String(\"MyRegistry\"),\n\t\t\tPolicy: pulumi.Any{\n\t\t\t\tVersion: \"2012-10-17\",\n\t\t\t\tStatement: []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"sid\": \"Test\",\n\t\t\t\t\t\t\"effect\": \"Allow\",\n\t\t\t\t\t\t\"action\": []string{\n\t\t\t\t\t\t\t\"schemas:*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"principal\": map[string]interface{}{\n\t\t\t\t\t\t\t\"aws\": []string{\n\t\t\t\t\t\t\t\t\"109876543210\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"resource\": []string{\n\t\t\t\t\t\t\t\"arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry\",\n\t\t\t\t\t\t\t\"arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst registryPolicy = new aws_native.eventschemas.RegistryPolicy(\"registryPolicy\", {\n registryName: \"MyRegistry\",\n policy: {\n version: \"2012-10-17\",\n statement: [{\n sid: \"Test\",\n effect: \"Allow\",\n action: [\"schemas:*\"],\n principal: {\n aws: [\"109876543210\"],\n },\n resource: [\n \"arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry\",\n \"arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*\",\n ],\n }],\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nregistry_policy = aws_native.eventschemas.RegistryPolicy(\"registryPolicy\",\n registry_name=\"MyRegistry\",\n policy={\n \"version\": \"2012-10-17\",\n \"statement\": [{\n \"sid\": \"Test\",\n \"effect\": \"Allow\",\n \"action\": [\"schemas:*\"],\n \"principal\": {\n \"aws\": [\"109876543210\"],\n },\n \"resource\": [\n \"arn:aws:schemas:us-east-1:012345678901:registry/MyRegistry\",\n \"arn:aws:schemas:us-east-1:012345678901:schema/MyRegistry*\",\n ],\n }],\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "id": { "type": "string" @@ -36832,7 +36832,7 @@ ] }, "aws-native:finspace:Environment": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var finSpaceEnvironment = new AwsNative.FinSpace.Environment(\"finSpaceEnvironment\", new AwsNative.FinSpace.EnvironmentArgs\n {\n Name = \"MyEnvironment\",\n KmsKeyId = \"arn:aws:kms:us-east-1:123456789012:key/44efed01-30d0-4b39-80e7-165d5ed34524\",\n FederationMode = \"LOCAL\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/finspace\"\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 := finspace.NewEnvironment(ctx, \"finSpaceEnvironment\", \u0026finspace.EnvironmentArgs{\n\t\t\tName: pulumi.String(\"MyEnvironment\"),\n\t\t\tKmsKeyId: pulumi.String(\"arn:aws:kms:us-east-1:123456789012:key/44efed01-30d0-4b39-80e7-165d5ed34524\"),\n\t\t\tFederationMode: pulumi.String(\"LOCAL\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst finSpaceEnvironment = new aws_native.finspace.Environment(\"finSpaceEnvironment\", {\n name: \"MyEnvironment\",\n kmsKeyId: \"arn:aws:kms:us-east-1:123456789012:key/44efed01-30d0-4b39-80e7-165d5ed34524\",\n federationMode: \"LOCAL\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nfin_space_environment = aws_native.finspace.Environment(\"finSpaceEnvironment\",\n name=\"MyEnvironment\",\n kms_key_id=\"arn:aws:kms:us-east-1:123456789012:key/44efed01-30d0-4b39-80e7-165d5ed34524\",\n federation_mode=\"LOCAL\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "awsAccountId": { "type": "string" @@ -37690,7 +37690,7 @@ ] }, "aws-native:gamelift:Alias": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var aliasResource = new AwsNative.GameLift.Alias(\"aliasResource\", new AwsNative.GameLift.AliasArgs\n {\n Name = \"MyTerminalAlias\",\n Description = \"A terminal alias\",\n RoutingStrategy = new AwsNative.GameLift.Inputs.AliasRoutingStrategyArgs\n {\n Type = \"TERMINAL\",\n Message = \"Terminal routing strategy message\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/gamelift\"\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 := gamelift.NewAlias(ctx, \"aliasResource\", \u0026gamelift.AliasArgs{\n\t\t\tName: pulumi.String(\"MyTerminalAlias\"),\n\t\t\tDescription: pulumi.String(\"A terminal alias\"),\n\t\t\tRoutingStrategy: \u0026gamelift.AliasRoutingStrategyArgs{\n\t\t\t\tType: pulumi.String(\"TERMINAL\"),\n\t\t\t\tMessage: pulumi.String(\"Terminal routing strategy message\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst aliasResource = new aws_native.gamelift.Alias(\"aliasResource\", {\n name: \"MyTerminalAlias\",\n description: \"A terminal alias\",\n routingStrategy: {\n type: \"TERMINAL\",\n message: \"Terminal routing strategy message\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nalias_resource = aws_native.gamelift.Alias(\"aliasResource\",\n name=\"MyTerminalAlias\",\n description=\"A terminal alias\",\n routing_strategy=aws_native.gamelift.AliasRoutingStrategyArgs(\n type=\"TERMINAL\",\n message=\"Terminal routing strategy message\",\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "aliasId": { "type": "string" @@ -38645,7 +38645,7 @@ ] }, "aws-native:groundstation:DataflowEndpointGroup": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myDataflowEndpointGroup = new AwsNative.GroundStation.DataflowEndpointGroup(\"myDataflowEndpointGroup\", new AwsNative.GroundStation.DataflowEndpointGroupArgs\n {\n EndpointDetails = \n {\n new AwsNative.GroundStation.Inputs.DataflowEndpointGroupEndpointDetailsArgs\n {\n SecurityDetails = new AwsNative.GroundStation.Inputs.DataflowEndpointGroupSecurityDetailsArgs\n {\n SubnetIds = \n {\n \"subnet-6782e71e\",\n },\n SecurityGroupIds = \n {\n \"sg-6979fe18\",\n },\n RoleArn = \"arn:aws:iam::012345678910:role/groundstation-service-role-AWSServiceRoleForAmazonGroundStation-EXAMPLEBQ4PI\",\n },\n Endpoint = new AwsNative.GroundStation.Inputs.DataflowEndpointGroupDataflowEndpointArgs\n {\n Name = \"myEndpoint\",\n Address = new AwsNative.GroundStation.Inputs.DataflowEndpointGroupSocketAddressArgs\n {\n Name = \"172.10.0.2\",\n Port = 44720,\n },\n Mtu = 1500,\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/groundstation\"\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 := groundstation.NewDataflowEndpointGroup(ctx, \"myDataflowEndpointGroup\", \u0026groundstation.DataflowEndpointGroupArgs{\n\t\t\tEndpointDetails: groundstation.DataflowEndpointGroupEndpointDetailsArray{\n\t\t\t\t\u0026groundstation.DataflowEndpointGroupEndpointDetailsArgs{\n\t\t\t\t\tSecurityDetails: \u0026groundstation.DataflowEndpointGroupSecurityDetailsArgs{\n\t\t\t\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"sg-6979fe18\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::012345678910:role/groundstation-service-role-AWSServiceRoleForAmazonGroundStation-EXAMPLEBQ4PI\"),\n\t\t\t\t\t},\n\t\t\t\t\tEndpoint: \u0026groundstation.DataflowEndpointGroupDataflowEndpointArgs{\n\t\t\t\t\t\tName: pulumi.String(\"myEndpoint\"),\n\t\t\t\t\t\tAddress: \u0026groundstation.DataflowEndpointGroupSocketAddressArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"172.10.0.2\"),\n\t\t\t\t\t\t\tPort: pulumi.Int(44720),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tMtu: pulumi.Int(1500),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myDataflowEndpointGroup = new aws_native.groundstation.DataflowEndpointGroup(\"myDataflowEndpointGroup\", {endpointDetails: [{\n securityDetails: {\n subnetIds: [\"subnet-6782e71e\"],\n securityGroupIds: [\"sg-6979fe18\"],\n roleArn: \"arn:aws:iam::012345678910:role/groundstation-service-role-AWSServiceRoleForAmazonGroundStation-EXAMPLEBQ4PI\",\n },\n endpoint: {\n name: \"myEndpoint\",\n address: {\n name: \"172.10.0.2\",\n port: 44720,\n },\n mtu: 1500,\n },\n}]});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_dataflow_endpoint_group = aws_native.groundstation.DataflowEndpointGroup(\"myDataflowEndpointGroup\", endpoint_details=[aws_native.groundstation.DataflowEndpointGroupEndpointDetailsArgs(\n security_details=aws_native.groundstation.DataflowEndpointGroupSecurityDetailsArgs(\n subnet_ids=[\"subnet-6782e71e\"],\n security_group_ids=[\"sg-6979fe18\"],\n role_arn=\"arn:aws:iam::012345678910:role/groundstation-service-role-AWSServiceRoleForAmazonGroundStation-EXAMPLEBQ4PI\",\n ),\n endpoint=aws_native.groundstation.DataflowEndpointGroupDataflowEndpointArgs(\n name=\"myEndpoint\",\n address=aws_native.groundstation.DataflowEndpointGroupSocketAddressArgs(\n name=\"172.10.0.2\",\n port=44720,\n ),\n mtu=1500,\n ),\n)])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -38695,7 +38695,7 @@ ] }, "aws-native:groundstation:MissionProfile": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myMissionProfile = new AwsNative.GroundStation.MissionProfile(\"myMissionProfile\", new AwsNative.GroundStation.MissionProfileArgs\n {\n Name = \"My Mission Profile\",\n ContactPrePassDurationSeconds = 120,\n ContactPostPassDurationSeconds = 180,\n MinimumViableContactDurationSeconds = 300,\n TrackingConfigArn = \"arn:aws:groundstation:us-east-2:1234567890:config/tracking/00000000-0000-0000-0000-000000000000\",\n DataflowEdges = \n {\n new AwsNative.GroundStation.Inputs.MissionProfileDataflowEdgeArgs\n {\n Source = \"arn:aws:groundstation:us-east-2:1234567890:config/antenna-downlink/11111111-1111-1111-1111-111111111111\",\n Destination = \"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/22222222-2222-2222-2222-222222222222\",\n },\n new AwsNative.GroundStation.Inputs.MissionProfileDataflowEdgeArgs\n {\n Source = \"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/33333333-3333-3333-3333-333333333333\",\n Destination = \"arn:aws:groundstation:us-east-2:1234567890:config/antenna-uplink/44444444-4444-4444-4444-444444444444\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/groundstation\"\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 := groundstation.NewMissionProfile(ctx, \"myMissionProfile\", \u0026groundstation.MissionProfileArgs{\n\t\t\tName: pulumi.String(\"My Mission Profile\"),\n\t\t\tContactPrePassDurationSeconds: pulumi.Int(120),\n\t\t\tContactPostPassDurationSeconds: pulumi.Int(180),\n\t\t\tMinimumViableContactDurationSeconds: pulumi.Int(300),\n\t\t\tTrackingConfigArn: pulumi.String(\"arn:aws:groundstation:us-east-2:1234567890:config/tracking/00000000-0000-0000-0000-000000000000\"),\n\t\t\tDataflowEdges: groundstation.MissionProfileDataflowEdgeArray{\n\t\t\t\t\u0026groundstation.MissionProfileDataflowEdgeArgs{\n\t\t\t\t\tSource: pulumi.String(\"arn:aws:groundstation:us-east-2:1234567890:config/antenna-downlink/11111111-1111-1111-1111-111111111111\"),\n\t\t\t\t\tDestination: pulumi.String(\"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/22222222-2222-2222-2222-222222222222\"),\n\t\t\t\t},\n\t\t\t\t\u0026groundstation.MissionProfileDataflowEdgeArgs{\n\t\t\t\t\tSource: pulumi.String(\"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/33333333-3333-3333-3333-333333333333\"),\n\t\t\t\t\tDestination: pulumi.String(\"arn:aws:groundstation:us-east-2:1234567890:config/antenna-uplink/44444444-4444-4444-4444-444444444444\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myMissionProfile = new aws_native.groundstation.MissionProfile(\"myMissionProfile\", {\n name: \"My Mission Profile\",\n contactPrePassDurationSeconds: 120,\n contactPostPassDurationSeconds: 180,\n minimumViableContactDurationSeconds: 300,\n trackingConfigArn: \"arn:aws:groundstation:us-east-2:1234567890:config/tracking/00000000-0000-0000-0000-000000000000\",\n dataflowEdges: [\n {\n source: \"arn:aws:groundstation:us-east-2:1234567890:config/antenna-downlink/11111111-1111-1111-1111-111111111111\",\n destination: \"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/22222222-2222-2222-2222-222222222222\",\n },\n {\n source: \"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/33333333-3333-3333-3333-333333333333\",\n destination: \"arn:aws:groundstation:us-east-2:1234567890:config/antenna-uplink/44444444-4444-4444-4444-444444444444\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_mission_profile = aws_native.groundstation.MissionProfile(\"myMissionProfile\",\n name=\"My Mission Profile\",\n contact_pre_pass_duration_seconds=120,\n contact_post_pass_duration_seconds=180,\n minimum_viable_contact_duration_seconds=300,\n tracking_config_arn=\"arn:aws:groundstation:us-east-2:1234567890:config/tracking/00000000-0000-0000-0000-000000000000\",\n dataflow_edges=[\n aws_native.groundstation.MissionProfileDataflowEdgeArgs(\n source=\"arn:aws:groundstation:us-east-2:1234567890:config/antenna-downlink/11111111-1111-1111-1111-111111111111\",\n destination=\"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/22222222-2222-2222-2222-222222222222\",\n ),\n aws_native.groundstation.MissionProfileDataflowEdgeArgs(\n source=\"arn:aws:groundstation:us-east-2:1234567890:config/dataflow-endpoint/33333333-3333-3333-3333-333333333333\",\n destination=\"arn:aws:groundstation:us-east-2:1234567890:config/antenna-uplink/44444444-4444-4444-4444-444444444444\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -39041,7 +39041,7 @@ ] }, "aws-native:imagebuilder:Component": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new AwsNative.ImageBuilder.ComponentArgs\n {\n Name = \"component-name\",\n Platform = \"Linux\",\n Version = \"1.0.0\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = \n {\n \"Amazon Linux 2\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n Data = @\"name: HelloWorldTestingLinuxDoc - InlineData\n description: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Build.\"\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Validate.\"\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Test.\"\"\n\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\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 := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: pulumi.String(\"Linux\"),\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon Linux 2\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\n\t\t\tData: pulumi.String(\"name: HelloWorldTestingLinuxDoc - InlineData\\n description: This is hello world testing doc\\nschemaVersion: 1.0\\n\\nphases:\\n - name: build\\n steps:\\n - name: HelloWorldStep\\n action: ExecuteBash\\n inputs:\\n commands:\\n - echo \\\"Hello World! Build.\\\"\\n - name: validate\\n steps:\\n - name: HelloWorldStep\\n action: ExecuteBash\\n inputs:\\n commands:\\n - echo \\\"Hello World! Validate.\\\"\\n - name: test\\n steps:\\n - name: HelloWorldStep\\n action: ExecuteBash\\n inputs:\\n commands:\\n - echo \\\"Hello World! Test.\\\"\\n\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: \"Linux\",\n version: \"1.0.0\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\"Amazon Linux 2\"],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n data: `name: HelloWorldTestingLinuxDoc - InlineData\n description: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=\"Linux\",\n version=\"1.0.0\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\"Amazon Linux 2\"],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n },\n data=\"\"\"name: HelloWorldTestingLinuxDoc - InlineData\n description: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n\"\"\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new AwsNative.ImageBuilder.ComponentArgs\n {\n Name = \"component-name\",\n Platform = \"Linux\",\n Version = \"1.0.0\",\n Uri = \"s3://imagebuilder/component_document.yml\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = \n {\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\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 := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: pulumi.String(\"Linux\"),\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tUri: pulumi.String(\"s3://imagebuilder/component_document.yml\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CentOS\"),\n\t\t\t\tpulumi.String(\"Red Hat Enterprise Linux\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: \"Linux\",\n version: \"1.0.0\",\n uri: \"s3://imagebuilder/component_document.yml\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=\"Linux\",\n version=\"1.0.0\",\n uri=\"s3://imagebuilder/component_document.yml\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -40051,7 +40051,7 @@ ] }, "aws-native:iot:CustomMetric": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var batteryPercentageMetric = new AwsNative.IoT.CustomMetric(\"batteryPercentageMetric\", new AwsNative.IoT.CustomMetricArgs\n {\n MetricName = \"batteryPercentage\",\n DisplayName = \"Remaining battery percentage\",\n MetricType = \"number\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewCustomMetric(ctx, \"batteryPercentageMetric\", \u0026iot.CustomMetricArgs{\n\t\t\tMetricName: pulumi.String(\"batteryPercentage\"),\n\t\t\tDisplayName: pulumi.String(\"Remaining battery percentage\"),\n\t\t\tMetricType: pulumi.String(\"number\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst batteryPercentageMetric = new aws_native.iot.CustomMetric(\"batteryPercentageMetric\", {\n metricName: \"batteryPercentage\",\n displayName: \"Remaining battery percentage\",\n metricType: \"number\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbattery_percentage_metric = aws_native.iot.CustomMetric(\"batteryPercentageMetric\",\n metric_name=\"batteryPercentage\",\n display_name=\"Remaining battery percentage\",\n metric_type=\"number\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var batteryPercentageMetric = new AwsNative.IoT.CustomMetric(\"batteryPercentageMetric\", new AwsNative.IoT.CustomMetricArgs\n {\n MetricName = \"batteryPercentage\",\n DisplayName = \"Remaining battery percentage\",\n MetricType = \"number\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewCustomMetric(ctx, \"batteryPercentageMetric\", \u0026iot.CustomMetricArgs{\n\t\t\tMetricName: pulumi.String(\"batteryPercentage\"),\n\t\t\tDisplayName: pulumi.String(\"Remaining battery percentage\"),\n\t\t\tMetricType: pulumi.String(\"number\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst batteryPercentageMetric = new aws_native.iot.CustomMetric(\"batteryPercentageMetric\", {\n metricName: \"batteryPercentage\",\n displayName: \"Remaining battery percentage\",\n metricType: \"number\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbattery_percentage_metric = aws_native.iot.CustomMetric(\"batteryPercentageMetric\",\n metric_name=\"batteryPercentage\",\n display_name=\"Remaining battery percentage\",\n metric_type=\"number\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "displayName": { "type": "string", @@ -40107,7 +40107,7 @@ ] }, "aws-native:iot:Dimension": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var topicFilterForAuthMessagesDimension = new AwsNative.IoT.Dimension(\"topicFilterForAuthMessagesDimension\", new AwsNative.IoT.DimensionArgs\n {\n Name = \"TopicFilterForAuthMessages\",\n Type = \"TOPIC_FILTER\",\n StringValues = \n {\n \"device/+/auth\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Application\",\n Value = \"SmartHome\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewDimension(ctx, \"topicFilterForAuthMessagesDimension\", \u0026iot.DimensionArgs{\n\t\t\tName: pulumi.String(\"TopicFilterForAuthMessages\"),\n\t\t\tType: pulumi.String(\"TOPIC_FILTER\"),\n\t\t\tStringValues: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"device/+/auth\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Application\"),\n\t\t\t\t\tValue: pulumi.String(\"SmartHome\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst topicFilterForAuthMessagesDimension = new aws_native.iot.Dimension(\"topicFilterForAuthMessagesDimension\", {\n name: \"TopicFilterForAuthMessages\",\n type: \"TOPIC_FILTER\",\n stringValues: [\"device/+/auth\"],\n tags: [{\n key: \"Application\",\n value: \"SmartHome\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntopic_filter_for_auth_messages_dimension = aws_native.iot.Dimension(\"topicFilterForAuthMessagesDimension\",\n name=\"TopicFilterForAuthMessages\",\n type=\"TOPIC_FILTER\",\n string_values=[\"device/+/auth\"],\n tags=[aws_native.TagArgs(\n key=\"Application\",\n value=\"SmartHome\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var topicFilterForAuthMessagesDimension = new AwsNative.IoT.Dimension(\"topicFilterForAuthMessagesDimension\", new AwsNative.IoT.DimensionArgs\n {\n Name = \"TopicFilterForAuthMessages\",\n Type = \"TOPIC_FILTER\",\n StringValues = \n {\n \"device/+/auth\",\n },\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Application\",\n Value = \"SmartHome\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewDimension(ctx, \"topicFilterForAuthMessagesDimension\", \u0026iot.DimensionArgs{\n\t\t\tName: pulumi.String(\"TopicFilterForAuthMessages\"),\n\t\t\tType: pulumi.String(\"TOPIC_FILTER\"),\n\t\t\tStringValues: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"device/+/auth\"),\n\t\t\t},\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Application\"),\n\t\t\t\t\tValue: pulumi.String(\"SmartHome\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst topicFilterForAuthMessagesDimension = new aws_native.iot.Dimension(\"topicFilterForAuthMessagesDimension\", {\n name: \"TopicFilterForAuthMessages\",\n type: \"TOPIC_FILTER\",\n stringValues: [\"device/+/auth\"],\n tags: [{\n key: \"Application\",\n value: \"SmartHome\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntopic_filter_for_auth_messages_dimension = aws_native.iot.Dimension(\"topicFilterForAuthMessagesDimension\",\n name=\"TopicFilterForAuthMessages\",\n type=\"TOPIC_FILTER\",\n string_values=[\"device/+/auth\"],\n tags=[aws_native.TagArgs(\n key=\"Application\",\n value=\"SmartHome\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -40272,7 +40272,7 @@ } }, "aws-native:iot:MitigationAction": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var publishToSnsMitigationAction = new AwsNative.IoT.MitigationAction(\"publishToSnsMitigationAction\", new AwsNative.IoT.MitigationActionArgs\n {\n ActionName = \"PublishToSns\",\n RoleArn = \"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n ActionParams = new AwsNative.IoT.Inputs.MitigationActionActionParamsArgs\n {\n PublishFindingToSnsParams = new AwsNative.IoT.Inputs.MitigationActionPublishFindingToSnsParamsArgs\n {\n TopicArn = \"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewMitigationAction(ctx, \"publishToSnsMitigationAction\", \u0026iot.MitigationActionArgs{\n\t\t\tActionName: pulumi.String(\"PublishToSns\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\"),\n\t\t\tActionParams: \u0026iot.MitigationActionActionParamsArgs{\n\t\t\t\tPublishFindingToSnsParams: \u0026iot.MitigationActionPublishFindingToSnsParamsArgs{\n\t\t\t\t\tTopicArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst publishToSnsMitigationAction = new aws_native.iot.MitigationAction(\"publishToSnsMitigationAction\", {\n actionName: \"PublishToSns\",\n roleArn: \"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n actionParams: {\n publishFindingToSnsParams: {\n topicArn: \"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npublish_to_sns_mitigation_action = aws_native.iot.MitigationAction(\"publishToSnsMitigationAction\",\n action_name=\"PublishToSns\",\n role_arn=\"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n action_params=aws_native.iot.MitigationActionActionParamsArgs(\n publish_finding_to_sns_params=aws_native.iot.MitigationActionPublishFindingToSnsParamsArgs(\n topic_arn=\"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var publishToSnsMitigationAction = new AwsNative.IoT.MitigationAction(\"publishToSnsMitigationAction\", new AwsNative.IoT.MitigationActionArgs\n {\n ActionName = \"PublishToSns\",\n RoleArn = \"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n ActionParams = new AwsNative.IoT.Inputs.MitigationActionActionParamsArgs\n {\n PublishFindingToSnsParams = new AwsNative.IoT.Inputs.MitigationActionPublishFindingToSnsParamsArgs\n {\n TopicArn = \"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewMitigationAction(ctx, \"publishToSnsMitigationAction\", \u0026iot.MitigationActionArgs{\n\t\t\tActionName: pulumi.String(\"PublishToSns\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\"),\n\t\t\tActionParams: \u0026iot.MitigationActionActionParamsArgs{\n\t\t\t\tPublishFindingToSnsParams: \u0026iot.MitigationActionPublishFindingToSnsParamsArgs{\n\t\t\t\t\tTopicArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst publishToSnsMitigationAction = new aws_native.iot.MitigationAction(\"publishToSnsMitigationAction\", {\n actionName: \"PublishToSns\",\n roleArn: \"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n actionParams: {\n publishFindingToSnsParams: {\n topicArn: \"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npublish_to_sns_mitigation_action = aws_native.iot.MitigationAction(\"publishToSnsMitigationAction\",\n action_name=\"PublishToSns\",\n role_arn=\"arn:aws:us-east-1:123456789012:iam:role/RoleForIoTMitigationActions\",\n action_params=aws_native.iot.MitigationActionActionParamsArgs(\n publish_finding_to_sns_params=aws_native.iot.MitigationActionPublishFindingToSnsParamsArgs(\n topic_arn=\"arn:aws:sns:us-east-1:123456789012:IoTFindingNotifications\",\n ),\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "actionName": { "type": "string", @@ -40416,7 +40416,7 @@ ] }, "aws-native:iot:ScheduledAudit": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myScheduledAudit = new AwsNative.IoT.ScheduledAudit(\"myScheduledAudit\", new AwsNative.IoT.ScheduledAuditArgs\n {\n ScheduledAuditName = \"MyScheduledAudit\",\n DayOfWeek = \"MON\",\n Frequency = \"WEEKLY\",\n TargetCheckNames = \n {\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewScheduledAudit(ctx, \"myScheduledAudit\", \u0026iot.ScheduledAuditArgs{\n\t\t\tScheduledAuditName: pulumi.String(\"MyScheduledAudit\"),\n\t\t\tDayOfWeek: pulumi.String(\"MON\"),\n\t\t\tFrequency: pulumi.String(\"WEEKLY\"),\n\t\t\tTargetCheckNames: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"CA_CERTIFICATE_EXPIRING_CHECK\"),\n\t\t\t\tpulumi.String(\"CA_CERTIFICATE_KEY_QUALITY_CHECK\"),\n\t\t\t\tpulumi.String(\"CONFLICTING_CLIENT_IDS_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_EXPIRING_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_SHARED_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"LOGGING_DISABLED_CHECK\"),\n\t\t\t\tpulumi.String(\"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myScheduledAudit = new aws_native.iot.ScheduledAudit(\"myScheduledAudit\", {\n scheduledAuditName: \"MyScheduledAudit\",\n dayOfWeek: \"MON\",\n frequency: \"WEEKLY\",\n targetCheckNames: [\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_scheduled_audit = aws_native.iot.ScheduledAudit(\"myScheduledAudit\",\n scheduled_audit_name=\"MyScheduledAudit\",\n day_of_week=\"MON\",\n frequency=\"WEEKLY\",\n target_check_names=[\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myScheduledAudit = new AwsNative.IoT.ScheduledAudit(\"myScheduledAudit\", new AwsNative.IoT.ScheduledAuditArgs\n {\n ScheduledAuditName = \"MyScheduledAudit\",\n DayOfWeek = \"MON\",\n Frequency = \"WEEKLY\",\n TargetCheckNames = \n {\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewScheduledAudit(ctx, \"myScheduledAudit\", \u0026iot.ScheduledAuditArgs{\n\t\t\tScheduledAuditName: pulumi.String(\"MyScheduledAudit\"),\n\t\t\tDayOfWeek: pulumi.String(\"MON\"),\n\t\t\tFrequency: pulumi.String(\"WEEKLY\"),\n\t\t\tTargetCheckNames: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"CA_CERTIFICATE_EXPIRING_CHECK\"),\n\t\t\t\tpulumi.String(\"CA_CERTIFICATE_KEY_QUALITY_CHECK\"),\n\t\t\t\tpulumi.String(\"CONFLICTING_CLIENT_IDS_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_EXPIRING_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\"),\n\t\t\t\tpulumi.String(\"DEVICE_CERTIFICATE_SHARED_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\"),\n\t\t\t\tpulumi.String(\"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"LOGGING_DISABLED_CHECK\"),\n\t\t\t\tpulumi.String(\"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\"),\n\t\t\t\tpulumi.String(\"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myScheduledAudit = new aws_native.iot.ScheduledAudit(\"myScheduledAudit\", {\n scheduledAuditName: \"MyScheduledAudit\",\n dayOfWeek: \"MON\",\n frequency: \"WEEKLY\",\n targetCheckNames: [\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_scheduled_audit = aws_native.iot.ScheduledAudit(\"myScheduledAudit\",\n scheduled_audit_name=\"MyScheduledAudit\",\n day_of_week=\"MON\",\n frequency=\"WEEKLY\",\n target_check_names=[\n \"AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n \"CA_CERTIFICATE_EXPIRING_CHECK\",\n \"CA_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"CONFLICTING_CLIENT_IDS_CHECK\",\n \"DEVICE_CERTIFICATE_EXPIRING_CHECK\",\n \"DEVICE_CERTIFICATE_KEY_QUALITY_CHECK\",\n \"DEVICE_CERTIFICATE_SHARED_CHECK\",\n \"IOT_POLICY_OVERLY_PERMISSIVE_CHECK\",\n \"IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK\",\n \"IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK\",\n \"LOGGING_DISABLED_CHECK\",\n \"REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK\",\n \"UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK\",\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "dayOfMonth": { "type": "string", @@ -40496,7 +40496,7 @@ ] }, "aws-native:iot:SecurityProfile": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecurityProfile = new AwsNative.IoT.SecurityProfile(\"mySecurityProfile\", new AwsNative.IoT.SecurityProfileArgs\n {\n AdditionalMetricsToRetainV2 = \n {\n new AwsNative.IoT.Inputs.SecurityProfileMetricToRetainArgs\n {\n Metric = \"aws:num-messages-received\",\n },\n new AwsNative.IoT.Inputs.SecurityProfileMetricToRetainArgs\n {\n Metric = \"aws:num-disconnects\",\n },\n },\n AlertTargets = \n {\n { \"sns\", new AwsNative.IoT.Inputs.SecurityProfileAlertTargetArgs\n {\n AlertTargetArn = \"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n RoleArn = \"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n } },\n },\n Behaviors = \n {\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"MaxMessageSize\",\n Metric = \"aws:message-byte-size\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n ConsecutiveDatapointsToAlarm = 1,\n ConsecutiveDatapointsToClear = 1,\n ComparisonOperator = \"less-than-equals\",\n Value = new AwsNative.IoT.Inputs.SecurityProfileMetricValueArgs\n {\n Count = \"5\",\n },\n },\n },\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"OutboundMessageCount\",\n Metric = \"aws:num-messages-sent\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n DurationSeconds = 300,\n ComparisonOperator = \"less-than-equals\",\n Value = new AwsNative.IoT.Inputs.SecurityProfileMetricValueArgs\n {\n Count = \"50\",\n },\n },\n },\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"AuthFailuresStatThreshold\",\n Metric = \"aws:num-authorization-failures\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n ComparisonOperator = \"less-than-equals\",\n DurationSeconds = 300,\n StatisticalThreshold = new AwsNative.IoT.Inputs.SecurityProfileStatisticalThresholdArgs\n {\n Statistic = \"p90\",\n },\n },\n },\n },\n SecurityProfileDescription = \"Contains expected behaviors for connected devices\",\n SecurityProfileName = \"ProfileForConnectedDevices\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Application\",\n Value = \"SmartHome\",\n },\n },\n TargetArns = \n {\n \"arn:aws:iot:us-east-1:123456789012:all/things\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewSecurityProfile(ctx, \"mySecurityProfile\", \u0026iot.SecurityProfileArgs{\n\t\t\tAdditionalMetricsToRetainV2: []iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\u0026iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-messages-received\"),\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-disconnects\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAlertTargets: iot.SecurityProfileAlertTargetMap{\n\t\t\t\t\"sns\": \u0026iot.SecurityProfileAlertTargetArgs{\n\t\t\t\t\tAlertTargetArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\"),\n\t\t\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBehaviors: []iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"MaxMessageSize\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:message-byte-size\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tConsecutiveDatapointsToAlarm: pulumi.Int(1),\n\t\t\t\t\t\tConsecutiveDatapointsToClear: pulumi.Int(1),\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tValue: \u0026iot.SecurityProfileMetricValueArgs{\n\t\t\t\t\t\t\tCount: pulumi.String(\"5\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"OutboundMessageCount\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-messages-sent\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tDurationSeconds: pulumi.Int(300),\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tValue: \u0026iot.SecurityProfileMetricValueArgs{\n\t\t\t\t\t\t\tCount: pulumi.String(\"50\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"AuthFailuresStatThreshold\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-authorization-failures\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tDurationSeconds: pulumi.Int(300),\n\t\t\t\t\t\tStatisticalThreshold: \u0026iot.SecurityProfileStatisticalThresholdArgs{\n\t\t\t\t\t\t\tStatistic: pulumi.String(\"p90\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSecurityProfileDescription: pulumi.String(\"Contains expected behaviors for connected devices\"),\n\t\t\tSecurityProfileName: pulumi.String(\"ProfileForConnectedDevices\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Application\"),\n\t\t\t\t\tValue: pulumi.String(\"SmartHome\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTargetArns: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"arn:aws:iot:us-east-1:123456789012:all/things\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecurityProfile = new aws_native.iot.SecurityProfile(\"mySecurityProfile\", {\n additionalMetricsToRetainV2: [\n {\n metric: \"aws:num-messages-received\",\n },\n {\n metric: \"aws:num-disconnects\",\n },\n ],\n alertTargets: {\n sns: {\n alertTargetArn: \"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n roleArn: \"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n },\n },\n behaviors: [\n {\n name: \"MaxMessageSize\",\n metric: \"aws:message-byte-size\",\n criteria: {\n consecutiveDatapointsToAlarm: 1,\n consecutiveDatapointsToClear: 1,\n comparisonOperator: \"less-than-equals\",\n value: {\n count: 5,\n },\n },\n },\n {\n name: \"OutboundMessageCount\",\n metric: \"aws:num-messages-sent\",\n criteria: {\n durationSeconds: 300,\n comparisonOperator: \"less-than-equals\",\n value: {\n count: 50,\n },\n },\n },\n {\n name: \"AuthFailuresStatThreshold\",\n metric: \"aws:num-authorization-failures\",\n criteria: {\n comparisonOperator: \"less-than-equals\",\n durationSeconds: 300,\n statisticalThreshold: {\n statistic: \"p90\",\n },\n },\n },\n ],\n securityProfileDescription: \"Contains expected behaviors for connected devices\",\n securityProfileName: \"ProfileForConnectedDevices\",\n tags: [{\n key: \"Application\",\n value: \"SmartHome\",\n }],\n targetArns: [\"arn:aws:iot:us-east-1:123456789012:all/things\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_security_profile = aws_native.iot.SecurityProfile(\"mySecurityProfile\",\n additional_metrics_to_retain_v2=[\n aws_native.iot.SecurityProfileMetricToRetainArgs(\n metric=\"aws:num-messages-received\",\n ),\n aws_native.iot.SecurityProfileMetricToRetainArgs(\n metric=\"aws:num-disconnects\",\n ),\n ],\n alert_targets={\n \"sns\": aws_native.iot.SecurityProfileAlertTargetArgs(\n alert_target_arn=\"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n role_arn=\"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n ),\n },\n behaviors=[\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"MaxMessageSize\",\n metric=\"aws:message-byte-size\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n consecutive_datapoints_to_alarm=1,\n consecutive_datapoints_to_clear=1,\n comparison_operator=\"less-than-equals\",\n value=aws_native.iot.SecurityProfileMetricValueArgs(\n count=\"5\",\n ),\n ),\n ),\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"OutboundMessageCount\",\n metric=\"aws:num-messages-sent\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n duration_seconds=300,\n comparison_operator=\"less-than-equals\",\n value=aws_native.iot.SecurityProfileMetricValueArgs(\n count=\"50\",\n ),\n ),\n ),\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"AuthFailuresStatThreshold\",\n metric=\"aws:num-authorization-failures\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n comparison_operator=\"less-than-equals\",\n duration_seconds=300,\n statistical_threshold=aws_native.iot.SecurityProfileStatisticalThresholdArgs(\n statistic=\"p90\",\n ),\n ),\n ),\n ],\n security_profile_description=\"Contains expected behaviors for connected devices\",\n security_profile_name=\"ProfileForConnectedDevices\",\n tags=[aws_native.TagArgs(\n key=\"Application\",\n value=\"SmartHome\",\n )],\n target_arns=[\"arn:aws:iot:us-east-1:123456789012:all/things\"])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var mySecurityProfile = new AwsNative.IoT.SecurityProfile(\"mySecurityProfile\", new AwsNative.IoT.SecurityProfileArgs\n {\n AdditionalMetricsToRetainV2 = \n {\n new AwsNative.IoT.Inputs.SecurityProfileMetricToRetainArgs\n {\n Metric = \"aws:num-messages-received\",\n },\n new AwsNative.IoT.Inputs.SecurityProfileMetricToRetainArgs\n {\n Metric = \"aws:num-disconnects\",\n },\n },\n AlertTargets = \n {\n { \"sns\", new AwsNative.IoT.Inputs.SecurityProfileAlertTargetArgs\n {\n AlertTargetArn = \"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n RoleArn = \"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n } },\n },\n Behaviors = \n {\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"MaxMessageSize\",\n Metric = \"aws:message-byte-size\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n ConsecutiveDatapointsToAlarm = 1,\n ConsecutiveDatapointsToClear = 1,\n ComparisonOperator = \"less-than-equals\",\n Value = new AwsNative.IoT.Inputs.SecurityProfileMetricValueArgs\n {\n Count = \"5\",\n },\n },\n },\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"OutboundMessageCount\",\n Metric = \"aws:num-messages-sent\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n DurationSeconds = 300,\n ComparisonOperator = \"less-than-equals\",\n Value = new AwsNative.IoT.Inputs.SecurityProfileMetricValueArgs\n {\n Count = \"50\",\n },\n },\n },\n new AwsNative.IoT.Inputs.SecurityProfileBehaviorArgs\n {\n Name = \"AuthFailuresStatThreshold\",\n Metric = \"aws:num-authorization-failures\",\n Criteria = new AwsNative.IoT.Inputs.SecurityProfileBehaviorCriteriaArgs\n {\n ComparisonOperator = \"less-than-equals\",\n DurationSeconds = 300,\n StatisticalThreshold = new AwsNative.IoT.Inputs.SecurityProfileStatisticalThresholdArgs\n {\n Statistic = \"p90\",\n },\n },\n },\n },\n SecurityProfileDescription = \"Contains expected behaviors for connected devices\",\n SecurityProfileName = \"ProfileForConnectedDevices\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Application\",\n Value = \"SmartHome\",\n },\n },\n TargetArns = \n {\n \"arn:aws:iot:us-east-1:123456789012:all/things\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\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 := iot.NewSecurityProfile(ctx, \"mySecurityProfile\", \u0026iot.SecurityProfileArgs{\n\t\t\tAdditionalMetricsToRetainV2: []iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\u0026iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-messages-received\"),\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileMetricToRetainArgs{\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-disconnects\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAlertTargets: iot.SecurityProfileAlertTargetMap{\n\t\t\t\t\"sns\": \u0026iot.SecurityProfileAlertTargetArgs{\n\t\t\t\t\tAlertTargetArn: pulumi.String(\"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\"),\n\t\t\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBehaviors: []iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"MaxMessageSize\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:message-byte-size\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tConsecutiveDatapointsToAlarm: pulumi.Int(1),\n\t\t\t\t\t\tConsecutiveDatapointsToClear: pulumi.Int(1),\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tValue: \u0026iot.SecurityProfileMetricValueArgs{\n\t\t\t\t\t\t\tCount: pulumi.String(\"5\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"OutboundMessageCount\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-messages-sent\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tDurationSeconds: pulumi.Int(300),\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tValue: \u0026iot.SecurityProfileMetricValueArgs{\n\t\t\t\t\t\t\tCount: pulumi.String(\"50\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026iot.SecurityProfileBehaviorArgs{\n\t\t\t\t\tName: pulumi.String(\"AuthFailuresStatThreshold\"),\n\t\t\t\t\tMetric: pulumi.String(\"aws:num-authorization-failures\"),\n\t\t\t\t\tCriteria: \u0026iot.SecurityProfileBehaviorCriteriaArgs{\n\t\t\t\t\t\tComparisonOperator: pulumi.String(\"less-than-equals\"),\n\t\t\t\t\t\tDurationSeconds: pulumi.Int(300),\n\t\t\t\t\t\tStatisticalThreshold: \u0026iot.SecurityProfileStatisticalThresholdArgs{\n\t\t\t\t\t\t\tStatistic: pulumi.String(\"p90\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tSecurityProfileDescription: pulumi.String(\"Contains expected behaviors for connected devices\"),\n\t\t\tSecurityProfileName: pulumi.String(\"ProfileForConnectedDevices\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Application\"),\n\t\t\t\t\tValue: pulumi.String(\"SmartHome\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTargetArns: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"arn:aws:iot:us-east-1:123456789012:all/things\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst mySecurityProfile = new aws_native.iot.SecurityProfile(\"mySecurityProfile\", {\n additionalMetricsToRetainV2: [\n {\n metric: \"aws:num-messages-received\",\n },\n {\n metric: \"aws:num-disconnects\",\n },\n ],\n alertTargets: {\n sns: {\n alertTargetArn: \"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n roleArn: \"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n },\n },\n behaviors: [\n {\n name: \"MaxMessageSize\",\n metric: \"aws:message-byte-size\",\n criteria: {\n consecutiveDatapointsToAlarm: 1,\n consecutiveDatapointsToClear: 1,\n comparisonOperator: \"less-than-equals\",\n value: {\n count: 5,\n },\n },\n },\n {\n name: \"OutboundMessageCount\",\n metric: \"aws:num-messages-sent\",\n criteria: {\n durationSeconds: 300,\n comparisonOperator: \"less-than-equals\",\n value: {\n count: 50,\n },\n },\n },\n {\n name: \"AuthFailuresStatThreshold\",\n metric: \"aws:num-authorization-failures\",\n criteria: {\n comparisonOperator: \"less-than-equals\",\n durationSeconds: 300,\n statisticalThreshold: {\n statistic: \"p90\",\n },\n },\n },\n ],\n securityProfileDescription: \"Contains expected behaviors for connected devices\",\n securityProfileName: \"ProfileForConnectedDevices\",\n tags: [{\n key: \"Application\",\n value: \"SmartHome\",\n }],\n targetArns: [\"arn:aws:iot:us-east-1:123456789012:all/things\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_security_profile = aws_native.iot.SecurityProfile(\"mySecurityProfile\",\n additional_metrics_to_retain_v2=[\n aws_native.iot.SecurityProfileMetricToRetainArgs(\n metric=\"aws:num-messages-received\",\n ),\n aws_native.iot.SecurityProfileMetricToRetainArgs(\n metric=\"aws:num-disconnects\",\n ),\n ],\n alert_targets={\n \"sns\": aws_native.iot.SecurityProfileAlertTargetArgs(\n alert_target_arn=\"arn:aws:sns:us-east-1:123456789012:DeviceDefenderDetectAlerts\",\n role_arn=\"arn:aws:iam::123456789012:role/RoleForDefenderAlerts\",\n ),\n },\n behaviors=[\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"MaxMessageSize\",\n metric=\"aws:message-byte-size\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n consecutive_datapoints_to_alarm=1,\n consecutive_datapoints_to_clear=1,\n comparison_operator=\"less-than-equals\",\n value=aws_native.iot.SecurityProfileMetricValueArgs(\n count=\"5\",\n ),\n ),\n ),\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"OutboundMessageCount\",\n metric=\"aws:num-messages-sent\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n duration_seconds=300,\n comparison_operator=\"less-than-equals\",\n value=aws_native.iot.SecurityProfileMetricValueArgs(\n count=\"50\",\n ),\n ),\n ),\n aws_native.iot.SecurityProfileBehaviorArgs(\n name=\"AuthFailuresStatThreshold\",\n metric=\"aws:num-authorization-failures\",\n criteria=aws_native.iot.SecurityProfileBehaviorCriteriaArgs(\n comparison_operator=\"less-than-equals\",\n duration_seconds=300,\n statistical_threshold=aws_native.iot.SecurityProfileStatisticalThresholdArgs(\n statistic=\"p90\",\n ),\n ),\n ),\n ],\n security_profile_description=\"Contains expected behaviors for connected devices\",\n security_profile_name=\"ProfileForConnectedDevices\",\n tags=[aws_native.TagArgs(\n key=\"Application\",\n value=\"SmartHome\",\n )],\n target_arns=[\"arn:aws:iot:us-east-1:123456789012:all/things\"])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "additionalMetricsToRetainV2": { "type": "array", @@ -40686,7 +40686,7 @@ } }, "aws-native:iotcoredeviceadvisor:SuiteDefinition": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testSuiteDefinition = new AwsNative.IoTCoreDeviceAdvisor.SuiteDefinition(\"testSuiteDefinition\", new AwsNative.IoTCoreDeviceAdvisor.SuiteDefinitionArgs\n {\n SuiteDefinitionConfiguration = \n {\n { \"suiteDefinitionName\", \"SuiteDefinitionName\" },\n { \"devicePermissionRoleArn\", \"arn:aws:iam::123456789012:role/RoleName\" },\n { \"devices\", \n {\n \n {\n { \"thingArn\", \"arn:aws:iot:us-east-1:123456789012:thing/ThingName\" },\n },\n } },\n { \"rootGroup\", @\"{\n\"\"configuration\"\": {},\n\"\"tests\"\": [{\n\"\"name\"\": \"\"TestGroup\"\",\n\"\"configuration\"\": {\n\"\"EXECUTION_TIMEOUT\"\": \"\"30\"\"\n},\n\"\"tests\"\": [{\n\"\"name\"\": \"\"MQTTPublishTest\"\",\n\"\"configuration\"\": {\n\"\"TOPIC_FOR_PUBLISH_VALIDATION\"\": \"\"target\"\"\n},\n\"\"test\"\": {\n\"\"id\"\": \"\"MQTT_Publish\"\",\n\"\"version\"\": \"\"0.0.0\"\"\n}\n}]\n}]\n}\" },\n { \"intendedForQualification\", false },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotcoredeviceadvisor\"\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 := iotcoredeviceadvisor.NewSuiteDefinition(ctx, \"testSuiteDefinition\", \u0026iotcoredeviceadvisor.SuiteDefinitionArgs{\n\t\t\tSuiteDefinitionConfiguration: pulumi.Any{\n\t\t\t\tSuiteDefinitionName: \"SuiteDefinitionName\",\n\t\t\t\tDevicePermissionRoleArn: \"arn:aws:iam::123456789012:role/RoleName\",\n\t\t\t\tDevices: []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"thingArn\": \"arn:aws:iot:us-east-1:123456789012:thing/ThingName\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRootGroup: \"{\\n\\\"configuration\\\": {},\\n\\\"tests\\\": [{\\n\\\"name\\\": \\\"TestGroup\\\",\\n\\\"configuration\\\": {\\n\\\"EXECUTION_TIMEOUT\\\": \\\"30\\\"\\n},\\n\\\"tests\\\": [{\\n\\\"name\\\": \\\"MQTTPublishTest\\\",\\n\\\"configuration\\\": {\\n\\\"TOPIC_FOR_PUBLISH_VALIDATION\\\": \\\"target\\\"\\n},\\n\\\"test\\\": {\\n\\\"id\\\": \\\"MQTT_Publish\\\",\\n\\\"version\\\": \\\"0.0.0\\\"\\n}\\n}]\\n}]\\n}\",\n\t\t\t\tIntendedForQualification: false,\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testSuiteDefinition = new aws_native.iotcoredeviceadvisor.SuiteDefinition(\"testSuiteDefinition\", {suiteDefinitionConfiguration: {\n suiteDefinitionName: \"SuiteDefinitionName\",\n devicePermissionRoleArn: \"arn:aws:iam::123456789012:role/RoleName\",\n devices: [{\n thingArn: \"arn:aws:iot:us-east-1:123456789012:thing/ThingName\",\n }],\n rootGroup: `{\n\"configuration\": {},\n\"tests\": [{\n\"name\": \"TestGroup\",\n\"configuration\": {\n\"EXECUTION_TIMEOUT\": \"30\"\n},\n\"tests\": [{\n\"name\": \"MQTTPublishTest\",\n\"configuration\": {\n\"TOPIC_FOR_PUBLISH_VALIDATION\": \"target\"\n},\n\"test\": {\n\"id\": \"MQTT_Publish\",\n\"version\": \"0.0.0\"\n}\n}]\n}]\n}`,\n intendedForQualification: false,\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_suite_definition = aws_native.iotcoredeviceadvisor.SuiteDefinition(\"testSuiteDefinition\", suite_definition_configuration={\n \"suiteDefinitionName\": \"SuiteDefinitionName\",\n \"devicePermissionRoleArn\": \"arn:aws:iam::123456789012:role/RoleName\",\n \"devices\": [{\n \"thingArn\": \"arn:aws:iot:us-east-1:123456789012:thing/ThingName\",\n }],\n \"rootGroup\": \"\"\"{\n\"configuration\": {},\n\"tests\": [{\n\"name\": \"TestGroup\",\n\"configuration\": {\n\"EXECUTION_TIMEOUT\": \"30\"\n},\n\"tests\": [{\n\"name\": \"MQTTPublishTest\",\n\"configuration\": {\n\"TOPIC_FOR_PUBLISH_VALIDATION\": \"target\"\n},\n\"test\": {\n\"id\": \"MQTT_Publish\",\n\"version\": \"0.0.0\"\n}\n}]\n}]\n}\"\"\",\n \"intendedForQualification\": False,\n})\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "suiteDefinitionArn": { "type": "string" @@ -40828,7 +40828,7 @@ ] }, "aws-native:iotevents:Input": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myInput = new AwsNative.IoTEvents.Input(\"myInput\", new AwsNative.IoTEvents.InputArgs\n {\n InputName = \"myInput\",\n InputDescription = \"My Input created by CloudFormation\",\n InputDefinition = new AwsNative.IoTEvents.Inputs.InputInputDefinitionArgs\n {\n Attributes = \n {\n new AwsNative.IoTEvents.Inputs.InputAttributeArgs\n {\n JsonPath = \"foo\",\n },\n new AwsNative.IoTEvents.Inputs.InputAttributeArgs\n {\n JsonPath = \"bar\",\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotevents\"\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 := iotevents.NewInput(ctx, \"myInput\", \u0026iotevents.InputArgs{\n\t\t\tInputName: pulumi.String(\"myInput\"),\n\t\t\tInputDescription: pulumi.String(\"My Input created by CloudFormation\"),\n\t\t\tInputDefinition: \u0026iotevents.InputInputDefinitionArgs{\n\t\t\t\tAttributes: iotevents.InputAttributeArray{\n\t\t\t\t\t\u0026iotevents.InputAttributeArgs{\n\t\t\t\t\t\tJsonPath: pulumi.String(\"foo\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026iotevents.InputAttributeArgs{\n\t\t\t\t\t\tJsonPath: pulumi.String(\"bar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myInput = new aws_native.iotevents.Input(\"myInput\", {\n inputName: \"myInput\",\n inputDescription: \"My Input created by CloudFormation\",\n inputDefinition: {\n attributes: [\n {\n jsonPath: \"foo\",\n },\n {\n jsonPath: \"bar\",\n },\n ],\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_input = aws_native.iotevents.Input(\"myInput\",\n input_name=\"myInput\",\n input_description=\"My Input created by CloudFormation\",\n input_definition=aws_native.iotevents.InputInputDefinitionArgs(\n attributes=[\n aws_native.iotevents.InputAttributeArgs(\n json_path=\"foo\",\n ),\n aws_native.iotevents.InputAttributeArgs(\n json_path=\"bar\",\n ),\n ],\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myInput = new AwsNative.IoTEvents.Input(\"myInput\", new AwsNative.IoTEvents.InputArgs\n {\n InputName = \"myInput\",\n InputDescription = \"My Input created by CloudFormation\",\n InputDefinition = new AwsNative.IoTEvents.Inputs.InputInputDefinitionArgs\n {\n Attributes = \n {\n new AwsNative.IoTEvents.Inputs.InputAttributeArgs\n {\n JsonPath = \"foo\",\n },\n new AwsNative.IoTEvents.Inputs.InputAttributeArgs\n {\n JsonPath = \"bar\",\n },\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotevents\"\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 := iotevents.NewInput(ctx, \"myInput\", \u0026iotevents.InputArgs{\n\t\t\tInputName: pulumi.String(\"myInput\"),\n\t\t\tInputDescription: pulumi.String(\"My Input created by CloudFormation\"),\n\t\t\tInputDefinition: \u0026iotevents.InputInputDefinitionArgs{\n\t\t\t\tAttributes: iotevents.InputAttributeArray{\n\t\t\t\t\t\u0026iotevents.InputAttributeArgs{\n\t\t\t\t\t\tJsonPath: pulumi.String(\"foo\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026iotevents.InputAttributeArgs{\n\t\t\t\t\t\tJsonPath: pulumi.String(\"bar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myInput = new aws_native.iotevents.Input(\"myInput\", {\n inputName: \"myInput\",\n inputDescription: \"My Input created by CloudFormation\",\n inputDefinition: {\n attributes: [\n {\n jsonPath: \"foo\",\n },\n {\n jsonPath: \"bar\",\n },\n ],\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_input = aws_native.iotevents.Input(\"myInput\",\n input_name=\"myInput\",\n input_description=\"My Input created by CloudFormation\",\n input_definition=aws_native.iotevents.InputInputDefinitionArgs(\n attributes=[\n aws_native.iotevents.InputAttributeArgs(\n json_path=\"foo\",\n ),\n aws_native.iotevents.InputAttributeArgs(\n json_path=\"bar\",\n ),\n ],\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "inputDefinition": { "$ref": "#/types/aws-native:iotevents:InputInputDefinition", @@ -42010,7 +42010,7 @@ ] }, "aws-native:ivs:Channel": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var channel = new AwsNative.IVS.Channel(\"channel\", new AwsNative.IVS.ChannelArgs\n {\n Name = \"MyChannel\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n var streamKey = new AwsNative.IVS.StreamKey(\"streamKey\", new AwsNative.IVS.StreamKeyArgs\n {\n ChannelArn = channel.Id,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n this.ChannelArn = channel.Id;\n this.ChannelIngestEndpoint = channel.Ingest_endpoint;\n this.ChannelPlaybackUrl = channel.Playback_url;\n this.StreamKeyArn = streamKey.Id;\n }\n\n [Output(\"channelArn\")]\n public Output\u003cstring\u003e ChannelArn { get; set; }\n [Output(\"channelIngestEndpoint\")]\n public Output\u003cstring\u003e ChannelIngestEndpoint { get; set; }\n [Output(\"channelPlaybackUrl\")]\n public Output\u003cstring\u003e ChannelPlaybackUrl { get; set; }\n [Output(\"streamKeyArn\")]\n public Output\u003cstring\u003e StreamKeyArn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tchannel, err := ivs.NewChannel(ctx, \"channel\", \u0026ivs.ChannelArgs{\n\t\t\tName: pulumi.String(\"MyChannel\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstreamKey, err := ivs.NewStreamKey(ctx, \"streamKey\", \u0026ivs.StreamKeyArgs{\n\t\t\tChannelArn: channel.ID(),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"channelArn\", channel.ID())\n\t\tctx.Export(\"channelIngestEndpoint\", channel.Ingest_endpoint)\n\t\tctx.Export(\"channelPlaybackUrl\", channel.Playback_url)\n\t\tctx.Export(\"streamKeyArn\", streamKey.ID())\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst channel = new aws_native.ivs.Channel(\"channel\", {\n name: \"MyChannel\",\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nconst streamKey = new aws_native.ivs.StreamKey(\"streamKey\", {\n channelArn: channel.id,\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nexport const channelArn = channel.id;\nexport const channelIngestEndpoint = channel.ingestEndpoint;\nexport const channelPlaybackUrl = channel.playbackUrl;\nexport const streamKeyArn = streamKey.id;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nchannel = aws_native.ivs.Channel(\"channel\",\n name=\"MyChannel\",\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\nstream_key = aws_native.ivs.StreamKey(\"streamKey\",\n channel_arn=channel.id,\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\npulumi.export(\"channelArn\", channel.id)\npulumi.export(\"channelIngestEndpoint\", channel.ingest_endpoint)\npulumi.export(\"channelPlaybackUrl\", channel.playback_url)\npulumi.export(\"streamKeyArn\", stream_key.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var channel = new AwsNative.IVS.Channel(\"channel\", new AwsNative.IVS.ChannelArgs\n {\n Name = \"MyChannel\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n var streamKey = new AwsNative.IVS.StreamKey(\"streamKey\", new AwsNative.IVS.StreamKeyArgs\n {\n ChannelArn = channel.Id,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n this.ChannelArn = channel.Id;\n this.ChannelIngestEndpoint = channel.Ingest_endpoint;\n this.ChannelPlaybackUrl = channel.Playback_url;\n this.StreamKeyArn = streamKey.Id;\n }\n\n [Output(\"channelArn\")]\n public Output\u003cstring\u003e ChannelArn { get; set; }\n [Output(\"channelIngestEndpoint\")]\n public Output\u003cstring\u003e ChannelIngestEndpoint { get; set; }\n [Output(\"channelPlaybackUrl\")]\n public Output\u003cstring\u003e ChannelPlaybackUrl { get; set; }\n [Output(\"streamKeyArn\")]\n public Output\u003cstring\u003e StreamKeyArn { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tchannel, err := ivs.NewChannel(ctx, \"channel\", \u0026ivs.ChannelArgs{\n\t\t\tName: pulumi.String(\"MyChannel\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstreamKey, err := ivs.NewStreamKey(ctx, \"streamKey\", \u0026ivs.StreamKeyArgs{\n\t\t\tChannelArn: channel.ID(),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"channelArn\", channel.ID())\n\t\tctx.Export(\"channelIngestEndpoint\", channel.Ingest_endpoint)\n\t\tctx.Export(\"channelPlaybackUrl\", channel.Playback_url)\n\t\tctx.Export(\"streamKeyArn\", streamKey.ID())\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst channel = new aws_native.ivs.Channel(\"channel\", {\n name: \"MyChannel\",\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nconst streamKey = new aws_native.ivs.StreamKey(\"streamKey\", {\n channelArn: channel.id,\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nexport const channelArn = channel.id;\nexport const channelIngestEndpoint = channel.ingestEndpoint;\nexport const channelPlaybackUrl = channel.playbackUrl;\nexport const streamKeyArn = streamKey.id;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nchannel = aws_native.ivs.Channel(\"channel\",\n name=\"MyChannel\",\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\nstream_key = aws_native.ivs.StreamKey(\"streamKey\",\n channel_arn=channel.id,\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\npulumi.export(\"channelArn\", channel.id)\npulumi.export(\"channelIngestEndpoint\", channel.ingest_endpoint)\npulumi.export(\"channelPlaybackUrl\", channel.playback_url)\npulumi.export(\"streamKeyArn\", stream_key.id)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -42086,7 +42086,7 @@ } }, "aws-native:ivs:PlaybackKeyPair": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var playbackKeyPair = new AwsNative.IVS.PlaybackKeyPair(\"playbackKeyPair\", new AwsNative.IVS.PlaybackKeyPairArgs\n {\n PublicKeyMaterial = @\"-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n\",\n Name = \"MyPlaybackKeyPair\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n this.PlaybackKeyPairArn = playbackKeyPair.Id;\n this.PlaybackKeyPairFingerprint = playbackKeyPair.Fingerprint;\n }\n\n [Output(\"playbackKeyPairArn\")]\n public Output\u003cstring\u003e PlaybackKeyPairArn { get; set; }\n [Output(\"playbackKeyPairFingerprint\")]\n public Output\u003cstring\u003e PlaybackKeyPairFingerprint { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tplaybackKeyPair, err := ivs.NewPlaybackKeyPair(ctx, \"playbackKeyPair\", \u0026ivs.PlaybackKeyPairArgs{\n\t\t\tPublicKeyMaterial: pulumi.String(\"-----BEGIN PUBLIC KEY-----\\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\\n-----END PUBLIC KEY-----\\n\"),\n\t\t\tName: pulumi.String(\"MyPlaybackKeyPair\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"playbackKeyPairArn\", playbackKeyPair.ID())\n\t\tctx.Export(\"playbackKeyPairFingerprint\", playbackKeyPair.Fingerprint)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst playbackKeyPair = new aws_native.ivs.PlaybackKeyPair(\"playbackKeyPair\", {\n publicKeyMaterial: `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n`,\n name: \"MyPlaybackKeyPair\",\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nexport const playbackKeyPairArn = playbackKeyPair.id;\nexport const playbackKeyPairFingerprint = playbackKeyPair.fingerprint;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nplayback_key_pair = aws_native.ivs.PlaybackKeyPair(\"playbackKeyPair\",\n public_key_material=\"\"\"-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n\"\"\",\n name=\"MyPlaybackKeyPair\",\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\npulumi.export(\"playbackKeyPairArn\", playback_key_pair.id)\npulumi.export(\"playbackKeyPairFingerprint\", playback_key_pair.fingerprint)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var playbackKeyPair = new AwsNative.IVS.PlaybackKeyPair(\"playbackKeyPair\", new AwsNative.IVS.PlaybackKeyPairArgs\n {\n PublicKeyMaterial = @\"-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n\",\n Name = \"MyPlaybackKeyPair\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"MyKey\",\n Value = \"MyValue\",\n },\n },\n });\n this.PlaybackKeyPairArn = playbackKeyPair.Id;\n this.PlaybackKeyPairFingerprint = playbackKeyPair.Fingerprint;\n }\n\n [Output(\"playbackKeyPairArn\")]\n public Output\u003cstring\u003e PlaybackKeyPairArn { get; set; }\n [Output(\"playbackKeyPairFingerprint\")]\n public Output\u003cstring\u003e PlaybackKeyPairFingerprint { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivs\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tplaybackKeyPair, err := ivs.NewPlaybackKeyPair(ctx, \"playbackKeyPair\", \u0026ivs.PlaybackKeyPairArgs{\n\t\t\tPublicKeyMaterial: pulumi.String(\"-----BEGIN PUBLIC KEY-----\\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\\n-----END PUBLIC KEY-----\\n\"),\n\t\t\tName: pulumi.String(\"MyPlaybackKeyPair\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"MyKey\"),\n\t\t\t\t\tValue: pulumi.String(\"MyValue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"playbackKeyPairArn\", playbackKeyPair.ID())\n\t\tctx.Export(\"playbackKeyPairFingerprint\", playbackKeyPair.Fingerprint)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst playbackKeyPair = new aws_native.ivs.PlaybackKeyPair(\"playbackKeyPair\", {\n publicKeyMaterial: `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n`,\n name: \"MyPlaybackKeyPair\",\n tags: [{\n key: \"MyKey\",\n value: \"MyValue\",\n }],\n});\nexport const playbackKeyPairArn = playbackKeyPair.id;\nexport const playbackKeyPairFingerprint = playbackKeyPair.fingerprint;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nplayback_key_pair = aws_native.ivs.PlaybackKeyPair(\"playbackKeyPair\",\n public_key_material=\"\"\"-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEwOR43ETwEoWif1i14aL8GtDMNkT/kBQm\nh4sas9P//bjCU988rmQQXVBfftKT9xngg+W6hzOEpeUlCRlAtz6b6U79naYYRaSk\nK/UhYGWkXlbJlc9zn13imYWgVGe/BMFp\n-----END PUBLIC KEY-----\n\"\"\",\n name=\"MyPlaybackKeyPair\",\n tags=[aws_native.TagArgs(\n key=\"MyKey\",\n value=\"MyValue\",\n )])\npulumi.export(\"playbackKeyPairArn\", playback_key_pair.id)\npulumi.export(\"playbackKeyPairFingerprint\", playback_key_pair.fingerprint)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -42608,7 +42608,7 @@ ] }, "aws-native:kinesisfirehose:DeliveryStream": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var deliveryRoleArn = config.Require(\"deliveryRoleArn\");\n var deliveryStreamName = config.Require(\"deliveryStreamName\");\n var kinesisStreamARN = config.Require(\"kinesisStreamARN\");\n var kinesisStreamRoleArn = config.Require(\"kinesisStreamRoleArn\");\n var s3bucketArn = config.Require(\"s3bucketArn\");\n var deliverystream = new AwsNative.KinesisFirehose.DeliveryStream(\"deliverystream\", new AwsNative.KinesisFirehose.DeliveryStreamArgs\n {\n DeliveryStreamName = deliveryStreamName,\n DeliveryStreamType = \"KinesisStreamAsSource\",\n KinesisStreamSourceConfiguration = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamKinesisStreamSourceConfigurationArgs\n {\n KinesisStreamARN = kinesisStreamARN,\n RoleARN = kinesisStreamRoleArn,\n },\n ExtendedS3DestinationConfiguration = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamExtendedS3DestinationConfigurationArgs\n {\n BucketARN = s3bucketArn,\n BufferingHints = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamBufferingHintsArgs\n {\n IntervalInSeconds = 60,\n SizeInMBs = 50,\n },\n CompressionFormat = \"UNCOMPRESSED\",\n Prefix = \"firehose/\",\n RoleARN = deliveryRoleArn,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/kinesisfirehose\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tdeliveryRoleArn := cfg.Require(\"deliveryRoleArn\")\n\t\tdeliveryStreamName := cfg.Require(\"deliveryStreamName\")\n\t\tkinesisStreamARN := cfg.Require(\"kinesisStreamARN\")\n\t\tkinesisStreamRoleArn := cfg.Require(\"kinesisStreamRoleArn\")\n\t\ts3bucketArn := cfg.Require(\"s3bucketArn\")\n\t\t_, err := kinesisfirehose.NewDeliveryStream(ctx, \"deliverystream\", \u0026kinesisfirehose.DeliveryStreamArgs{\n\t\t\tDeliveryStreamName: pulumi.String(deliveryStreamName),\n\t\t\tDeliveryStreamType: pulumi.String(\"KinesisStreamAsSource\"),\n\t\t\tKinesisStreamSourceConfiguration: \u0026kinesisfirehose.DeliveryStreamKinesisStreamSourceConfigurationArgs{\n\t\t\t\tKinesisStreamARN: pulumi.String(kinesisStreamARN),\n\t\t\t\tRoleARN: pulumi.String(kinesisStreamRoleArn),\n\t\t\t},\n\t\t\tExtendedS3DestinationConfiguration: \u0026kinesisfirehose.DeliveryStreamExtendedS3DestinationConfigurationArgs{\n\t\t\t\tBucketARN: pulumi.String(s3bucketArn),\n\t\t\t\tBufferingHints: \u0026kinesisfirehose.DeliveryStreamBufferingHintsArgs{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(60),\n\t\t\t\t\tSizeInMBs: pulumi.Int(50),\n\t\t\t\t},\n\t\t\t\tCompressionFormat: pulumi.String(\"UNCOMPRESSED\"),\n\t\t\t\tPrefix: pulumi.String(\"firehose/\"),\n\t\t\t\tRoleARN: pulumi.String(deliveryRoleArn),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst deliveryRoleArn = config.require(\"deliveryRoleArn\");\nconst deliveryStreamName = config.require(\"deliveryStreamName\");\nconst kinesisStreamARN = config.require(\"kinesisStreamARN\");\nconst kinesisStreamRoleArn = config.require(\"kinesisStreamRoleArn\");\nconst s3bucketArn = config.require(\"s3bucketArn\");\nconst deliverystream = new aws_native.kinesisfirehose.DeliveryStream(\"deliverystream\", {\n deliveryStreamName: deliveryStreamName,\n deliveryStreamType: \"KinesisStreamAsSource\",\n kinesisStreamSourceConfiguration: {\n kinesisStreamARN: kinesisStreamARN,\n roleARN: kinesisStreamRoleArn,\n },\n extendedS3DestinationConfiguration: {\n bucketARN: s3bucketArn,\n bufferingHints: {\n intervalInSeconds: 60,\n sizeInMBs: 50,\n },\n compressionFormat: \"UNCOMPRESSED\",\n prefix: \"firehose/\",\n roleARN: deliveryRoleArn,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ndelivery_role_arn = config.require(\"deliveryRoleArn\")\ndelivery_stream_name = config.require(\"deliveryStreamName\")\nkinesis_stream_arn = config.require(\"kinesisStreamARN\")\nkinesis_stream_role_arn = config.require(\"kinesisStreamRoleArn\")\ns3bucket_arn = config.require(\"s3bucketArn\")\ndeliverystream = aws_native.kinesisfirehose.DeliveryStream(\"deliverystream\",\n delivery_stream_name=delivery_stream_name,\n delivery_stream_type=\"KinesisStreamAsSource\",\n kinesis_stream_source_configuration=aws_native.kinesisfirehose.DeliveryStreamKinesisStreamSourceConfigurationArgs(\n kinesis_stream_arn=kinesis_stream_arn,\n role_arn=kinesis_stream_role_arn,\n ),\n extended_s3_destination_configuration=aws_native.kinesisfirehose.DeliveryStreamExtendedS3DestinationConfigurationArgs(\n bucket_arn=s3bucket_arn,\n buffering_hints=aws_native.kinesisfirehose.DeliveryStreamBufferingHintsArgs(\n interval_in_seconds=60,\n size_in_mbs=50,\n ),\n compression_format=\"UNCOMPRESSED\",\n prefix=\"firehose/\",\n role_arn=delivery_role_arn,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var deliveryRoleArn = config.Require(\"deliveryRoleArn\");\n var deliveryStreamName = config.Require(\"deliveryStreamName\");\n var kinesisStreamARN = config.Require(\"kinesisStreamARN\");\n var kinesisStreamRoleArn = config.Require(\"kinesisStreamRoleArn\");\n var s3bucketArn = config.Require(\"s3bucketArn\");\n var deliverystream = new AwsNative.KinesisFirehose.DeliveryStream(\"deliverystream\", new AwsNative.KinesisFirehose.DeliveryStreamArgs\n {\n DeliveryStreamName = deliveryStreamName,\n DeliveryStreamType = \"KinesisStreamAsSource\",\n KinesisStreamSourceConfiguration = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamKinesisStreamSourceConfigurationArgs\n {\n KinesisStreamARN = kinesisStreamARN,\n RoleARN = kinesisStreamRoleArn,\n },\n ExtendedS3DestinationConfiguration = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamExtendedS3DestinationConfigurationArgs\n {\n BucketARN = s3bucketArn,\n BufferingHints = new AwsNative.KinesisFirehose.Inputs.DeliveryStreamBufferingHintsArgs\n {\n IntervalInSeconds = 60,\n SizeInMBs = 50,\n },\n CompressionFormat = \"UNCOMPRESSED\",\n Prefix = \"firehose/\",\n RoleARN = deliveryRoleArn,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/kinesisfirehose\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tdeliveryRoleArn := cfg.Require(\"deliveryRoleArn\")\n\t\tdeliveryStreamName := cfg.Require(\"deliveryStreamName\")\n\t\tkinesisStreamARN := cfg.Require(\"kinesisStreamARN\")\n\t\tkinesisStreamRoleArn := cfg.Require(\"kinesisStreamRoleArn\")\n\t\ts3bucketArn := cfg.Require(\"s3bucketArn\")\n\t\t_, err := kinesisfirehose.NewDeliveryStream(ctx, \"deliverystream\", \u0026kinesisfirehose.DeliveryStreamArgs{\n\t\t\tDeliveryStreamName: pulumi.String(deliveryStreamName),\n\t\t\tDeliveryStreamType: pulumi.String(\"KinesisStreamAsSource\"),\n\t\t\tKinesisStreamSourceConfiguration: \u0026kinesisfirehose.DeliveryStreamKinesisStreamSourceConfigurationArgs{\n\t\t\t\tKinesisStreamARN: pulumi.String(kinesisStreamARN),\n\t\t\t\tRoleARN: pulumi.String(kinesisStreamRoleArn),\n\t\t\t},\n\t\t\tExtendedS3DestinationConfiguration: \u0026kinesisfirehose.DeliveryStreamExtendedS3DestinationConfigurationArgs{\n\t\t\t\tBucketARN: pulumi.String(s3bucketArn),\n\t\t\t\tBufferingHints: \u0026kinesisfirehose.DeliveryStreamBufferingHintsArgs{\n\t\t\t\t\tIntervalInSeconds: pulumi.Int(60),\n\t\t\t\t\tSizeInMBs: pulumi.Int(50),\n\t\t\t\t},\n\t\t\t\tCompressionFormat: pulumi.String(\"UNCOMPRESSED\"),\n\t\t\t\tPrefix: pulumi.String(\"firehose/\"),\n\t\t\t\tRoleARN: pulumi.String(deliveryRoleArn),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst deliveryRoleArn = config.require(\"deliveryRoleArn\");\nconst deliveryStreamName = config.require(\"deliveryStreamName\");\nconst kinesisStreamARN = config.require(\"kinesisStreamARN\");\nconst kinesisStreamRoleArn = config.require(\"kinesisStreamRoleArn\");\nconst s3bucketArn = config.require(\"s3bucketArn\");\nconst deliverystream = new aws_native.kinesisfirehose.DeliveryStream(\"deliverystream\", {\n deliveryStreamName: deliveryStreamName,\n deliveryStreamType: \"KinesisStreamAsSource\",\n kinesisStreamSourceConfiguration: {\n kinesisStreamARN: kinesisStreamARN,\n roleARN: kinesisStreamRoleArn,\n },\n extendedS3DestinationConfiguration: {\n bucketARN: s3bucketArn,\n bufferingHints: {\n intervalInSeconds: 60,\n sizeInMBs: 50,\n },\n compressionFormat: \"UNCOMPRESSED\",\n prefix: \"firehose/\",\n roleARN: deliveryRoleArn,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ndelivery_role_arn = config.require(\"deliveryRoleArn\")\ndelivery_stream_name = config.require(\"deliveryStreamName\")\nkinesis_stream_arn = config.require(\"kinesisStreamARN\")\nkinesis_stream_role_arn = config.require(\"kinesisStreamRoleArn\")\ns3bucket_arn = config.require(\"s3bucketArn\")\ndeliverystream = aws_native.kinesisfirehose.DeliveryStream(\"deliverystream\",\n delivery_stream_name=delivery_stream_name,\n delivery_stream_type=\"KinesisStreamAsSource\",\n kinesis_stream_source_configuration=aws_native.kinesisfirehose.DeliveryStreamKinesisStreamSourceConfigurationArgs(\n kinesis_stream_arn=kinesis_stream_arn,\n role_arn=kinesis_stream_role_arn,\n ),\n extended_s3_destination_configuration=aws_native.kinesisfirehose.DeliveryStreamExtendedS3DestinationConfigurationArgs(\n bucket_arn=s3bucket_arn,\n buffering_hints=aws_native.kinesisfirehose.DeliveryStreamBufferingHintsArgs(\n interval_in_seconds=60,\n size_in_mbs=50,\n ),\n compression_format=\"UNCOMPRESSED\",\n prefix=\"firehose/\",\n role_arn=delivery_role_arn,\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -43190,7 +43190,7 @@ ] }, "aws-native:lambda:Function": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var primer = new AwsNative.Lambda.Function(\"primer\", new AwsNative.Lambda.FunctionArgs\n {\n Runtime = \"nodejs12.x\",\n Role = \"arn:aws:iam::123456789012:role/lambda-role\",\n Handler = \"index.handler\",\n Code = new AwsNative.Lambda.Inputs.FunctionCodeArgs\n {\n ZipFile = @\"var aws = require('aws-sdk')\nvar response = require('cfn-response')\nexports.handler = function(event, context) {\n console.log(\"\"REQUEST RECEIVED:\\n\"\" + JSON.stringify(event))\n // For Delete requests, immediately send a SUCCESS response.\n if (event.RequestType == \"\"Delete\"\") {\n response.send(event, context, \"\"SUCCESS\"\")\n return\n }\n var responseStatus = \"\"FAILED\"\"\n var responseData = {}\n var functionName = event.ResourceProperties.FunctionName\n var lambda = new aws.Lambda()\n lambda.invoke({ FunctionName: functionName }, function(err, invokeResult) {\n if (err) {\n responseData = {Error: \"\"Invoke call failed\"\"}\n console.log(responseData.Error + \"\":\\n\"\", err)\n }\n else responseStatus = \"\"SUCCESS\"\"\n response.send(event, context, responseStatus, responseData)\n })\n}\n\",\n },\n Description = \"Invoke a function during stack creation.\",\n TracingConfig = new AwsNative.Lambda.Inputs.FunctionTracingConfigArgs\n {\n Mode = \"Active\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/lambda\"\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 := lambda.NewFunction(ctx, \"primer\", \u0026lambda.FunctionArgs{\n\t\t\tRuntime: pulumi.String(\"nodejs12.x\"),\n\t\t\tRole: pulumi.String(\"arn:aws:iam::123456789012:role/lambda-role\"),\n\t\t\tHandler: pulumi.String(\"index.handler\"),\n\t\t\tCode: \u0026lambda.FunctionCodeArgs{\n\t\t\t\tZipFile: pulumi.String(\"var aws = require('aws-sdk')\\nvar response = require('cfn-response')\\nexports.handler = function(event, context) {\\n console.log(\\\"REQUEST RECEIVED:\\\\n\\\" + JSON.stringify(event))\\n // For Delete requests, immediately send a SUCCESS response.\\n if (event.RequestType == \\\"Delete\\\") {\\n response.send(event, context, \\\"SUCCESS\\\")\\n return\\n }\\n var responseStatus = \\\"FAILED\\\"\\n var responseData = {}\\n var functionName = event.ResourceProperties.FunctionName\\n var lambda = new aws.Lambda()\\n lambda.invoke({ FunctionName: functionName }, function(err, invokeResult) {\\n if (err) {\\n responseData = {Error: \\\"Invoke call failed\\\"}\\n console.log(responseData.Error + \\\":\\\\n\\\", err)\\n }\\n else responseStatus = \\\"SUCCESS\\\"\\n response.send(event, context, responseStatus, responseData)\\n })\\n}\\n\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Invoke a function during stack creation.\"),\n\t\t\tTracingConfig: \u0026lambda.FunctionTracingConfigArgs{\n\t\t\t\tMode: pulumi.String(\"Active\"),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst primer = new aws_native.lambda.Function(\"primer\", {\n runtime: \"nodejs12.x\",\n role: \"arn:aws:iam::123456789012:role/lambda-role\",\n handler: \"index.handler\",\n code: {\n zipFile: `var aws = require('aws-sdk')\nvar response = require('cfn-response')\nexports.handler = function(event, context) {\n console.log(\"REQUEST RECEIVED:\\\\n\" + JSON.stringify(event))\n // For Delete requests, immediately send a SUCCESS response.\n if (event.RequestType == \"Delete\") {\n response.send(event, context, \"SUCCESS\")\n return\n }\n var responseStatus = \"FAILED\"\n var responseData = {}\n var functionName = event.ResourceProperties.FunctionName\n var lambda = new aws.Lambda()\n lambda.invoke({ FunctionName: functionName }, function(err, invokeResult) {\n if (err) {\n responseData = {Error: \"Invoke call failed\"}\n console.log(responseData.Error + \":\\\\n\", err)\n }\n else responseStatus = \"SUCCESS\"\n response.send(event, context, responseStatus, responseData)\n })\n}\n`,\n },\n description: \"Invoke a function during stack creation.\",\n tracingConfig: {\n mode: \"Active\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nprimer = aws_native.lambda_.Function(\"primer\",\n runtime=\"nodejs12.x\",\n role=\"arn:aws:iam::123456789012:role/lambda-role\",\n handler=\"index.handler\",\n code=aws_native.lambda..FunctionCodeArgs(\n zip_file=\"\"\"var aws = require('aws-sdk')\nvar response = require('cfn-response')\nexports.handler = function(event, context) {\n console.log(\"REQUEST RECEIVED:\\n\" + JSON.stringify(event))\n // For Delete requests, immediately send a SUCCESS response.\n if (event.RequestType == \"Delete\") {\n response.send(event, context, \"SUCCESS\")\n return\n }\n var responseStatus = \"FAILED\"\n var responseData = {}\n var functionName = event.ResourceProperties.FunctionName\n var lambda = new aws.Lambda()\n lambda.invoke({ FunctionName: functionName }, function(err, invokeResult) {\n if (err) {\n responseData = {Error: \"Invoke call failed\"}\n console.log(responseData.Error + \":\\n\", err)\n }\n else responseStatus = \"SUCCESS\"\n response.send(event, context, responseStatus, responseData)\n })\n}\n\"\"\",\n ),\n description=\"Invoke a function during stack creation.\",\n tracing_config=aws_native.lambda..FunctionTracingConfigArgs(\n mode=\"Active\",\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var function = new AwsNative.Lambda.Function(\"function\", new AwsNative.Lambda.FunctionArgs\n {\n Handler = \"index.handler\",\n Role = \"arn:aws:iam::123456789012:role/lambda-role\",\n Code = new AwsNative.Lambda.Inputs.FunctionCodeArgs\n {\n S3Bucket = \"my-bucket\",\n S3Key = \"function.zip\",\n },\n Runtime = \"nodejs12.x\",\n Timeout = 5,\n TracingConfig = new AwsNative.Lambda.Inputs.FunctionTracingConfigArgs\n {\n Mode = \"Active\",\n },\n VpcConfig = new AwsNative.Lambda.Inputs.FunctionVpcConfigArgs\n {\n SecurityGroupIds = \n {\n \"sg-085912345678492fb\",\n },\n SubnetIds = \n {\n \"subnet-071f712345678e7c8\",\n \"subnet-07fd123456788a036\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/lambda\"\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 := lambda.NewFunction(ctx, \"function\", \u0026lambda.FunctionArgs{\n\t\t\tHandler: pulumi.String(\"index.handler\"),\n\t\t\tRole: pulumi.String(\"arn:aws:iam::123456789012:role/lambda-role\"),\n\t\t\tCode: \u0026lambda.FunctionCodeArgs{\n\t\t\t\tS3Bucket: pulumi.String(\"my-bucket\"),\n\t\t\t\tS3Key: pulumi.String(\"function.zip\"),\n\t\t\t},\n\t\t\tRuntime: pulumi.String(\"nodejs12.x\"),\n\t\t\tTimeout: pulumi.Int(5),\n\t\t\tTracingConfig: \u0026lambda.FunctionTracingConfigArgs{\n\t\t\t\tMode: pulumi.String(\"Active\"),\n\t\t\t},\n\t\t\tVpcConfig: \u0026lambda.FunctionVpcConfigArgs{\n\t\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"sg-085912345678492fb\"),\n\t\t\t\t},\n\t\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"subnet-071f712345678e7c8\"),\n\t\t\t\t\tpulumi.String(\"subnet-07fd123456788a036\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst _function = new aws_native.lambda.Function(\"function\", {\n handler: \"index.handler\",\n role: \"arn:aws:iam::123456789012:role/lambda-role\",\n code: {\n s3Bucket: \"my-bucket\",\n s3Key: \"function.zip\",\n },\n runtime: \"nodejs12.x\",\n timeout: 5,\n tracingConfig: {\n mode: \"Active\",\n },\n vpcConfig: {\n securityGroupIds: [\"sg-085912345678492fb\"],\n subnetIds: [\n \"subnet-071f712345678e7c8\",\n \"subnet-07fd123456788a036\",\n ],\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nfunction = aws_native.lambda_.Function(\"function\",\n handler=\"index.handler\",\n role=\"arn:aws:iam::123456789012:role/lambda-role\",\n code=aws_native.lambda..FunctionCodeArgs(\n s3_bucket=\"my-bucket\",\n s3_key=\"function.zip\",\n ),\n runtime=\"nodejs12.x\",\n timeout=5,\n tracing_config=aws_native.lambda..FunctionTracingConfigArgs(\n mode=\"Active\",\n ),\n vpc_config=aws_native.lambda..FunctionVpcConfigArgs(\n security_group_ids=[\"sg-085912345678492fb\"],\n subnet_ids=[\n \"subnet-071f712345678e7c8\",\n \"subnet-07fd123456788a036\",\n ],\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -46070,7 +46070,7 @@ ] }, "aws-native:networkmanager:GlobalNetwork": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var globalNetwork = new AwsNative.NetworkManager.GlobalNetwork(\"globalNetwork\", new AwsNative.NetworkManager.GlobalNetworkArgs\n {\n });\n var site = new AwsNative.NetworkManager.Site(\"site\", new AwsNative.NetworkManager.SiteArgs\n {\n GlobalNetworkId = globalNetwork.Id,\n Location = new AwsNative.NetworkManager.Inputs.SiteLocationArgs\n {\n Address = \"227 W Monroe St, Chicago, IL 60606\",\n Latitude = \"41.8\",\n Longitude = \"-87.6\",\n },\n });\n var link = new AwsNative.NetworkManager.Link(\"link\", new AwsNative.NetworkManager.LinkArgs\n {\n Description = \"Broadband link\",\n GlobalNetworkId = globalNetwork.Id,\n SiteId = site.Site_id,\n Bandwidth = new AwsNative.NetworkManager.Inputs.LinkBandwidthArgs\n {\n DownloadSpeed = 20,\n UploadSpeed = 20,\n },\n Provider = \"AnyCompany\",\n Type = \"Broadband\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Name\",\n Value = \"broadband-link-1\",\n },\n },\n });\n var device = new AwsNative.NetworkManager.Device(\"device\", new AwsNative.NetworkManager.DeviceArgs\n {\n Description = \"Chicago office device\",\n GlobalNetworkId = globalNetwork.Id,\n SiteId = site.Site_id,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Network\",\n Value = \"north-america\",\n },\n },\n });\n var linkAssociation = new AwsNative.NetworkManager.LinkAssociation(\"linkAssociation\", new AwsNative.NetworkManager.LinkAssociationArgs\n {\n GlobalNetworkId = globalNetwork.Id,\n LinkId = link.Link_id,\n DeviceId = device.Device_id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/networkmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tglobalNetwork, err := networkmanager.NewGlobalNetwork(ctx, \"globalNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsite, err := networkmanager.NewSite(ctx, \"site\", \u0026networkmanager.SiteArgs{\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tLocation: \u0026networkmanager.SiteLocationArgs{\n\t\t\t\tAddress: pulumi.String(\"227 W Monroe St, Chicago, IL 60606\"),\n\t\t\t\tLatitude: pulumi.String(\"41.8\"),\n\t\t\t\tLongitude: pulumi.String(\"-87.6\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlink, err := networkmanager.NewLink(ctx, \"link\", \u0026networkmanager.LinkArgs{\n\t\t\tDescription: pulumi.String(\"Broadband link\"),\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tSiteId: site.Site_id,\n\t\t\tBandwidth: \u0026networkmanager.LinkBandwidthArgs{\n\t\t\t\tDownloadSpeed: pulumi.Int(20),\n\t\t\t\tUploadSpeed: pulumi.Int(20),\n\t\t\t},\n\t\t\tProvider: pulumi.String(\"AnyCompany\"),\n\t\t\tType: pulumi.String(\"Broadband\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Name\"),\n\t\t\t\t\tValue: pulumi.String(\"broadband-link-1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdevice, err := networkmanager.NewDevice(ctx, \"device\", \u0026networkmanager.DeviceArgs{\n\t\t\tDescription: pulumi.String(\"Chicago office device\"),\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tSiteId: site.Site_id,\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Network\"),\n\t\t\t\t\tValue: pulumi.String(\"north-america\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networkmanager.NewLinkAssociation(ctx, \"linkAssociation\", \u0026networkmanager.LinkAssociationArgs{\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tLinkId: link.Link_id,\n\t\t\tDeviceId: device.Device_id,\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst globalNetwork = new aws_native.networkmanager.GlobalNetwork(\"globalNetwork\", {});\nconst site = new aws_native.networkmanager.Site(\"site\", {\n globalNetworkId: globalNetwork.id,\n location: {\n address: \"227 W Monroe St, Chicago, IL 60606\",\n latitude: \"41.8\",\n longitude: \"-87.6\",\n },\n});\nconst link = new aws_native.networkmanager.Link(\"link\", {\n description: \"Broadband link\",\n globalNetworkId: globalNetwork.id,\n siteId: site.siteId,\n bandwidth: {\n downloadSpeed: 20,\n uploadSpeed: 20,\n },\n provider: \"AnyCompany\",\n type: \"Broadband\",\n tags: [{\n key: \"Name\",\n value: \"broadband-link-1\",\n }],\n});\nconst device = new aws_native.networkmanager.Device(\"device\", {\n description: \"Chicago office device\",\n globalNetworkId: globalNetwork.id,\n siteId: site.siteId,\n tags: [{\n key: \"Network\",\n value: \"north-america\",\n }],\n});\nconst linkAssociation = new aws_native.networkmanager.LinkAssociation(\"linkAssociation\", {\n globalNetworkId: globalNetwork.id,\n linkId: link.linkId,\n deviceId: device.deviceId,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nglobal_network = aws_native.networkmanager.GlobalNetwork(\"globalNetwork\")\nsite = aws_native.networkmanager.Site(\"site\",\n global_network_id=global_network.id,\n location=aws_native.networkmanager.SiteLocationArgs(\n address=\"227 W Monroe St, Chicago, IL 60606\",\n latitude=\"41.8\",\n longitude=\"-87.6\",\n ))\nlink = aws_native.networkmanager.Link(\"link\",\n description=\"Broadband link\",\n global_network_id=global_network.id,\n site_id=site.site_id,\n bandwidth=aws_native.networkmanager.LinkBandwidthArgs(\n download_speed=20,\n upload_speed=20,\n ),\n provider=\"AnyCompany\",\n type=\"Broadband\",\n tags=[aws_native.TagArgs(\n key=\"Name\",\n value=\"broadband-link-1\",\n )])\ndevice = aws_native.networkmanager.Device(\"device\",\n description=\"Chicago office device\",\n global_network_id=global_network.id,\n site_id=site.site_id,\n tags=[aws_native.TagArgs(\n key=\"Network\",\n value=\"north-america\",\n )])\nlink_association = aws_native.networkmanager.LinkAssociation(\"linkAssociation\",\n global_network_id=global_network.id,\n link_id=link.link_id,\n device_id=device.device_id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var globalNetwork = new AwsNative.NetworkManager.GlobalNetwork(\"globalNetwork\", new AwsNative.NetworkManager.GlobalNetworkArgs\n {\n });\n var site = new AwsNative.NetworkManager.Site(\"site\", new AwsNative.NetworkManager.SiteArgs\n {\n GlobalNetworkId = globalNetwork.Id,\n Location = new AwsNative.NetworkManager.Inputs.SiteLocationArgs\n {\n Address = \"227 W Monroe St, Chicago, IL 60606\",\n Latitude = \"41.8\",\n Longitude = \"-87.6\",\n },\n });\n var link = new AwsNative.NetworkManager.Link(\"link\", new AwsNative.NetworkManager.LinkArgs\n {\n Description = \"Broadband link\",\n GlobalNetworkId = globalNetwork.Id,\n SiteId = site.Site_id,\n Bandwidth = new AwsNative.NetworkManager.Inputs.LinkBandwidthArgs\n {\n DownloadSpeed = 20,\n UploadSpeed = 20,\n },\n Provider = \"AnyCompany\",\n Type = \"Broadband\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Name\",\n Value = \"broadband-link-1\",\n },\n },\n });\n var device = new AwsNative.NetworkManager.Device(\"device\", new AwsNative.NetworkManager.DeviceArgs\n {\n Description = \"Chicago office device\",\n GlobalNetworkId = globalNetwork.Id,\n SiteId = site.Site_id,\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Network\",\n Value = \"north-america\",\n },\n },\n });\n var linkAssociation = new AwsNative.NetworkManager.LinkAssociation(\"linkAssociation\", new AwsNative.NetworkManager.LinkAssociationArgs\n {\n GlobalNetworkId = globalNetwork.Id,\n LinkId = link.Link_id,\n DeviceId = device.Device_id,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/networkmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tglobalNetwork, err := networkmanager.NewGlobalNetwork(ctx, \"globalNetwork\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsite, err := networkmanager.NewSite(ctx, \"site\", \u0026networkmanager.SiteArgs{\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tLocation: \u0026networkmanager.SiteLocationArgs{\n\t\t\t\tAddress: pulumi.String(\"227 W Monroe St, Chicago, IL 60606\"),\n\t\t\t\tLatitude: pulumi.String(\"41.8\"),\n\t\t\t\tLongitude: pulumi.String(\"-87.6\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tlink, err := networkmanager.NewLink(ctx, \"link\", \u0026networkmanager.LinkArgs{\n\t\t\tDescription: pulumi.String(\"Broadband link\"),\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tSiteId: site.Site_id,\n\t\t\tBandwidth: \u0026networkmanager.LinkBandwidthArgs{\n\t\t\t\tDownloadSpeed: pulumi.Int(20),\n\t\t\t\tUploadSpeed: pulumi.Int(20),\n\t\t\t},\n\t\t\tProvider: pulumi.String(\"AnyCompany\"),\n\t\t\tType: pulumi.String(\"Broadband\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Name\"),\n\t\t\t\t\tValue: pulumi.String(\"broadband-link-1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdevice, err := networkmanager.NewDevice(ctx, \"device\", \u0026networkmanager.DeviceArgs{\n\t\t\tDescription: pulumi.String(\"Chicago office device\"),\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tSiteId: site.Site_id,\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Network\"),\n\t\t\t\t\tValue: pulumi.String(\"north-america\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networkmanager.NewLinkAssociation(ctx, \"linkAssociation\", \u0026networkmanager.LinkAssociationArgs{\n\t\t\tGlobalNetworkId: globalNetwork.ID(),\n\t\t\tLinkId: link.Link_id,\n\t\t\tDeviceId: device.Device_id,\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst globalNetwork = new aws_native.networkmanager.GlobalNetwork(\"globalNetwork\", {});\nconst site = new aws_native.networkmanager.Site(\"site\", {\n globalNetworkId: globalNetwork.id,\n location: {\n address: \"227 W Monroe St, Chicago, IL 60606\",\n latitude: \"41.8\",\n longitude: \"-87.6\",\n },\n});\nconst link = new aws_native.networkmanager.Link(\"link\", {\n description: \"Broadband link\",\n globalNetworkId: globalNetwork.id,\n siteId: site.siteId,\n bandwidth: {\n downloadSpeed: 20,\n uploadSpeed: 20,\n },\n provider: \"AnyCompany\",\n type: \"Broadband\",\n tags: [{\n key: \"Name\",\n value: \"broadband-link-1\",\n }],\n});\nconst device = new aws_native.networkmanager.Device(\"device\", {\n description: \"Chicago office device\",\n globalNetworkId: globalNetwork.id,\n siteId: site.siteId,\n tags: [{\n key: \"Network\",\n value: \"north-america\",\n }],\n});\nconst linkAssociation = new aws_native.networkmanager.LinkAssociation(\"linkAssociation\", {\n globalNetworkId: globalNetwork.id,\n linkId: link.linkId,\n deviceId: device.deviceId,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nglobal_network = aws_native.networkmanager.GlobalNetwork(\"globalNetwork\")\nsite = aws_native.networkmanager.Site(\"site\",\n global_network_id=global_network.id,\n location=aws_native.networkmanager.SiteLocationArgs(\n address=\"227 W Monroe St, Chicago, IL 60606\",\n latitude=\"41.8\",\n longitude=\"-87.6\",\n ))\nlink = aws_native.networkmanager.Link(\"link\",\n description=\"Broadband link\",\n global_network_id=global_network.id,\n site_id=site.site_id,\n bandwidth=aws_native.networkmanager.LinkBandwidthArgs(\n download_speed=20,\n upload_speed=20,\n ),\n provider=\"AnyCompany\",\n type=\"Broadband\",\n tags=[aws_native.TagArgs(\n key=\"Name\",\n value=\"broadband-link-1\",\n )])\ndevice = aws_native.networkmanager.Device(\"device\",\n description=\"Chicago office device\",\n global_network_id=global_network.id,\n site_id=site.site_id,\n tags=[aws_native.TagArgs(\n key=\"Network\",\n value=\"north-america\",\n )])\nlink_association = aws_native.networkmanager.LinkAssociation(\"linkAssociation\",\n global_network_id=global_network.id,\n link_id=link.link_id,\n device_id=device.device_id)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -46747,7 +46747,7 @@ ] }, "aws-native:opsworkscm:Server": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var pivotalKey = config.Require(\"pivotalKey\");\n var password = config.Require(\"password\");\n var myChefServer = new AwsNative.OpsWorksCM.Server(\"myChefServer\", new AwsNative.OpsWorksCM.ServerArgs\n {\n BackupRetentionCount = 12,\n CustomCertificate = \"-----BEGIN CERTIFICATE----- EXAMPLEqEXAMPLE== -----END CERTIFICATE-----\",\n CustomDomain = \"https://aws.my-company.com\",\n CustomPrivateKey = \"-----BEGIN RSA PRIVATE KEY----- EXAMPLEqEXAMPLE= -----END RSA PRIVATE KEY-----\",\n DisableAutomatedBackup = false,\n Engine = \"ChefAutomate\",\n EngineVersion = \"2\",\n EngineAttributes = \n {\n new AwsNative.OpsWorksCM.Inputs.ServerEngineAttributeArgs\n {\n Name = \"CHEF_AUTOMATE_PIVOTAL_KEY\",\n Value = pivotalKey,\n },\n new AwsNative.OpsWorksCM.Inputs.ServerEngineAttributeArgs\n {\n Name = \"CHEF_AUTOMATE_ADMIN_PASSWORD\",\n Value = password,\n },\n },\n EngineModel = \"Single\",\n InstanceProfileArn = \"INSTANCE-PROFILE-ARN\",\n InstanceType = \"r5.xlarge\",\n PreferredBackupWindow = \"08:00\",\n PreferredMaintenanceWindow = \"Fri:08:00\",\n ServiceRoleArn = \"SERVICE-ROLE-ARN\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Stage\",\n Value = \"Production\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Name\",\n Value = \"test-owcm-server\",\n },\n },\n });\n this.Endpoint = myChefServer.Endpoint;\n }\n\n [Output(\"endpoint\")]\n public Output\u003cstring\u003e Endpoint { get; set; }\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/opsworkscm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tpivotalKey := cfg.Require(\"pivotalKey\")\n\t\tpassword := cfg.Require(\"password\")\n\t\tmyChefServer, err := opsworkscm.NewServer(ctx, \"myChefServer\", \u0026opsworkscm.ServerArgs{\n\t\t\tBackupRetentionCount: pulumi.Int(12),\n\t\t\tCustomCertificate: pulumi.String(\"-----BEGIN CERTIFICATE----- EXAMPLEqEXAMPLE== -----END CERTIFICATE-----\"),\n\t\t\tCustomDomain: pulumi.String(\"https://aws.my-company.com\"),\n\t\t\tCustomPrivateKey: pulumi.String(\"-----BEGIN RSA PRIVATE KEY----- EXAMPLEqEXAMPLE= -----END RSA PRIVATE KEY-----\"),\n\t\t\tDisableAutomatedBackup: pulumi.Bool(false),\n\t\t\tEngine: pulumi.String(\"ChefAutomate\"),\n\t\t\tEngineVersion: pulumi.String(\"2\"),\n\t\t\tEngineAttributes: []opsworkscm.ServerEngineAttributeArgs{\n\t\t\t\t\u0026opsworkscm.ServerEngineAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"CHEF_AUTOMATE_PIVOTAL_KEY\"),\n\t\t\t\t\tValue: pulumi.String(pivotalKey),\n\t\t\t\t},\n\t\t\t\t\u0026opsworkscm.ServerEngineAttributeArgs{\n\t\t\t\t\tName: pulumi.String(\"CHEF_AUTOMATE_ADMIN_PASSWORD\"),\n\t\t\t\t\tValue: pulumi.String(password),\n\t\t\t\t},\n\t\t\t},\n\t\t\tEngineModel: pulumi.String(\"Single\"),\n\t\t\tInstanceProfileArn: pulumi.String(\"INSTANCE-PROFILE-ARN\"),\n\t\t\tInstanceType: pulumi.String(\"r5.xlarge\"),\n\t\t\tPreferredBackupWindow: pulumi.String(\"08:00\"),\n\t\t\tPreferredMaintenanceWindow: pulumi.String(\"Fri:08:00\"),\n\t\t\tServiceRoleArn: pulumi.String(\"SERVICE-ROLE-ARN\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Stage\"),\n\t\t\t\t\tValue: pulumi.String(\"Production\"),\n\t\t\t\t},\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Name\"),\n\t\t\t\t\tValue: pulumi.String(\"test-owcm-server\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"endpoint\", myChefServer.Endpoint)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst pivotalKey = config.require(\"pivotalKey\");\nconst password = config.require(\"password\");\nconst myChefServer = new aws_native.opsworkscm.Server(\"myChefServer\", {\n backupRetentionCount: \"12\",\n customCertificate: \"-----BEGIN CERTIFICATE----- EXAMPLEqEXAMPLE== -----END CERTIFICATE-----\",\n customDomain: \"https://aws.my-company.com\",\n customPrivateKey: \"-----BEGIN RSA PRIVATE KEY----- EXAMPLEqEXAMPLE= -----END RSA PRIVATE KEY-----\",\n disableAutomatedBackup: false,\n engine: \"ChefAutomate\",\n engineVersion: \"2\",\n engineAttributes: [\n {\n name: \"CHEF_AUTOMATE_PIVOTAL_KEY\",\n value: pivotalKey,\n },\n {\n name: \"CHEF_AUTOMATE_ADMIN_PASSWORD\",\n value: password,\n },\n ],\n engineModel: \"Single\",\n instanceProfileArn: \"INSTANCE-PROFILE-ARN\",\n instanceType: \"r5.xlarge\",\n preferredBackupWindow: \"08:00\",\n preferredMaintenanceWindow: \"Fri:08:00\",\n serviceRoleArn: \"SERVICE-ROLE-ARN\",\n tags: [\n {\n key: \"Stage\",\n value: \"Production\",\n },\n {\n key: \"Name\",\n value: \"test-owcm-server\",\n },\n ],\n});\nexport const endpoint = myChefServer.endpoint;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\npivotal_key = config.require(\"pivotalKey\")\npassword = config.require(\"password\")\nmy_chef_server = aws_native.opsworkscm.Server(\"myChefServer\",\n backup_retention_count=12,\n custom_certificate=\"-----BEGIN CERTIFICATE----- EXAMPLEqEXAMPLE== -----END CERTIFICATE-----\",\n custom_domain=\"https://aws.my-company.com\",\n custom_private_key=\"-----BEGIN RSA PRIVATE KEY----- EXAMPLEqEXAMPLE= -----END RSA PRIVATE KEY-----\",\n disable_automated_backup=False,\n engine=\"ChefAutomate\",\n engine_version=\"2\",\n engine_attributes=[\n aws_native.opsworkscm.ServerEngineAttributeArgs(\n name=\"CHEF_AUTOMATE_PIVOTAL_KEY\",\n value=pivotal_key,\n ),\n aws_native.opsworkscm.ServerEngineAttributeArgs(\n name=\"CHEF_AUTOMATE_ADMIN_PASSWORD\",\n value=password,\n ),\n ],\n engine_model=\"Single\",\n instance_profile_arn=\"INSTANCE-PROFILE-ARN\",\n instance_type=\"r5.xlarge\",\n preferred_backup_window=\"08:00\",\n preferred_maintenance_window=\"Fri:08:00\",\n service_role_arn=\"SERVICE-ROLE-ARN\",\n tags=[\n aws_native.TagArgs(\n key=\"Stage\",\n value=\"Production\",\n ),\n aws_native.TagArgs(\n key=\"Name\",\n value=\"test-owcm-server\",\n ),\n ])\npulumi.export(\"endpoint\", my_chef_server.endpoint)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -46969,7 +46969,7 @@ ] }, "aws-native:qldb:Stream": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myQLDBStream = new AwsNative.QLDB.Stream(\"myQLDBStream\", new AwsNative.QLDB.StreamArgs\n {\n ExclusiveEndTime = \"2020-05-29T22:59:59Z\",\n InclusiveStartTime = \"2020-05-29T00:00:00Z\",\n KinesisConfiguration = new AwsNative.QLDB.Inputs.StreamKinesisConfigurationArgs\n {\n AggregationEnabled = true,\n StreamArn = \"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n },\n LedgerName = \"exampleLedger\",\n RoleArn = \"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n StreamName = \"exampleLedger-stream\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Domain\",\n Value = \"Test\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/qldb\"\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 := qldb.NewStream(ctx, \"myQLDBStream\", \u0026qldb.StreamArgs{\n\t\t\tExclusiveEndTime: pulumi.String(\"2020-05-29T22:59:59Z\"),\n\t\t\tInclusiveStartTime: pulumi.String(\"2020-05-29T00:00:00Z\"),\n\t\t\tKinesisConfiguration: \u0026qldb.StreamKinesisConfigurationArgs{\n\t\t\t\tAggregationEnabled: pulumi.Bool(true),\n\t\t\t\tStreamArn: pulumi.String(\"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\"),\n\t\t\t},\n\t\t\tLedgerName: pulumi.String(\"exampleLedger\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/my-kinesis-stream-role\"),\n\t\t\tStreamName: pulumi.String(\"exampleLedger-stream\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Domain\"),\n\t\t\t\t\tValue: pulumi.String(\"Test\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myQLDBStream = new aws_native.qldb.Stream(\"myQLDBStream\", {\n exclusiveEndTime: \"2020-05-29T22:59:59Z\",\n inclusiveStartTime: \"2020-05-29T00:00:00Z\",\n kinesisConfiguration: {\n aggregationEnabled: true,\n streamArn: \"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n },\n ledgerName: \"exampleLedger\",\n roleArn: \"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n streamName: \"exampleLedger-stream\",\n tags: [{\n key: \"Domain\",\n value: \"Test\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_qldb_stream = aws_native.qldb.Stream(\"myQLDBStream\",\n exclusive_end_time=\"2020-05-29T22:59:59Z\",\n inclusive_start_time=\"2020-05-29T00:00:00Z\",\n kinesis_configuration=aws_native.qldb.StreamKinesisConfigurationArgs(\n aggregation_enabled=True,\n stream_arn=\"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n ),\n ledger_name=\"exampleLedger\",\n role_arn=\"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n stream_name=\"exampleLedger-stream\",\n tags=[aws_native.TagArgs(\n key=\"Domain\",\n value=\"Test\",\n )])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myQLDBStream = new AwsNative.QLDB.Stream(\"myQLDBStream\", new AwsNative.QLDB.StreamArgs\n {\n ExclusiveEndTime = \"2020-05-29T22:59:59Z\",\n InclusiveStartTime = \"2020-05-29T00:00:00Z\",\n KinesisConfiguration = new AwsNative.QLDB.Inputs.StreamKinesisConfigurationArgs\n {\n AggregationEnabled = true,\n StreamArn = \"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n },\n LedgerName = \"exampleLedger\",\n RoleArn = \"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n StreamName = \"exampleLedger-stream\",\n Tags = \n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Domain\",\n Value = \"Test\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/index\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/qldb\"\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 := qldb.NewStream(ctx, \"myQLDBStream\", \u0026qldb.StreamArgs{\n\t\t\tExclusiveEndTime: pulumi.String(\"2020-05-29T22:59:59Z\"),\n\t\t\tInclusiveStartTime: pulumi.String(\"2020-05-29T00:00:00Z\"),\n\t\t\tKinesisConfiguration: \u0026qldb.StreamKinesisConfigurationArgs{\n\t\t\t\tAggregationEnabled: pulumi.Bool(true),\n\t\t\t\tStreamArn: pulumi.String(\"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\"),\n\t\t\t},\n\t\t\tLedgerName: pulumi.String(\"exampleLedger\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/my-kinesis-stream-role\"),\n\t\t\tStreamName: pulumi.String(\"exampleLedger-stream\"),\n\t\t\tTags: []TagArgs{\n\t\t\t\t\u0026TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Domain\"),\n\t\t\t\t\tValue: pulumi.String(\"Test\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myQLDBStream = new aws_native.qldb.Stream(\"myQLDBStream\", {\n exclusiveEndTime: \"2020-05-29T22:59:59Z\",\n inclusiveStartTime: \"2020-05-29T00:00:00Z\",\n kinesisConfiguration: {\n aggregationEnabled: true,\n streamArn: \"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n },\n ledgerName: \"exampleLedger\",\n roleArn: \"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n streamName: \"exampleLedger-stream\",\n tags: [{\n key: \"Domain\",\n value: \"Test\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_qldb_stream = aws_native.qldb.Stream(\"myQLDBStream\",\n exclusive_end_time=\"2020-05-29T22:59:59Z\",\n inclusive_start_time=\"2020-05-29T00:00:00Z\",\n kinesis_configuration=aws_native.qldb.StreamKinesisConfigurationArgs(\n aggregation_enabled=True,\n stream_arn=\"arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb\",\n ),\n ledger_name=\"exampleLedger\",\n role_arn=\"arn:aws:iam::123456789012:role/my-kinesis-stream-role\",\n stream_name=\"exampleLedger-stream\",\n tags=[aws_native.TagArgs(\n key=\"Domain\",\n value=\"Test\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -51388,7 +51388,7 @@ ] }, "aws-native:sagemaker:Pipeline": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myPipeline = new AwsNative.SageMaker.Pipeline(\"myPipeline\", new AwsNative.SageMaker.PipelineArgs\n {\n PipelineName = \"\u003cpipeline-name\u003e\",\n PipelineDisplayName = \"\u003cpipeline-display-name\u003e\",\n PipelineDescription = \"\u003cpipeline-description\u003e\",\n PipelineDefinition = \n {\n { \"pipelineDefinitionBody\", \"{\\\"Version\\\":\\\"2020-12-01\\\",\\\"Parameters\\\":[{\\\"Name\\\":\\\"InputDataSource\\\",\\\"DefaultValue\\\":\\\"\\\"},{\\\"Name\\\":\\\"InstanceCount\\\",\\\"Type\\\":\\\"Integer\\\",\\\"DefaultValue\\\":1}],\\\"Steps\\\":[{\\\"Name\\\":\\\"Training1\\\",\\\"Type\\\":\\\"Training\\\",\\\"Arguments\\\":{\\\"InputDataConfig\\\":[{\\\"DataSource\\\":{\\\"S3DataSource\\\":{\\\"S3Uri\\\":{\\\"Get\\\":\\\"Parameters.InputDataSource\\\"}}}}],\\\"OutputDataConfig\\\":{\\\"S3OutputPath\\\":\\\"s3://my-s3-bucket/\\\"},\\\"ResourceConfig\\\":{\\\"InstanceType\\\":\\\"ml.m5.large\\\",\\\"InstanceCount\\\":{\\\"Get\\\":\\\"Parameters.InstanceCount\\\"},\\\"VolumeSizeInGB\\\":1024}}}]}\" },\n },\n RoleArn = \"arn:aws:iam::\u003caccount-id\u003e:root\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker\"\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 := sagemaker.NewPipeline(ctx, \"myPipeline\", \u0026sagemaker.PipelineArgs{\n\t\t\tPipelineName: pulumi.String(\"\u003cpipeline-name\u003e\"),\n\t\t\tPipelineDisplayName: pulumi.String(\"\u003cpipeline-display-name\u003e\"),\n\t\t\tPipelineDescription: pulumi.String(\"\u003cpipeline-description\u003e\"),\n\t\t\tPipelineDefinition: pulumi.Any{\n\t\t\t\tPipelineDefinitionBody: \"{\\\"Version\\\":\\\"2020-12-01\\\",\\\"Parameters\\\":[{\\\"Name\\\":\\\"InputDataSource\\\",\\\"DefaultValue\\\":\\\"\\\"},{\\\"Name\\\":\\\"InstanceCount\\\",\\\"Type\\\":\\\"Integer\\\",\\\"DefaultValue\\\":1}],\\\"Steps\\\":[{\\\"Name\\\":\\\"Training1\\\",\\\"Type\\\":\\\"Training\\\",\\\"Arguments\\\":{\\\"InputDataConfig\\\":[{\\\"DataSource\\\":{\\\"S3DataSource\\\":{\\\"S3Uri\\\":{\\\"Get\\\":\\\"Parameters.InputDataSource\\\"}}}}],\\\"OutputDataConfig\\\":{\\\"S3OutputPath\\\":\\\"s3://my-s3-bucket/\\\"},\\\"ResourceConfig\\\":{\\\"InstanceType\\\":\\\"ml.m5.large\\\",\\\"InstanceCount\\\":{\\\"Get\\\":\\\"Parameters.InstanceCount\\\"},\\\"VolumeSizeInGB\\\":1024}}}]}\",\n\t\t\t},\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::\u003caccount-id\u003e:root\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myPipeline = new aws_native.sagemaker.Pipeline(\"myPipeline\", {\n pipelineName: \"\u003cpipeline-name\u003e\",\n pipelineDisplayName: \"\u003cpipeline-display-name\u003e\",\n pipelineDescription: \"\u003cpipeline-description\u003e\",\n pipelineDefinition: {\n pipelineDefinitionBody: \"{\\\"Version\\\":\\\"2020-12-01\\\",\\\"Parameters\\\":[{\\\"Name\\\":\\\"InputDataSource\\\",\\\"DefaultValue\\\":\\\"\\\"},{\\\"Name\\\":\\\"InstanceCount\\\",\\\"Type\\\":\\\"Integer\\\",\\\"DefaultValue\\\":1}],\\\"Steps\\\":[{\\\"Name\\\":\\\"Training1\\\",\\\"Type\\\":\\\"Training\\\",\\\"Arguments\\\":{\\\"InputDataConfig\\\":[{\\\"DataSource\\\":{\\\"S3DataSource\\\":{\\\"S3Uri\\\":{\\\"Get\\\":\\\"Parameters.InputDataSource\\\"}}}}],\\\"OutputDataConfig\\\":{\\\"S3OutputPath\\\":\\\"s3://my-s3-bucket/\\\"},\\\"ResourceConfig\\\":{\\\"InstanceType\\\":\\\"ml.m5.large\\\",\\\"InstanceCount\\\":{\\\"Get\\\":\\\"Parameters.InstanceCount\\\"},\\\"VolumeSizeInGB\\\":1024}}}]}\",\n },\n roleArn: \"arn:aws:iam::\u003caccount-id\u003e:root\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_pipeline = aws_native.sagemaker.Pipeline(\"myPipeline\",\n pipeline_name=\"\u003cpipeline-name\u003e\",\n pipeline_display_name=\"\u003cpipeline-display-name\u003e\",\n pipeline_description=\"\u003cpipeline-description\u003e\",\n pipeline_definition={\n \"pipelineDefinitionBody\": \"{\\\"Version\\\":\\\"2020-12-01\\\",\\\"Parameters\\\":[{\\\"Name\\\":\\\"InputDataSource\\\",\\\"DefaultValue\\\":\\\"\\\"},{\\\"Name\\\":\\\"InstanceCount\\\",\\\"Type\\\":\\\"Integer\\\",\\\"DefaultValue\\\":1}],\\\"Steps\\\":[{\\\"Name\\\":\\\"Training1\\\",\\\"Type\\\":\\\"Training\\\",\\\"Arguments\\\":{\\\"InputDataConfig\\\":[{\\\"DataSource\\\":{\\\"S3DataSource\\\":{\\\"S3Uri\\\":{\\\"Get\\\":\\\"Parameters.InputDataSource\\\"}}}}],\\\"OutputDataConfig\\\":{\\\"S3OutputPath\\\":\\\"s3://my-s3-bucket/\\\"},\\\"ResourceConfig\\\":{\\\"InstanceType\\\":\\\"ml.m5.large\\\",\\\"InstanceCount\\\":{\\\"Get\\\":\\\"Parameters.InstanceCount\\\"},\\\"VolumeSizeInGB\\\":1024}}}]}\",\n },\n role_arn=\"arn:aws:iam::\u003caccount-id\u003e:root\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myPipeline = new AwsNative.SageMaker.Pipeline(\"myPipeline\", new AwsNative.SageMaker.PipelineArgs\n {\n PipelineName = \"\u003cpipeline-name\u003e\",\n PipelineDisplayName = \"\u003cpipeline-display-name\u003e\",\n PipelineDescription = \"\u003cpipeline-description\u003e\",\n PipelineDefinition = \n {\n { \"pipelineDefinitionS3Location\", \n {\n { \"bucket\", \"\u003cS3-bucket-location\u003e\" },\n { \"key\", \"\u003cS3-bucket-key\u003e\" },\n } },\n },\n RoleArn = \"arn:aws:iam::\u003caccount-id\u003e:root\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker\"\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 := sagemaker.NewPipeline(ctx, \"myPipeline\", \u0026sagemaker.PipelineArgs{\n\t\t\tPipelineName: pulumi.String(\"\u003cpipeline-name\u003e\"),\n\t\t\tPipelineDisplayName: pulumi.String(\"\u003cpipeline-display-name\u003e\"),\n\t\t\tPipelineDescription: pulumi.String(\"\u003cpipeline-description\u003e\"),\n\t\t\tPipelineDefinition: pulumi.Any{\n\t\t\t\tPipelineDefinitionS3Location: map[string]interface{}{\n\t\t\t\t\t\"bucket\": \"\u003cS3-bucket-location\u003e\",\n\t\t\t\t\t\"key\": \"\u003cS3-bucket-key\u003e\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::\u003caccount-id\u003e:root\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myPipeline = new aws_native.sagemaker.Pipeline(\"myPipeline\", {\n pipelineName: \"\u003cpipeline-name\u003e\",\n pipelineDisplayName: \"\u003cpipeline-display-name\u003e\",\n pipelineDescription: \"\u003cpipeline-description\u003e\",\n pipelineDefinition: {\n pipelineDefinitionS3Location: {\n bucket: \"\u003cS3-bucket-location\u003e\",\n key: \"\u003cS3-bucket-key\u003e\",\n },\n },\n roleArn: \"arn:aws:iam::\u003caccount-id\u003e:root\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_pipeline = aws_native.sagemaker.Pipeline(\"myPipeline\",\n pipeline_name=\"\u003cpipeline-name\u003e\",\n pipeline_display_name=\"\u003cpipeline-display-name\u003e\",\n pipeline_description=\"\u003cpipeline-description\u003e\",\n pipeline_definition={\n \"pipelineDefinitionS3Location\": {\n \"bucket\": \"\u003cS3-bucket-location\u003e\",\n \"key\": \"\u003cS3-bucket-key\u003e\",\n },\n },\n role_arn=\"arn:aws:iam::\u003caccount-id\u003e:root\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "pipelineDefinition": { "type": "string", @@ -51476,7 +51476,7 @@ ] }, "aws-native:sagemaker:Project": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleProject = new AwsNative.SageMaker.Project(\"sampleProject\", new AwsNative.SageMaker.ProjectArgs\n {\n ProjectName = \"project1\",\n ProjectDescription = \"Project Description\",\n ServiceCatalogProvisioningDetails = \n {\n { \"productId\", \"prod-53ibyqbj2cgmo\" },\n { \"provisioningArtifactId\", \"pa-sm4pjfuzictpe\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker\"\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 := sagemaker.NewProject(ctx, \"sampleProject\", \u0026sagemaker.ProjectArgs{\n\t\t\tProjectName: pulumi.String(\"project1\"),\n\t\t\tProjectDescription: pulumi.String(\"Project Description\"),\n\t\t\tServiceCatalogProvisioningDetails: pulumi.Any{\n\t\t\t\tProductId: \"prod-53ibyqbj2cgmo\",\n\t\t\t\tProvisioningArtifactId: \"pa-sm4pjfuzictpe\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleProject = new aws_native.sagemaker.Project(\"sampleProject\", {\n projectName: \"project1\",\n projectDescription: \"Project Description\",\n serviceCatalogProvisioningDetails: {\n productId: \"prod-53ibyqbj2cgmo\",\n provisioningArtifactId: \"pa-sm4pjfuzictpe\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_project = aws_native.sagemaker.Project(\"sampleProject\",\n project_name=\"project1\",\n project_description=\"Project Description\",\n service_catalog_provisioning_details={\n \"productId\": \"prod-53ibyqbj2cgmo\",\n \"provisioningArtifactId\": \"pa-sm4pjfuzictpe\",\n })\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var sampleProject = new AwsNative.SageMaker.Project(\"sampleProject\", new AwsNative.SageMaker.ProjectArgs\n {\n ProjectName = \"SampleProject\",\n ProjectDescription = \"Project Description\",\n ServiceCatalogProvisioningDetails = \n {\n { \"productId\", \"prod-53ibyqbj2cgmo\" },\n { \"provisioningArtifactId\", \"pa-sm4pjfuzictpe\" },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/sagemaker\"\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 := sagemaker.NewProject(ctx, \"sampleProject\", \u0026sagemaker.ProjectArgs{\n\t\t\tProjectName: pulumi.String(\"SampleProject\"),\n\t\t\tProjectDescription: pulumi.String(\"Project Description\"),\n\t\t\tServiceCatalogProvisioningDetails: pulumi.Any{\n\t\t\t\tProductId: \"prod-53ibyqbj2cgmo\",\n\t\t\t\tProvisioningArtifactId: \"pa-sm4pjfuzictpe\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleProject = new aws_native.sagemaker.Project(\"sampleProject\", {\n projectName: \"SampleProject\",\n projectDescription: \"Project Description\",\n serviceCatalogProvisioningDetails: {\n productId: \"prod-53ibyqbj2cgmo\",\n provisioningArtifactId: \"pa-sm4pjfuzictpe\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_project = aws_native.sagemaker.Project(\"sampleProject\",\n project_name=\"SampleProject\",\n project_description=\"Project Description\",\n service_catalog_provisioning_details={\n \"productId\": \"prod-53ibyqbj2cgmo\",\n \"provisioningArtifactId\": \"pa-sm4pjfuzictpe\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "creationTime": { "type": "string" @@ -52110,7 +52110,7 @@ ] }, "aws-native:ses:ConfigurationSet": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var configSetName = config.Require(\"configSetName\");\n var configSet = new AwsNative.SES.ConfigurationSet(\"configSet\", new AwsNative.SES.ConfigurationSetArgs\n {\n Name = configSetName,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tconfigSetName := cfg.Require(\"configSetName\")\n\t\t_, err := ses.NewConfigurationSet(ctx, \"configSet\", \u0026ses.ConfigurationSetArgs{\n\t\t\tName: pulumi.String(configSetName),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst configSetName = config.require(\"configSetName\");\nconst configSet = new aws_native.ses.ConfigurationSet(\"configSet\", {name: configSetName});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nconfig_set_name = config.require(\"configSetName\")\nconfig_set = aws_native.ses.ConfigurationSet(\"configSet\", name=config_set_name)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var config = new Config();\n var configSetName = config.Require(\"configSetName\");\n var configSet = new AwsNative.SES.ConfigurationSet(\"configSet\", new AwsNative.SES.ConfigurationSetArgs\n {\n Name = configSetName,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tconfigSetName := cfg.Require(\"configSetName\")\n\t\t_, err := ses.NewConfigurationSet(ctx, \"configSet\", \u0026ses.ConfigurationSetArgs{\n\t\t\tName: pulumi.String(configSetName),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst configSetName = config.require(\"configSetName\");\nconst configSet = new aws_native.ses.ConfigurationSet(\"configSet\", {name: configSetName});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nconfig_set_name = config.require(\"configSetName\")\nconfig_set = aws_native.ses.ConfigurationSet(\"configSet\", name=config_set_name)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "name": { "type": "string", @@ -52298,7 +52298,7 @@ ] }, "aws-native:ssm:Association": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var specificInstanceIdAssociation = new AwsNative.SSM.Association(\"specificInstanceIdAssociation\", new AwsNative.SSM.AssociationArgs\n {\n Name = \"AWS-RunShellScript\",\n Targets = \n {\n new AwsNative.SSM.Inputs.AssociationTargetArgs\n {\n Key = \"InstanceIds\",\n Values = \n {\n \"i-1234567890abcdef0\",\n },\n },\n },\n Parameters = \n {\n { \"commands\", \n {\n \"ls\",\n } },\n { \"workingDirectory\", \n {\n \"/\",\n } },\n },\n WaitForSuccessTimeoutSeconds = 300,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewAssociation(ctx, \"specificInstanceIdAssociation\", \u0026ssm.AssociationArgs{\n\t\t\tName: pulumi.String(\"AWS-RunShellScript\"),\n\t\t\tTargets: []ssm.AssociationTargetArgs{\n\t\t\t\t\u0026ssm.AssociationTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"InstanceIds\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"i-1234567890abcdef0\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tParameters: pulumi.AnyMap{\n\t\t\t\t\"commands\": pulumi.Any{\n\t\t\t\t\t\"ls\",\n\t\t\t\t},\n\t\t\t\t\"workingDirectory\": pulumi.Any{\n\t\t\t\t\t\"/\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tWaitForSuccessTimeoutSeconds: pulumi.Int(300),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst specificInstanceIdAssociation = new aws_native.ssm.Association(\"specificInstanceIdAssociation\", {\n name: \"AWS-RunShellScript\",\n targets: [{\n key: \"InstanceIds\",\n values: [\"i-1234567890abcdef0\"],\n }],\n parameters: {\n commands: [\"ls\"],\n workingDirectory: [\"/\"],\n },\n waitForSuccessTimeoutSeconds: 300,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nspecific_instance_id_association = aws_native.ssm.Association(\"specificInstanceIdAssociation\",\n name=\"AWS-RunShellScript\",\n targets=[aws_native.ssm.AssociationTargetArgs(\n key=\"InstanceIds\",\n values=[\"i-1234567890abcdef0\"],\n )],\n parameters={\n \"commands\": [\"ls\"],\n \"workingDirectory\": [\"/\"],\n },\n wait_for_success_timeout_seconds=300)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var allInstanceIdsAssociation = new AwsNative.SSM.Association(\"allInstanceIdsAssociation\", new AwsNative.SSM.AssociationArgs\n {\n AssociationName = \"UpdateSSMAgent\",\n Name = \"AWS-UpdateSSMAgent\",\n ScheduleExpression = \"cron(0 2 ? * SUN *)\",\n Targets = \n {\n new AwsNative.SSM.Inputs.AssociationTargetArgs\n {\n Key = \"InstanceIds\",\n Values = \n {\n \"*\",\n },\n },\n },\n WaitForSuccessTimeoutSeconds = 300,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewAssociation(ctx, \"allInstanceIdsAssociation\", \u0026ssm.AssociationArgs{\n\t\t\tAssociationName: pulumi.String(\"UpdateSSMAgent\"),\n\t\t\tName: pulumi.String(\"AWS-UpdateSSMAgent\"),\n\t\t\tScheduleExpression: pulumi.String(\"cron(0 2 ? * SUN *)\"),\n\t\t\tTargets: []ssm.AssociationTargetArgs{\n\t\t\t\t\u0026ssm.AssociationTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"InstanceIds\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tWaitForSuccessTimeoutSeconds: pulumi.Int(300),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst allInstanceIdsAssociation = new aws_native.ssm.Association(\"allInstanceIdsAssociation\", {\n associationName: \"UpdateSSMAgent\",\n name: \"AWS-UpdateSSMAgent\",\n scheduleExpression: \"cron(0 2 ? * SUN *)\",\n targets: [{\n key: \"InstanceIds\",\n values: [\"*\"],\n }],\n waitForSuccessTimeoutSeconds: 300,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nall_instance_ids_association = aws_native.ssm.Association(\"allInstanceIdsAssociation\",\n association_name=\"UpdateSSMAgent\",\n name=\"AWS-UpdateSSMAgent\",\n schedule_expression=\"cron(0 2 ? * SUN *)\",\n targets=[aws_native.ssm.AssociationTargetArgs(\n key=\"InstanceIds\",\n values=[\"*\"],\n )],\n wait_for_success_timeout_seconds=300)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var taggedInstancesAssociation = new AwsNative.SSM.Association(\"taggedInstancesAssociation\", new AwsNative.SSM.AssociationArgs\n {\n AssociationName = \"UpdateSSMAgent\",\n Name = \"AWS-UpdateSSMAgent\",\n ScheduleExpression = \"rate(7 days)\",\n Targets = \n {\n new AwsNative.SSM.Inputs.AssociationTargetArgs\n {\n Key = \"tag:Environment\",\n Values = \n {\n \"Production\",\n },\n },\n },\n WaitForSuccessTimeoutSeconds = 300,\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewAssociation(ctx, \"taggedInstancesAssociation\", \u0026ssm.AssociationArgs{\n\t\t\tAssociationName: pulumi.String(\"UpdateSSMAgent\"),\n\t\t\tName: pulumi.String(\"AWS-UpdateSSMAgent\"),\n\t\t\tScheduleExpression: pulumi.String(\"rate(7 days)\"),\n\t\t\tTargets: []ssm.AssociationTargetArgs{\n\t\t\t\t\u0026ssm.AssociationTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Environment\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Production\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tWaitForSuccessTimeoutSeconds: pulumi.Int(300),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst taggedInstancesAssociation = new aws_native.ssm.Association(\"taggedInstancesAssociation\", {\n associationName: \"UpdateSSMAgent\",\n name: \"AWS-UpdateSSMAgent\",\n scheduleExpression: \"rate(7 days)\",\n targets: [{\n key: \"tag:Environment\",\n values: [\"Production\"],\n }],\n waitForSuccessTimeoutSeconds: 300,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntagged_instances_association = aws_native.ssm.Association(\"taggedInstancesAssociation\",\n association_name=\"UpdateSSMAgent\",\n name=\"AWS-UpdateSSMAgent\",\n schedule_expression=\"rate(7 days)\",\n targets=[aws_native.ssm.AssociationTargetArgs(\n key=\"tag:Environment\",\n values=[\"Production\"],\n )],\n wait_for_success_timeout_seconds=300)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "applyOnlyAtCronInterval": { "type": "boolean", @@ -52598,7 +52598,7 @@ ] }, "aws-native:ssm:ResourceDataSync": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncToDestination\",\n S3Destination = new AwsNative.SSM.Inputs.ResourceDataSyncS3DestinationArgs\n {\n BucketName = \"test-bucket\",\n BucketRegion = \"us-east-2\",\n SyncFormat = \"JsonSerDe\",\n BucketPrefix = \"cfn\",\n KmsKeyArn = \"kmsKeyARN\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncToDestination\"),\n\t\t\tS3Destination: \u0026ssm.ResourceDataSyncS3DestinationArgs{\n\t\t\t\tBucketName: pulumi.String(\"test-bucket\"),\n\t\t\t\tBucketRegion: pulumi.String(\"us-east-2\"),\n\t\t\t\tSyncFormat: pulumi.String(\"JsonSerDe\"),\n\t\t\t\tBucketPrefix: pulumi.String(\"cfn\"),\n\t\t\t\tKmsKeyArn: \"kmsKeyARN\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncToDestination\",\n s3Destination: {\n bucketName: \"test-bucket\",\n bucketRegion: \"us-east-2\",\n syncFormat: \"JsonSerDe\",\n bucketPrefix: \"cfn\",\n kmsKeyArn: \"kmsKeyARN\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncToDestination\",\n s3_destination=aws_native.ssm.ResourceDataSyncS3DestinationArgs(\n bucket_name=\"test-bucket\",\n bucket_region=\"us-east-2\",\n sync_format=\"JsonSerDe\",\n bucket_prefix=\"cfn\",\n kms_key_arn=\"kmsKeyARN\",\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncToDestination\",\n S3Destination = new AwsNative.SSM.Inputs.ResourceDataSyncS3DestinationArgs\n {\n BucketName = \"test-bucket\",\n BucketRegion = \"us-east-2\",\n SyncFormat = \"JsonSerDe\",\n BucketPrefix = \"cfn\",\n KmsKeyArn = \"kmsKeyARN\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncToDestination\"),\n\t\t\tS3Destination: \u0026ssm.ResourceDataSyncS3DestinationArgs{\n\t\t\t\tBucketName: pulumi.String(\"test-bucket\"),\n\t\t\t\tBucketRegion: pulumi.String(\"us-east-2\"),\n\t\t\t\tSyncFormat: pulumi.String(\"JsonSerDe\"),\n\t\t\t\tBucketPrefix: pulumi.String(\"cfn\"),\n\t\t\t\tKmsKeyArn: \"kmsKeyARN\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncToDestination\",\n s3Destination: {\n bucketName: \"test-bucket\",\n bucketRegion: \"us-east-2\",\n syncFormat: \"JsonSerDe\",\n bucketPrefix: \"cfn\",\n kmsKeyArn: \"kmsKeyARN\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncToDestination\",\n s3_destination=aws_native.ssm.ResourceDataSyncS3DestinationArgs(\n bucket_name=\"test-bucket\",\n bucket_region=\"us-east-2\",\n sync_format=\"JsonSerDe\",\n bucket_prefix=\"cfn\",\n kms_key_arn=\"kmsKeyARN\",\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"SingleAccountMultiRegions\",\n SourceRegions = \n {\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"SingleAccountMultiRegions\"),\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-east-1\"),\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t\tpulumi.String(\"us-west-2\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"SingleAccountMultiRegions\",\n sourceRegions: [\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n ],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"SingleAccountMultiRegions\",\n source_regions=[\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n ],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"SingleAccountMultiRegions\",\n SourceRegions = \n {\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"SingleAccountMultiRegions\"),\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-east-1\"),\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t\tpulumi.String(\"us-west-2\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"SingleAccountMultiRegions\",\n sourceRegions: [\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n ],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"SingleAccountMultiRegions\",\n source_regions=[\n \"us-east-1\",\n \"us-west-1\",\n \"us-west-2\",\n ],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"AwsOrganizations\",\n AwsOrganizationsSource = new AwsNative.SSM.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs\n {\n OrganizationSourceType = \"EntireOrganization\",\n },\n SourceRegions = \n {\n \"us-west-1\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"AwsOrganizations\"),\n\t\t\t\tAwsOrganizationsSource: \u0026ssm.ResourceDataSyncAwsOrganizationsSourceArgs{\n\t\t\t\t\tOrganizationSourceType: pulumi.String(\"EntireOrganization\"),\n\t\t\t\t},\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"AwsOrganizations\",\n awsOrganizationsSource: {\n organizationSourceType: \"EntireOrganization\",\n },\n sourceRegions: [\"us-west-1\"],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"AwsOrganizations\",\n aws_organizations_source=aws_native.ssm.ResourceDataSyncAwsOrganizationsSourceArgs(\n organization_source_type=\"EntireOrganization\",\n ),\n source_regions=[\"us-west-1\"],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"AwsOrganizations\",\n AwsOrganizationsSource = new AwsNative.SSM.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs\n {\n OrganizationSourceType = \"EntireOrganization\",\n },\n SourceRegions = \n {\n \"us-west-1\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"AwsOrganizations\"),\n\t\t\t\tAwsOrganizationsSource: \u0026ssm.ResourceDataSyncAwsOrganizationsSourceArgs{\n\t\t\t\t\tOrganizationSourceType: pulumi.String(\"EntireOrganization\"),\n\t\t\t\t},\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"AwsOrganizations\",\n awsOrganizationsSource: {\n organizationSourceType: \"EntireOrganization\",\n },\n sourceRegions: [\"us-west-1\"],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"AwsOrganizations\",\n aws_organizations_source=aws_native.ssm.ResourceDataSyncAwsOrganizationsSourceArgs(\n organization_source_type=\"EntireOrganization\",\n ),\n source_regions=[\"us-west-1\"],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"AwsOrganizations\",\n AwsOrganizationsSource = new AwsNative.SSM.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs\n {\n OrganizationSourceType = \"OrganizationalUnits\",\n OrganizationalUnits = \n {\n \"ou-12345\",\n },\n },\n SourceRegions = \n {\n \"us-west-1\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"AwsOrganizations\"),\n\t\t\t\tAwsOrganizationsSource: \u0026ssm.ResourceDataSyncAwsOrganizationsSourceArgs{\n\t\t\t\t\tOrganizationSourceType: pulumi.String(\"OrganizationalUnits\"),\n\t\t\t\t\tOrganizationalUnits: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ou-12345\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"AwsOrganizations\",\n awsOrganizationsSource: {\n organizationSourceType: \"OrganizationalUnits\",\n organizationalUnits: [\"ou-12345\"],\n },\n sourceRegions: [\"us-west-1\"],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"AwsOrganizations\",\n aws_organizations_source=aws_native.ssm.ResourceDataSyncAwsOrganizationsSourceArgs(\n organization_source_type=\"OrganizationalUnits\",\n organizational_units=[\"ou-12345\"],\n ),\n source_regions=[\"us-west-1\"],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var basicResourceDataSync = new AwsNative.SSM.ResourceDataSync(\"basicResourceDataSync\", new AwsNative.SSM.ResourceDataSyncArgs\n {\n SyncName = \"test-sync\",\n SyncType = \"SyncFromSource\",\n SyncSource = new AwsNative.SSM.Inputs.ResourceDataSyncSyncSourceArgs\n {\n SourceType = \"AwsOrganizations\",\n AwsOrganizationsSource = new AwsNative.SSM.Inputs.ResourceDataSyncAwsOrganizationsSourceArgs\n {\n OrganizationSourceType = \"OrganizationalUnits\",\n OrganizationalUnits = \n {\n \"ou-12345\",\n },\n },\n SourceRegions = \n {\n \"us-west-1\",\n },\n IncludeFutureRegions = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\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 := ssm.NewResourceDataSync(ctx, \"basicResourceDataSync\", \u0026ssm.ResourceDataSyncArgs{\n\t\t\tSyncName: pulumi.String(\"test-sync\"),\n\t\t\tSyncType: pulumi.String(\"SyncFromSource\"),\n\t\t\tSyncSource: \u0026ssm.ResourceDataSyncSyncSourceArgs{\n\t\t\t\tSourceType: pulumi.String(\"AwsOrganizations\"),\n\t\t\t\tAwsOrganizationsSource: \u0026ssm.ResourceDataSyncAwsOrganizationsSourceArgs{\n\t\t\t\t\tOrganizationSourceType: pulumi.String(\"OrganizationalUnits\"),\n\t\t\t\t\tOrganizationalUnits: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"ou-12345\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tSourceRegions: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"us-west-1\"),\n\t\t\t\t},\n\t\t\t\tIncludeFutureRegions: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst basicResourceDataSync = new aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\", {\n syncName: \"test-sync\",\n syncType: \"SyncFromSource\",\n syncSource: {\n sourceType: \"AwsOrganizations\",\n awsOrganizationsSource: {\n organizationSourceType: \"OrganizationalUnits\",\n organizationalUnits: [\"ou-12345\"],\n },\n sourceRegions: [\"us-west-1\"],\n includeFutureRegions: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_resource_data_sync = aws_native.ssm.ResourceDataSync(\"basicResourceDataSync\",\n sync_name=\"test-sync\",\n sync_type=\"SyncFromSource\",\n sync_source=aws_native.ssm.ResourceDataSyncSyncSourceArgs(\n source_type=\"AwsOrganizations\",\n aws_organizations_source=aws_native.ssm.ResourceDataSyncAwsOrganizationsSourceArgs(\n organization_source_type=\"OrganizationalUnits\",\n organizational_units=[\"ou-12345\"],\n ),\n source_regions=[\"us-west-1\"],\n include_future_regions=False,\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "bucketName": { "type": "string", @@ -53163,7 +53163,7 @@ ] }, "aws-native:stepfunctions:StateMachine": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myStateMachine = new AwsNative.StepFunctions.StateMachine(\"myStateMachine\", new AwsNative.StepFunctions.StateMachineArgs\n {\n StateMachineName = \"HelloWorld-StateMachine\",\n StateMachineType = \"STANDARD\",\n DefinitionString = \"{\\\"StartAt\\\": \\\"HelloWorld\\\", \\\"States\\\": {\\\"HelloWorld\\\": {\\\"Type\\\": \\\"Task\\\", \\\"Resource\\\": \\\"arn:aws:lambda:us-east-1:111122223333;:function:HelloFunction\\\", \\\"End\\\": true}}}\",\n RoleArn = \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1;\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions\"\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 := stepfunctions.NewStateMachine(ctx, \"myStateMachine\", \u0026stepfunctions.StateMachineArgs{\n\t\t\tStateMachineName: pulumi.String(\"HelloWorld-StateMachine\"),\n\t\t\tStateMachineType: pulumi.String(\"STANDARD\"),\n\t\t\tDefinitionString: pulumi.String(\"{\\\"StartAt\\\": \\\"HelloWorld\\\", \\\"States\\\": {\\\"HelloWorld\\\": {\\\"Type\\\": \\\"Task\\\", \\\"Resource\\\": \\\"arn:aws:lambda:us-east-1:111122223333;:function:HelloFunction\\\", \\\"End\\\": true}}}\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1;\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myStateMachine = new aws_native.stepfunctions.StateMachine(\"myStateMachine\", {\n stateMachineName: \"HelloWorld-StateMachine\",\n stateMachineType: \"STANDARD\",\n definitionString: \"{\\\"StartAt\\\": \\\"HelloWorld\\\", \\\"States\\\": {\\\"HelloWorld\\\": {\\\"Type\\\": \\\"Task\\\", \\\"Resource\\\": \\\"arn:aws:lambda:us-east-1:111122223333;:function:HelloFunction\\\", \\\"End\\\": true}}}\",\n roleArn: \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1;\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_state_machine = aws_native.stepfunctions.StateMachine(\"myStateMachine\",\n state_machine_name=\"HelloWorld-StateMachine\",\n state_machine_type=\"STANDARD\",\n definition_string=\"{\\\"StartAt\\\": \\\"HelloWorld\\\", \\\"States\\\": {\\\"HelloWorld\\\": {\\\"Type\\\": \\\"Task\\\", \\\"Resource\\\": \\\"arn:aws:lambda:us-east-1:111122223333;:function:HelloFunction\\\", \\\"End\\\": true}}}\",\n role_arn=\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1;\")\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myStateMachine = new AwsNative.StepFunctions.StateMachine(\"myStateMachine\", new AwsNative.StepFunctions.StateMachineArgs\n {\n StateMachineName = \"HelloWorld-StateMachine\",\n StateMachineType = \"STANDARD\",\n DefinitionString = @\"{\n \"\"StartAt\"\": \"\"HelloWorld\"\",\n \"\"States\"\" : {\n \"\"HelloWorld\"\" : {\n \"\"Type\"\" : \"\"Task\"\", \n \"\"Resource\"\" : \"\"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\"\",\n \"\"End\"\" : true\n }\n }\n}\",\n RoleArn = \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n Tags = \n {\n new AwsNative.StepFunctions.Inputs.StateMachineTagsEntryArgs\n {\n Key = \"keyname1\",\n Value = \"value1\",\n },\n new AwsNative.StepFunctions.Inputs.StateMachineTagsEntryArgs\n {\n Key = \"keyname2\",\n Value = \"value2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions\"\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 := stepfunctions.NewStateMachine(ctx, \"myStateMachine\", \u0026stepfunctions.StateMachineArgs{\n\t\t\tStateMachineName: pulumi.String(\"HelloWorld-StateMachine\"),\n\t\t\tStateMachineType: pulumi.String(\"STANDARD\"),\n\t\t\tDefinitionString: pulumi.String(\"{\\n \\\"StartAt\\\": \\\"HelloWorld\\\",\\n \\\"States\\\" : {\\n \\\"HelloWorld\\\" : {\\n \\\"Type\\\" : \\\"Task\\\", \\n \\\"Resource\\\" : \\\"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\\\",\\n \\\"End\\\" : true\\n }\\n }\\n}\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\"),\n\t\t\tTags: []stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\u0026stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myStateMachine = new aws_native.stepfunctions.StateMachine(\"myStateMachine\", {\n stateMachineName: \"HelloWorld-StateMachine\",\n stateMachineType: \"STANDARD\",\n definitionString: `{\n \"StartAt\": \"HelloWorld\",\n \"States\" : {\n \"HelloWorld\" : {\n \"Type\" : \"Task\", \n \"Resource\" : \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n \"End\" : true\n }\n }\n}`,\n roleArn: \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n tags: [\n {\n key: \"keyname1\",\n value: \"value1\",\n },\n {\n key: \"keyname2\",\n value: \"value2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_state_machine = aws_native.stepfunctions.StateMachine(\"myStateMachine\",\n state_machine_name=\"HelloWorld-StateMachine\",\n state_machine_type=\"STANDARD\",\n definition_string=\"\"\"{\n \"StartAt\": \"HelloWorld\",\n \"States\" : {\n \"HelloWorld\" : {\n \"Type\" : \"Task\", \n \"Resource\" : \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n \"End\" : true\n }\n }\n}\"\"\",\n role_arn=\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n tags=[\n aws_native.stepfunctions.StateMachineTagsEntryArgs(\n key=\"keyname1\",\n value=\"value1\",\n ),\n aws_native.stepfunctions.StateMachineTagsEntryArgs(\n key=\"keyname2\",\n value=\"value2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myStateMachine = new AwsNative.StepFunctions.StateMachine(\"myStateMachine\", new AwsNative.StepFunctions.StateMachineArgs\n {\n StateMachineName = \"HelloWorld-StateMachine\",\n DefinitionString = @\"{\n \"\"StartAt\"\": \"\"HelloWorld\"\",\n \"\"States\"\": {\n \"\"HelloWorld\"\": {\n \"\"Type\"\": \"\"Task\"\",\n \"\"Resource\"\": \"\"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\"\",\n \"\"End\"\": true\n }\n }\n}\",\n RoleArn = \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n Tags = \n {\n new AwsNative.StepFunctions.Inputs.StateMachineTagsEntryArgs\n {\n Key = \"keyname1\",\n Value = \"value1\",\n },\n new AwsNative.StepFunctions.Inputs.StateMachineTagsEntryArgs\n {\n Key = \"keyname2\",\n Value = \"value2\",\n },\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions\"\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 := stepfunctions.NewStateMachine(ctx, \"myStateMachine\", \u0026stepfunctions.StateMachineArgs{\n\t\t\tStateMachineName: pulumi.String(\"HelloWorld-StateMachine\"),\n\t\t\tDefinitionString: pulumi.String(\"{\\n \\\"StartAt\\\": \\\"HelloWorld\\\",\\n \\\"States\\\": {\\n \\\"HelloWorld\\\": {\\n \\\"Type\\\": \\\"Task\\\",\\n \\\"Resource\\\": \\\"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\\\",\\n \\\"End\\\": true\\n }\\n }\\n}\"),\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\"),\n\t\t\tTags: []stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\u0026stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname1\"),\n\t\t\t\t\tValue: pulumi.String(\"value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026stepfunctions.StateMachineTagsEntryArgs{\n\t\t\t\t\tKey: pulumi.String(\"keyname2\"),\n\t\t\t\t\tValue: pulumi.String(\"value2\"),\n\t\t\t\t},\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myStateMachine = new aws_native.stepfunctions.StateMachine(\"myStateMachine\", {\n stateMachineName: \"HelloWorld-StateMachine\",\n definitionString: `{\n \"StartAt\": \"HelloWorld\",\n \"States\": {\n \"HelloWorld\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n \"End\": true\n }\n }\n}`,\n roleArn: \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n tags: [\n {\n key: \"keyname1\",\n value: \"value1\",\n },\n {\n key: \"keyname2\",\n value: \"value2\",\n },\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_state_machine = aws_native.stepfunctions.StateMachine(\"myStateMachine\",\n state_machine_name=\"HelloWorld-StateMachine\",\n definition_string=\"\"\"{\n \"StartAt\": \"HelloWorld\",\n \"States\": {\n \"HelloWorld\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n \"End\": true\n }\n }\n}\"\"\",\n role_arn=\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n tags=[\n aws_native.stepfunctions.StateMachineTagsEntryArgs(\n key=\"keyname1\",\n value=\"value1\",\n ),\n aws_native.stepfunctions.StateMachineTagsEntryArgs(\n key=\"keyname2\",\n value=\"value2\",\n ),\n ])\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var myStateMachine = new AwsNative.StepFunctions.StateMachine(\"myStateMachine\", new AwsNative.StepFunctions.StateMachineArgs\n {\n StateMachineName = \"HelloWorld-StateMachine\",\n DefinitionS3Location = new AwsNative.StepFunctions.Inputs.StateMachineS3LocationArgs\n {\n Bucket = \"example_bucket\",\n Key = \"hello_world.json\",\n },\n DefinitionSubstitutions = \n {\n { \"helloFunction\", \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\" },\n },\n RoleArn = \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/stepfunctions\"\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 := stepfunctions.NewStateMachine(ctx, \"myStateMachine\", \u0026stepfunctions.StateMachineArgs{\n\t\t\tStateMachineName: pulumi.String(\"HelloWorld-StateMachine\"),\n\t\t\tDefinitionS3Location: \u0026stepfunctions.StateMachineS3LocationArgs{\n\t\t\t\tBucket: pulumi.String(\"example_bucket\"),\n\t\t\t\tKey: pulumi.String(\"hello_world.json\"),\n\t\t\t},\n\t\t\tDefinitionSubstitutions: pulumi.StringMap{\n\t\t\t\t\"helloFunction\": pulumi.String(\"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\"),\n\t\t\t},\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\"),\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst myStateMachine = new aws_native.stepfunctions.StateMachine(\"myStateMachine\", {\n stateMachineName: \"HelloWorld-StateMachine\",\n definitionS3Location: {\n bucket: \"example_bucket\",\n key: \"hello_world.json\",\n },\n definitionSubstitutions: {\n helloFunction: \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n },\n roleArn: \"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_state_machine = aws_native.stepfunctions.StateMachine(\"myStateMachine\",\n state_machine_name=\"HelloWorld-StateMachine\",\n definition_s3_location=aws_native.stepfunctions.StateMachineS3LocationArgs(\n bucket=\"example_bucket\",\n key=\"hello_world.json\",\n ),\n definition_substitutions={\n \"helloFunction\": \"arn:aws:lambda:us-east-1:111122223333:function:HelloFunction\",\n },\n role_arn=\"arn:aws:iam::111122223333:role/service-role/StatesExecutionRole-us-east-1\")\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -53627,7 +53627,7 @@ ] }, "aws-native:wafv2:RegexPatternSet": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleRegexPatternSet = new AwsNative.WAFv2.RegexPatternSet(\"exampleRegexPatternSet\", new AwsNative.WAFv2.RegexPatternSetArgs\n {\n Name = \"ExampleRegexPatternSet\",\n Scope = \"REGIONAL\",\n Description = \"This is an example RegexPatternSet\",\n RegularExpressionList = \n {\n \"^foobar$\",\n \"^example$\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/wafv2\"\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 := wafv2.NewRegexPatternSet(ctx, \"exampleRegexPatternSet\", \u0026wafv2.RegexPatternSetArgs{\n\t\t\tName: pulumi.String(\"ExampleRegexPatternSet\"),\n\t\t\tScope: pulumi.String(\"REGIONAL\"),\n\t\t\tDescription: pulumi.String(\"This is an example RegexPatternSet\"),\n\t\t\tRegularExpressionList: pulumi.StringArray{\n\t\t\t\tpulumi.String(fmt.Sprintf(\"%v%v\", \"^foobar\", \"$\")),\n\t\t\t\tpulumi.String(fmt.Sprintf(\"%v%v\", \"^example\", \"$\")),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst exampleRegexPatternSet = new aws_native.wafv2.RegexPatternSet(\"exampleRegexPatternSet\", {\n name: \"ExampleRegexPatternSet\",\n scope: \"REGIONAL\",\n description: \"This is an example RegexPatternSet\",\n regularExpressionList: [\n `^foobar$`,\n `^example$`,\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nexample_regex_pattern_set = aws_native.wafv2.RegexPatternSet(\"exampleRegexPatternSet\",\n name=\"ExampleRegexPatternSet\",\n scope=\"REGIONAL\",\n description=\"This is an example RegexPatternSet\",\n regular_expression_list=[\n \"^foobar$\",\n \"^example$\",\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -54028,7 +54028,7 @@ ] }, "aws-native:xray:Group": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var testGrpResource = new AwsNative.XRay.Group(\"testGrpResource\", new AwsNative.XRay.GroupArgs\n {\n GroupName = \"MyGroup\",\n FilterExpression = \"duration \u003e 10\",\n InsightsConfiguration = new AwsNative.XRay.Inputs.GroupInsightsConfigurationArgs\n {\n InsightsEnabled = false,\n NotificationsEnabled = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewGroup(ctx, \"testGrpResource\", \u0026xray.GroupArgs{\n\t\t\tGroupName: pulumi.String(\"MyGroup\"),\n\t\t\tFilterExpression: pulumi.String(\"duration \u003e 10\"),\n\t\t\tInsightsConfiguration: \u0026xray.GroupInsightsConfigurationArgs{\n\t\t\t\tInsightsEnabled: pulumi.Bool(false),\n\t\t\t\tNotificationsEnabled: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst testGrpResource = new aws_native.xray.Group(\"testGrpResource\", {\n groupName: \"MyGroup\",\n filterExpression: \"duration \u003e 10\",\n insightsConfiguration: {\n insightsEnabled: \"false\",\n notificationsEnabled: \"false\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ntest_grp_resource = aws_native.xray.Group(\"testGrpResource\",\n group_name=\"MyGroup\",\n filter_expression=\"duration \u003e 10\",\n insights_configuration=aws_native.xray.GroupInsightsConfigurationArgs(\n insights_enabled=False,\n notifications_enabled=False,\n ))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var @group = new AwsNative.XRay.Group(\"group\", new AwsNative.XRay.GroupArgs\n {\n GroupName = \"MyGroup\",\n FilterExpression = \"duration \u003e 10\",\n InsightsConfiguration = new AwsNative.XRay.Inputs.GroupInsightsConfigurationArgs\n {\n InsightsEnabled = false,\n NotificationsEnabled = false,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewGroup(ctx, \"group\", \u0026xray.GroupArgs{\n\t\t\tGroupName: pulumi.String(\"MyGroup\"),\n\t\t\tFilterExpression: pulumi.String(\"duration \u003e 10\"),\n\t\t\tInsightsConfiguration: \u0026xray.GroupInsightsConfigurationArgs{\n\t\t\t\tInsightsEnabled: pulumi.Bool(false),\n\t\t\t\tNotificationsEnabled: pulumi.Bool(false),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst group = new aws_native.xray.Group(\"group\", {\n groupName: \"MyGroup\",\n filterExpression: \"duration \u003e 10\",\n insightsConfiguration: {\n insightsEnabled: false,\n notificationsEnabled: false,\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ngroup = aws_native.xray.Group(\"group\",\n group_name=\"MyGroup\",\n filter_expression=\"duration \u003e 10\",\n insights_configuration=aws_native.xray.GroupInsightsConfigurationArgs(\n insights_enabled=False,\n notifications_enabled=False,\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "filterExpression": { "type": "string", @@ -54096,7 +54096,7 @@ } }, "aws-native:xray:SamplingRule": { - "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html", + "description": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var samplingRule = new AwsNative.XRay.SamplingRule(\"samplingRule\", new AwsNative.XRay.SamplingRuleArgs\n {\n SamplingRule = new AwsNative.XRay.Inputs.SamplingRuleSamplingRuleArgs\n {\n RuleName = \"MySamplingRule\",\n ResourceARN = \"*\",\n Priority = 2,\n FixedRate = 0.05,\n ReservoirSize = 50,\n ServiceName = \"MyServiceName\",\n ServiceType = \"MyServiceType\",\n Host = \"MyHost\",\n HttpMethod = \"GET\",\n UrlPath = \"*\",\n Version = 1,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewSamplingRule(ctx, \"samplingRule\", \u0026xray.SamplingRuleArgs{\n\t\t\tSamplingRule: \u0026xray.SamplingRuleSamplingRuleArgs{\n\t\t\t\tRuleName: pulumi.String(\"MySamplingRule\"),\n\t\t\t\tResourceARN: pulumi.String(\"*\"),\n\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\tFixedRate: pulumi.Float64(0.05),\n\t\t\t\tReservoirSize: pulumi.Int(50),\n\t\t\t\tServiceName: pulumi.String(\"MyServiceName\"),\n\t\t\t\tServiceType: pulumi.String(\"MyServiceType\"),\n\t\t\t\tHost: pulumi.String(\"MyHost\"),\n\t\t\t\tHttpMethod: \"GET\",\n\t\t\t\tUrlPath: \"*\",\n\t\t\t\tVersion: pulumi.Int(1),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst samplingRule = new aws_native.xray.SamplingRule(\"samplingRule\", {samplingRule: {\n ruleName: \"MySamplingRule\",\n resourceARN: \"*\",\n priority: 2,\n fixedRate: 0.05,\n reservoirSize: 50,\n serviceName: \"MyServiceName\",\n serviceType: \"MyServiceType\",\n host: \"MyHost\",\n httpMethod: \"GET\",\n urlPath: \"*\",\n version: 1,\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsampling_rule = aws_native.xray.SamplingRule(\"samplingRule\", sampling_rule=aws_native.xray.SamplingRuleSamplingRuleArgs(\n rule_name=\"MySamplingRule\",\n resource_arn=\"*\",\n priority=2,\n fixed_rate=0.05,\n reservoir_size=50,\n service_name=\"MyServiceName\",\n service_type=\"MyServiceType\",\n host=\"MyHost\",\n http_method=\"GET\",\n url_path=\"*\",\n version=1,\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var samplingRule = new AwsNative.XRay.SamplingRule(\"samplingRule\", new AwsNative.XRay.SamplingRuleArgs\n {\n SamplingRule = new AwsNative.XRay.Inputs.SamplingRuleSamplingRuleArgs\n {\n RuleName = \"MySamplingRule\",\n ResourceARN = \"*\",\n Priority = 2,\n FixedRate = 0.05,\n ReservoirSize = 50,\n ServiceName = \"MyServiceName\",\n ServiceType = \"MyServiceType\",\n Host = \"MyHost\",\n HttpMethod = \"GET\",\n UrlPath = \"*\",\n Version = 1,\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewSamplingRule(ctx, \"samplingRule\", \u0026xray.SamplingRuleArgs{\n\t\t\tSamplingRule: \u0026xray.SamplingRuleSamplingRuleArgs{\n\t\t\t\tRuleName: pulumi.String(\"MySamplingRule\"),\n\t\t\t\tResourceARN: pulumi.String(\"*\"),\n\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\tFixedRate: pulumi.Float64(0.05),\n\t\t\t\tReservoirSize: pulumi.Int(50),\n\t\t\t\tServiceName: pulumi.String(\"MyServiceName\"),\n\t\t\t\tServiceType: pulumi.String(\"MyServiceType\"),\n\t\t\t\tHost: pulumi.String(\"MyHost\"),\n\t\t\t\tHttpMethod: \"GET\",\n\t\t\t\tUrlPath: \"*\",\n\t\t\t\tVersion: pulumi.Int(1),\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst samplingRule = new aws_native.xray.SamplingRule(\"samplingRule\", {samplingRule: {\n ruleName: \"MySamplingRule\",\n resourceARN: \"*\",\n priority: 2,\n fixedRate: 0.05,\n reservoirSize: 50,\n serviceName: \"MyServiceName\",\n serviceType: \"MyServiceType\",\n host: \"MyHost\",\n httpMethod: \"GET\",\n urlPath: \"*\",\n version: 1,\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsampling_rule = aws_native.xray.SamplingRule(\"samplingRule\", sampling_rule=aws_native.xray.SamplingRuleSamplingRuleArgs(\n rule_name=\"MySamplingRule\",\n resource_arn=\"*\",\n priority=2,\n fixed_rate=0.05,\n reservoir_size=50,\n service_name=\"MyServiceName\",\n service_type=\"MyServiceType\",\n host=\"MyHost\",\n http_method=\"GET\",\n url_path=\"*\",\n version=1,\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var samplingRule = new AwsNative.XRay.SamplingRule(\"samplingRule\", new AwsNative.XRay.SamplingRuleArgs\n {\n SamplingRuleUpdate = new AwsNative.XRay.Inputs.SamplingRuleSamplingRuleUpdateArgs\n {\n RuleName = \"MySamplingRule\",\n ResourceARN = \"*\",\n Priority = 1,\n FixedRate = 0.07,\n ReservoirSize = 20,\n ServiceName = \"MyServiceName\",\n ServiceType = \"MyServiceType\",\n Host = \"MyHost\",\n HttpMethod = \"GET\",\n UrlPath = \"*\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewSamplingRule(ctx, \"samplingRule\", \u0026xray.SamplingRuleArgs{\n\t\t\tSamplingRuleUpdate: \u0026xray.SamplingRuleSamplingRuleUpdateArgs{\n\t\t\t\tRuleName: pulumi.String(\"MySamplingRule\"),\n\t\t\t\tResourceARN: pulumi.String(\"*\"),\n\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\tFixedRate: pulumi.Float64(0.07),\n\t\t\t\tReservoirSize: pulumi.Int(20),\n\t\t\t\tServiceName: pulumi.String(\"MyServiceName\"),\n\t\t\t\tServiceType: pulumi.String(\"MyServiceType\"),\n\t\t\t\tHost: pulumi.String(\"MyHost\"),\n\t\t\t\tHttpMethod: \"GET\",\n\t\t\t\tUrlPath: \"*\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst samplingRule = new aws_native.xray.SamplingRule(\"samplingRule\", {samplingRuleUpdate: {\n ruleName: \"MySamplingRule\",\n resourceARN: \"*\",\n priority: 1,\n fixedRate: 0.07,\n reservoirSize: 20,\n serviceName: \"MyServiceName\",\n serviceType: \"MyServiceType\",\n host: \"MyHost\",\n httpMethod: \"GET\",\n urlPath: \"*\",\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsampling_rule = aws_native.xray.SamplingRule(\"samplingRule\", sampling_rule_update=aws_native.xray.SamplingRuleSamplingRuleUpdateArgs(\n rule_name=\"MySamplingRule\",\n resource_arn=\"*\",\n priority=1,\n fixed_rate=0.07,\n reservoir_size=20,\n service_name=\"MyServiceName\",\n service_type=\"MyServiceType\",\n host=\"MyHost\",\n http_method=\"GET\",\n url_path=\"*\",\n))\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var samplingRule = new AwsNative.XRay.SamplingRule(\"samplingRule\", new AwsNative.XRay.SamplingRuleArgs\n {\n SamplingRuleUpdate = new AwsNative.XRay.Inputs.SamplingRuleSamplingRuleUpdateArgs\n {\n RuleName = \"MySamplingRule\",\n ResourceARN = \"*\",\n Priority = 1,\n FixedRate = 0.07,\n ReservoirSize = 20,\n ServiceName = \"MyServiceName\",\n ServiceType = \"MyServiceType\",\n Host = \"MyHost\",\n HttpMethod = \"GET\",\n UrlPath = \"*\",\n },\n });\n }\n\n}\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray\"\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 := xray.NewSamplingRule(ctx, \"samplingRule\", \u0026xray.SamplingRuleArgs{\n\t\t\tSamplingRuleUpdate: \u0026xray.SamplingRuleSamplingRuleUpdateArgs{\n\t\t\t\tRuleName: pulumi.String(\"MySamplingRule\"),\n\t\t\t\tResourceARN: pulumi.String(\"*\"),\n\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\tFixedRate: pulumi.Float64(0.07),\n\t\t\t\tReservoirSize: pulumi.Int(20),\n\t\t\t\tServiceName: pulumi.String(\"MyServiceName\"),\n\t\t\t\tServiceType: pulumi.String(\"MyServiceType\"),\n\t\t\t\tHost: pulumi.String(\"MyHost\"),\n\t\t\t\tHttpMethod: \"GET\",\n\t\t\t\tUrlPath: \"*\",\n\t\t\t},\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```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst samplingRule = new aws_native.xray.SamplingRule(\"samplingRule\", {samplingRuleUpdate: {\n ruleName: \"MySamplingRule\",\n resourceARN: \"*\",\n priority: 1,\n fixedRate: 0.07,\n reservoirSize: 20,\n serviceName: \"MyServiceName\",\n serviceType: \"MyServiceType\",\n host: \"MyHost\",\n httpMethod: \"GET\",\n urlPath: \"*\",\n}});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsampling_rule = aws_native.xray.SamplingRule(\"samplingRule\", sampling_rule_update=aws_native.xray.SamplingRuleSamplingRuleUpdateArgs(\n rule_name=\"MySamplingRule\",\n resource_arn=\"*\",\n priority=1,\n fixed_rate=0.07,\n reservoir_size=20,\n service_name=\"MyServiceName\",\n service_type=\"MyServiceType\",\n host=\"MyHost\",\n http_method=\"GET\",\n url_path=\"*\",\n))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "ruleARN": { "type": "string" diff --git a/provider/go.mod b/provider/go.mod index cab1581db7..462919dfef 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -11,6 +11,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/ssm v1.8.0 github.com/aws/aws-sdk-go-v2/service/sts v1.6.0 github.com/aws/smithy-go v1.6.1-0.20210719175327-4970553d9934 + github.com/blang/semver v3.5.1+incompatible github.com/goccy/go-yaml v1.8.0 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/protobuf v1.5.2 diff --git a/provider/pkg/cf2pulumi/renderer.go b/provider/pkg/cf2pulumi/renderer.go index eeb784c09c..125cc8a222 100644 --- a/provider/pkg/cf2pulumi/renderer.go +++ b/provider/pkg/cf2pulumi/renderer.go @@ -12,6 +12,8 @@ import ( "github.com/goccy/go-yaml/parser" "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/hclsyntax" + "github.com/pkg/errors" + "github.com/pulumi/pulumi-aws-native/provider/pkg/schema" "github.com/pulumi/pulumi/pkg/v3/codegen" "github.com/pulumi/pulumi/pkg/v3/codegen/hcl2/model" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" @@ -437,7 +439,6 @@ func (ctx *renderContext) renderFunctionCall(name string, arg ast.Node) (model.E Collection: &model.ScopeTraversalExpression{ Traversal: hcl.Traversal{ hcl.TraverseRoot{Name: resourceVar.Name}, - hcl.TraverseAttr{Name: "attributes"}, }, Parts: []model.Traversable{ resourceVar, @@ -448,11 +449,11 @@ func (ctx *renderContext) renderFunctionCall(name string, arg ast.Node) (model.E }, nil } + propName := schema.ToPropertyName(attrName) return &model.ScopeTraversalExpression{ Traversal: hcl.Traversal{ hcl.TraverseRoot{Name: resourceVar.Name}, - hcl.TraverseAttr{Name: "attributes"}, - hcl.TraverseAttr{Name: strings.Replace(attrName, ".", "", -1)}, + hcl.TraverseAttr{Name: strings.Replace(propName, ".", "", -1)}, }, Parts: []model.Traversable{ resourceVar, @@ -625,7 +626,7 @@ func (ctx *renderContext) renderValue(node ast.Node) (model.Expression, error) { if err != nil { return nil, err } - items = append(items, objectConsItem(keyString(f), v)) + items = append(items, objectConsItem(camel(keyString(f)), v)) } return &model.ObjectConsExpression{ Items: items, @@ -871,14 +872,20 @@ func (ctx *renderContext) renderResource(attr *ast.MappingValueNode) (model.Body for _, f := range values { switch keyString(f) { case "CreationPolicy", "DeletionPolicy", "Metadata", "Properties", "UpdatePolicy", "UpdateReplacePolicy": - v, err := ctx.renderValue(f.Value) - if err != nil { - return nil, err + subValues, ok := mapValues(f.Value) + if !ok { + return nil, fmt.Errorf("'%v' must be a mapping", keyString(f)) + } + for _, sf := range subValues { + sv, err := ctx.renderValue(sf.Value) + if err != nil { + return nil, err + } + items = append(items, &model.Attribute{ + Name: camel(keyString(sf)), + Value: sv, + }) } - items = append(items, &model.Attribute{ - Name: camel(keyString(f)), - Value: v, - }) case "DependsOn": var arr []ast.Node switch f.Value.Type() { @@ -919,7 +926,13 @@ func (ctx *renderContext) renderResource(attr *ast.MappingValueNode) (model.Body if f.Value.Type() != ast.StringType { return nil, fmt.Errorf("the \"Type\" of reosurce '%v' must be a string", name) } - token = resourceToken(f.Value.(*ast.StringNode).Value) + cfType := f.Value.(*ast.StringNode).Value + resourceType := cfType + parts := strings.Split(cfType, "::") + if len(parts) == 3 { + resourceType = fmt.Sprintf("%s::%s::%s", parts[0], strings.ToLower(parts[1]), parts[2]) + } + token = resourceToken(resourceType) default: return nil, fmt.Errorf("unsupported property '%v' in resource '%v'", f.Key, name) } @@ -1270,3 +1283,18 @@ func RenderFile(path string) (*model.Body, error) { } return RenderTemplate(file) } + +// RenderText parses and renders a CloudFormation template to a PCL program body. If there are errors in the template, +// the function returns an error. +func RenderText(yaml string) (body *model.Body, err error) { + defer func() { + if r := recover(); r != nil { + err = fmt.Errorf("panic recovered during YAML parsing: %v", r) + } + }() + file, err := parser.ParseBytes([]byte(yaml), parser.ParseComments) + if err != nil { + return nil, errors.Wrapf(err, "failed to parse %s", yaml) + } + return RenderTemplate(file) +}