diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea4febdce9c..3135bae232d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,7 @@ CHANGELOG
=========
## HEAD (Unreleased)
-_(none)_
+* Upgrade to v3.14.0 of the AWS Terraform Provider
---
diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json
index ee088ee9200..aff64e66913 100644
--- a/provider/cmd/pulumi-resource-aws/schema.json
+++ b/provider/cmd/pulumi-resource-aws/schema.json
@@ -320,7 +320,7 @@
"properties": {
"commonName": {
"type": "string",
- "description": "Fully qualified domain name (FQDN) associated with the certificate subject.\n",
+ "description": "Fully qualified domain name (FQDN) associated with the certificate subject. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -329,7 +329,7 @@
},
"country": {
"type": "string",
- "description": "Two digit code that specifies the country in which the certificate subject located.\n",
+ "description": "Two digit code that specifies the country in which the certificate subject located. Must be less than or equal to 2 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -338,7 +338,7 @@
},
"distinguishedNameQualifier": {
"type": "string",
- "description": "Disambiguating information for the certificate subject.\n",
+ "description": "Disambiguating information for the certificate subject. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -347,7 +347,7 @@
},
"generationQualifier": {
"type": "string",
- "description": "Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.\n",
+ "description": "Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. Must be less than or equal to 3 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -356,7 +356,7 @@
},
"givenName": {
"type": "string",
- "description": "First name.\n",
+ "description": "First name. Must be less than or equal to 16 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -365,7 +365,7 @@
},
"initials": {
"type": "string",
- "description": "Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`.\n",
+ "description": "Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`. Must be less than or equal to 5 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -374,7 +374,7 @@
},
"locality": {
"type": "string",
- "description": "The locality (such as a city or town) in which the certificate subject is located.\n",
+ "description": "The locality (such as a city or town) in which the certificate subject is located. Must be less than or equal to 128 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -383,7 +383,7 @@
},
"organization": {
"type": "string",
- "description": "Legal name of the organization with which the certificate subject is affiliated.\n",
+ "description": "Legal name of the organization with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -392,7 +392,7 @@
},
"organizationalUnit": {
"type": "string",
- "description": "A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.\n",
+ "description": "A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -401,7 +401,7 @@
},
"pseudonym": {
"type": "string",
- "description": "Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.\n",
+ "description": "Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. Must be less than or equal to 128 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -410,7 +410,7 @@
},
"state": {
"type": "string",
- "description": "State in which the subject of the certificate is located.\n",
+ "description": "State in which the subject of the certificate is located. Must be less than or equal to 128 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -419,7 +419,7 @@
},
"surname": {
"type": "string",
- "description": "Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.\n",
+ "description": "Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. Must be less than or equal to 40 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -428,7 +428,7 @@
},
"title": {
"type": "string",
- "description": "A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject.\n",
+ "description": "A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -456,7 +456,7 @@
"properties": {
"customCname": {
"type": "string",
- "description": "Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public.\n",
+ "description": "Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. Must be less than or equal to 253 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -483,7 +483,7 @@
},
"s3BucketName": {
"type": "string",
- "description": "Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket.\n",
+ "description": "Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket. Must be less than or equal to 255 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -12895,7 +12895,7 @@
},
"launchType": {
"type": "string",
- "description": "Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are EC2 or FARGATE.\n",
+ "description": "Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are `EC2` or `FARGATE`.\n",
"language": {
"python": {
"mapCase": false
@@ -13001,7 +13001,6 @@
},
"inputTemplate": {
"type": "string",
- "description": "Structure containing the template body.\n",
"language": {
"python": {
"mapCase": false
@@ -16086,6 +16085,9 @@
"codepipeline": {
"type": "string"
},
+ "codestarconnections": {
+ "type": "string"
+ },
"cognitoidentity": {
"type": "string"
},
@@ -34413,6 +34415,42 @@
"path"
]
},
+ "aws:glue/CrawlerMongodbTarget:CrawlerMongodbTarget": {
+ "properties": {
+ "connectionName": {
+ "type": "string",
+ "description": "The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "path": {
+ "type": "string",
+ "description": "The path of the Amazon DocumentDB or MongoDB target (database/collection).\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "scanAll": {
+ "type": "boolean",
+ "description": "Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "connectionName",
+ "path"
+ ]
+ },
"aws:glue/CrawlerS3Target:CrawlerS3Target": {
"properties": {
"connectionName": {
@@ -35167,6 +35205,24 @@
}
}
},
+ "notificationProperty": {
+ "$ref": "#/types/aws:glue/TriggerActionNotificationProperty:TriggerActionNotificationProperty",
+ "description": "Specifies configuration properties of a job run notification. see Notification Property details below.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "securityConfiguration": {
+ "type": "string",
+ "description": "The name of the Security Configuration structure to be used with this action.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
"timeout": {
"type": "integer",
"description": "The job run timeout in minutes. It overrides the timeout value of the job.\n",
@@ -35179,6 +35235,20 @@
},
"type": "object"
},
+ "aws:glue/TriggerActionNotificationProperty:TriggerActionNotificationProperty": {
+ "properties": {
+ "notifyDelayAfter": {
+ "type": "integer",
+ "description": "After a job run starts, the number of minutes to wait before sending a job run delay notification.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object"
+ },
"aws:glue/TriggerPredicate:TriggerPredicate": {
"properties": {
"conditions": {
@@ -37158,6 +37228,14 @@
}
}
},
+ "codestarconnections": {
+ "type": "string",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
"cognitoidentity": {
"type": "string",
"language": {
@@ -40013,6 +40091,7 @@
"requiredOutputs": [
"id",
"namePrefix",
+ "parallelism",
"schema",
"startingPositionConfigurations",
"streamNames"
@@ -40087,9 +40166,13 @@
}
},
"type": "object",
- "required": [
- "count"
- ]
+ "language": {
+ "nodejs": {
+ "requiredOutputs": [
+ "count"
+ ]
+ }
+ }
},
"aws:kinesis/AnalyticsApplicationInputsProcessingConfiguration:AnalyticsApplicationInputsProcessingConfiguration": {
"properties": {
@@ -46589,7 +46672,7 @@
"properties": {
"iamRoleArn": {
"type": "string",
- "description": "The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.\n",
+ "description": "The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46627,7 +46710,7 @@
},
"kmsKeyArn": {
"type": "string",
- "description": "The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`.\n",
+ "description": "The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46645,7 +46728,7 @@
},
"resourceArn": {
"type": "string",
- "description": "The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.\n",
+ "description": "The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46758,7 +46841,7 @@
"properties": {
"intentName": {
"type": "string",
- "description": "The name of the intent.\n",
+ "description": "The name of the intent. Must be less than or equal to 100 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46767,7 +46850,7 @@
},
"intentVersion": {
"type": "string",
- "description": "The version of the intent.\n",
+ "description": "The version of the intent. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46788,7 +46871,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentConclusionStatementMessage:IntentConclusionStatementMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -46797,7 +46880,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46814,7 +46897,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46832,7 +46915,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -46850,7 +46933,7 @@
"properties": {
"maxAttempts": {
"type": "integer",
- "description": "The number of times to prompt the user for information.\n",
+ "description": "The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -46862,7 +46945,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentConfirmationPromptMessage:IntentConfirmationPromptMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -46871,7 +46954,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46889,7 +46972,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46907,7 +46990,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -46925,7 +47008,7 @@
"properties": {
"messageVersion": {
"type": "string",
- "description": "The version of the request-response that you want Amazon Lex to use\nto invoke your Lambda function. For more information, see\n[Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).\n",
+ "description": "The version of the request-response that you want Amazon Lex to use\nto invoke your Lambda function. For more information, see\n[Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -46979,7 +47062,7 @@
"properties": {
"maxAttempts": {
"type": "integer",
- "description": "The number of times to prompt the user for information.\n",
+ "description": "The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -46991,7 +47074,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentFollowUpPromptPromptMessage:IntentFollowUpPromptPromptMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -47000,7 +47083,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47018,7 +47101,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47036,7 +47119,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -47057,7 +47140,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentFollowUpPromptRejectionStatementMessage:IntentFollowUpPromptRejectionStatementMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -47066,7 +47149,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47083,7 +47166,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47101,7 +47184,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -47145,7 +47228,7 @@
"properties": {
"messageVersion": {
"type": "string",
- "description": "The version of the request-response that you want Amazon Lex to use\nto invoke your Lambda function. For more information, see\n[Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).\n",
+ "description": "The version of the request-response that you want Amazon Lex to use\nto invoke your Lambda function. For more information, see\n[Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47175,7 +47258,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentRejectionStatementMessage:IntentRejectionStatementMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -47184,7 +47267,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47201,7 +47284,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47219,7 +47302,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -47237,7 +47320,7 @@
"properties": {
"description": {
"type": "string",
- "description": "A description of the bot.\n",
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47246,7 +47329,7 @@
},
"name": {
"type": "string",
- "description": "The name of the intent slot that you want to create. The name is case sensitive.\n",
+ "description": "The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47255,7 +47338,7 @@
},
"priority": {
"type": "integer",
- "description": "Directs Lex the order in which to elicit this slot value from the user.\nFor example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for\nthe slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits\nvalues is arbitrary.\n",
+ "description": "Directs Lex the order in which to elicit this slot value from the user.\nFor example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for\nthe slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits\nvalues is arbitrary. Must be between 1 and 100.\n",
"language": {
"python": {
"mapCase": false
@@ -47264,7 +47347,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47276,7 +47359,7 @@
"items": {
"type": "string"
},
- "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances.\n",
+ "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47294,7 +47377,7 @@
},
"slotType": {
"type": "string",
- "description": "The type of the slot, either a custom slot type that you defined or one of\nthe built-in slot types.\n",
+ "description": "The type of the slot, either a custom slot type that you defined or one of\nthe built-in slot types. Must be less than or equal to 100 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47303,7 +47386,7 @@
},
"slotTypeVersion": {
"type": "string",
- "description": "The version of the slot type.\n",
+ "description": "The version of the slot type. Must be less than or equal to 64 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47331,7 +47414,7 @@
"properties": {
"maxAttempts": {
"type": "integer",
- "description": "The number of times to prompt the user for information.\n",
+ "description": "The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -47343,7 +47426,7 @@
"items": {
"$ref": "#/types/aws:lex/IntentSlotValueElicitationPromptMessage:IntentSlotValueElicitationPromptMessage"
},
- "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message.\n",
+ "description": "A set of messages, each of which provides a message string and its type.\nYou can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).\nAttributes are documented under message. Must contain between 1 and 15 messages.\n",
"language": {
"python": {
"mapCase": false
@@ -47352,7 +47435,7 @@
},
"responseCard": {
"type": "string",
- "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).\n",
+ "description": "The response card. Amazon Lex will substitute session attributes and\nslot values into the response card. For more information, see\n[Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47370,7 +47453,7 @@
"properties": {
"content": {
"type": "string",
- "description": "The text of the message.\n",
+ "description": "The text of the message. Must be less than or equal to 1000 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47388,7 +47471,7 @@
},
"groupNumber": {
"type": "integer",
- "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response.\n",
+ "description": "Identifies the message group that the message belongs to. When a group\nis assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).\n",
"language": {
"python": {
"mapCase": false
@@ -47409,7 +47492,7 @@
"items": {
"type": "string"
},
- "description": "Additional values related to the slot type value.\n",
+ "description": "Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -47418,7 +47501,7 @@
},
"value": {
"type": "string",
- "description": "The value of the slot type.\n",
+ "description": "The value of the slot type. Must be less than or equal to 140 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -51421,6 +51504,34 @@
}
}
},
+ "aws:route53/getResolverEndpointFilter:getResolverEndpointFilter": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "name",
+ "values"
+ ]
+ },
"aws:s3/AccessPointPublicAccessBlockConfiguration:AccessPointPublicAccessBlockConfiguration": {
"properties": {
"blockPublicAcls": {
@@ -51754,7 +51865,7 @@
},
"id": {
"type": "string",
- "description": "Unique identifier for the rule.\n",
+ "description": "Unique identifier for the rule. Must be less than or equal to 255 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -52331,7 +52442,7 @@
},
"id": {
"type": "string",
- "description": "Unique identifier for the rule.\n",
+ "description": "Unique identifier for the rule. Must be less than or equal to 255 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -52340,7 +52451,7 @@
},
"prefix": {
"type": "string",
- "description": "Object keyname prefix identifying one or more objects to which the rule applies.\n",
+ "description": "Object keyname prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -52455,7 +52566,7 @@
"properties": {
"prefix": {
"type": "string",
- "description": "Object keyname prefix that identifies subset of objects to which the rule applies.\n",
+ "description": "Object keyname prefix that identifies subset of objects to which the rule applies. Must be less than or equal to 1024 characters in length.\n",
"language": {
"python": {
"mapCase": false
@@ -53008,6 +53119,119 @@
"repositoryUrl"
]
},
+ "aws:sagemaker/EndpointConfigurationDataCaptureConfig:EndpointConfigurationDataCaptureConfig": {
+ "properties": {
+ "captureContentTypeHeader": {
+ "$ref": "#/types/aws:sagemaker/EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader:EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader",
+ "description": "The content type headers to capture. Fields are documented below.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "captureOptions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:sagemaker/EndpointConfigurationDataCaptureConfigCaptureOption:EndpointConfigurationDataCaptureConfigCaptureOption"
+ },
+ "description": "Specifies what data to capture. Fields are documented below.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "destinationS3Uri": {
+ "type": "string",
+ "description": "The URL for S3 location where the captured data is stored.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "enableCapture": {
+ "type": "boolean",
+ "description": "Flag to enable data capture. Defaults to `false`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "initialSamplingPercentage": {
+ "type": "integer",
+ "description": "Portion of data to capture. Should be between 0 and 100.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "kmsKeyId": {
+ "type": "string",
+ "description": "Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt the captured data on Amazon S3.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "captureOptions",
+ "destinationS3Uri",
+ "initialSamplingPercentage"
+ ]
+ },
+ "aws:sagemaker/EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader:EndpointConfigurationDataCaptureConfigCaptureContentTypeHeader": {
+ "properties": {
+ "csvContentTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The CSV content type headers to capture.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "jsonContentTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The JSON content type headers to capture.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object"
+ },
+ "aws:sagemaker/EndpointConfigurationDataCaptureConfigCaptureOption:EndpointConfigurationDataCaptureConfigCaptureOption": {
+ "properties": {
+ "captureMode": {
+ "type": "string",
+ "description": "Specifies the data to be captured. Should be one of `Input` or `Output`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "captureMode"
+ ]
+ },
"aws:sagemaker/EndpointConfigurationProductionVariant:EndpointConfigurationProductionVariant": {
"properties": {
"acceleratorType": {
@@ -53114,6 +53338,15 @@
}
}
},
+ "imageConfig": {
+ "$ref": "#/types/aws:sagemaker/ModelContainerImageConfig:ModelContainerImageConfig",
+ "description": "Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
"mode": {
"type": "string",
"description": "The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.\n",
@@ -53138,6 +53371,23 @@
"image"
]
},
+ "aws:sagemaker/ModelContainerImageConfig:ModelContainerImageConfig": {
+ "properties": {
+ "repositoryAccessMode": {
+ "type": "string",
+ "description": "Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "repositoryAccessMode"
+ ]
+ },
"aws:sagemaker/ModelPrimaryContainer:ModelPrimaryContainer": {
"properties": {
"containerHostname": {
@@ -53170,6 +53420,15 @@
}
}
},
+ "imageConfig": {
+ "$ref": "#/types/aws:sagemaker/ModelPrimaryContainerImageConfig:ModelPrimaryContainerImageConfig",
+ "description": "Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see [Using a Private Docker Registry for Real-Time Inference Containers](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html). see Image Config.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
"mode": {
"type": "string",
"description": "The container hosts value `SingleModel/MultiModel`. The default value is `SingleModel`.\n",
@@ -53194,6 +53453,23 @@
"image"
]
},
+ "aws:sagemaker/ModelPrimaryContainerImageConfig:ModelPrimaryContainerImageConfig": {
+ "properties": {
+ "repositoryAccessMode": {
+ "type": "string",
+ "description": "Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). Allowed values are: `Platform` and `Vpc`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "repositoryAccessMode"
+ ]
+ },
"aws:sagemaker/ModelVpcConfig:ModelVpcConfig": {
"properties": {
"securityGroupIds": {
@@ -131783,6 +132059,68 @@
"requiredInputs": []
}
}
+ },
+ "aws:workspaces/getWorkspaceWorkspaceProperty:getWorkspaceWorkspaceProperty": {
+ "properties": {
+ "computeTypeName": {
+ "type": "string",
+ "description": "The compute type. For more information, see [Amazon WorkSpaces Bundles](http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles). Valid values are `VALUE`, `STANDARD`, `PERFORMANCE`, `POWER`, `GRAPHICS`, `POWERPRO` and `GRAPHICSPRO`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "rootVolumeSizeGib": {
+ "type": "integer",
+ "description": "The size of the root volume.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "runningMode": {
+ "type": "string",
+ "description": "The running mode. For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html). Valid values are `AUTO_STOP` and `ALWAYS_ON`.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "runningModeAutoStopTimeoutInMinutes": {
+ "type": "integer",
+ "description": "The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ },
+ "userVolumeSizeGib": {
+ "type": "integer",
+ "description": "The size of the user storage.\n",
+ "language": {
+ "python": {
+ "mapCase": false
+ }
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "computeTypeName",
+ "rootVolumeSizeGib",
+ "runningMode",
+ "runningModeAutoStopTimeoutInMinutes",
+ "userVolumeSizeGib"
+ ],
+ "language": {
+ "nodejs": {
+ "requiredInputs": []
+ }
+ }
}
},
"provider": {
@@ -136821,8 +137159,7 @@
"description": "The [template selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-template-selection-expressions) for the integration.\n"
},
"timeoutMilliseconds": {
- "type": "integer",
- "description": "Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.\n"
+ "type": "integer"
},
"tlsConfig": {
"$ref": "#/types/aws:apigatewayv2/IntegrationTlsConfig:IntegrationTlsConfig",
@@ -136832,7 +137169,8 @@
"required": [
"apiId",
"integrationResponseSelectionExpression",
- "integrationType"
+ "integrationType",
+ "timeoutMilliseconds"
],
"inputProperties": {
"apiId": {
@@ -136902,8 +137240,7 @@
"description": "The [template selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-template-selection-expressions) for the integration.\n"
},
"timeoutMilliseconds": {
- "type": "integer",
- "description": "Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.\n"
+ "type": "integer"
},
"tlsConfig": {
"$ref": "#/types/aws:apigatewayv2/IntegrationTlsConfig:IntegrationTlsConfig",
@@ -136988,8 +137325,7 @@
"description": "The [template selection expression](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-template-selection-expressions) for the integration.\n"
},
"timeoutMilliseconds": {
- "type": "integer",
- "description": "Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.\n"
+ "type": "integer"
},
"tlsConfig": {
"$ref": "#/types/aws:apigatewayv2/IntegrationTlsConfig:IntegrationTlsConfig",
@@ -145656,6 +145992,10 @@
"$ref": "#/types/aws:cloudwatch/EventPermissionCondition:EventPermissionCondition",
"description": "Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.\n"
+ },
"principal": {
"type": "string",
"description": "The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.\n"
@@ -145678,6 +146018,10 @@
"$ref": "#/types/aws:cloudwatch/EventPermissionCondition:EventPermissionCondition",
"description": "Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.\n"
+ },
"principal": {
"type": "string",
"description": "The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.\n"
@@ -145702,6 +146046,10 @@
"$ref": "#/types/aws:cloudwatch/EventPermissionCondition:EventPermissionCondition",
"description": "Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.\n"
+ },
"principal": {
"type": "string",
"description": "The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.\n"
@@ -145857,7 +146205,7 @@
}
},
"aws:cloudwatch/eventTarget:EventTarget": {
- "description": "Provides an EventBridge Target resource.\n\n\u003e **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst console = new aws.cloudwatch.EventRule(\"console\", {\n description: \"Capture all EC2 scaling events\",\n eventPattern: `{\n \"source\": [\n \"aws.autoscaling\"\n ],\n \"detail-type\": [\n \"EC2 Instance Launch Successful\",\n \"EC2 Instance Terminate Successful\",\n \"EC2 Instance Launch Unsuccessful\",\n \"EC2 Instance Terminate Unsuccessful\"\n ]\n}\n`,\n});\nconst testStream = new aws.kinesis.Stream(\"testStream\", {shardCount: 1});\nconst yada = new aws.cloudwatch.EventTarget(\"yada\", {\n rule: console.name,\n arn: testStream.arn,\n runCommandTargets: [\n {\n key: \"tag:Name\",\n values: [\"FooBar\"],\n },\n {\n key: \"InstanceIds\",\n values: [\"i-162058cd308bffec2\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nconsole = aws.cloudwatch.EventRule(\"console\",\n description=\"Capture all EC2 scaling events\",\n event_pattern=\"\"\"{\n \"source\": [\n \"aws.autoscaling\"\n ],\n \"detail-type\": [\n \"EC2 Instance Launch Successful\",\n \"EC2 Instance Terminate Successful\",\n \"EC2 Instance Launch Unsuccessful\",\n \"EC2 Instance Terminate Unsuccessful\"\n ]\n}\n\"\"\")\ntest_stream = aws.kinesis.Stream(\"testStream\", shard_count=1)\nyada = aws.cloudwatch.EventTarget(\"yada\",\n rule=console.name,\n arn=test_stream.arn,\n run_command_targets=[\n aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Name\",\n values=[\"FooBar\"],\n ),\n aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"InstanceIds\",\n values=[\"i-162058cd308bffec2\"],\n ),\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var console = new Aws.CloudWatch.EventRule(\"console\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Capture all EC2 scaling events\",\n EventPattern = @\"{\n \"\"source\"\": [\n \"\"aws.autoscaling\"\"\n ],\n \"\"detail-type\"\": [\n \"\"EC2 Instance Launch Successful\"\",\n \"\"EC2 Instance Terminate Successful\"\",\n \"\"EC2 Instance Launch Unsuccessful\"\",\n \"\"EC2 Instance Terminate Unsuccessful\"\"\n ]\n}\n\",\n });\n var testStream = new Aws.Kinesis.Stream(\"testStream\", new Aws.Kinesis.StreamArgs\n {\n ShardCount = 1,\n });\n var yada = new Aws.CloudWatch.EventTarget(\"yada\", new Aws.CloudWatch.EventTargetArgs\n {\n Rule = console.Name,\n Arn = testStream.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Name\",\n Values = \n {\n \"FooBar\",\n },\n },\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"InstanceIds\",\n Values = \n {\n \"i-162058cd308bffec2\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesis\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconsole, err := cloudwatch.NewEventRule(ctx, \"console\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Capture all EC2 scaling events\"),\n\t\t\tEventPattern: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v\", \"{\\n\", \" \\\"source\\\": [\\n\", \" \\\"aws.autoscaling\\\"\\n\", \" ],\\n\", \" \\\"detail-type\\\": [\\n\", \" \\\"EC2 Instance Launch Successful\\\",\\n\", \" \\\"EC2 Instance Terminate Successful\\\",\\n\", \" \\\"EC2 Instance Launch Unsuccessful\\\",\\n\", \" \\\"EC2 Instance Terminate Unsuccessful\\\"\\n\", \" ]\\n\", \"}\\n\")),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestStream, err := kinesis.NewStream(ctx, \"testStream\", \u0026kinesis.StreamArgs{\n\t\t\tShardCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"yada\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tRule: console.Name,\n\t\t\tArn: testStream.Arn,\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Name\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"FooBar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\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-162058cd308bffec2\"),\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{{% /example %}}\n{{% /examples %}}\n## Example SSM Document Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst ssmLifecycleTrust = aws.iam.getPolicyDocument({\n statements: [{\n actions: [\"sts:AssumeRole\"],\n principals: [{\n type: \"Service\",\n identifiers: [\"events.amazonaws.com\"],\n }],\n }],\n});\nconst stopInstance = new aws.ssm.Document(\"stopInstance\", {\n documentType: \"Command\",\n content: ` {\n \"schemaVersion\": \"1.2\",\n \"description\": \"Stop an instance\",\n \"parameters\": {\n\n },\n \"runtimeConfig\": {\n \"aws:runShellScript\": {\n \"properties\": [\n {\n \"id\": \"0.aws:runShellScript\",\n \"runCommand\": [\"halt\"]\n }\n ]\n }\n }\n }\n`,\n});\nconst ssmLifecyclePolicyDocument = stopInstance.arn.apply(arn =\u003e aws.iam.getPolicyDocument({\n statements: [\n {\n effect: \"Allow\",\n actions: [\"ssm:SendCommand\"],\n resources: [\"arn:aws:ec2:eu-west-1:1234567890:instance/*\"],\n conditions: [{\n test: \"StringEquals\",\n variable: \"ec2:ResourceTag/Terminate\",\n values: [\"*\"],\n }],\n },\n {\n effect: \"Allow\",\n actions: [\"ssm:SendCommand\"],\n resources: [arn],\n },\n ],\n}));\nconst ssmLifecycleRole = new aws.iam.Role(\"ssmLifecycleRole\", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust =\u003e ssmLifecycleTrust.json)});\nconst ssmLifecyclePolicy = new aws.iam.Policy(\"ssmLifecyclePolicy\", {policy: ssmLifecyclePolicyDocument.json});\nconst stopInstancesEventRule = new aws.cloudwatch.EventRule(\"stopInstancesEventRule\", {\n description: \"Stop instances nightly\",\n scheduleExpression: \"cron(0 0 * * ? *)\",\n});\nconst stopInstancesEventTarget = new aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\", {\n arn: stopInstance.arn,\n rule: stopInstancesEventRule.name,\n roleArn: ssmLifecycleRole.arn,\n runCommandTargets: [{\n key: \"tag:Terminate\",\n values: [\"midnight\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nssm_lifecycle_trust = aws.iam.get_policy_document(statements=[aws.iam.GetPolicyDocumentStatementArgs(\n actions=[\"sts:AssumeRole\"],\n principals=[aws.iam.GetPolicyDocumentStatementPrincipalArgs(\n type=\"Service\",\n identifiers=[\"events.amazonaws.com\"],\n )],\n)])\nstop_instance = aws.ssm.Document(\"stopInstance\",\n document_type=\"Command\",\n content=\"\"\" {\n \"schemaVersion\": \"1.2\",\n \"description\": \"Stop an instance\",\n \"parameters\": {\n\n },\n \"runtimeConfig\": {\n \"aws:runShellScript\": {\n \"properties\": [\n {\n \"id\": \"0.aws:runShellScript\",\n \"runCommand\": [\"halt\"]\n }\n ]\n }\n }\n }\n\"\"\")\nssm_lifecycle_policy_document = stop_instance.arn.apply(lambda arn: aws.iam.get_policy_document(statements=[\n aws.iam.GetPolicyDocumentStatementArgs(\n effect=\"Allow\",\n actions=[\"ssm:SendCommand\"],\n resources=[\"arn:aws:ec2:eu-west-1:1234567890:instance/*\"],\n conditions=[aws.iam.GetPolicyDocumentStatementConditionArgs(\n test=\"StringEquals\",\n variable=\"ec2:ResourceTag/Terminate\",\n values=[\"*\"],\n )],\n ),\n aws.iam.GetPolicyDocumentStatementArgs(\n effect=\"Allow\",\n actions=[\"ssm:SendCommand\"],\n resources=[arn],\n ),\n]))\nssm_lifecycle_role = aws.iam.Role(\"ssmLifecycleRole\", assume_role_policy=ssm_lifecycle_trust.json)\nssm_lifecycle_policy = aws.iam.Policy(\"ssmLifecyclePolicy\", policy=ssm_lifecycle_policy_document.json)\nstop_instances_event_rule = aws.cloudwatch.EventRule(\"stopInstancesEventRule\",\n description=\"Stop instances nightly\",\n schedule_expression=\"cron(0 0 * * ? *)\")\nstop_instances_event_target = aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\",\n arn=stop_instance.arn,\n rule=stop_instances_event_rule.name,\n role_arn=ssm_lifecycle_role.arn,\n run_command_targets=[aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Terminate\",\n values=[\"midnight\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ssmLifecycleTrust = Output.Create(Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Actions = \n {\n \"sts:AssumeRole\",\n },\n Principals = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalArgs\n {\n Type = \"Service\",\n Identifiers = \n {\n \"events.amazonaws.com\",\n },\n },\n },\n },\n },\n }));\n var stopInstance = new Aws.Ssm.Document(\"stopInstance\", new Aws.Ssm.DocumentArgs\n {\n DocumentType = \"Command\",\n Content = @\" {\n \"\"schemaVersion\"\": \"\"1.2\"\",\n \"\"description\"\": \"\"Stop an instance\"\",\n \"\"parameters\"\": {\n\n },\n \"\"runtimeConfig\"\": {\n \"\"aws:runShellScript\"\": {\n \"\"properties\"\": [\n {\n \"\"id\"\": \"\"0.aws:runShellScript\"\",\n \"\"runCommand\"\": [\"\"halt\"\"]\n }\n ]\n }\n }\n }\n\",\n });\n var ssmLifecyclePolicyDocument = stopInstance.Arn.Apply(arn =\u003e Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Effect = \"Allow\",\n Actions = \n {\n \"ssm:SendCommand\",\n },\n Resources = \n {\n \"arn:aws:ec2:eu-west-1:1234567890:instance/*\",\n },\n Conditions = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionArgs\n {\n Test = \"StringEquals\",\n Variable = \"ec2:ResourceTag/Terminate\",\n Values = \n {\n \"*\",\n },\n },\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Effect = \"Allow\",\n Actions = \n {\n \"ssm:SendCommand\",\n },\n Resources = \n {\n arn,\n },\n },\n },\n }));\n var ssmLifecycleRole = new Aws.Iam.Role(\"ssmLifecycleRole\", new Aws.Iam.RoleArgs\n {\n AssumeRolePolicy = ssmLifecycleTrust.Apply(ssmLifecycleTrust =\u003e ssmLifecycleTrust.Json),\n });\n var ssmLifecyclePolicy = new Aws.Iam.Policy(\"ssmLifecyclePolicy\", new Aws.Iam.PolicyArgs\n {\n Policy = ssmLifecyclePolicyDocument.Apply(ssmLifecyclePolicyDocument =\u003e ssmLifecyclePolicyDocument.Json),\n });\n var stopInstancesEventRule = new Aws.CloudWatch.EventRule(\"stopInstancesEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Stop instances nightly\",\n ScheduleExpression = \"cron(0 0 * * ? *)\",\n });\n var stopInstancesEventTarget = new Aws.CloudWatch.EventTarget(\"stopInstancesEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = stopInstance.Arn,\n Rule = stopInstancesEventRule.Name,\n RoleArn = ssmLifecycleRole.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Terminate\",\n Values = \n {\n \"midnight\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tssmLifecycleTrust, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\n\t\t\tStatements: []iam.GetPolicyDocumentStatement{\n\t\t\t\tiam.GetPolicyDocumentStatement{\n\t\t\t\t\tActions: []string{\n\t\t\t\t\t\t\"sts:AssumeRole\",\n\t\t\t\t\t},\n\t\t\t\t\tPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\tiam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\t\tType: \"Service\",\n\t\t\t\t\t\t\tIdentifiers: []string{\n\t\t\t\t\t\t\t\t\"events.amazonaws.com\",\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}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstopInstance, err := ssm.NewDocument(ctx, \"stopInstance\", \u0026ssm.DocumentArgs{\n\t\t\tDocumentType: pulumi.String(\"Command\"),\n\t\t\tContent: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v\", \" {\\n\", \" \\\"schemaVersion\\\": \\\"1.2\\\",\\n\", \" \\\"description\\\": \\\"Stop an instance\\\",\\n\", \" \\\"parameters\\\": {\\n\", \"\\n\", \" },\\n\", \" \\\"runtimeConfig\\\": {\\n\", \" \\\"aws:runShellScript\\\": {\\n\", \" \\\"properties\\\": [\\n\", \" {\\n\", \" \\\"id\\\": \\\"0.aws:runShellScript\\\",\\n\", \" \\\"runCommand\\\": [\\\"halt\\\"]\\n\", \" }\\n\", \" ]\\n\", \" }\\n\", \" }\\n\", \" }\\n\")),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tssmLifecycleRole, err := iam.NewRole(ctx, \"ssmLifecycleRole\", \u0026iam.RoleArgs{\n\t\t\tAssumeRolePolicy: pulumi.String(ssmLifecycleTrust.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewPolicy(ctx, \"ssmLifecyclePolicy\", \u0026iam.PolicyArgs{\n\t\t\tPolicy: ssmLifecyclePolicyDocument.ApplyT(func(ssmLifecyclePolicyDocument iam.GetPolicyDocumentResult) (string, error) {\n\t\t\t\treturn ssmLifecyclePolicyDocument.Json, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, \"stopInstancesEventRule\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Stop instances nightly\"),\n\t\t\tScheduleExpression: pulumi.String(\"cron(0 0 * * ? *)\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"stopInstancesEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: stopInstance.Arn,\n\t\t\tRule: stopInstancesEventRule.Name,\n\t\t\tRoleArn: ssmLifecycleRole.Arn,\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Terminate\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"midnight\"),\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## Example RunCommand Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst stopInstancesEventRule = new aws.cloudwatch.EventRule(\"stopInstancesEventRule\", {\n description: \"Stop instances nightly\",\n scheduleExpression: \"cron(0 0 * * ? *)\",\n});\nconst stopInstancesEventTarget = new aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\", {\n arn: `arn:aws:ssm:${_var.aws_region}::document/AWS-RunShellScript`,\n input: \"{\\\"commands\\\":[\\\"halt\\\"]}\",\n rule: stopInstancesEventRule.name,\n roleArn: aws_iam_role.ssm_lifecycle.arn,\n runCommandTargets: [{\n key: \"tag:Terminate\",\n values: [\"midnight\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nstop_instances_event_rule = aws.cloudwatch.EventRule(\"stopInstancesEventRule\",\n description=\"Stop instances nightly\",\n schedule_expression=\"cron(0 0 * * ? *)\")\nstop_instances_event_target = aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\",\n arn=f\"arn:aws:ssm:{var['aws_region']}::document/AWS-RunShellScript\",\n input=\"{\\\"commands\\\":[\\\"halt\\\"]}\",\n rule=stop_instances_event_rule.name,\n role_arn=aws_iam_role[\"ssm_lifecycle\"][\"arn\"],\n run_command_targets=[aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Terminate\",\n values=[\"midnight\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var stopInstancesEventRule = new Aws.CloudWatch.EventRule(\"stopInstancesEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Stop instances nightly\",\n ScheduleExpression = \"cron(0 0 * * ? *)\",\n });\n var stopInstancesEventTarget = new Aws.CloudWatch.EventTarget(\"stopInstancesEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = $\"arn:aws:ssm:{@var.Aws_region}::document/AWS-RunShellScript\",\n Input = \"{\\\"commands\\\":[\\\"halt\\\"]}\",\n Rule = stopInstancesEventRule.Name,\n RoleArn = aws_iam_role.Ssm_lifecycle.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Terminate\",\n Values = \n {\n \"midnight\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tstopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, \"stopInstancesEventRule\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Stop instances nightly\"),\n\t\t\tScheduleExpression: pulumi.String(\"cron(0 0 * * ? *)\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"stopInstancesEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: pulumi.String(fmt.Sprintf(\"%v%v%v\", \"arn:aws:ssm:\", _var.Aws_region, \"::document/AWS-RunShellScript\")),\n\t\t\tInput: pulumi.String(\"{\\\"commands\\\":[\\\"halt\\\"]}\"),\n\t\t\tRule: stopInstancesEventRule.Name,\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Ssm_lifecycle.Arn),\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Terminate\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"midnight\"),\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",
+ "description": "Provides an EventBridge Target resource.\n\n\u003e **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst console = new aws.cloudwatch.EventRule(\"console\", {\n description: \"Capture all EC2 scaling events\",\n eventPattern: `{\n \"source\": [\n \"aws.autoscaling\"\n ],\n \"detail-type\": [\n \"EC2 Instance Launch Successful\",\n \"EC2 Instance Terminate Successful\",\n \"EC2 Instance Launch Unsuccessful\",\n \"EC2 Instance Terminate Unsuccessful\"\n ]\n}\n`,\n});\nconst testStream = new aws.kinesis.Stream(\"testStream\", {shardCount: 1});\nconst yada = new aws.cloudwatch.EventTarget(\"yada\", {\n rule: console.name,\n arn: testStream.arn,\n runCommandTargets: [\n {\n key: \"tag:Name\",\n values: [\"FooBar\"],\n },\n {\n key: \"InstanceIds\",\n values: [\"i-162058cd308bffec2\"],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nconsole = aws.cloudwatch.EventRule(\"console\",\n description=\"Capture all EC2 scaling events\",\n event_pattern=\"\"\"{\n \"source\": [\n \"aws.autoscaling\"\n ],\n \"detail-type\": [\n \"EC2 Instance Launch Successful\",\n \"EC2 Instance Terminate Successful\",\n \"EC2 Instance Launch Unsuccessful\",\n \"EC2 Instance Terminate Unsuccessful\"\n ]\n}\n\"\"\")\ntest_stream = aws.kinesis.Stream(\"testStream\", shard_count=1)\nyada = aws.cloudwatch.EventTarget(\"yada\",\n rule=console.name,\n arn=test_stream.arn,\n run_command_targets=[\n aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Name\",\n values=[\"FooBar\"],\n ),\n aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"InstanceIds\",\n values=[\"i-162058cd308bffec2\"],\n ),\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var console = new Aws.CloudWatch.EventRule(\"console\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Capture all EC2 scaling events\",\n EventPattern = @\"{\n \"\"source\"\": [\n \"\"aws.autoscaling\"\"\n ],\n \"\"detail-type\"\": [\n \"\"EC2 Instance Launch Successful\"\",\n \"\"EC2 Instance Terminate Successful\"\",\n \"\"EC2 Instance Launch Unsuccessful\"\",\n \"\"EC2 Instance Terminate Unsuccessful\"\"\n ]\n}\n\",\n });\n var testStream = new Aws.Kinesis.Stream(\"testStream\", new Aws.Kinesis.StreamArgs\n {\n ShardCount = 1,\n });\n var yada = new Aws.CloudWatch.EventTarget(\"yada\", new Aws.CloudWatch.EventTargetArgs\n {\n Rule = console.Name,\n Arn = testStream.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Name\",\n Values = \n {\n \"FooBar\",\n },\n },\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"InstanceIds\",\n Values = \n {\n \"i-162058cd308bffec2\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesis\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconsole, err := cloudwatch.NewEventRule(ctx, \"console\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Capture all EC2 scaling events\"),\n\t\t\tEventPattern: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v\", \"{\\n\", \" \\\"source\\\": [\\n\", \" \\\"aws.autoscaling\\\"\\n\", \" ],\\n\", \" \\\"detail-type\\\": [\\n\", \" \\\"EC2 Instance Launch Successful\\\",\\n\", \" \\\"EC2 Instance Terminate Successful\\\",\\n\", \" \\\"EC2 Instance Launch Unsuccessful\\\",\\n\", \" \\\"EC2 Instance Terminate Unsuccessful\\\"\\n\", \" ]\\n\", \"}\\n\")),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestStream, err := kinesis.NewStream(ctx, \"testStream\", \u0026kinesis.StreamArgs{\n\t\t\tShardCount: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"yada\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tRule: console.Name,\n\t\t\tArn: testStream.Arn,\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Name\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"FooBar\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\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-162058cd308bffec2\"),\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{{% /example %}}\n{{% /examples %}}\n## Example SSM Document Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst ssmLifecycleTrust = aws.iam.getPolicyDocument({\n statements: [{\n actions: [\"sts:AssumeRole\"],\n principals: [{\n type: \"Service\",\n identifiers: [\"events.amazonaws.com\"],\n }],\n }],\n});\nconst stopInstance = new aws.ssm.Document(\"stopInstance\", {\n documentType: \"Command\",\n content: ` {\n \"schemaVersion\": \"1.2\",\n \"description\": \"Stop an instance\",\n \"parameters\": {\n\n },\n \"runtimeConfig\": {\n \"aws:runShellScript\": {\n \"properties\": [\n {\n \"id\": \"0.aws:runShellScript\",\n \"runCommand\": [\"halt\"]\n }\n ]\n }\n }\n }\n`,\n});\nconst ssmLifecyclePolicyDocument = stopInstance.arn.apply(arn =\u003e aws.iam.getPolicyDocument({\n statements: [\n {\n effect: \"Allow\",\n actions: [\"ssm:SendCommand\"],\n resources: [\"arn:aws:ec2:eu-west-1:1234567890:instance/*\"],\n conditions: [{\n test: \"StringEquals\",\n variable: \"ec2:ResourceTag/Terminate\",\n values: [\"*\"],\n }],\n },\n {\n effect: \"Allow\",\n actions: [\"ssm:SendCommand\"],\n resources: [arn],\n },\n ],\n}));\nconst ssmLifecycleRole = new aws.iam.Role(\"ssmLifecycleRole\", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust =\u003e ssmLifecycleTrust.json)});\nconst ssmLifecyclePolicy = new aws.iam.Policy(\"ssmLifecyclePolicy\", {policy: ssmLifecyclePolicyDocument.json});\nconst stopInstancesEventRule = new aws.cloudwatch.EventRule(\"stopInstancesEventRule\", {\n description: \"Stop instances nightly\",\n scheduleExpression: \"cron(0 0 * * ? *)\",\n});\nconst stopInstancesEventTarget = new aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\", {\n arn: stopInstance.arn,\n rule: stopInstancesEventRule.name,\n roleArn: ssmLifecycleRole.arn,\n runCommandTargets: [{\n key: \"tag:Terminate\",\n values: [\"midnight\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nssm_lifecycle_trust = aws.iam.get_policy_document(statements=[aws.iam.GetPolicyDocumentStatementArgs(\n actions=[\"sts:AssumeRole\"],\n principals=[aws.iam.GetPolicyDocumentStatementPrincipalArgs(\n type=\"Service\",\n identifiers=[\"events.amazonaws.com\"],\n )],\n)])\nstop_instance = aws.ssm.Document(\"stopInstance\",\n document_type=\"Command\",\n content=\"\"\" {\n \"schemaVersion\": \"1.2\",\n \"description\": \"Stop an instance\",\n \"parameters\": {\n\n },\n \"runtimeConfig\": {\n \"aws:runShellScript\": {\n \"properties\": [\n {\n \"id\": \"0.aws:runShellScript\",\n \"runCommand\": [\"halt\"]\n }\n ]\n }\n }\n }\n\"\"\")\nssm_lifecycle_policy_document = stop_instance.arn.apply(lambda arn: aws.iam.get_policy_document(statements=[\n aws.iam.GetPolicyDocumentStatementArgs(\n effect=\"Allow\",\n actions=[\"ssm:SendCommand\"],\n resources=[\"arn:aws:ec2:eu-west-1:1234567890:instance/*\"],\n conditions=[aws.iam.GetPolicyDocumentStatementConditionArgs(\n test=\"StringEquals\",\n variable=\"ec2:ResourceTag/Terminate\",\n values=[\"*\"],\n )],\n ),\n aws.iam.GetPolicyDocumentStatementArgs(\n effect=\"Allow\",\n actions=[\"ssm:SendCommand\"],\n resources=[arn],\n ),\n]))\nssm_lifecycle_role = aws.iam.Role(\"ssmLifecycleRole\", assume_role_policy=ssm_lifecycle_trust.json)\nssm_lifecycle_policy = aws.iam.Policy(\"ssmLifecyclePolicy\", policy=ssm_lifecycle_policy_document.json)\nstop_instances_event_rule = aws.cloudwatch.EventRule(\"stopInstancesEventRule\",\n description=\"Stop instances nightly\",\n schedule_expression=\"cron(0 0 * * ? *)\")\nstop_instances_event_target = aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\",\n arn=stop_instance.arn,\n rule=stop_instances_event_rule.name,\n role_arn=ssm_lifecycle_role.arn,\n run_command_targets=[aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Terminate\",\n values=[\"midnight\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ssmLifecycleTrust = Output.Create(Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Actions = \n {\n \"sts:AssumeRole\",\n },\n Principals = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalArgs\n {\n Type = \"Service\",\n Identifiers = \n {\n \"events.amazonaws.com\",\n },\n },\n },\n },\n },\n }));\n var stopInstance = new Aws.Ssm.Document(\"stopInstance\", new Aws.Ssm.DocumentArgs\n {\n DocumentType = \"Command\",\n Content = @\" {\n \"\"schemaVersion\"\": \"\"1.2\"\",\n \"\"description\"\": \"\"Stop an instance\"\",\n \"\"parameters\"\": {\n\n },\n \"\"runtimeConfig\"\": {\n \"\"aws:runShellScript\"\": {\n \"\"properties\"\": [\n {\n \"\"id\"\": \"\"0.aws:runShellScript\"\",\n \"\"runCommand\"\": [\"\"halt\"\"]\n }\n ]\n }\n }\n }\n\",\n });\n var ssmLifecyclePolicyDocument = stopInstance.Arn.Apply(arn =\u003e Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Effect = \"Allow\",\n Actions = \n {\n \"ssm:SendCommand\",\n },\n Resources = \n {\n \"arn:aws:ec2:eu-west-1:1234567890:instance/*\",\n },\n Conditions = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementConditionArgs\n {\n Test = \"StringEquals\",\n Variable = \"ec2:ResourceTag/Terminate\",\n Values = \n {\n \"*\",\n },\n },\n },\n },\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Effect = \"Allow\",\n Actions = \n {\n \"ssm:SendCommand\",\n },\n Resources = \n {\n arn,\n },\n },\n },\n }));\n var ssmLifecycleRole = new Aws.Iam.Role(\"ssmLifecycleRole\", new Aws.Iam.RoleArgs\n {\n AssumeRolePolicy = ssmLifecycleTrust.Apply(ssmLifecycleTrust =\u003e ssmLifecycleTrust.Json),\n });\n var ssmLifecyclePolicy = new Aws.Iam.Policy(\"ssmLifecyclePolicy\", new Aws.Iam.PolicyArgs\n {\n Policy = ssmLifecyclePolicyDocument.Apply(ssmLifecyclePolicyDocument =\u003e ssmLifecyclePolicyDocument.Json),\n });\n var stopInstancesEventRule = new Aws.CloudWatch.EventRule(\"stopInstancesEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Stop instances nightly\",\n ScheduleExpression = \"cron(0 0 * * ? *)\",\n });\n var stopInstancesEventTarget = new Aws.CloudWatch.EventTarget(\"stopInstancesEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = stopInstance.Arn,\n Rule = stopInstancesEventRule.Name,\n RoleArn = ssmLifecycleRole.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Terminate\",\n Values = \n {\n \"midnight\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tssmLifecycleTrust, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\n\t\t\tStatements: []iam.GetPolicyDocumentStatement{\n\t\t\t\tiam.GetPolicyDocumentStatement{\n\t\t\t\t\tActions: []string{\n\t\t\t\t\t\t\"sts:AssumeRole\",\n\t\t\t\t\t},\n\t\t\t\t\tPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\tiam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\t\tType: \"Service\",\n\t\t\t\t\t\t\tIdentifiers: []string{\n\t\t\t\t\t\t\t\t\"events.amazonaws.com\",\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}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstopInstance, err := ssm.NewDocument(ctx, \"stopInstance\", \u0026ssm.DocumentArgs{\n\t\t\tDocumentType: pulumi.String(\"Command\"),\n\t\t\tContent: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v\", \" {\\n\", \" \\\"schemaVersion\\\": \\\"1.2\\\",\\n\", \" \\\"description\\\": \\\"Stop an instance\\\",\\n\", \" \\\"parameters\\\": {\\n\", \"\\n\", \" },\\n\", \" \\\"runtimeConfig\\\": {\\n\", \" \\\"aws:runShellScript\\\": {\\n\", \" \\\"properties\\\": [\\n\", \" {\\n\", \" \\\"id\\\": \\\"0.aws:runShellScript\\\",\\n\", \" \\\"runCommand\\\": [\\\"halt\\\"]\\n\", \" }\\n\", \" ]\\n\", \" }\\n\", \" }\\n\", \" }\\n\")),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tssmLifecycleRole, err := iam.NewRole(ctx, \"ssmLifecycleRole\", \u0026iam.RoleArgs{\n\t\t\tAssumeRolePolicy: pulumi.String(ssmLifecycleTrust.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewPolicy(ctx, \"ssmLifecyclePolicy\", \u0026iam.PolicyArgs{\n\t\t\tPolicy: ssmLifecyclePolicyDocument.ApplyT(func(ssmLifecyclePolicyDocument iam.GetPolicyDocumentResult) (string, error) {\n\t\t\t\treturn ssmLifecyclePolicyDocument.Json, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tstopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, \"stopInstancesEventRule\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Stop instances nightly\"),\n\t\t\tScheduleExpression: pulumi.String(\"cron(0 0 * * ? *)\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"stopInstancesEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: stopInstance.Arn,\n\t\t\tRule: stopInstancesEventRule.Name,\n\t\t\tRoleArn: ssmLifecycleRole.Arn,\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Terminate\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"midnight\"),\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## Example RunCommand Usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst stopInstancesEventRule = new aws.cloudwatch.EventRule(\"stopInstancesEventRule\", {\n description: \"Stop instances nightly\",\n scheduleExpression: \"cron(0 0 * * ? *)\",\n});\nconst stopInstancesEventTarget = new aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\", {\n arn: `arn:aws:ssm:${_var.aws_region}::document/AWS-RunShellScript`,\n input: \"{\\\"commands\\\":[\\\"halt\\\"]}\",\n rule: stopInstancesEventRule.name,\n roleArn: aws_iam_role.ssm_lifecycle.arn,\n runCommandTargets: [{\n key: \"tag:Terminate\",\n values: [\"midnight\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nstop_instances_event_rule = aws.cloudwatch.EventRule(\"stopInstancesEventRule\",\n description=\"Stop instances nightly\",\n schedule_expression=\"cron(0 0 * * ? *)\")\nstop_instances_event_target = aws.cloudwatch.EventTarget(\"stopInstancesEventTarget\",\n arn=f\"arn:aws:ssm:{var['aws_region']}::document/AWS-RunShellScript\",\n input=\"{\\\"commands\\\":[\\\"halt\\\"]}\",\n rule=stop_instances_event_rule.name,\n role_arn=aws_iam_role[\"ssm_lifecycle\"][\"arn\"],\n run_command_targets=[aws.cloudwatch.EventTargetRunCommandTargetArgs(\n key=\"tag:Terminate\",\n values=[\"midnight\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var stopInstancesEventRule = new Aws.CloudWatch.EventRule(\"stopInstancesEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n Description = \"Stop instances nightly\",\n ScheduleExpression = \"cron(0 0 * * ? *)\",\n });\n var stopInstancesEventTarget = new Aws.CloudWatch.EventTarget(\"stopInstancesEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = $\"arn:aws:ssm:{@var.Aws_region}::document/AWS-RunShellScript\",\n Input = \"{\\\"commands\\\":[\\\"halt\\\"]}\",\n Rule = stopInstancesEventRule.Name,\n RoleArn = aws_iam_role.Ssm_lifecycle.Arn,\n RunCommandTargets = \n {\n new Aws.CloudWatch.Inputs.EventTargetRunCommandTargetArgs\n {\n Key = \"tag:Terminate\",\n Values = \n {\n \"midnight\",\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tstopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, \"stopInstancesEventRule\", \u0026cloudwatch.EventRuleArgs{\n\t\t\tDescription: pulumi.String(\"Stop instances nightly\"),\n\t\t\tScheduleExpression: pulumi.String(\"cron(0 0 * * ? *)\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"stopInstancesEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: pulumi.String(fmt.Sprintf(\"%v%v%v\", \"arn:aws:ssm:\", _var.Aws_region, \"::document/AWS-RunShellScript\")),\n\t\t\tInput: pulumi.String(\"{\\\"commands\\\":[\\\"halt\\\"]}\"),\n\t\t\tRule: stopInstancesEventRule.Name,\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Ssm_lifecycle.Arn),\n\t\t\tRunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{\n\t\t\t\t\u0026cloudwatch.EventTargetRunCommandTargetArgs{\n\t\t\t\t\tKey: pulumi.String(\"tag:Terminate\"),\n\t\t\t\t\tValues: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"midnight\"),\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## Example Input Transformer Usage - JSON Object\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleEventRule = new aws.cloudwatch.EventRule(\"exampleEventRule\", {});\n// ...\nconst exampleEventTarget = new aws.cloudwatch.EventTarget(\"exampleEventTarget\", {\n arn: aws_lambda_function.example.arn,\n rule: exampleEventRule.id,\n inputTransformer: {\n inputPaths: {\n instance: `$.detail.instance`,\n status: `$.detail.status`,\n },\n inputTemplate: `{\n \"instance_id\": \u003cinstance\u003e,\n \"instance_status\": \u003cstatus\u003e\n}\n`,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_event_rule = aws.cloudwatch.EventRule(\"exampleEventRule\")\n# ...\nexample_event_target = aws.cloudwatch.EventTarget(\"exampleEventTarget\",\n arn=aws_lambda_function[\"example\"][\"arn\"],\n rule=example_event_rule.id,\n input_transformer=aws.cloudwatch.EventTargetInputTransformerArgs(\n input_paths={\n \"instance\": \"$.detail.instance\",\n \"status\": \"$.detail.status\",\n },\n input_template=\"\"\"{\n \"instance_id\": \u003cinstance\u003e,\n \"instance_status\": \u003cstatus\u003e\n}\n\"\"\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleEventRule = new Aws.CloudWatch.EventRule(\"exampleEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n });\n // ...\n var exampleEventTarget = new Aws.CloudWatch.EventTarget(\"exampleEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = aws_lambda_function.Example.Arn,\n Rule = exampleEventRule.Id,\n InputTransformer = new Aws.CloudWatch.Inputs.EventTargetInputTransformerArgs\n {\n InputPaths = \n {\n { \"instance\", \"$.detail.instance\" },\n { \"status\", \"$.detail.status\" },\n },\n InputTemplate = @\"{\n \"\"instance_id\"\": \u003cinstance\u003e,\n \"\"instance_status\"\": \u003cstatus\u003e\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/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleEventRule, err := cloudwatch.NewEventRule(ctx, \"exampleEventRule\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"exampleEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: pulumi.Any(aws_lambda_function.Example.Arn),\n\t\t\tRule: exampleEventRule.ID(),\n\t\t\tInputTransformer: \u0026cloudwatch.EventTargetInputTransformerArgs{\n\t\t\t\tInputPaths: pulumi.StringMap{\n\t\t\t\t\t\"instance\": pulumi.String(fmt.Sprintf(\"%v%v\", \"$\", \".detail.instance\")),\n\t\t\t\t\t\"status\": pulumi.String(fmt.Sprintf(\"%v%v\", \"$\", \".detail.status\")),\n\t\t\t\t},\n\t\t\t\tInputTemplate: pulumi.String(fmt.Sprintf(\"%v%v%v%v\", \"{\\n\", \" \\\"instance_id\\\": \u003cinstance\u003e,\\n\", \" \\\"instance_status\\\": \u003cstatus\u003e\\n\", \"}\\n\")),\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## Example Input Transformer Usage - Simple String\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleEventRule = new aws.cloudwatch.EventRule(\"exampleEventRule\", {});\n// ...\nconst exampleEventTarget = new aws.cloudwatch.EventTarget(\"exampleEventTarget\", {\n arn: aws_lambda_function.example.arn,\n rule: exampleEventRule.id,\n inputTransformer: {\n inputPaths: {\n instance: `$.detail.instance`,\n status: `$.detail.status`,\n },\n inputTemplate: \"\\\"\u003cinstance\u003e is in state \u003cstatus\u003e\\\"\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_event_rule = aws.cloudwatch.EventRule(\"exampleEventRule\")\n# ...\nexample_event_target = aws.cloudwatch.EventTarget(\"exampleEventTarget\",\n arn=aws_lambda_function[\"example\"][\"arn\"],\n rule=example_event_rule.id,\n input_transformer=aws.cloudwatch.EventTargetInputTransformerArgs(\n input_paths={\n \"instance\": \"$.detail.instance\",\n \"status\": \"$.detail.status\",\n },\n input_template=\"\\\"\u003cinstance\u003e is in state \u003cstatus\u003e\\\"\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleEventRule = new Aws.CloudWatch.EventRule(\"exampleEventRule\", new Aws.CloudWatch.EventRuleArgs\n {\n });\n // ...\n var exampleEventTarget = new Aws.CloudWatch.EventTarget(\"exampleEventTarget\", new Aws.CloudWatch.EventTargetArgs\n {\n Arn = aws_lambda_function.Example.Arn,\n Rule = exampleEventRule.Id,\n InputTransformer = new Aws.CloudWatch.Inputs.EventTargetInputTransformerArgs\n {\n InputPaths = \n {\n { \"instance\", \"$.detail.instance\" },\n { \"status\", \"$.detail.status\" },\n },\n InputTemplate = \"\\\"\u003cinstance\u003e is in state \u003cstatus\u003e\\\"\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleEventRule, err := cloudwatch.NewEventRule(ctx, \"exampleEventRule\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudwatch.NewEventTarget(ctx, \"exampleEventTarget\", \u0026cloudwatch.EventTargetArgs{\n\t\t\tArn: pulumi.Any(aws_lambda_function.Example.Arn),\n\t\t\tRule: exampleEventRule.ID(),\n\t\t\tInputTransformer: \u0026cloudwatch.EventTargetInputTransformerArgs{\n\t\t\t\tInputPaths: pulumi.StringMap{\n\t\t\t\t\t\"instance\": pulumi.String(fmt.Sprintf(\"%v%v\", \"$\", \".detail.instance\")),\n\t\t\t\t\t\"status\": pulumi.String(fmt.Sprintf(\"%v%v\", \"$\", \".detail.status\")),\n\t\t\t\t},\n\t\t\t\tInputTemplate: pulumi.String(\"\\\"\u003cinstance\u003e is in state \u003cstatus\u003e\\\"\"),\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",
"properties": {
"arn": {
"type": "string",
@@ -145871,17 +146219,21 @@
"$ref": "#/types/aws:cloudwatch/EventTargetEcsTarget:EventTargetEcsTarget",
"description": "Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to associate with the rule. If you omit this, the `default` event bus is used.\n"
+ },
"input": {
"type": "string",
- "description": "Valid JSON text passed to the target.\n"
+ "description": "Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.\n"
},
"inputPath": {
"type": "string",
- "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target.\n"
+ "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.\n"
},
"inputTransformer": {
"$ref": "#/types/aws:cloudwatch/EventTargetInputTransformer:EventTargetInputTransformer",
- "description": "Parameters used when you are providing a custom input to a target based on certain event data.\n"
+ "description": "Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.\n"
},
"kinesisTarget": {
"$ref": "#/types/aws:cloudwatch/EventTargetKinesisTarget:EventTargetKinesisTarget",
@@ -145929,17 +146281,21 @@
"$ref": "#/types/aws:cloudwatch/EventTargetEcsTarget:EventTargetEcsTarget",
"description": "Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to associate with the rule. If you omit this, the `default` event bus is used.\n"
+ },
"input": {
"type": "string",
- "description": "Valid JSON text passed to the target.\n"
+ "description": "Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.\n"
},
"inputPath": {
"type": "string",
- "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target.\n"
+ "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.\n"
},
"inputTransformer": {
"$ref": "#/types/aws:cloudwatch/EventTargetInputTransformer:EventTargetInputTransformer",
- "description": "Parameters used when you are providing a custom input to a target based on certain event data.\n"
+ "description": "Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.\n"
},
"kinesisTarget": {
"$ref": "#/types/aws:cloudwatch/EventTargetKinesisTarget:EventTargetKinesisTarget",
@@ -145988,17 +146344,21 @@
"$ref": "#/types/aws:cloudwatch/EventTargetEcsTarget:EventTargetEcsTarget",
"description": "Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.\n"
},
+ "eventBusName": {
+ "type": "string",
+ "description": "The event bus to associate with the rule. If you omit this, the `default` event bus is used.\n"
+ },
"input": {
"type": "string",
- "description": "Valid JSON text passed to the target.\n"
+ "description": "Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.\n"
},
"inputPath": {
"type": "string",
- "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target.\n"
+ "description": "The value of the [JSONPath](http://goessner.net/articles/JsonPath/)\nthat is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.\n"
},
"inputTransformer": {
"$ref": "#/types/aws:cloudwatch/EventTargetInputTransformer:EventTargetInputTransformer",
- "description": "Parameters used when you are providing a custom input to a target based on certain event data.\n"
+ "description": "Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.\n"
},
"kinesisTarget": {
"$ref": "#/types/aws:cloudwatch/EventTargetKinesisTarget:EventTargetKinesisTarget",
@@ -146961,6 +147321,13 @@
"repositoryCount": {
"type": "integer",
"description": "The number of repositories in the domain.\n"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
}
},
"required": [
@@ -146985,6 +147352,13 @@
"encryptionKey": {
"type": "string",
"description": "The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN).\n"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
}
},
"requiredInputs": [
@@ -147026,6 +147400,13 @@
"repositoryCount": {
"type": "integer",
"description": "The number of repositories in the domain.\n"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
}
},
"type": "object"
@@ -147147,6 +147528,13 @@
}
}
},
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
+ },
"upstreams": {
"type": "array",
"items": {
@@ -147188,6 +147576,13 @@
}
}
},
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
+ },
"upstreams": {
"type": "array",
"items": {
@@ -147236,6 +147631,13 @@
}
}
},
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value map of resource tags.\n"
+ },
"upstreams": {
"type": "array",
"items": {
@@ -151934,7 +152336,7 @@
}
},
"aws:directconnect/gatewayAssociation:GatewayAssociation": {
- "description": "Associates a Direct Connect Gateway with a VGW or transit gateway.\n\nTo create a cross-account association, create an `aws.directconnect.GatewayAssociationProposal` resource\nin the AWS account that owns the VGW or transit gateway and then accept the proposal in the AWS account that owns the Direct Connect Gateway\nby creating an `aws.directconnect.GatewayAssociation` resource with the `proposal_id` and `associated_gateway_owner_account_id` attributes set.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### VPN Gateway Association\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleVpc = new aws.ec2.Vpc(\"exampleVpc\", {cidrBlock: \"10.255.255.0/28\"});\nconst exampleVpnGateway = new aws.ec2.VpnGateway(\"exampleVpnGateway\", {vpcId: exampleVpc.id});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleVpnGateway.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_vpc = aws.ec2.Vpc(\"exampleVpc\", cidr_block=\"10.255.255.0/28\")\nexample_vpn_gateway = aws.ec2.VpnGateway(\"exampleVpnGateway\", vpc_id=example_vpc.id)\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_vpn_gateway.id)\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleVpc = new Aws.Ec2.Vpc(\"exampleVpc\", new Aws.Ec2.VpcArgs\n {\n CidrBlock = \"10.255.255.0/28\",\n });\n var exampleVpnGateway = new Aws.Ec2.VpnGateway(\"exampleVpnGateway\", new Aws.Ec2.VpnGatewayArgs\n {\n VpcId = exampleVpc.Id,\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleVpnGateway.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpc, err := ec2.NewVpc(ctx, \"exampleVpc\", \u0026ec2.VpcArgs{\n\t\t\tCidrBlock: pulumi.String(\"10.255.255.0/28\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpnGateway, err := ec2.NewVpnGateway(ctx, \"exampleVpnGateway\", \u0026ec2.VpnGatewayArgs{\n\t\t\tVpcId: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleVpnGateway.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{{% /example %}}\n{{% example %}}\n### Transit Gateway Association\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleTransitGateway = new aws.ec2transitgateway.TransitGateway(\"exampleTransitGateway\", {});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleTransitGateway.id,\n allowedPrefixes: [\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_transit_gateway = aws.ec2transitgateway.TransitGateway(\"exampleTransitGateway\")\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_transit_gateway.id,\n allowed_prefixes=[\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleTransitGateway = new Aws.Ec2TransitGateway.TransitGateway(\"exampleTransitGateway\", new Aws.Ec2TransitGateway.TransitGatewayArgs\n {\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleTransitGateway.Id,\n AllowedPrefixes = \n {\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, \"exampleTransitGateway\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleTransitGateway.ID(),\n\t\t\tAllowedPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.255.255.0/30\"),\n\t\t\t\tpulumi.String(\"10.255.255.8/30\"),\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{{% /example %}}\n{{% example %}}\n### Allowed Prefixes\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleVpc = new aws.ec2.Vpc(\"exampleVpc\", {cidrBlock: \"10.255.255.0/28\"});\nconst exampleVpnGateway = new aws.ec2.VpnGateway(\"exampleVpnGateway\", {vpcId: exampleVpc.id});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleVpnGateway.id,\n allowedPrefixes: [\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_vpc = aws.ec2.Vpc(\"exampleVpc\", cidr_block=\"10.255.255.0/28\")\nexample_vpn_gateway = aws.ec2.VpnGateway(\"exampleVpnGateway\", vpc_id=example_vpc.id)\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_vpn_gateway.id,\n allowed_prefixes=[\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleVpc = new Aws.Ec2.Vpc(\"exampleVpc\", new Aws.Ec2.VpcArgs\n {\n CidrBlock = \"10.255.255.0/28\",\n });\n var exampleVpnGateway = new Aws.Ec2.VpnGateway(\"exampleVpnGateway\", new Aws.Ec2.VpnGatewayArgs\n {\n VpcId = exampleVpc.Id,\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleVpnGateway.Id,\n AllowedPrefixes = \n {\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpc, err := ec2.NewVpc(ctx, \"exampleVpc\", \u0026ec2.VpcArgs{\n\t\t\tCidrBlock: pulumi.String(\"10.255.255.0/28\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpnGateway, err := ec2.NewVpnGateway(ctx, \"exampleVpnGateway\", \u0026ec2.VpnGatewayArgs{\n\t\t\tVpcId: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleVpnGateway.ID(),\n\t\t\tAllowedPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"210.52.109.0/24\"),\n\t\t\t\tpulumi.String(\"175.45.176.0/22\"),\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\nA full example of how to create a VPN Gateway in one AWS account, create a Direct Connect Gateway in a second AWS account, and associate the VPN Gateway with the Direct Connect Gateway via the `aws.directconnect.GatewayAssociationProposal` and `aws.directconnect.GatewayAssociation` resources can be found in [the `./examples/dx-gateway-cross-account-vgw-association` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/dx-gateway-cross-account-vgw-association).\n{{% /example %}}\n{{% /examples %}}",
+ "description": "Associates a Direct Connect Gateway with a VGW or transit gateway.\n\nTo create a cross-account association, create an `aws.directconnect.GatewayAssociationProposal` resource\nin the AWS account that owns the VGW or transit gateway and then accept the proposal in the AWS account that owns the Direct Connect Gateway\nby creating an `aws.directconnect.GatewayAssociation` resource with the `proposal_id` and `associated_gateway_owner_account_id` attributes set.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### VPN Gateway Association\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleVpc = new aws.ec2.Vpc(\"exampleVpc\", {cidrBlock: \"10.255.255.0/28\"});\nconst exampleVpnGateway = new aws.ec2.VpnGateway(\"exampleVpnGateway\", {vpcId: exampleVpc.id});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleVpnGateway.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_vpc = aws.ec2.Vpc(\"exampleVpc\", cidr_block=\"10.255.255.0/28\")\nexample_vpn_gateway = aws.ec2.VpnGateway(\"exampleVpnGateway\", vpc_id=example_vpc.id)\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_vpn_gateway.id)\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleVpc = new Aws.Ec2.Vpc(\"exampleVpc\", new Aws.Ec2.VpcArgs\n {\n CidrBlock = \"10.255.255.0/28\",\n });\n var exampleVpnGateway = new Aws.Ec2.VpnGateway(\"exampleVpnGateway\", new Aws.Ec2.VpnGatewayArgs\n {\n VpcId = exampleVpc.Id,\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleVpnGateway.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpc, err := ec2.NewVpc(ctx, \"exampleVpc\", \u0026ec2.VpcArgs{\n\t\t\tCidrBlock: pulumi.String(\"10.255.255.0/28\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpnGateway, err := ec2.NewVpnGateway(ctx, \"exampleVpnGateway\", \u0026ec2.VpnGatewayArgs{\n\t\t\tVpcId: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleVpnGateway.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{{% /example %}}\n{{% example %}}\n### Transit Gateway Association\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleTransitGateway = new aws.ec2transitgateway.TransitGateway(\"exampleTransitGateway\", {});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleTransitGateway.id,\n allowedPrefixes: [\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_transit_gateway = aws.ec2transitgateway.TransitGateway(\"exampleTransitGateway\")\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_transit_gateway.id,\n allowed_prefixes=[\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleTransitGateway = new Aws.Ec2TransitGateway.TransitGateway(\"exampleTransitGateway\", new Aws.Ec2TransitGateway.TransitGatewayArgs\n {\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleTransitGateway.Id,\n AllowedPrefixes = \n {\n \"10.255.255.0/30\",\n \"10.255.255.8/30\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, \"exampleTransitGateway\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleTransitGateway.ID(),\n\t\t\tAllowedPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.255.255.0/30\"),\n\t\t\t\tpulumi.String(\"10.255.255.8/30\"),\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{{% /example %}}\n{{% example %}}\n### Allowed Prefixes\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleGateway = new aws.directconnect.Gateway(\"exampleGateway\", {amazonSideAsn: \"64512\"});\nconst exampleVpc = new aws.ec2.Vpc(\"exampleVpc\", {cidrBlock: \"10.255.255.0/28\"});\nconst exampleVpnGateway = new aws.ec2.VpnGateway(\"exampleVpnGateway\", {vpcId: exampleVpc.id});\nconst exampleGatewayAssociation = new aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\", {\n dxGatewayId: exampleGateway.id,\n associatedGatewayId: exampleVpnGateway.id,\n allowedPrefixes: [\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_gateway = aws.directconnect.Gateway(\"exampleGateway\", amazon_side_asn=\"64512\")\nexample_vpc = aws.ec2.Vpc(\"exampleVpc\", cidr_block=\"10.255.255.0/28\")\nexample_vpn_gateway = aws.ec2.VpnGateway(\"exampleVpnGateway\", vpc_id=example_vpc.id)\nexample_gateway_association = aws.directconnect.GatewayAssociation(\"exampleGatewayAssociation\",\n dx_gateway_id=example_gateway.id,\n associated_gateway_id=example_vpn_gateway.id,\n allowed_prefixes=[\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n ])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleGateway = new Aws.DirectConnect.Gateway(\"exampleGateway\", new Aws.DirectConnect.GatewayArgs\n {\n AmazonSideAsn = \"64512\",\n });\n var exampleVpc = new Aws.Ec2.Vpc(\"exampleVpc\", new Aws.Ec2.VpcArgs\n {\n CidrBlock = \"10.255.255.0/28\",\n });\n var exampleVpnGateway = new Aws.Ec2.VpnGateway(\"exampleVpnGateway\", new Aws.Ec2.VpnGatewayArgs\n {\n VpcId = exampleVpc.Id,\n });\n var exampleGatewayAssociation = new Aws.DirectConnect.GatewayAssociation(\"exampleGatewayAssociation\", new Aws.DirectConnect.GatewayAssociationArgs\n {\n DxGatewayId = exampleGateway.Id,\n AssociatedGatewayId = exampleVpnGateway.Id,\n AllowedPrefixes = \n {\n \"210.52.109.0/24\",\n \"175.45.176.0/22\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleGateway, err := directconnect.NewGateway(ctx, \"exampleGateway\", \u0026directconnect.GatewayArgs{\n\t\t\tAmazonSideAsn: pulumi.String(\"64512\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpc, err := ec2.NewVpc(ctx, \"exampleVpc\", \u0026ec2.VpcArgs{\n\t\t\tCidrBlock: pulumi.String(\"10.255.255.0/28\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleVpnGateway, err := ec2.NewVpnGateway(ctx, \"exampleVpnGateway\", \u0026ec2.VpnGatewayArgs{\n\t\t\tVpcId: exampleVpc.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = directconnect.NewGatewayAssociation(ctx, \"exampleGatewayAssociation\", \u0026directconnect.GatewayAssociationArgs{\n\t\t\tDxGatewayId: exampleGateway.ID(),\n\t\t\tAssociatedGatewayId: exampleVpnGateway.ID(),\n\t\t\tAllowedPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"210.52.109.0/24\"),\n\t\t\t\tpulumi.String(\"175.45.176.0/22\"),\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{{% /example %}}\n{{% /examples %}}",
"properties": {
"allowedPrefixes": {
"type": "array",
@@ -152052,7 +152454,7 @@
}
},
"aws:directconnect/gatewayAssociationProposal:GatewayAssociationProposal": {
- "description": "Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the `aws.directconnect.GatewayAssociation` resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.directconnect.GatewayAssociationProposal(\"example\", {\n dxGatewayId: aws_dx_gateway.example.id,\n dxGatewayOwnerAccountId: aws_dx_gateway.example.owner_account_id,\n associatedGatewayId: aws_vpn_gateway.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.directconnect.GatewayAssociationProposal(\"example\",\n dx_gateway_id=aws_dx_gateway[\"example\"][\"id\"],\n dx_gateway_owner_account_id=aws_dx_gateway[\"example\"][\"owner_account_id\"],\n associated_gateway_id=aws_vpn_gateway[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.DirectConnect.GatewayAssociationProposal(\"example\", new Aws.DirectConnect.GatewayAssociationProposalArgs\n {\n DxGatewayId = aws_dx_gateway.Example.Id,\n DxGatewayOwnerAccountId = aws_dx_gateway.Example.Owner_account_id,\n AssociatedGatewayId = aws_vpn_gateway.Example.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := directconnect.NewGatewayAssociationProposal(ctx, \"example\", \u0026directconnect.GatewayAssociationProposalArgs{\n\t\t\tDxGatewayId: pulumi.Any(aws_dx_gateway.Example.Id),\n\t\t\tDxGatewayOwnerAccountId: pulumi.Any(aws_dx_gateway.Example.Owner_account_id),\n\t\t\tAssociatedGatewayId: pulumi.Any(aws_vpn_gateway.Example.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\nA full example of how to create a VPN Gateway in one AWS account, create a Direct Connect Gateway in a second AWS account, and associate the VPN Gateway with the Direct Connect Gateway via the `aws.directconnect.GatewayAssociationProposal` and `aws.directconnect.GatewayAssociation` resources can be found in [the `./examples/dx-gateway-cross-account-vgw-association` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/dx-gateway-cross-account-vgw-association).\n{{% /example %}}\n{{% /examples %}}",
+ "description": "Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the `aws.directconnect.GatewayAssociation` resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.directconnect.GatewayAssociationProposal(\"example\", {\n dxGatewayId: aws_dx_gateway.example.id,\n dxGatewayOwnerAccountId: aws_dx_gateway.example.owner_account_id,\n associatedGatewayId: aws_vpn_gateway.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.directconnect.GatewayAssociationProposal(\"example\",\n dx_gateway_id=aws_dx_gateway[\"example\"][\"id\"],\n dx_gateway_owner_account_id=aws_dx_gateway[\"example\"][\"owner_account_id\"],\n associated_gateway_id=aws_vpn_gateway[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.DirectConnect.GatewayAssociationProposal(\"example\", new Aws.DirectConnect.GatewayAssociationProposalArgs\n {\n DxGatewayId = aws_dx_gateway.Example.Id,\n DxGatewayOwnerAccountId = aws_dx_gateway.Example.Owner_account_id,\n AssociatedGatewayId = aws_vpn_gateway.Example.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := directconnect.NewGatewayAssociationProposal(ctx, \"example\", \u0026directconnect.GatewayAssociationProposalArgs{\n\t\t\tDxGatewayId: pulumi.Any(aws_dx_gateway.Example.Id),\n\t\t\tDxGatewayOwnerAccountId: pulumi.Any(aws_dx_gateway.Example.Owner_account_id),\n\t\t\tAssociatedGatewayId: pulumi.Any(aws_vpn_gateway.Example.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{{% /example %}}\n{{% /examples %}}",
"properties": {
"allowedPrefixes": {
"type": "array",
@@ -159045,6 +159447,10 @@
"type": "string",
"description": "EC2 instance ID.\n"
},
+ "networkBorderGroup": {
+ "type": "string",
+ "description": "The location from which the IP address is advertised. Use this parameter to limit the address to this location.\n"
+ },
"networkInterface": {
"type": "string",
"description": "Network interface ID to associate with.\n"
@@ -159087,6 +159493,7 @@
"customerOwnedIp",
"domain",
"instance",
+ "networkBorderGroup",
"networkInterface",
"privateDns",
"privateIp",
@@ -159108,6 +159515,10 @@
"type": "string",
"description": "EC2 instance ID.\n"
},
+ "networkBorderGroup": {
+ "type": "string",
+ "description": "The location from which the IP address is advertised. Use this parameter to limit the address to this location.\n"
+ },
"networkInterface": {
"type": "string",
"description": "Network interface ID to associate with.\n"
@@ -159157,6 +159568,10 @@
"type": "string",
"description": "EC2 instance ID.\n"
},
+ "networkBorderGroup": {
+ "type": "string",
+ "description": "The location from which the IP address is advertised. Use this parameter to limit the address to this location.\n"
+ },
"networkInterface": {
"type": "string",
"description": "Network interface ID to associate with.\n"
@@ -167877,7 +168292,7 @@
}
},
"aws:ec2transitgateway/vpcAttachment:VpcAttachment": {
- "description": "Manages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.ec2transitgateway.VpcAttachment(\"example\", {\n subnetIds: [aws_subnet.example.id],\n transitGatewayId: aws_ec2_transit_gateway.example.id,\n vpcId: aws_vpc.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.VpcAttachment(\"example\",\n subnet_ids=[aws_subnet[\"example\"][\"id\"]],\n transit_gateway_id=aws_ec2_transit_gateway[\"example\"][\"id\"],\n vpc_id=aws_vpc[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Ec2TransitGateway.VpcAttachment(\"example\", new Aws.Ec2TransitGateway.VpcAttachmentArgs\n {\n SubnetIds = \n {\n aws_subnet.Example.Id,\n },\n TransitGatewayId = aws_ec2_transit_gateway.Example.Id,\n VpcId = aws_vpc.Example.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.NewVpcAttachment(ctx, \"example\", \u0026ec2transitgateway.VpcAttachmentArgs{\n\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\tpulumi.Any(aws_subnet.Example.Id),\n\t\t\t},\n\t\t\tTransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),\n\t\t\tVpcId: pulumi.Any(aws_vpc.Example.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\nA full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the `aws.ec2transitgateway.VpcAttachment` and `aws.ec2transitgateway.VpcAttachmentAccepter` resources can be found in [the `./examples/transit-gateway-cross-account-vpc-attachment` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/transit-gateway-cross-account-vpc-attachment).\n{{% /example %}}\n{{% /examples %}}",
+ "description": "Manages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.ec2transitgateway.VpcAttachment(\"example\", {\n subnetIds: [aws_subnet.example.id],\n transitGatewayId: aws_ec2_transit_gateway.example.id,\n vpcId: aws_vpc.example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.VpcAttachment(\"example\",\n subnet_ids=[aws_subnet[\"example\"][\"id\"]],\n transit_gateway_id=aws_ec2_transit_gateway[\"example\"][\"id\"],\n vpc_id=aws_vpc[\"example\"][\"id\"])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Ec2TransitGateway.VpcAttachment(\"example\", new Aws.Ec2TransitGateway.VpcAttachmentArgs\n {\n SubnetIds = \n {\n aws_subnet.Example.Id,\n },\n TransitGatewayId = aws_ec2_transit_gateway.Example.Id,\n VpcId = aws_vpc.Example.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.NewVpcAttachment(ctx, \"example\", \u0026ec2transitgateway.VpcAttachmentArgs{\n\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\tpulumi.Any(aws_subnet.Example.Id),\n\t\t\t},\n\t\t\tTransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),\n\t\t\tVpcId: pulumi.Any(aws_vpc.Example.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{{% /example %}}\n{{% /examples %}}",
"properties": {
"dnsSupport": {
"type": "string",
@@ -168023,7 +168438,7 @@
}
},
"aws:ec2transitgateway/vpcAttachmentAccepter:VpcAttachmentAccepter": {
- "description": "Manages the accepter's side of an EC2 Transit Gateway VPC Attachment.\n\nWhen a cross-account (requester's AWS account differs from the accepter's AWS account) EC2 Transit Gateway VPC Attachment\nis created, an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account.\nThe requester can use the `aws.ec2transitgateway.VpcAttachment` resource to manage its side of the connection\nand the accepter can use the `aws.ec2transitgateway.VpcAttachmentAccepter` resource to \"adopt\" its side of the\nconnection into management.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.ec2transitgateway.VpcAttachmentAccepter(\"example\", {\n transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment.example.id,\n tags: {\n Name: \"Example cross-account attachment\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.VpcAttachmentAccepter(\"example\",\n transit_gateway_attachment_id=aws_ec2_transit_gateway_vpc_attachment[\"example\"][\"id\"],\n tags={\n \"Name\": \"Example cross-account attachment\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Ec2TransitGateway.VpcAttachmentAccepter(\"example\", new Aws.Ec2TransitGateway.VpcAttachmentAccepterArgs\n {\n TransitGatewayAttachmentId = aws_ec2_transit_gateway_vpc_attachment.Example.Id,\n Tags = \n {\n { \"Name\", \"Example cross-account attachment\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, \"example\", \u0026ec2transitgateway.VpcAttachmentAccepterArgs{\n\t\t\tTransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"Example cross-account attachment\"),\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\nA full example of how to how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the `aws.ec2transitgateway.VpcAttachment` and `aws.ec2transitgateway.VpcAttachmentAccepter` resources can be found in [the `./examples/transit-gateway-cross-account-vpc-attachment` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/transit-gateway-cross-account-vpc-attachment).\n{{% /example %}}\n{{% /examples %}}",
+ "description": "Manages the accepter's side of an EC2 Transit Gateway VPC Attachment.\n\nWhen a cross-account (requester's AWS account differs from the accepter's AWS account) EC2 Transit Gateway VPC Attachment\nis created, an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account.\nThe requester can use the `aws.ec2transitgateway.VpcAttachment` resource to manage its side of the connection\nand the accepter can use the `aws.ec2transitgateway.VpcAttachmentAccepter` resource to \"adopt\" its side of the\nconnection into management.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.ec2transitgateway.VpcAttachmentAccepter(\"example\", {\n transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment.example.id,\n tags: {\n Name: \"Example cross-account attachment\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.ec2transitgateway.VpcAttachmentAccepter(\"example\",\n transit_gateway_attachment_id=aws_ec2_transit_gateway_vpc_attachment[\"example\"][\"id\"],\n tags={\n \"Name\": \"Example cross-account attachment\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Ec2TransitGateway.VpcAttachmentAccepter(\"example\", new Aws.Ec2TransitGateway.VpcAttachmentAccepterArgs\n {\n TransitGatewayAttachmentId = aws_ec2_transit_gateway_vpc_attachment.Example.Id,\n Tags = \n {\n { \"Name\", \"Example cross-account attachment\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, \"example\", \u0026ec2transitgateway.VpcAttachmentAccepterArgs{\n\t\t\tTransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"Example cross-account attachment\"),\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{{% /example %}}\n{{% /examples %}}",
"properties": {
"dnsSupport": {
"type": "string",
@@ -178088,7 +178503,7 @@
}
},
"aws:glue/crawler:Crawler": {
- "description": "Manages a Glue Crawler. More information can be found in the [AWS Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DynamoDB Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n dynamodbTargets: [{\n path: \"table-name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n dynamodb_targets=[aws.glue.CrawlerDynamodbTargetArgs(\n path=\"table-name\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n DynamodbTargets = \n {\n new Aws.Glue.Inputs.CrawlerDynamodbTargetArgs\n {\n Path = \"table-name\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tDynamodbTargets: glue.CrawlerDynamodbTargetArray{\n\t\t\t\t\u0026glue.CrawlerDynamodbTargetArgs{\n\t\t\t\t\tPath: pulumi.String(\"table-name\"),\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{{% /example %}}\n{{% example %}}\n### JDBC Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n jdbcTargets: [{\n connectionName: aws_glue_connection.example.name,\n path: `database-name/%`,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n jdbc_targets=[aws.glue.CrawlerJdbcTargetArgs(\n connection_name=aws_glue_connection[\"example\"][\"name\"],\n path=\"database-name/%\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n JdbcTargets = \n {\n new Aws.Glue.Inputs.CrawlerJdbcTargetArgs\n {\n ConnectionName = aws_glue_connection.Example.Name,\n Path = \"database-name/%\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tJdbcTargets: glue.CrawlerJdbcTargetArray{\n\t\t\t\t\u0026glue.CrawlerJdbcTargetArgs{\n\t\t\t\t\tConnectionName: pulumi.Any(aws_glue_connection.Example.Name),\n\t\t\t\t\tPath: pulumi.String(fmt.Sprintf(\"%v%v\", \"database-name/\", \"%\")),\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{{% /example %}}\n{{% example %}}\n### S3 Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n s3Targets: [{\n path: `s3://${aws_s3_bucket.example.bucket}`,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n s3_targets=[aws.glue.CrawlerS3TargetArgs(\n path=f\"s3://{aws_s3_bucket['example']['bucket']}\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n S3Targets = \n {\n new Aws.Glue.Inputs.CrawlerS3TargetArgs\n {\n Path = $\"s3://{aws_s3_bucket.Example.Bucket}\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tS3Targets: glue.CrawlerS3TargetArray{\n\t\t\t\t\u0026glue.CrawlerS3TargetArgs{\n\t\t\t\t\tPath: pulumi.String(fmt.Sprintf(\"%v%v\", \"s3://\", aws_s3_bucket.Example.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{{% /example %}}\n{{% example %}}\n### Catalog Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n catalogTargets: [{\n databaseName: aws_glue_catalog_database.example.name,\n tables: [aws_glue_catalog_table.example.name],\n }],\n schemaChangePolicy: {\n deleteBehavior: \"LOG\",\n },\n configuration: `{\n \"Version\":1.0,\n \"Grouping\": {\n \"TableGroupingPolicy\": \"CombineCompatibleSchemas\"\n }\n}\n`,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n catalog_targets=[aws.glue.CrawlerCatalogTargetArgs(\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n tables=[aws_glue_catalog_table[\"example\"][\"name\"]],\n )],\n schema_change_policy=aws.glue.CrawlerSchemaChangePolicyArgs(\n delete_behavior=\"LOG\",\n ),\n configuration=\"\"\"{\n \"Version\":1.0,\n \"Grouping\": {\n \"TableGroupingPolicy\": \"CombineCompatibleSchemas\"\n }\n}\n\"\"\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n CatalogTargets = \n {\n new Aws.Glue.Inputs.CrawlerCatalogTargetArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Tables = \n {\n aws_glue_catalog_table.Example.Name,\n },\n },\n },\n SchemaChangePolicy = new Aws.Glue.Inputs.CrawlerSchemaChangePolicyArgs\n {\n DeleteBehavior = \"LOG\",\n },\n Configuration = @\"{\n \"\"Version\"\":1.0,\n \"\"Grouping\"\": {\n \"\"TableGroupingPolicy\"\": \"\"CombineCompatibleSchemas\"\"\n }\n}\n\",\n });\n }\n\n}\n```\n{{% /example %}}\n{{% /examples %}}",
+ "description": "Manages a Glue Crawler. More information can be found in the [AWS Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### DynamoDB Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n dynamodbTargets: [{\n path: \"table-name\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n dynamodb_targets=[aws.glue.CrawlerDynamodbTargetArgs(\n path=\"table-name\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n DynamodbTargets = \n {\n new Aws.Glue.Inputs.CrawlerDynamodbTargetArgs\n {\n Path = \"table-name\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tDynamodbTargets: glue.CrawlerDynamodbTargetArray{\n\t\t\t\t\u0026glue.CrawlerDynamodbTargetArgs{\n\t\t\t\t\tPath: pulumi.String(\"table-name\"),\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{{% /example %}}\n{{% example %}}\n### JDBC Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n jdbcTargets: [{\n connectionName: aws_glue_connection.example.name,\n path: `database-name/%`,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n jdbc_targets=[aws.glue.CrawlerJdbcTargetArgs(\n connection_name=aws_glue_connection[\"example\"][\"name\"],\n path=\"database-name/%\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n JdbcTargets = \n {\n new Aws.Glue.Inputs.CrawlerJdbcTargetArgs\n {\n ConnectionName = aws_glue_connection.Example.Name,\n Path = \"database-name/%\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tJdbcTargets: glue.CrawlerJdbcTargetArray{\n\t\t\t\t\u0026glue.CrawlerJdbcTargetArgs{\n\t\t\t\t\tConnectionName: pulumi.Any(aws_glue_connection.Example.Name),\n\t\t\t\t\tPath: pulumi.String(fmt.Sprintf(\"%v%v\", \"database-name/\", \"%\")),\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{{% /example %}}\n{{% example %}}\n### S3 Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n s3Targets: [{\n path: `s3://${aws_s3_bucket.example.bucket}`,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n s3_targets=[aws.glue.CrawlerS3TargetArgs(\n path=f\"s3://{aws_s3_bucket['example']['bucket']}\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n S3Targets = \n {\n new Aws.Glue.Inputs.CrawlerS3TargetArgs\n {\n Path = $\"s3://{aws_s3_bucket.Example.Bucket}\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tS3Targets: glue.CrawlerS3TargetArray{\n\t\t\t\t\u0026glue.CrawlerS3TargetArgs{\n\t\t\t\t\tPath: pulumi.String(fmt.Sprintf(\"%v%v\", \"s3://\", aws_s3_bucket.Example.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{{% /example %}}\n{{% example %}}\n### Catalog Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n catalogTargets: [{\n databaseName: aws_glue_catalog_database.example.name,\n tables: [aws_glue_catalog_table.example.name],\n }],\n schemaChangePolicy: {\n deleteBehavior: \"LOG\",\n },\n configuration: `{\n \"Version\":1.0,\n \"Grouping\": {\n \"TableGroupingPolicy\": \"CombineCompatibleSchemas\"\n }\n}\n`,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n catalog_targets=[aws.glue.CrawlerCatalogTargetArgs(\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n tables=[aws_glue_catalog_table[\"example\"][\"name\"]],\n )],\n schema_change_policy=aws.glue.CrawlerSchemaChangePolicyArgs(\n delete_behavior=\"LOG\",\n ),\n configuration=\"\"\"{\n \"Version\":1.0,\n \"Grouping\": {\n \"TableGroupingPolicy\": \"CombineCompatibleSchemas\"\n }\n}\n\"\"\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n CatalogTargets = \n {\n new Aws.Glue.Inputs.CrawlerCatalogTargetArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Tables = \n {\n aws_glue_catalog_table.Example.Name,\n },\n },\n },\n SchemaChangePolicy = new Aws.Glue.Inputs.CrawlerSchemaChangePolicyArgs\n {\n DeleteBehavior = \"LOG\",\n },\n Configuration = @\"{\n \"\"Version\"\":1.0,\n \"\"Grouping\"\": {\n \"\"TableGroupingPolicy\"\": \"\"CombineCompatibleSchemas\"\"\n }\n}\n\",\n });\n }\n\n}\n```\n{{% /example %}}\n{{% example %}}\n### MongoDB Target\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.glue.Crawler(\"example\", {\n databaseName: aws_glue_catalog_database.example.name,\n role: aws_iam_role.example.arn,\n mongodbTargets: [{\n connectionName: aws_glue_connection.example.name,\n path: `database-name/%`,\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.glue.Crawler(\"example\",\n database_name=aws_glue_catalog_database[\"example\"][\"name\"],\n role=aws_iam_role[\"example\"][\"arn\"],\n mongodb_targets=[aws.glue.CrawlerMongodbTargetArgs(\n connection_name=aws_glue_connection[\"example\"][\"name\"],\n path=\"database-name/%\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Glue.Crawler(\"example\", new Aws.Glue.CrawlerArgs\n {\n DatabaseName = aws_glue_catalog_database.Example.Name,\n Role = aws_iam_role.Example.Arn,\n MongodbTargets = \n {\n new Aws.Glue.Inputs.CrawlerMongodbTargetArgs\n {\n ConnectionName = aws_glue_connection.Example.Name,\n Path = \"database-name/%\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/glue\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := glue.NewCrawler(ctx, \"example\", \u0026glue.CrawlerArgs{\n\t\t\tDatabaseName: pulumi.Any(aws_glue_catalog_database.Example.Name),\n\t\t\tRole: pulumi.Any(aws_iam_role.Example.Arn),\n\t\t\tMongodbTargets: glue.CrawlerMongodbTargetArray{\n\t\t\t\t\u0026glue.CrawlerMongodbTargetArgs{\n\t\t\t\t\tConnectionName: pulumi.Any(aws_glue_connection.Example.Name),\n\t\t\t\t\tPath: pulumi.String(fmt.Sprintf(\"%v%v\", \"database-name/\", \"%\")),\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{{% /example %}}\n{{% /examples %}}",
"properties": {
"arn": {
"type": "string",
@@ -178133,6 +178548,13 @@
},
"description": "List of nested JBDC target arguments. See below.\n"
},
+ "mongodbTargets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:glue/CrawlerMongodbTarget:CrawlerMongodbTarget"
+ },
+ "description": "List nested MongoDB target arguments. See below.\n"
+ },
"name": {
"type": "string",
"description": "Name of the crawler.\n"
@@ -178218,6 +178640,13 @@
},
"description": "List of nested JBDC target arguments. See below.\n"
},
+ "mongodbTargets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:glue/CrawlerMongodbTarget:CrawlerMongodbTarget"
+ },
+ "description": "List nested MongoDB target arguments. See below.\n"
+ },
"name": {
"type": "string",
"description": "Name of the crawler.\n"
@@ -178307,6 +178736,13 @@
},
"description": "List of nested JBDC target arguments. See below.\n"
},
+ "mongodbTargets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:glue/CrawlerMongodbTarget:CrawlerMongodbTarget"
+ },
+ "description": "List nested MongoDB target arguments. See below.\n"
+ },
"name": {
"type": "string",
"description": "Name of the crawler.\n"
@@ -186808,7 +187244,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"detectSentiment": {
"type": "boolean",
@@ -186824,14 +187260,14 @@
},
"idleSessionTtlInSeconds": {
"type": "integer",
- "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.\n"
+ "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).\n"
},
"intents": {
"type": "array",
"items": {
"$ref": "#/types/aws:lex/BotIntent:BotIntent"
},
- "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.\n"
+ "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.\n"
},
"lastUpdatedDate": {
"type": "string",
@@ -186843,11 +187279,11 @@
},
"name": {
"type": "string",
- "description": "The name of the bot that you want to create, case sensitive.\n"
+ "description": "The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.\n"
},
"nluIntentConfidenceThreshold": {
"type": "number",
- "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.\n"
+ "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.\n"
},
"processBehavior": {
"type": "string",
@@ -186899,7 +187335,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"detectSentiment": {
"type": "boolean",
@@ -186911,14 +187347,14 @@
},
"idleSessionTtlInSeconds": {
"type": "integer",
- "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.\n"
+ "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).\n"
},
"intents": {
"type": "array",
"items": {
"$ref": "#/types/aws:lex/BotIntent:BotIntent"
},
- "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.\n"
+ "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.\n"
},
"locale": {
"type": "string",
@@ -186926,11 +187362,11 @@
},
"name": {
"type": "string",
- "description": "The name of the bot that you want to create, case sensitive.\n"
+ "description": "The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.\n"
},
"nluIntentConfidenceThreshold": {
"type": "number",
- "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.\n"
+ "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.\n"
},
"processBehavior": {
"type": "string",
@@ -186978,7 +187414,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"detectSentiment": {
"type": "boolean",
@@ -186994,14 +187430,14 @@
},
"idleSessionTtlInSeconds": {
"type": "integer",
- "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.\n"
+ "description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).\n"
},
"intents": {
"type": "array",
"items": {
"$ref": "#/types/aws:lex/BotIntent:BotIntent"
},
- "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.\n"
+ "description": "A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.\n"
},
"lastUpdatedDate": {
"type": "string",
@@ -187013,11 +187449,11 @@
},
"name": {
"type": "string",
- "description": "The name of the bot that you want to create, case sensitive.\n"
+ "description": "The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.\n"
},
"nluIntentConfidenceThreshold": {
"type": "number",
- "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.\n"
+ "description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.\n"
},
"processBehavior": {
"type": "string",
@@ -187068,7 +187504,7 @@
},
"description": {
"type": "string",
- "description": "A description of the alias.\n"
+ "description": "A description of the alias. Must be less than or equal to 200 characters in length.\n"
},
"lastUpdatedDate": {
"type": "string",
@@ -187076,7 +187512,7 @@
},
"name": {
"type": "string",
- "description": "The name of the alias. The name is not case sensitive.\n"
+ "description": "The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
}
},
"required": [
@@ -187103,11 +187539,11 @@
},
"description": {
"type": "string",
- "description": "A description of the alias.\n"
+ "description": "A description of the alias. Must be less than or equal to 200 characters in length.\n"
},
"name": {
"type": "string",
- "description": "The name of the alias. The name is not case sensitive.\n"
+ "description": "The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
}
},
"requiredInputs": [
@@ -187143,7 +187579,7 @@
},
"description": {
"type": "string",
- "description": "A description of the alias.\n"
+ "description": "A description of the alias. Must be less than or equal to 200 characters in length.\n"
},
"lastUpdatedDate": {
"type": "string",
@@ -187151,7 +187587,7 @@
},
"name": {
"type": "string",
- "description": "The name of the alias. The name is not case sensitive.\n"
+ "description": "The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
}
},
"type": "object"
@@ -187186,7 +187622,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"dialogCodeHook": {
"$ref": "#/types/aws:lex/IntentDialogCodeHook:IntentDialogCodeHook",
@@ -187206,7 +187642,7 @@
},
"name": {
"type": "string",
- "description": "The name of the intent slot that you want to create. The name is case sensitive.\n"
+ "description": "The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"parentIntentSignature": {
"type": "string",
@@ -187221,7 +187657,7 @@
"items": {
"type": "string"
},
- "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances.\n"
+ "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.\n"
},
"slots": {
"type": "array",
@@ -187259,7 +187695,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"dialogCodeHook": {
"$ref": "#/types/aws:lex/IntentDialogCodeHook:IntentDialogCodeHook",
@@ -187275,7 +187711,7 @@
},
"name": {
"type": "string",
- "description": "The name of the intent slot that you want to create. The name is case sensitive.\n"
+ "description": "The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"parentIntentSignature": {
"type": "string",
@@ -187290,7 +187726,7 @@
"items": {
"type": "string"
},
- "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances.\n"
+ "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.\n"
},
"slots": {
"type": "array",
@@ -187332,7 +187768,7 @@
},
"description": {
"type": "string",
- "description": "A description of the bot.\n"
+ "description": "A description of the bot. Must be less than or equal to 200 characters in length.\n"
},
"dialogCodeHook": {
"$ref": "#/types/aws:lex/IntentDialogCodeHook:IntentDialogCodeHook",
@@ -187352,7 +187788,7 @@
},
"name": {
"type": "string",
- "description": "The name of the intent slot that you want to create. The name is case sensitive.\n"
+ "description": "The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"parentIntentSignature": {
"type": "string",
@@ -187367,7 +187803,7 @@
"items": {
"type": "string"
},
- "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances.\n"
+ "description": "If you know a specific pattern with which users might respond to\nan Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This\nis optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.\n"
},
"slots": {
"type": "array",
@@ -187401,7 +187837,7 @@
},
"description": {
"type": "string",
- "description": "A description of the slot type.\n"
+ "description": "A description of the slot type. Must be less than or equal to 200 characters in length.\n"
},
"enumerationValues": {
"type": "array",
@@ -187416,7 +187852,7 @@
},
"name": {
"type": "string",
- "description": "The name of the slot type. The name is not case sensitive.\n"
+ "description": "The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"valueSelectionStrategy": {
"type": "string",
@@ -187442,7 +187878,7 @@
},
"description": {
"type": "string",
- "description": "A description of the slot type.\n"
+ "description": "A description of the slot type. Must be less than or equal to 200 characters in length.\n"
},
"enumerationValues": {
"type": "array",
@@ -187453,7 +187889,7 @@
},
"name": {
"type": "string",
- "description": "The name of the slot type. The name is not case sensitive.\n"
+ "description": "The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"valueSelectionStrategy": {
"type": "string",
@@ -187480,7 +187916,7 @@
},
"description": {
"type": "string",
- "description": "A description of the slot type.\n"
+ "description": "A description of the slot type. Must be less than or equal to 200 characters in length.\n"
},
"enumerationValues": {
"type": "array",
@@ -187495,7 +187931,7 @@
},
"name": {
"type": "string",
- "description": "The name of the slot type. The name is not case sensitive.\n"
+ "description": "The name of the slot type. The name is not case sensitive. Must be less than or equal to 100 characters in length.\n"
},
"valueSelectionStrategy": {
"type": "string",
@@ -198057,7 +198493,7 @@
},
"storageEncrypted": {
"type": "boolean",
- "description": "Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engine_mode` and `true` for `serverless` `engine_mode`.\n"
+ "description": "Specifies whether the DB cluster is encrypted\n"
},
"tags": {
"type": "object",
@@ -198094,6 +198530,7 @@
"preferredBackupWindow",
"preferredMaintenanceWindow",
"readerEndpoint",
+ "storageEncrypted",
"vpcSecurityGroupIds"
],
"inputProperties": {
@@ -198248,7 +198685,7 @@
},
"storageEncrypted": {
"type": "boolean",
- "description": "Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engine_mode` and `true` for `serverless` `engine_mode`.\n"
+ "description": "Specifies whether the DB cluster is encrypted\n"
},
"tags": {
"type": "object",
@@ -198439,7 +198876,7 @@
},
"storageEncrypted": {
"type": "boolean",
- "description": "Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engine_mode` and `true` for `serverless` `engine_mode`.\n"
+ "description": "Specifies whether the DB cluster is encrypted\n"
},
"tags": {
"type": "object",
@@ -204452,7 +204889,7 @@
},
"bucket": {
"type": "string",
- "description": "The name of the bucket. If omitted, this provider will assign a random, unique name.\n",
+ "description": "The name of the bucket. If omitted, this provider will assign a random, unique name. Must be less than or equal to 63 characters in length.\n",
"language": {
"csharp": {
"name": "BucketName"
@@ -204465,7 +204902,7 @@
},
"bucketPrefix": {
"type": "string",
- "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`.\n"
+ "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be less than or equal to 37 characters in length.\n"
},
"bucketRegionalDomainName": {
"type": "string",
@@ -204592,7 +205029,7 @@
},
"bucket": {
"type": "string",
- "description": "The name of the bucket. If omitted, this provider will assign a random, unique name.\n",
+ "description": "The name of the bucket. If omitted, this provider will assign a random, unique name. Must be less than or equal to 63 characters in length.\n",
"language": {
"csharp": {
"name": "BucketName"
@@ -204601,7 +205038,7 @@
},
"bucketPrefix": {
"type": "string",
- "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`.\n"
+ "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be less than or equal to 37 characters in length.\n"
},
"corsRules": {
"type": "array",
@@ -204718,7 +205155,7 @@
},
"bucket": {
"type": "string",
- "description": "The name of the bucket. If omitted, this provider will assign a random, unique name.\n",
+ "description": "The name of the bucket. If omitted, this provider will assign a random, unique name. Must be less than or equal to 63 characters in length.\n",
"language": {
"csharp": {
"name": "BucketName"
@@ -204731,7 +205168,7 @@
},
"bucketPrefix": {
"type": "string",
- "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`.\n"
+ "description": "Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be less than or equal to 37 characters in length.\n"
},
"bucketRegionalDomainName": {
"type": "string",
@@ -206061,6 +206498,10 @@
"type": "string",
"description": "The Amazon Resource Name (ARN) assigned by AWS to this endpoint configuration.\n"
},
+ "dataCaptureConfig": {
+ "$ref": "#/types/aws:sagemaker/EndpointConfigurationDataCaptureConfig:EndpointConfigurationDataCaptureConfig",
+ "description": "Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.\n"
+ },
"kmsKeyArn": {
"type": "string",
"description": "Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.\n"
@@ -206090,6 +206531,10 @@
"productionVariants"
],
"inputProperties": {
+ "dataCaptureConfig": {
+ "$ref": "#/types/aws:sagemaker/EndpointConfigurationDataCaptureConfig:EndpointConfigurationDataCaptureConfig",
+ "description": "Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.\n"
+ },
"kmsKeyArn": {
"type": "string",
"description": "Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.\n"
@@ -206123,6 +206568,10 @@
"type": "string",
"description": "The Amazon Resource Name (ARN) assigned by AWS to this endpoint configuration.\n"
},
+ "dataCaptureConfig": {
+ "$ref": "#/types/aws:sagemaker/EndpointConfigurationDataCaptureConfig:EndpointConfigurationDataCaptureConfig",
+ "description": "Specifies the parameters to capture input/output of Sagemaker models endpoints. Fields are documented below.\n"
+ },
"kmsKeyArn": {
"type": "string",
"description": "Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.\n"
@@ -206150,7 +206599,7 @@
}
},
"aws:sagemaker/model:Model": {
- "description": "Provides a SageMaker model resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst model = new aws.sagemaker.Model(\"model\", {\n executionRoleArn: aws_iam_role.foo.arn,\n primaryContainer: {\n image: \"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n },\n});\nconst assumeRole = aws.iam.getPolicyDocument({\n statements: [{\n actions: [\"sts:AssumeRole\"],\n principals: [{\n type: \"Service\",\n identifiers: [\"sagemaker.amazonaws.com\"],\n }],\n }],\n});\nconst role = new aws.iam.Role(\"role\", {assumeRolePolicy: assumeRole.then(assumeRole =\u003e assumeRole.json)});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nmodel = aws.sagemaker.Model(\"model\",\n execution_role_arn=aws_iam_role[\"foo\"][\"arn\"],\n primary_container=aws.sagemaker.ModelPrimaryContainerArgs(\n image=\"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n ))\nassume_role = aws.iam.get_policy_document(statements=[aws.iam.GetPolicyDocumentStatementArgs(\n actions=[\"sts:AssumeRole\"],\n principals=[aws.iam.GetPolicyDocumentStatementPrincipalArgs(\n type=\"Service\",\n identifiers=[\"sagemaker.amazonaws.com\"],\n )],\n)])\nrole = aws.iam.Role(\"role\", assume_role_policy=assume_role.json)\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var model = new Aws.Sagemaker.Model(\"model\", new Aws.Sagemaker.ModelArgs\n {\n ExecutionRoleArn = aws_iam_role.Foo.Arn,\n PrimaryContainer = new Aws.Sagemaker.Inputs.ModelPrimaryContainerArgs\n {\n Image = \"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n },\n });\n var assumeRole = Output.Create(Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Actions = \n {\n \"sts:AssumeRole\",\n },\n Principals = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalArgs\n {\n Type = \"Service\",\n Identifiers = \n {\n \"sagemaker.amazonaws.com\",\n },\n },\n },\n },\n },\n }));\n var role = new Aws.Iam.Role(\"role\", new Aws.Iam.RoleArgs\n {\n AssumeRolePolicy = assumeRole.Apply(assumeRole =\u003e assumeRole.Json),\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sagemaker.NewModel(ctx, \"model\", \u0026sagemaker.ModelArgs{\n\t\t\tExecutionRoleArn: pulumi.Any(aws_iam_role.Foo.Arn),\n\t\t\tPrimaryContainer: \u0026sagemaker.ModelPrimaryContainerArgs{\n\t\t\t\tImage: pulumi.String(\"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tassumeRole, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\n\t\t\tStatements: []iam.GetPolicyDocumentStatement{\n\t\t\t\tiam.GetPolicyDocumentStatement{\n\t\t\t\t\tActions: []string{\n\t\t\t\t\t\t\"sts:AssumeRole\",\n\t\t\t\t\t},\n\t\t\t\t\tPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\tiam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\t\tType: \"Service\",\n\t\t\t\t\t\t\tIdentifiers: []string{\n\t\t\t\t\t\t\t\t\"sagemaker.amazonaws.com\",\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}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = iam.NewRole(ctx, \"role\", \u0026iam.RoleArgs{\n\t\t\tAssumeRolePolicy: pulumi.String(assumeRole.Json),\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{{% /example %}}\n{{% /examples %}}",
+ "description": "Provides a SageMaker model resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst assumeRole = aws.iam.getPolicyDocument({\n statements: [{\n actions: [\"sts:AssumeRole\"],\n principals: [{\n type: \"Service\",\n identifiers: [\"sagemaker.amazonaws.com\"],\n }],\n }],\n});\nconst exampleRole = new aws.iam.Role(\"exampleRole\", {assumeRolePolicy: assumeRole.then(assumeRole =\u003e assumeRole.json)});\nconst exampleModel = new aws.sagemaker.Model(\"exampleModel\", {\n executionRoleArn: exampleRole.arn,\n primaryContainer: {\n image: \"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nassume_role = aws.iam.get_policy_document(statements=[aws.iam.GetPolicyDocumentStatementArgs(\n actions=[\"sts:AssumeRole\"],\n principals=[aws.iam.GetPolicyDocumentStatementPrincipalArgs(\n type=\"Service\",\n identifiers=[\"sagemaker.amazonaws.com\"],\n )],\n)])\nexample_role = aws.iam.Role(\"exampleRole\", assume_role_policy=assume_role.json)\nexample_model = aws.sagemaker.Model(\"exampleModel\",\n execution_role_arn=example_role.arn,\n primary_container=aws.sagemaker.ModelPrimaryContainerArgs(\n image=\"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var assumeRole = Output.Create(Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs\n {\n Statements = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs\n {\n Actions = \n {\n \"sts:AssumeRole\",\n },\n Principals = \n {\n new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalArgs\n {\n Type = \"Service\",\n Identifiers = \n {\n \"sagemaker.amazonaws.com\",\n },\n },\n },\n },\n },\n }));\n var exampleRole = new Aws.Iam.Role(\"exampleRole\", new Aws.Iam.RoleArgs\n {\n AssumeRolePolicy = assumeRole.Apply(assumeRole =\u003e assumeRole.Json),\n });\n var exampleModel = new Aws.Sagemaker.Model(\"exampleModel\", new Aws.Sagemaker.ModelArgs\n {\n ExecutionRoleArn = exampleRole.Arn,\n PrimaryContainer = new Aws.Sagemaker.Inputs.ModelPrimaryContainerArgs\n {\n Image = \"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tassumeRole, err := iam.GetPolicyDocument(ctx, \u0026iam.GetPolicyDocumentArgs{\n\t\t\tStatements: []iam.GetPolicyDocumentStatement{\n\t\t\t\tiam.GetPolicyDocumentStatement{\n\t\t\t\t\tActions: []string{\n\t\t\t\t\t\t\"sts:AssumeRole\",\n\t\t\t\t\t},\n\t\t\t\t\tPrincipals: []iam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\tiam.GetPolicyDocumentStatementPrincipal{\n\t\t\t\t\t\t\tType: \"Service\",\n\t\t\t\t\t\t\tIdentifiers: []string{\n\t\t\t\t\t\t\t\t\"sagemaker.amazonaws.com\",\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}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleRole, err := iam.NewRole(ctx, \"exampleRole\", \u0026iam.RoleArgs{\n\t\t\tAssumeRolePolicy: pulumi.String(assumeRole.Json),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = sagemaker.NewModel(ctx, \"exampleModel\", \u0026sagemaker.ModelArgs{\n\t\t\tExecutionRoleArn: exampleRole.Arn,\n\t\t\tPrimaryContainer: \u0026sagemaker.ModelPrimaryContainerArgs{\n\t\t\t\tImage: pulumi.String(\"174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans: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{{% /example %}}\n{{% /examples %}}",
"properties": {
"arn": {
"type": "string",
@@ -206281,7 +206730,7 @@
}
},
"aws:sagemaker/notebookInstance:NotebookInstance": {
- "description": "Provides a Sagemaker Notebook Instance resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst ni = new aws.sagemaker.NotebookInstance(\"ni\", {\n roleArn: aws_iam_role.role.arn,\n instanceType: \"ml.t2.medium\",\n tags: {\n Name: \"foo\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nni = aws.sagemaker.NotebookInstance(\"ni\",\n role_arn=aws_iam_role[\"role\"][\"arn\"],\n instance_type=\"ml.t2.medium\",\n tags={\n \"Name\": \"foo\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ni = new Aws.Sagemaker.NotebookInstance(\"ni\", new Aws.Sagemaker.NotebookInstanceArgs\n {\n RoleArn = aws_iam_role.Role.Arn,\n InstanceType = \"ml.t2.medium\",\n Tags = \n {\n { \"Name\", \"foo\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sagemaker.NewNotebookInstance(ctx, \"ni\", \u0026sagemaker.NotebookInstanceArgs{\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Role.Arn),\n\t\t\tInstanceType: pulumi.String(\"ml.t2.medium\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"foo\"),\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{{% /example %}}\n{{% example %}}\n### Code repository usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.sagemaker.CodeRepository(\"example\", {\n codeRepositoryName: \"my-notebook-instance-code-repo\",\n gitConfig: {\n repositoryUrl: \"https://github.com/terraform-providers/terraform-provider-aws.git\",\n },\n});\nconst ni = new aws.sagemaker.NotebookInstance(\"ni\", {\n roleArn: aws_iam_role.role.arn,\n instanceType: \"ml.t2.medium\",\n defaultCodeRepository: example.codeRepositoryName,\n tags: {\n Name: \"foo\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.sagemaker.CodeRepository(\"example\",\n code_repository_name=\"my-notebook-instance-code-repo\",\n git_config=aws.sagemaker.CodeRepositoryGitConfigArgs(\n repository_url=\"https://github.com/terraform-providers/terraform-provider-aws.git\",\n ))\nni = aws.sagemaker.NotebookInstance(\"ni\",\n role_arn=aws_iam_role[\"role\"][\"arn\"],\n instance_type=\"ml.t2.medium\",\n default_code_repository=example.code_repository_name,\n tags={\n \"Name\": \"foo\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Sagemaker.CodeRepository(\"example\", new Aws.Sagemaker.CodeRepositoryArgs\n {\n CodeRepositoryName = \"my-notebook-instance-code-repo\",\n GitConfig = new Aws.Sagemaker.Inputs.CodeRepositoryGitConfigArgs\n {\n RepositoryUrl = \"https://github.com/terraform-providers/terraform-provider-aws.git\",\n },\n });\n var ni = new Aws.Sagemaker.NotebookInstance(\"ni\", new Aws.Sagemaker.NotebookInstanceArgs\n {\n RoleArn = aws_iam_role.Role.Arn,\n InstanceType = \"ml.t2.medium\",\n DefaultCodeRepository = example.CodeRepositoryName,\n Tags = \n {\n { \"Name\", \"foo\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := sagemaker.NewCodeRepository(ctx, \"example\", \u0026sagemaker.CodeRepositoryArgs{\n\t\t\tCodeRepositoryName: pulumi.String(\"my-notebook-instance-code-repo\"),\n\t\t\tGitConfig: \u0026sagemaker.CodeRepositoryGitConfigArgs{\n\t\t\t\tRepositoryUrl: pulumi.String(\"https://github.com/terraform-providers/terraform-provider-aws.git\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = sagemaker.NewNotebookInstance(ctx, \"ni\", \u0026sagemaker.NotebookInstanceArgs{\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Role.Arn),\n\t\t\tInstanceType: pulumi.String(\"ml.t2.medium\"),\n\t\t\tDefaultCodeRepository: example.CodeRepositoryName,\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"foo\"),\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{{% /example %}}\n{{% /examples %}}",
+ "description": "Provides a Sagemaker Notebook Instance resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst ni = new aws.sagemaker.NotebookInstance(\"ni\", {\n roleArn: aws_iam_role.role.arn,\n instanceType: \"ml.t2.medium\",\n tags: {\n Name: \"foo\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nni = aws.sagemaker.NotebookInstance(\"ni\",\n role_arn=aws_iam_role[\"role\"][\"arn\"],\n instance_type=\"ml.t2.medium\",\n tags={\n \"Name\": \"foo\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var ni = new Aws.Sagemaker.NotebookInstance(\"ni\", new Aws.Sagemaker.NotebookInstanceArgs\n {\n RoleArn = aws_iam_role.Role.Arn,\n InstanceType = \"ml.t2.medium\",\n Tags = \n {\n { \"Name\", \"foo\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := sagemaker.NewNotebookInstance(ctx, \"ni\", \u0026sagemaker.NotebookInstanceArgs{\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Role.Arn),\n\t\t\tInstanceType: pulumi.String(\"ml.t2.medium\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"foo\"),\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{{% /example %}}\n{{% example %}}\n### Code repository usage\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.sagemaker.CodeRepository(\"example\", {\n codeRepositoryName: \"my-notebook-instance-code-repo\",\n gitConfig: {\n repositoryUrl: \"https://github.com/hashicorp/terraform-provider-aws.git\",\n },\n});\nconst ni = new aws.sagemaker.NotebookInstance(\"ni\", {\n roleArn: aws_iam_role.role.arn,\n instanceType: \"ml.t2.medium\",\n defaultCodeRepository: example.codeRepositoryName,\n tags: {\n Name: \"foo\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.sagemaker.CodeRepository(\"example\",\n code_repository_name=\"my-notebook-instance-code-repo\",\n git_config=aws.sagemaker.CodeRepositoryGitConfigArgs(\n repository_url=\"https://github.com/hashicorp/terraform-provider-aws.git\",\n ))\nni = aws.sagemaker.NotebookInstance(\"ni\",\n role_arn=aws_iam_role[\"role\"][\"arn\"],\n instance_type=\"ml.t2.medium\",\n default_code_repository=example.code_repository_name,\n tags={\n \"Name\": \"foo\",\n })\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.Sagemaker.CodeRepository(\"example\", new Aws.Sagemaker.CodeRepositoryArgs\n {\n CodeRepositoryName = \"my-notebook-instance-code-repo\",\n GitConfig = new Aws.Sagemaker.Inputs.CodeRepositoryGitConfigArgs\n {\n RepositoryUrl = \"https://github.com/hashicorp/terraform-provider-aws.git\",\n },\n });\n var ni = new Aws.Sagemaker.NotebookInstance(\"ni\", new Aws.Sagemaker.NotebookInstanceArgs\n {\n RoleArn = aws_iam_role.Role.Arn,\n InstanceType = \"ml.t2.medium\",\n DefaultCodeRepository = example.CodeRepositoryName,\n Tags = \n {\n { \"Name\", \"foo\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := sagemaker.NewCodeRepository(ctx, \"example\", \u0026sagemaker.CodeRepositoryArgs{\n\t\t\tCodeRepositoryName: pulumi.String(\"my-notebook-instance-code-repo\"),\n\t\t\tGitConfig: \u0026sagemaker.CodeRepositoryGitConfigArgs{\n\t\t\t\tRepositoryUrl: pulumi.String(\"https://github.com/hashicorp/terraform-provider-aws.git\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = sagemaker.NewNotebookInstance(ctx, \"ni\", \u0026sagemaker.NotebookInstanceArgs{\n\t\t\tRoleArn: pulumi.Any(aws_iam_role.Role.Arn),\n\t\t\tInstanceType: pulumi.String(\"ml.t2.medium\"),\n\t\t\tDefaultCodeRepository: example.CodeRepositoryName,\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Name\": pulumi.String(\"foo\"),\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{{% /example %}}\n{{% /examples %}}",
"properties": {
"additionalCodeRepositories": {
"type": "array",
@@ -206632,6 +207081,7 @@
"arn",
"name",
"namePrefix",
+ "policy",
"rotationEnabled",
"rotationLambdaArn",
"rotationRules"
@@ -206736,6 +207186,60 @@
"type": "object"
}
},
+ "aws:secretsmanager/secretPolicy:SecretPolicy": {
+ "description": "Provides a resource to manage AWS Secrets Manager secret policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst exampleSecret = new aws.secretsmanager.Secret(\"exampleSecret\", {});\nconst exampleSecretPolicy = new aws.secretsmanager.SecretPolicy(\"exampleSecretPolicy\", {\n secretArn: exampleSecret.arn,\n policy: `{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n\t{\n\t \"Sid\": \"EnableAllPermissions\",\n\t \"Effect\": \"Allow\",\n\t \"Principal\": {\n\t\t\"AWS\": \"*\"\n\t },\n\t \"Action\": \"secretsmanager:GetSecretValue\",\n\t \"Resource\": \"*\"\n\t}\n ]\n}\n`,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample_secret = aws.secretsmanager.Secret(\"exampleSecret\")\nexample_secret_policy = aws.secretsmanager.SecretPolicy(\"exampleSecretPolicy\",\n secret_arn=example_secret.arn,\n policy=\"\"\"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n\t{\n\t \"Sid\": \"EnableAllPermissions\",\n\t \"Effect\": \"Allow\",\n\t \"Principal\": {\n\t\t\"AWS\": \"*\"\n\t },\n\t \"Action\": \"secretsmanager:GetSecretValue\",\n\t \"Resource\": \"*\"\n\t}\n ]\n}\n\"\"\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var exampleSecret = new Aws.SecretsManager.Secret(\"exampleSecret\", new Aws.SecretsManager.SecretArgs\n {\n });\n var exampleSecretPolicy = new Aws.SecretsManager.SecretPolicy(\"exampleSecretPolicy\", new Aws.SecretsManager.SecretPolicyArgs\n {\n SecretArn = exampleSecret.Arn,\n Policy = @\"{\n \"\"Version\"\": \"\"2012-10-17\"\",\n \"\"Statement\"\": [\n\t{\n\t \"\"Sid\"\": \"\"EnableAllPermissions\"\",\n\t \"\"Effect\"\": \"\"Allow\"\",\n\t \"\"Principal\"\": {\n\t\t\"\"AWS\"\": \"\"*\"\"\n\t },\n\t \"\"Action\"\": \"\"secretsmanager:GetSecretValue\"\",\n\t \"\"Resource\"\": \"\"*\"\"\n\t}\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/sdk/v3/go/aws/secretsmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleSecret, err := secretsmanager.NewSecret(ctx, \"exampleSecret\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = secretsmanager.NewSecretPolicy(ctx, \"exampleSecretPolicy\", \u0026secretsmanager.SecretPolicyArgs{\n\t\t\tSecretArn: exampleSecret.Arn,\n\t\t\tPolicy: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v%v%v%v\", \"{\\n\", \" \\\"Version\\\": \\\"2012-10-17\\\",\\n\", \" \\\"Statement\\\": [\\n\", \"\t{\\n\", \"\t \\\"Sid\\\": \\\"EnableAllPermissions\\\",\\n\", \"\t \\\"Effect\\\": \\\"Allow\\\",\\n\", \"\t \\\"Principal\\\": {\\n\", \"\t\t\\\"AWS\\\": \\\"*\\\"\\n\", \"\t },\\n\", \"\t \\\"Action\\\": \\\"secretsmanager:GetSecretValue\\\",\\n\", \"\t \\\"Resource\\\": \\\"*\\\"\\n\", \"\t}\\n\", \" ]\\n\", \"}\\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{{% /example %}}\n{{% /examples %}}",
+ "properties": {
+ "blockPublicPolicy": {
+ "type": "boolean",
+ "description": "Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret.\n"
+ },
+ "policy": {
+ "type": "string"
+ },
+ "secretArn": {
+ "type": "string",
+ "description": "Secret ARN.\n"
+ }
+ },
+ "required": [
+ "policy",
+ "secretArn"
+ ],
+ "inputProperties": {
+ "blockPublicPolicy": {
+ "type": "boolean",
+ "description": "Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret.\n"
+ },
+ "policy": {
+ "type": "string"
+ },
+ "secretArn": {
+ "type": "string",
+ "description": "Secret ARN.\n"
+ }
+ },
+ "requiredInputs": [
+ "policy",
+ "secretArn"
+ ],
+ "stateInputs": {
+ "description": "Input properties used for looking up and filtering SecretPolicy resources.\n",
+ "properties": {
+ "blockPublicPolicy": {
+ "type": "boolean",
+ "description": "Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret.\n"
+ },
+ "policy": {
+ "type": "string"
+ },
+ "secretArn": {
+ "type": "string",
+ "description": "Secret ARN.\n"
+ }
+ },
+ "type": "object"
+ }
+ },
"aws:secretsmanager/secretRotation:SecretRotation": {
"description": "Provides a resource to manage AWS Secrets Manager secret rotation. To manage a secret, see the [`aws.secretsmanager.Secret` resource](https://www.terraform.io/docs/providers/aws/r/secretsmanager_secret.html). To manage a secret value, see the [`aws.secretsmanager.SecretVersion` resource](https://www.terraform.io/docs/providers/aws/r/secretsmanager_secret_version.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.secretsmanager.SecretRotation(\"example\", {\n secretId: aws_secretsmanager_secret.example.id,\n rotationLambdaArn: aws_lambda_function.example.arn,\n rotationRules: {\n automaticallyAfterDays: 30,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.secretsmanager.SecretRotation(\"example\",\n secret_id=aws_secretsmanager_secret[\"example\"][\"id\"],\n rotation_lambda_arn=aws_lambda_function[\"example\"][\"arn\"],\n rotation_rules=aws.secretsmanager.SecretRotationRotationRulesArgs(\n automatically_after_days=30,\n ))\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = new Aws.SecretsManager.SecretRotation(\"example\", new Aws.SecretsManager.SecretRotationArgs\n {\n SecretId = aws_secretsmanager_secret.Example.Id,\n RotationLambdaArn = aws_lambda_function.Example.Arn,\n RotationRules = new Aws.SecretsManager.Inputs.SecretRotationRotationRulesArgs\n {\n AutomaticallyAfterDays = 30,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/secretsmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := secretsmanager.NewSecretRotation(ctx, \"example\", \u0026secretsmanager.SecretRotationArgs{\n\t\t\tSecretId: pulumi.Any(aws_secretsmanager_secret.Example.Id),\n\t\t\tRotationLambdaArn: pulumi.Any(aws_lambda_function.Example.Arn),\n\t\t\tRotationRules: \u0026secretsmanager.SecretRotationRotationRulesArgs{\n\t\t\t\tAutomaticallyAfterDays: pulumi.Int(30),\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{{% /example %}}\n### Rotation Configuration\n\nTo enable automatic secret rotation, the Secrets Manager service requires usage of a Lambda function. The [Rotate Secrets section in the Secrets Manager User Guide](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) provides additional information about deploying a prebuilt Lambda functions for supported credential rotation (e.g. RDS) or deploying a custom Lambda function.\n\n\u003e **NOTE:** Configuring rotation causes the secret to rotate once as soon as you enable rotation. Before you do this, you must ensure that all of your applications that use the credentials stored in the secret are updated to retrieve the secret from AWS Secrets Manager. The old credentials might no longer be usable after the initial rotation and any applications that you fail to update will break as soon as the old credentials are no longer valid.\n\n\u003e **NOTE:** If you cancel a rotation that is in progress (by removing the `rotation` configuration), it can leave the VersionStage labels in an unexpected state. Depending on what step of the rotation was in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the SecretVersionId response value. You should also evaluate the partially rotated new version to see if it should be deleted, which you can do by removing all staging labels from the new version's VersionStage field.\n{{% /examples %}}",
"properties": {
@@ -232167,6 +232671,75 @@
]
}
},
+ "aws:route53/getResolverEndpoint:getResolverEndpoint": {
+ "description": "`aws.route53.ResolverEndpoint` provides details about a specific Route53 Resolver Endpoint.\n\nThis data source allows to find a list of IPaddresses associated with a specific Route53 Resolver Endpoint.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = pulumi.output(aws.route53.getResolverEndpoint({\n resolverEndpointId: \"rslvr-in-1abc2345ef678g91h\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.route53.get_resolver_endpoint(resolver_endpoint_id=\"rslvr-in-1abc2345ef678g91h\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Route53.GetResolverEndpoint.InvokeAsync(new Aws.Route53.GetResolverEndpointArgs\n {\n ResolverEndpointId = \"rslvr-in-1abc2345ef678g91h\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/route53\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"rslvr-in-1abc2345ef678g91h\"\n\t\t_, err := route53.LookupResolverEndpoint(ctx, \u0026route53.LookupResolverEndpointArgs{\n\t\t\tResolverEndpointId: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = pulumi.output(aws.route53.getResolverEndpoint({\n filters: [{\n name: \"NAME\",\n values: [\"MyResolverExampleName\"],\n }],\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.route53.get_resolver_endpoint(filters=[aws.route53.GetResolverEndpointFilterArgs(\n name=\"NAME\",\n values=[\"MyResolverExampleName\"],\n)])\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Route53.GetResolverEndpoint.InvokeAsync(new Aws.Route53.GetResolverEndpointArgs\n {\n Filters = \n {\n new Aws.Route53.Inputs.GetResolverEndpointFilterArgs\n {\n Name = \"NAME\",\n Values = \n {\n \"MyResolverExampleName\",\n },\n },\n },\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/route53\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := route53.LookupResolverEndpoint(ctx, \u0026route53.LookupResolverEndpointArgs{\n\t\t\tFilters: []route53.GetResolverEndpointFilter{\n\t\t\t\troute53.GetResolverEndpointFilter{\n\t\t\t\t\tName: \"NAME\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"MyResolverExampleName\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}",
+ "inputs": {
+ "description": "A collection of arguments for invoking getResolverEndpoint.\n",
+ "properties": {
+ "filters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:route53/getResolverEndpointFilter:getResolverEndpointFilter"
+ },
+ "description": "One or more name/value pairs to use as filters. There are\nseveral valid keys, for a full reference, check out\n[Route53resolver Filter value in the AWS API reference][1].\n"
+ },
+ "resolverEndpointId": {
+ "type": "string",
+ "description": "The ID of the Route53 Resolver Endpoint.\n"
+ }
+ },
+ "type": "object"
+ },
+ "outputs": {
+ "description": "A collection of values returned by getResolverEndpoint.\n",
+ "properties": {
+ "arn": {
+ "type": "string"
+ },
+ "direction": {
+ "type": "string"
+ },
+ "filters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:route53/getResolverEndpointFilter:getResolverEndpointFilter"
+ }
+ },
+ "id": {
+ "type": "string",
+ "description": "The provider-assigned unique ID for this managed resource.\n"
+ },
+ "ipAddresses": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "resolverEndpointId": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "vpcId": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "arn",
+ "direction",
+ "ipAddresses",
+ "name",
+ "status",
+ "vpcId",
+ "id"
+ ]
+ }
+ },
"aws:route53/getResolverRule:getResolverRule": {
"description": "`aws.route53.ResolverRule` provides details about a specific Route53 Resolver rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nThe following example shows how to get a Route53 Resolver rule based on its associated domain name and rule type.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = pulumi.output(aws.route53.getResolverRule({\n domainName: \"subdomain.example.com\",\n ruleType: \"SYSTEM\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.route53.get_resolver_rule(domain_name=\"subdomain.example.com\",\n rule_type=\"SYSTEM\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Route53.GetResolverRule.InvokeAsync(new Aws.Route53.GetResolverRuleArgs\n {\n DomainName = \"subdomain.example.com\",\n RuleType = \"SYSTEM\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/route53\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"subdomain.example.com\"\n\t\topt1 := \"SYSTEM\"\n\t\t_, err := route53.LookupResolverRule(ctx, \u0026route53.LookupResolverRuleArgs{\n\t\t\tDomainName: \u0026opt0,\n\t\t\tRuleType: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
@@ -232758,6 +233331,70 @@
]
}
},
+ "aws:sagemaker/getPrebuiltEcrImage:getPrebuiltEcrImage": {
+ "description": "Get information about prebuilt Amazon SageMaker Docker images.\n\n\u003e **NOTE:** The AWS provider creates a validly constructed `registry_path` but does not verify that the `registry_path` corresponds to an existing image. For example, using a `registry_path` containing an `image_tag` that does not correspond to a Docker image in the ECR repository, will result in an error.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst test = pulumi.output(aws.sagemaker.getPrebuiltEcrImage({\n imageTag: \"2.2-1.0.11.0\",\n repositoryName: \"sagemaker-scikit-learn\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\ntest = aws.sagemaker.get_prebuilt_ecr_image(image_tag=\"2.2-1.0.11.0\",\n repository_name=\"sagemaker-scikit-learn\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var test = Output.Create(Aws.Sagemaker.GetPrebuiltEcrImage.InvokeAsync(new Aws.Sagemaker.GetPrebuiltEcrImageArgs\n {\n ImageTag = \"2.2-1.0.11.0\",\n RepositoryName = \"sagemaker-scikit-learn\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/sagemaker\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"2.2-1.0.11.0\"\n\t\t_, err := sagemaker.GetPrebuiltEcrImage(ctx, \u0026sagemaker.GetPrebuiltEcrImageArgs{\n\t\t\tImageTag: \u0026opt0,\n\t\t\tRepositoryName: \"sagemaker-scikit-learn\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}",
+ "inputs": {
+ "description": "A collection of arguments for invoking getPrebuiltEcrImage.\n",
+ "properties": {
+ "dnsSuffix": {
+ "type": "string",
+ "description": "The DNS suffix to use in the registry path. If not specified, the AWS provider sets it to the DNS suffix for the current region.\n"
+ },
+ "imageTag": {
+ "type": "string",
+ "description": "The image tag for the Docker image. If not specified, the AWS provider sets the value to `1`, which for many repositories indicates the latest version. Some repositories, such as XGBoost, do not support `1` or `latest` and specific version must be used.\n"
+ },
+ "region": {
+ "type": "string",
+ "description": "The region to use in the registry path. If not specified, the AWS provider sets it to the current region.\n"
+ },
+ "repositoryName": {
+ "type": "string",
+ "description": "The name of the repository, which is generally the algorithm or library. Values include `blazingtext`, `factorization-machines`, `forecasting-deepar`, `image-classification`, `ipinsights`, `kmeans`, `knn`, `lda`, `linear-learner`, `mxnet-inference-eia`, `mxnet-inference`, `mxnet-training`, `ntm`, `object-detection`, `object2vec`, `pca`, `pytorch-inference-eia`, `pytorch-inference`, `pytorch-training`, `randomcutforest`, `sagemaker-scikit-learn`, `sagemaker-sparkml-serving`, `sagemaker-xgboost`, `semantic-segmentation`, `seq2seq`, `tensorflow-inference-eia`, `tensorflow-inference`, and `tensorflow-training`.\n"
+ }
+ },
+ "type": "object",
+ "required": [
+ "repositoryName"
+ ]
+ },
+ "outputs": {
+ "description": "A collection of values returned by getPrebuiltEcrImage.\n",
+ "properties": {
+ "dnsSuffix": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string",
+ "description": "The provider-assigned unique ID for this managed resource.\n"
+ },
+ "imageTag": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "registryId": {
+ "type": "string",
+ "description": "The account ID containing the image. For example, `469771592824`.\n"
+ },
+ "registryPath": {
+ "type": "string",
+ "description": "The Docker image URL. For example, `341280168497.dkr.ecr.ca-central-1.amazonaws.com/sagemaker-sparkml-serving:2.4`.\n"
+ },
+ "repositoryName": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "registryId",
+ "registryPath",
+ "repositoryName",
+ "id"
+ ]
+ }
+ },
"aws:secretsmanager/getSecret:getSecret": {
"description": "Retrieve metadata information about a Secrets Manager secret. To retrieve a secret value, see the `aws.secretsmanager.SecretVersion`.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### ARN\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst by_arn = pulumi.output(aws.secretsmanager.getSecret({\n arn: \"arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nby_arn = aws.secretsmanager.get_secret(arn=\"arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var by_arn = Output.Create(Aws.SecretsManager.GetSecret.InvokeAsync(new Aws.SecretsManager.GetSecretArgs\n {\n Arn = \"arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/secretsmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456\"\n\t\t_, err := secretsmanager.LookupSecret(ctx, \u0026secretsmanager.LookupSecretArgs{\n\t\t\tArn: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst by_name = pulumi.output(aws.secretsmanager.getSecret({\n name: \"example\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nby_name = aws.secretsmanager.get_secret(name=\"example\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var by_name = Output.Create(Aws.SecretsManager.GetSecret.InvokeAsync(new Aws.SecretsManager.GetSecretArgs\n {\n Name = \"example\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/secretsmanager\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"example\"\n\t\t_, err := secretsmanager.LookupSecret(ctx, \u0026secretsmanager.LookupSecretArgs{\n\t\t\tName: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}",
"inputs": {
@@ -234321,6 +234958,104 @@
"id"
]
}
+ },
+ "aws:workspaces/getWorkspace:getWorkspace": {
+ "description": "Use this data source to get information about a workspace in [AWS Workspaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces.html) Service.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Filter By Workspace ID\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = pulumi.output(aws.workspaces.getWorkspace({\n workspaceId: \"ws-cj5xcxsz5\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.workspaces.get_workspace(workspace_id=\"ws-cj5xcxsz5\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Workspaces.GetWorkspace.InvokeAsync(new Aws.Workspaces.GetWorkspaceArgs\n {\n WorkspaceId = \"ws-cj5xcxsz5\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/workspaces\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"ws-cj5xcxsz5\"\n\t\t_, err := workspaces.LookupWorkspace(ctx, \u0026workspaces.LookupWorkspaceArgs{\n\t\t\tWorkspaceId: \u0026opt0,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Filter By Directory ID \u0026 User Name\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = pulumi.output(aws.workspaces.getWorkspace({\n directoryId: \"d-9967252f57\",\n userName: \"Example\",\n}, { async: true }));\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.workspaces.get_workspace(directory_id=\"d-9967252f57\",\n user_name=\"Example\")\n```\n```csharp\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var example = Output.Create(Aws.Workspaces.GetWorkspace.InvokeAsync(new Aws.Workspaces.GetWorkspaceArgs\n {\n DirectoryId = \"d-9967252f57\",\n UserName = \"Example\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/workspaces\"\n\t\"github.com/pulumi/pulumi/sdk/v2/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\topt0 := \"d-9967252f57\"\n\t\topt1 := \"Example\"\n\t\t_, err := workspaces.LookupWorkspace(ctx, \u0026workspaces.LookupWorkspaceArgs{\n\t\t\tDirectoryId: \u0026opt0,\n\t\t\tUserName: \u0026opt1,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}",
+ "inputs": {
+ "description": "A collection of arguments for invoking getWorkspace.\n",
+ "properties": {
+ "directoryId": {
+ "type": "string",
+ "description": "The ID of the directory for the WorkSpace. You have to specify `user_name` along with `directory_id`. You cannot combine this parameter with `workspace_id`.\n"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags for the WorkSpace.\n"
+ },
+ "userName": {
+ "type": "string",
+ "description": "The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace. You cannot combine this parameter with `workspace_id`.\n"
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "The ID of the WorkSpace. You cannot combine this parameter with `directory_id`.\n"
+ }
+ },
+ "type": "object"
+ },
+ "outputs": {
+ "description": "A collection of values returned by getWorkspace.\n",
+ "properties": {
+ "bundleId": {
+ "type": "string"
+ },
+ "computerName": {
+ "type": "string",
+ "description": "The name of the WorkSpace, as seen by the operating system.\n"
+ },
+ "directoryId": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string",
+ "description": "The provider-assigned unique ID for this managed resource.\n"
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The IP address of the WorkSpace.\n"
+ },
+ "rootVolumeEncryptionEnabled": {
+ "type": "boolean"
+ },
+ "state": {
+ "type": "string",
+ "description": "The operational state of the WorkSpace.\n"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "userName": {
+ "type": "string"
+ },
+ "userVolumeEncryptionEnabled": {
+ "type": "boolean"
+ },
+ "volumeEncryptionKey": {
+ "type": "string"
+ },
+ "workspaceId": {
+ "type": "string"
+ },
+ "workspaceProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws:workspaces/getWorkspaceWorkspaceProperty:getWorkspaceWorkspaceProperty"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "bundleId",
+ "computerName",
+ "directoryId",
+ "ipAddress",
+ "rootVolumeEncryptionEnabled",
+ "state",
+ "tags",
+ "userName",
+ "userVolumeEncryptionEnabled",
+ "volumeEncryptionKey",
+ "workspaceId",
+ "workspaceProperties",
+ "id"
+ ]
+ }
}
},
"language": {
diff --git a/provider/go.mod b/provider/go.mod
index 0dc31115d3f..6d4e5f468eb 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -16,5 +16,5 @@ replace (
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
- github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201030111810-846d2ca92b29
+ github.com/terraform-providers/terraform-provider-aws => github.com/pulumi/terraform-provider-aws v1.38.1-0.20201106160513-9f38451091a0
)
diff --git a/provider/go.sum b/provider/go.sum
index b2da49d13ea..0f0627239be 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -120,8 +120,8 @@ github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi
github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.31.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
-github.com/aws/aws-sdk-go v1.35.9 h1:b1HiUpdkFLJyoOQ7zas36YHzjNHH0ivHx/G5lWBeg+U=
-github.com/aws/aws-sdk-go v1.35.9/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
+github.com/aws/aws-sdk-go v1.35.19 h1:vdIqQnOIqTNtvnOdt9r3Bf/FiCJ7KV/7O2BIj4TPx2w=
+github.com/aws/aws-sdk-go v1.35.19/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs=
github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
@@ -554,8 +554,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.12.0 h1:d2BQnOvRWCbxDG5DO0bz5FkhFbymABmOxlsx0
github.com/pulumi/pulumi/sdk/v2 v2.12.0/go.mod h1:WQ4WaHMA7mduVHAJi87iIqbWvqsuBUYccBiKK+FrayI=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df h1:kXSvfAz43o0D0gfxUqVCOP3NrfnGbptJBshVsqZlBqA=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20200910230100-328eb4ff41df/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o=
-github.com/pulumi/terraform-provider-aws v1.38.1-0.20201030111810-846d2ca92b29 h1:I2rbLRi1zTD0anrjKHZtxj9xXDU5ASTImLxFmBXRgbI=
-github.com/pulumi/terraform-provider-aws v1.38.1-0.20201030111810-846d2ca92b29/go.mod h1:g4hEZE/aFUMjRTaJknpkKblCkUBZWo9tdhO3Sw181A4=
+github.com/pulumi/terraform-provider-aws v1.38.1-0.20201106160513-9f38451091a0 h1:oTrnJy40Abz6LaPWiwwd8SmIRYM6jazBHXBRBEG15XE=
+github.com/pulumi/terraform-provider-aws v1.38.1-0.20201106160513-9f38451091a0/go.mod h1:8BDELRx4yeryUJNleWrCcmKN4I8q6RQGgKGI6MOqLeA=
github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
diff --git a/provider/resources.go b/provider/resources.go
index f5b9b3d6641..8444fc660d8 100644
--- a/provider/resources.go
+++ b/provider/resources.go
@@ -1917,6 +1917,7 @@ func Provider() tfbridge.ProviderInfo {
"aws_secretsmanager_secret": {Tok: awsResource(secretsmanagerMod, "Secret")},
"aws_secretsmanager_secret_version": {Tok: awsResource(secretsmanagerMod, "SecretVersion")},
"aws_secretsmanager_secret_rotation": {Tok: awsResource(secretsmanagerMod, "SecretRotation")},
+ "aws_secretsmanager_secret_policy": {Tok: awsResource(secretsmanagerMod, "SecretPolicy")},
// Service Catalog
"aws_servicecatalog_portfolio": {Tok: awsResource(servicecatalogMod, "Portfolio")},
// Security Hub
@@ -3332,10 +3333,11 @@ func Provider() tfbridge.ProviderInfo {
"aws_redshift_service_account": {Tok: awsDataSource(redshiftMod, "getServiceAccount")},
"aws_redshift_orderable_cluster": {Tok: awsDataSource(redshiftMod, "getOrderableCluster")},
// Route53
- "aws_route53_zone": {Tok: awsDataSource(route53Mod, "getZone")},
- "aws_route53_delegation_set": {Tok: awsDataSource(route53Mod, "getDelegationSet")},
- "aws_route53_resolver_rule": {Tok: awsDataSource(route53Mod, "getResolverRule")},
- "aws_route53_resolver_rules": {Tok: awsDataSource(route53Mod, "getResolverRules")},
+ "aws_route53_zone": {Tok: awsDataSource(route53Mod, "getZone")},
+ "aws_route53_delegation_set": {Tok: awsDataSource(route53Mod, "getDelegationSet")},
+ "aws_route53_resolver_rule": {Tok: awsDataSource(route53Mod, "getResolverRule")},
+ "aws_route53_resolver_rules": {Tok: awsDataSource(route53Mod, "getResolverRules")},
+ "aws_route53_resolver_endpoint": {Tok: awsDataSource(route53Mod, "getResolverEndpoint")},
// S3
"aws_s3_bucket": {Tok: awsDataSource(s3Mod, "getBucket")},
"aws_s3_bucket_object": {Tok: awsDataSource(s3Mod, "getBucketObject")},
@@ -3360,6 +3362,7 @@ func Provider() tfbridge.ProviderInfo {
"aws_workspaces_bundle": {Tok: awsDataSource(workspacesMod, "getBundle")},
"aws_workspaces_directory": {Tok: awsDataSource(workspacesMod, "getDirectory")},
"aws_workspaces_image": {Tok: awsDataSource(workspacesMod, "getImage")},
+ "aws_workspaces_workspace": {Tok: awsDataSource(workspacesMod, "getWorkspace")},
// MSK
"aws_msk_cluster": {Tok: awsDataSource(mskMod, "getCluster")},
// Service Quotas
@@ -3419,6 +3422,7 @@ func Provider() tfbridge.ProviderInfo {
"aws_neptune_engine_version": {Tok: awsDataSource(neptuneMod, "getEngineVersion")},
"aws_codeartifact_authorization_token": {Tok: awsDataSource(codeartifactMod, "getAuthorizationToken")},
"aws_codeartifact_repository_endpoint": {Tok: awsDataSource(codeartifactMod, "getRepositoryEndpoint")},
+ "aws_sagemaker_prebuilt_ecr_image": {Tok: awsDataSource(sagemakerMod, "getPrebuiltEcrImage")},
},
JavaScript: &tfbridge.JavaScriptInfo{
Dependencies: map[string]string{
diff --git a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.cs b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.cs
index 0e768783a65..f1975055ca9 100644
--- a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.cs
+++ b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs.cs
@@ -13,79 +13,79 @@ namespace Pulumi.Aws.Acmpca.Inputs
public sealed class CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs : Pulumi.ResourceArgs
{
///
- /// Fully qualified domain name (FQDN) associated with the certificate subject.
+ /// Fully qualified domain name (FQDN) associated with the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("commonName")]
public Input? CommonName { get; set; }
///
- /// Two digit code that specifies the country in which the certificate subject located.
+ /// Two digit code that specifies the country in which the certificate subject located. Must be less than or equal to 2 characters in length.
///
[Input("country")]
public Input? Country { get; set; }
///
- /// Disambiguating information for the certificate subject.
+ /// Disambiguating information for the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("distinguishedNameQualifier")]
public Input? DistinguishedNameQualifier { get; set; }
///
- /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
+ /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. Must be less than or equal to 3 characters in length.
///
[Input("generationQualifier")]
public Input? GenerationQualifier { get; set; }
///
- /// First name.
+ /// First name. Must be less than or equal to 16 characters in length.
///
[Input("givenName")]
public Input? GivenName { get; set; }
///
- /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`.
+ /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`. Must be less than or equal to 5 characters in length.
///
[Input("initials")]
public Input? Initials { get; set; }
///
- /// The locality (such as a city or town) in which the certificate subject is located.
+ /// The locality (such as a city or town) in which the certificate subject is located. Must be less than or equal to 128 characters in length.
///
[Input("locality")]
public Input? Locality { get; set; }
///
- /// Legal name of the organization with which the certificate subject is affiliated.
+ /// Legal name of the organization with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
[Input("organization")]
public Input? Organization { get; set; }
///
- /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
+ /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
[Input("organizationalUnit")]
public Input? OrganizationalUnit { get; set; }
///
- /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
+ /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. Must be less than or equal to 128 characters in length.
///
[Input("pseudonym")]
public Input? Pseudonym { get; set; }
///
- /// State in which the subject of the certificate is located.
+ /// State in which the subject of the certificate is located. Must be less than or equal to 128 characters in length.
///
[Input("state")]
public Input? State { get; set; }
///
- /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.
+ /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. Must be less than or equal to 40 characters in length.
///
[Input("surname")]
public Input? Surname { get; set; }
///
- /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject.
+ /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("title")]
public Input? Title { get; set; }
diff --git a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectGetArgs.cs b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectGetArgs.cs
index b6eec7eb57a..f5e3187a5c2 100644
--- a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectGetArgs.cs
+++ b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityCertificateAuthorityConfigurationSubjectGetArgs.cs
@@ -13,79 +13,79 @@ namespace Pulumi.Aws.Acmpca.Inputs
public sealed class CertificateAuthorityCertificateAuthorityConfigurationSubjectGetArgs : Pulumi.ResourceArgs
{
///
- /// Fully qualified domain name (FQDN) associated with the certificate subject.
+ /// Fully qualified domain name (FQDN) associated with the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("commonName")]
public Input? CommonName { get; set; }
///
- /// Two digit code that specifies the country in which the certificate subject located.
+ /// Two digit code that specifies the country in which the certificate subject located. Must be less than or equal to 2 characters in length.
///
[Input("country")]
public Input? Country { get; set; }
///
- /// Disambiguating information for the certificate subject.
+ /// Disambiguating information for the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("distinguishedNameQualifier")]
public Input? DistinguishedNameQualifier { get; set; }
///
- /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
+ /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. Must be less than or equal to 3 characters in length.
///
[Input("generationQualifier")]
public Input? GenerationQualifier { get; set; }
///
- /// First name.
+ /// First name. Must be less than or equal to 16 characters in length.
///
[Input("givenName")]
public Input? GivenName { get; set; }
///
- /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`.
+ /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`. Must be less than or equal to 5 characters in length.
///
[Input("initials")]
public Input? Initials { get; set; }
///
- /// The locality (such as a city or town) in which the certificate subject is located.
+ /// The locality (such as a city or town) in which the certificate subject is located. Must be less than or equal to 128 characters in length.
///
[Input("locality")]
public Input? Locality { get; set; }
///
- /// Legal name of the organization with which the certificate subject is affiliated.
+ /// Legal name of the organization with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
[Input("organization")]
public Input? Organization { get; set; }
///
- /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
+ /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
[Input("organizationalUnit")]
public Input? OrganizationalUnit { get; set; }
///
- /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
+ /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. Must be less than or equal to 128 characters in length.
///
[Input("pseudonym")]
public Input? Pseudonym { get; set; }
///
- /// State in which the subject of the certificate is located.
+ /// State in which the subject of the certificate is located. Must be less than or equal to 128 characters in length.
///
[Input("state")]
public Input? State { get; set; }
///
- /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.
+ /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. Must be less than or equal to 40 characters in length.
///
[Input("surname")]
public Input? Surname { get; set; }
///
- /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject.
+ /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject. Must be less than or equal to 64 characters in length.
///
[Input("title")]
public Input? Title { get; set; }
diff --git a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationArgs.cs b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationArgs.cs
index 74e01e32e7e..b0fcb58b0e9 100644
--- a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationArgs.cs
+++ b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Acmpca.Inputs
public sealed class CertificateAuthorityRevocationConfigurationCrlConfigurationArgs : Pulumi.ResourceArgs
{
///
- /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public.
+ /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. Must be less than or equal to 253 characters in length.
///
[Input("customCname")]
public Input? CustomCname { get; set; }
@@ -31,7 +31,7 @@ public sealed class CertificateAuthorityRevocationConfigurationCrlConfigurationA
public Input ExpirationInDays { get; set; } = null!;
///
- /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket.
+ /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket. Must be less than or equal to 255 characters in length.
///
[Input("s3BucketName")]
public Input? S3BucketName { get; set; }
diff --git a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationGetArgs.cs b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationGetArgs.cs
index b525f1c1686..a3f83b0086a 100644
--- a/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationGetArgs.cs
+++ b/sdk/dotnet/Acmpca/Inputs/CertificateAuthorityRevocationConfigurationCrlConfigurationGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Acmpca.Inputs
public sealed class CertificateAuthorityRevocationConfigurationCrlConfigurationGetArgs : Pulumi.ResourceArgs
{
///
- /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public.
+ /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. Must be less than or equal to 253 characters in length.
///
[Input("customCname")]
public Input? CustomCname { get; set; }
@@ -31,7 +31,7 @@ public sealed class CertificateAuthorityRevocationConfigurationCrlConfigurationG
public Input ExpirationInDays { get; set; } = null!;
///
- /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket.
+ /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket. Must be less than or equal to 255 characters in length.
///
[Input("s3BucketName")]
public Input? S3BucketName { get; set; }
diff --git a/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityCertificateAuthorityConfigurationSubject.cs b/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityCertificateAuthorityConfigurationSubject.cs
index b6e3d77029b..bb809e03db6 100644
--- a/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityCertificateAuthorityConfigurationSubject.cs
+++ b/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityCertificateAuthorityConfigurationSubject.cs
@@ -14,55 +14,55 @@ namespace Pulumi.Aws.Acmpca.Outputs
public sealed class CertificateAuthorityCertificateAuthorityConfigurationSubject
{
///
- /// Fully qualified domain name (FQDN) associated with the certificate subject.
+ /// Fully qualified domain name (FQDN) associated with the certificate subject. Must be less than or equal to 64 characters in length.
///
public readonly string? CommonName;
///
- /// Two digit code that specifies the country in which the certificate subject located.
+ /// Two digit code that specifies the country in which the certificate subject located. Must be less than or equal to 2 characters in length.
///
public readonly string? Country;
///
- /// Disambiguating information for the certificate subject.
+ /// Disambiguating information for the certificate subject. Must be less than or equal to 64 characters in length.
///
public readonly string? DistinguishedNameQualifier;
///
- /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
+ /// Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. Must be less than or equal to 3 characters in length.
///
public readonly string? GenerationQualifier;
///
- /// First name.
+ /// First name. Must be less than or equal to 16 characters in length.
///
public readonly string? GivenName;
///
- /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`.
+ /// Concatenation that typically contains the first letter of the `given_name`, the first letter of the middle name if one exists, and the first letter of the `surname`. Must be less than or equal to 5 characters in length.
///
public readonly string? Initials;
///
- /// The locality (such as a city or town) in which the certificate subject is located.
+ /// The locality (such as a city or town) in which the certificate subject is located. Must be less than or equal to 128 characters in length.
///
public readonly string? Locality;
///
- /// Legal name of the organization with which the certificate subject is affiliated.
+ /// Legal name of the organization with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
public readonly string? Organization;
///
- /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
+ /// A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. Must be less than or equal to 64 characters in length.
///
public readonly string? OrganizationalUnit;
///
- /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
+ /// Typically a shortened version of a longer `given_name`. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. Must be less than or equal to 128 characters in length.
///
public readonly string? Pseudonym;
///
- /// State in which the subject of the certificate is located.
+ /// State in which the subject of the certificate is located. Must be less than or equal to 128 characters in length.
///
public readonly string? State;
///
- /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.
+ /// Family name. In the US and the UK for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. Must be less than or equal to 40 characters in length.
///
public readonly string? Surname;
///
- /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject.
+ /// A title such as Mr. or Ms. which is pre-pended to the name to refer formally to the certificate subject. Must be less than or equal to 64 characters in length.
///
public readonly string? Title;
diff --git a/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityRevocationConfigurationCrlConfiguration.cs b/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityRevocationConfigurationCrlConfiguration.cs
index d9107c51ae8..c5dcfa8bbb8 100644
--- a/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityRevocationConfigurationCrlConfiguration.cs
+++ b/sdk/dotnet/Acmpca/Outputs/CertificateAuthorityRevocationConfigurationCrlConfiguration.cs
@@ -14,7 +14,7 @@ namespace Pulumi.Aws.Acmpca.Outputs
public sealed class CertificateAuthorityRevocationConfigurationCrlConfiguration
{
///
- /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public.
+ /// Name inserted into the certificate CRL Distribution Points extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. Must be less than or equal to 253 characters in length.
///
public readonly string? CustomCname;
///
@@ -26,7 +26,7 @@ public sealed class CertificateAuthorityRevocationConfigurationCrlConfiguration
///
public readonly int ExpirationInDays;
///
- /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket.
+ /// Name of the S3 bucket that contains the CRL. If you do not provide a value for the `custom_cname` argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You must specify a bucket policy that allows ACM PCA to write the CRL to your bucket. Must be less than or equal to 255 characters in length.
///
public readonly string? S3BucketName;
diff --git a/sdk/dotnet/ApiGatewayV2/Integration.cs b/sdk/dotnet/ApiGatewayV2/Integration.cs
index 4686fa95f00..56a53574db9 100644
--- a/sdk/dotnet/ApiGatewayV2/Integration.cs
+++ b/sdk/dotnet/ApiGatewayV2/Integration.cs
@@ -195,11 +195,8 @@ public partial class Integration : Pulumi.CustomResource
[Output("templateSelectionExpression")]
public Output TemplateSelectionExpression { get; private set; } = null!;
- ///
- /// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
- ///
[Output("timeoutMilliseconds")]
- public Output TimeoutMilliseconds { get; private set; } = null!;
+ public Output TimeoutMilliseconds { get; private set; } = null!;
///
/// The TLS configuration for a private integration. Supported only for HTTP APIs.
@@ -359,9 +356,6 @@ public InputMap RequestTemplates
[Input("templateSelectionExpression")]
public Input? TemplateSelectionExpression { get; set; }
- ///
- /// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
- ///
[Input("timeoutMilliseconds")]
public Input? TimeoutMilliseconds { get; set; }
@@ -490,9 +484,6 @@ public InputMap RequestTemplates
[Input("templateSelectionExpression")]
public Input? TemplateSelectionExpression { get; set; }
- ///
- /// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
- ///
[Input("timeoutMilliseconds")]
public Input? TimeoutMilliseconds { get; set; }
diff --git a/sdk/dotnet/CloudWatch/EventPermission.cs b/sdk/dotnet/CloudWatch/EventPermission.cs
index 7fe0e124fcf..e009e67fc0a 100644
--- a/sdk/dotnet/CloudWatch/EventPermission.cs
+++ b/sdk/dotnet/CloudWatch/EventPermission.cs
@@ -74,6 +74,12 @@ public partial class EventPermission : Pulumi.CustomResource
[Output("condition")]
public Output Condition { get; private set; } = null!;
+ ///
+ /// The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.
+ ///
+ [Output("eventBusName")]
+ public Output EventBusName { get; private set; } = null!;
+
///
/// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
///
@@ -144,6 +150,12 @@ public sealed class EventPermissionArgs : Pulumi.ResourceArgs
[Input("condition")]
public Input? Condition { get; set; }
+ ///
+ /// The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.
+ ///
+ [Input("eventBusName")]
+ public Input? EventBusName { get; set; }
+
///
/// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
///
@@ -175,6 +187,12 @@ public sealed class EventPermissionState : Pulumi.ResourceArgs
[Input("condition")]
public Input? Condition { get; set; }
+ ///
+ /// The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.
+ ///
+ [Input("eventBusName")]
+ public Input? EventBusName { get; set; }
+
///
/// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
///
diff --git a/sdk/dotnet/CloudWatch/EventTarget.cs b/sdk/dotnet/CloudWatch/EventTarget.cs
index 3452a572ed5..54b73656d68 100644
--- a/sdk/dotnet/CloudWatch/EventTarget.cs
+++ b/sdk/dotnet/CloudWatch/EventTarget.cs
@@ -242,6 +242,76 @@ namespace Pulumi.Aws.CloudWatch
///
/// }
/// ```
+ ///
+ /// ## Example Input Transformer Usage - JSON Object
+ ///
+ /// ```csharp
+ /// using Pulumi;
+ /// using Aws = Pulumi.Aws;
+ ///
+ /// class MyStack : Stack
+ /// {
+ /// public MyStack()
+ /// {
+ /// var exampleEventRule = new Aws.CloudWatch.EventRule("exampleEventRule", new Aws.CloudWatch.EventRuleArgs
+ /// {
+ /// });
+ /// // ...
+ /// var exampleEventTarget = new Aws.CloudWatch.EventTarget("exampleEventTarget", new Aws.CloudWatch.EventTargetArgs
+ /// {
+ /// Arn = aws_lambda_function.Example.Arn,
+ /// Rule = exampleEventRule.Id,
+ /// InputTransformer = new Aws.CloudWatch.Inputs.EventTargetInputTransformerArgs
+ /// {
+ /// InputPaths =
+ /// {
+ /// { "instance", "$.detail.instance" },
+ /// { "status", "$.detail.status" },
+ /// },
+ /// InputTemplate = @"{
+ /// ""instance_id"": <instance>,
+ /// ""instance_status"": <status>
+ /// }
+ /// ",
+ /// },
+ /// });
+ /// }
+ ///
+ /// }
+ /// ```
+ ///
+ /// ## Example Input Transformer Usage - Simple String
+ ///
+ /// ```csharp
+ /// using Pulumi;
+ /// using Aws = Pulumi.Aws;
+ ///
+ /// class MyStack : Stack
+ /// {
+ /// public MyStack()
+ /// {
+ /// var exampleEventRule = new Aws.CloudWatch.EventRule("exampleEventRule", new Aws.CloudWatch.EventRuleArgs
+ /// {
+ /// });
+ /// // ...
+ /// var exampleEventTarget = new Aws.CloudWatch.EventTarget("exampleEventTarget", new Aws.CloudWatch.EventTargetArgs
+ /// {
+ /// Arn = aws_lambda_function.Example.Arn,
+ /// Rule = exampleEventRule.Id,
+ /// InputTransformer = new Aws.CloudWatch.Inputs.EventTargetInputTransformerArgs
+ /// {
+ /// InputPaths =
+ /// {
+ /// { "instance", "$.detail.instance" },
+ /// { "status", "$.detail.status" },
+ /// },
+ /// InputTemplate = "\"<instance> is in state <status>\"",
+ /// },
+ /// });
+ /// }
+ ///
+ /// }
+ /// ```
///
public partial class EventTarget : Pulumi.CustomResource
{
@@ -264,20 +334,26 @@ public partial class EventTarget : Pulumi.CustomResource
public Output EcsTarget { get; private set; } = null!;
///
- /// Valid JSON text passed to the target.
+ /// The event bus to associate with the rule. If you omit this, the `default` event bus is used.
+ ///
+ [Output("eventBusName")]
+ public Output EventBusName { get; private set; } = null!;
+
+ ///
+ /// Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.
///
[Output("input")]
public Output Input { get; private set; } = null!;
///
/// The value of the [JSONPath](http://goessner.net/articles/JsonPath/)
- /// that is used for extracting part of the matched event when passing it to the target.
+ /// that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.
///
[Output("inputPath")]
public Output InputPath { get; private set; } = null!;
///
- /// Parameters used when you are providing a custom input to a target based on certain event data.
+ /// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.
///
[Output("inputTransformer")]
public Output InputTransformer { get; private set; } = null!;
@@ -383,20 +459,26 @@ public sealed class EventTargetArgs : Pulumi.ResourceArgs
public Input? EcsTarget { get; set; }
///
- /// Valid JSON text passed to the target.
+ /// The event bus to associate with the rule. If you omit this, the `default` event bus is used.
+ ///
+ [Input("eventBusName")]
+ public Input? EventBusName { get; set; }
+
+ ///
+ /// Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.
///
[Input("input")]
public Input? Input { get; set; }
///
/// The value of the [JSONPath](http://goessner.net/articles/JsonPath/)
- /// that is used for extracting part of the matched event when passing it to the target.
+ /// that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.
///
[Input("inputPath")]
public Input? InputPath { get; set; }
///
- /// Parameters used when you are providing a custom input to a target based on certain event data.
+ /// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.
///
[Input("inputTransformer")]
public Input? InputTransformer { get; set; }
@@ -469,20 +551,26 @@ public sealed class EventTargetState : Pulumi.ResourceArgs
public Input? EcsTarget { get; set; }
///
- /// Valid JSON text passed to the target.
+ /// The event bus to associate with the rule. If you omit this, the `default` event bus is used.
+ ///
+ [Input("eventBusName")]
+ public Input? EventBusName { get; set; }
+
+ ///
+ /// Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer`.
///
[Input("input")]
public Input? Input { get; set; }
///
/// The value of the [JSONPath](http://goessner.net/articles/JsonPath/)
- /// that is used for extracting part of the matched event when passing it to the target.
+ /// that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `input_transformer`.
///
[Input("inputPath")]
public Input? InputPath { get; set; }
///
- /// Parameters used when you are providing a custom input to a target based on certain event data.
+ /// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `input_path`.
///
[Input("inputTransformer")]
public Input? InputTransformer { get; set; }
diff --git a/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetArgs.cs b/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetArgs.cs
index c0bd61e90be..ef70da2b792 100644
--- a/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetArgs.cs
+++ b/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetArgs.cs
@@ -19,7 +19,7 @@ public sealed class EventTargetEcsTargetArgs : Pulumi.ResourceArgs
public Input? Group { get; set; }
///
- /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are EC2 or FARGATE.
+ /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are `EC2` or `FARGATE`.
///
[Input("launchType")]
public Input? LaunchType { get; set; }
diff --git a/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetGetArgs.cs b/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetGetArgs.cs
index a25ebca02b8..02f9b3582ec 100644
--- a/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetGetArgs.cs
+++ b/sdk/dotnet/CloudWatch/Inputs/EventTargetEcsTargetGetArgs.cs
@@ -19,7 +19,7 @@ public sealed class EventTargetEcsTargetGetArgs : Pulumi.ResourceArgs
public Input? Group { get; set; }
///
- /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are EC2 or FARGATE.
+ /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are `EC2` or `FARGATE`.
///
[Input("launchType")]
public Input? LaunchType { get; set; }
diff --git a/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerArgs.cs b/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerArgs.cs
index d257a111502..2e7bdea0bf2 100644
--- a/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerArgs.cs
+++ b/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerArgs.cs
@@ -27,9 +27,6 @@ public InputMap InputPaths
set => _inputPaths = value;
}
- ///
- /// Structure containing the template body.
- ///
[Input("inputTemplate", required: true)]
public Input InputTemplate { get; set; } = null!;
diff --git a/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerGetArgs.cs b/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerGetArgs.cs
index df014af8533..66e41cf5c00 100644
--- a/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerGetArgs.cs
+++ b/sdk/dotnet/CloudWatch/Inputs/EventTargetInputTransformerGetArgs.cs
@@ -27,9 +27,6 @@ public InputMap InputPaths
set => _inputPaths = value;
}
- ///
- /// Structure containing the template body.
- ///
[Input("inputTemplate", required: true)]
public Input InputTemplate { get; set; } = null!;
diff --git a/sdk/dotnet/CloudWatch/Outputs/EventTargetEcsTarget.cs b/sdk/dotnet/CloudWatch/Outputs/EventTargetEcsTarget.cs
index ed435d67591..8a07c4b69bc 100644
--- a/sdk/dotnet/CloudWatch/Outputs/EventTargetEcsTarget.cs
+++ b/sdk/dotnet/CloudWatch/Outputs/EventTargetEcsTarget.cs
@@ -18,7 +18,7 @@ public sealed class EventTargetEcsTarget
///
public readonly string? Group;
///
- /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are EC2 or FARGATE.
+ /// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values are `EC2` or `FARGATE`.
///
public readonly string? LaunchType;
///
diff --git a/sdk/dotnet/CloudWatch/Outputs/EventTargetInputTransformer.cs b/sdk/dotnet/CloudWatch/Outputs/EventTargetInputTransformer.cs
index a066870b71f..5dc76f88c22 100644
--- a/sdk/dotnet/CloudWatch/Outputs/EventTargetInputTransformer.cs
+++ b/sdk/dotnet/CloudWatch/Outputs/EventTargetInputTransformer.cs
@@ -20,9 +20,6 @@ public sealed class EventTargetInputTransformer
/// * The keys can't start with "AWS".
///
public readonly ImmutableDictionary? InputPaths;
- ///
- /// Structure containing the template body.
- ///
public readonly string InputTemplate;
[OutputConstructor]
diff --git a/sdk/dotnet/CodeArtifact/Domain.cs b/sdk/dotnet/CodeArtifact/Domain.cs
index 83fc5a0534b..e3e4971a880 100644
--- a/sdk/dotnet/CodeArtifact/Domain.cs
+++ b/sdk/dotnet/CodeArtifact/Domain.cs
@@ -80,6 +80,12 @@ public partial class Domain : Pulumi.CustomResource
[Output("repositoryCount")]
public Output RepositoryCount { get; private set; } = null!;
+ ///
+ /// Key-value map of resource tags.
+ ///
+ [Output("tags")]
+ public Output?> Tags { get; private set; } = null!;
+
///
/// Create a Domain resource with the given unique name, arguments, and options.
@@ -138,6 +144,18 @@ public sealed class DomainArgs : Pulumi.ResourceArgs
[Input("encryptionKey", required: true)]
public Input EncryptionKey { get; set; } = null!;
+ [Input("tags")]
+ private InputMap? _tags;
+
+ ///
+ /// Key-value map of resource tags.
+ ///
+ public InputMap Tags
+ {
+ get => _tags ?? (_tags = new InputMap());
+ set => _tags = value;
+ }
+
public DomainArgs()
{
}
@@ -187,6 +205,18 @@ public sealed class DomainState : Pulumi.ResourceArgs
[Input("repositoryCount")]
public Input? RepositoryCount { get; set; }
+ [Input("tags")]
+ private InputMap? _tags;
+
+ ///
+ /// Key-value map of resource tags.
+ ///
+ public InputMap Tags
+ {
+ get => _tags ?? (_tags = new InputMap());
+ set => _tags = value;
+ }
+
public DomainState()
{
}
diff --git a/sdk/dotnet/CodeArtifact/Repository.cs b/sdk/dotnet/CodeArtifact/Repository.cs
index 55b8f8ca076..15fbcee2e93 100644
--- a/sdk/dotnet/CodeArtifact/Repository.cs
+++ b/sdk/dotnet/CodeArtifact/Repository.cs
@@ -144,6 +144,12 @@ public partial class Repository : Pulumi.CustomResource
[Output("repository")]
public Output RepositoryName { get; private set; } = null!;
+ ///
+ /// Key-value map of resource tags.
+ ///
+ [Output("tags")]
+ public Output?> Tags { get; private set; } = null!;
+
///
/// A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. see Upstream
///
@@ -226,6 +232,18 @@ public sealed class RepositoryArgs : Pulumi.ResourceArgs
[Input("repository", required: true)]
public Input RepositoryName { get; set; } = null!;
+ [Input("tags")]
+ private InputMap? _tags;
+
+ ///
+ /// Key-value map of resource tags.
+ ///
+ public InputMap Tags
+ {
+ get => _tags ?? (_tags = new InputMap());
+ set => _tags = value;
+ }
+
[Input("upstreams")]
private InputList? _upstreams;
@@ -287,6 +305,18 @@ public sealed class RepositoryState : Pulumi.ResourceArgs
[Input("repository")]
public Input? RepositoryName { get; set; }
+ [Input("tags")]
+ private InputMap? _tags;
+
+ ///
+ /// Key-value map of resource tags.
+ ///
+ public InputMap Tags
+ {
+ get => _tags ?? (_tags = new InputMap());
+ set => _tags = value;
+ }
+
[Input("upstreams")]
private InputList? _upstreams;
diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs
index 85b5e321f1f..d77172de056 100644
--- a/sdk/dotnet/Config/Config.cs
+++ b/sdk/dotnet/Config/Config.cs
@@ -139,6 +139,7 @@ public class Endpoints
public string? Codecommit { get; set; } = null!;
public string? Codedeploy { get; set; } = null!;
public string? Codepipeline { get; set; } = null!;
+ public string? Codestarconnections { get; set; } = null!;
public string? Cognitoidentity { get; set; } = null!;
public string? Cognitoidp { get; set; } = null!;
public string? Configservice { get; set; } = null!;
diff --git a/sdk/dotnet/DirectConnect/GatewayAssociation.cs b/sdk/dotnet/DirectConnect/GatewayAssociation.cs
index 0edeb5c077b..38f727b7da4 100644
--- a/sdk/dotnet/DirectConnect/GatewayAssociation.cs
+++ b/sdk/dotnet/DirectConnect/GatewayAssociation.cs
@@ -115,8 +115,6 @@ namespace Pulumi.Aws.DirectConnect
///
/// }
/// ```
- ///
- /// A full example of how to create a VPN Gateway in one AWS account, create a Direct Connect Gateway in a second AWS account, and associate the VPN Gateway with the Direct Connect Gateway via the `aws.directconnect.GatewayAssociationProposal` and `aws.directconnect.GatewayAssociation` resources can be found in [the `./examples/dx-gateway-cross-account-vgw-association` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/dx-gateway-cross-account-vgw-association).
///
public partial class GatewayAssociation : Pulumi.CustomResource
{
diff --git a/sdk/dotnet/DirectConnect/GatewayAssociationProposal.cs b/sdk/dotnet/DirectConnect/GatewayAssociationProposal.cs
index a2e772cc3d0..f92ab3d16bc 100644
--- a/sdk/dotnet/DirectConnect/GatewayAssociationProposal.cs
+++ b/sdk/dotnet/DirectConnect/GatewayAssociationProposal.cs
@@ -32,8 +32,6 @@ namespace Pulumi.Aws.DirectConnect
///
/// }
/// ```
- ///
- /// A full example of how to create a VPN Gateway in one AWS account, create a Direct Connect Gateway in a second AWS account, and associate the VPN Gateway with the Direct Connect Gateway via the `aws.directconnect.GatewayAssociationProposal` and `aws.directconnect.GatewayAssociation` resources can be found in [the `./examples/dx-gateway-cross-account-vgw-association` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/dx-gateway-cross-account-vgw-association).
///
public partial class GatewayAssociationProposal : Pulumi.CustomResource
{
diff --git a/sdk/dotnet/Ec2/Eip.cs b/sdk/dotnet/Ec2/Eip.cs
index 82ad475fd84..f48b4740632 100644
--- a/sdk/dotnet/Ec2/Eip.cs
+++ b/sdk/dotnet/Ec2/Eip.cs
@@ -189,6 +189,12 @@ public partial class Eip : Pulumi.CustomResource
[Output("instance")]
public Output Instance { get; private set; } = null!;
+ ///
+ /// The location from which the IP address is advertised. Use this parameter to limit the address to this location.
+ ///
+ [Output("networkBorderGroup")]
+ public Output NetworkBorderGroup { get; private set; } = null!;
+
///
/// Network interface ID to associate with.
///
@@ -303,6 +309,12 @@ public sealed class EipArgs : Pulumi.ResourceArgs
[Input("instance")]
public Input? Instance { get; set; }
+ ///
+ /// The location from which the IP address is advertised. Use this parameter to limit the address to this location.
+ ///
+ [Input("networkBorderGroup")]
+ public Input? NetworkBorderGroup { get; set; }
+
///
/// Network interface ID to associate with.
///
@@ -378,6 +390,12 @@ public sealed class EipState : Pulumi.ResourceArgs
[Input("instance")]
public Input? Instance { get; set; }
+ ///
+ /// The location from which the IP address is advertised. Use this parameter to limit the address to this location.
+ ///
+ [Input("networkBorderGroup")]
+ public Input? NetworkBorderGroup { get; set; }
+
///
/// Network interface ID to associate with.
///
diff --git a/sdk/dotnet/Ec2TransitGateway/VpcAttachment.cs b/sdk/dotnet/Ec2TransitGateway/VpcAttachment.cs
index d7185571c05..8309bef375d 100644
--- a/sdk/dotnet/Ec2TransitGateway/VpcAttachment.cs
+++ b/sdk/dotnet/Ec2TransitGateway/VpcAttachment.cs
@@ -35,8 +35,6 @@ namespace Pulumi.Aws.Ec2TransitGateway
///
/// }
/// ```
- ///
- /// A full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the `aws.ec2transitgateway.VpcAttachment` and `aws.ec2transitgateway.VpcAttachmentAccepter` resources can be found in [the `./examples/transit-gateway-cross-account-vpc-attachment` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/transit-gateway-cross-account-vpc-attachment).
///
public partial class VpcAttachment : Pulumi.CustomResource
{
diff --git a/sdk/dotnet/Ec2TransitGateway/VpcAttachmentAccepter.cs b/sdk/dotnet/Ec2TransitGateway/VpcAttachmentAccepter.cs
index a392e3dd2d8..7e09e104998 100644
--- a/sdk/dotnet/Ec2TransitGateway/VpcAttachmentAccepter.cs
+++ b/sdk/dotnet/Ec2TransitGateway/VpcAttachmentAccepter.cs
@@ -40,8 +40,6 @@ namespace Pulumi.Aws.Ec2TransitGateway
///
/// }
/// ```
- ///
- /// A full example of how to how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the `aws.ec2transitgateway.VpcAttachment` and `aws.ec2transitgateway.VpcAttachmentAccepter` resources can be found in [the `./examples/transit-gateway-cross-account-vpc-attachment` directory within the Github Repository](https://github.com/providers/provider-aws/tree/master/examples/transit-gateway-cross-account-vpc-attachment).
///
public partial class VpcAttachmentAccepter : Pulumi.CustomResource
{
diff --git a/sdk/dotnet/Glue/Crawler.cs b/sdk/dotnet/Glue/Crawler.cs
index aa5484f1034..68fa0f6d85c 100644
--- a/sdk/dotnet/Glue/Crawler.cs
+++ b/sdk/dotnet/Glue/Crawler.cs
@@ -133,6 +133,33 @@ namespace Pulumi.Aws.Glue
///
/// }
/// ```
+ /// ### MongoDB Target
+ ///
+ /// ```csharp
+ /// using Pulumi;
+ /// using Aws = Pulumi.Aws;
+ ///
+ /// class MyStack : Stack
+ /// {
+ /// public MyStack()
+ /// {
+ /// var example = new Aws.Glue.Crawler("example", new Aws.Glue.CrawlerArgs
+ /// {
+ /// DatabaseName = aws_glue_catalog_database.Example.Name,
+ /// Role = aws_iam_role.Example.Arn,
+ /// MongodbTargets =
+ /// {
+ /// new Aws.Glue.Inputs.CrawlerMongodbTargetArgs
+ /// {
+ /// ConnectionName = aws_glue_connection.Example.Name,
+ /// Path = "database-name/%",
+ /// },
+ /// },
+ /// });
+ /// }
+ ///
+ /// }
+ /// ```
///
public partial class Crawler : Pulumi.CustomResource
{
@@ -181,6 +208,12 @@ public partial class Crawler : Pulumi.CustomResource
[Output("jdbcTargets")]
public Output> JdbcTargets { get; private set; } = null!;
+ ///
+ /// List nested MongoDB target arguments. See below.
+ ///
+ [Output("mongodbTargets")]
+ public Output> MongodbTargets { get; private set; } = null!;
+
///
/// Name of the crawler.
///
@@ -337,6 +370,18 @@ public InputList JdbcTargets
set => _jdbcTargets = value;
}
+ [Input("mongodbTargets")]
+ private InputList? _mongodbTargets;
+
+ ///
+ /// List nested MongoDB target arguments. See below.
+ ///
+ public InputList MongodbTargets
+ {
+ get => _mongodbTargets ?? (_mongodbTargets = new InputList());
+ set => _mongodbTargets = value;
+ }
+
///
/// Name of the crawler.
///
@@ -472,6 +517,18 @@ public InputList JdbcTargets
set => _jdbcTargets = value;
}
+ [Input("mongodbTargets")]
+ private InputList? _mongodbTargets;
+
+ ///
+ /// List nested MongoDB target arguments. See below.
+ ///
+ public InputList MongodbTargets
+ {
+ get => _mongodbTargets ?? (_mongodbTargets = new InputList());
+ set => _mongodbTargets = value;
+ }
+
///
/// Name of the crawler.
///
diff --git a/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetArgs.cs b/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetArgs.cs
new file mode 100644
index 00000000000..c355fafffe2
--- /dev/null
+++ b/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Inputs
+{
+
+ public sealed class CrawlerMongodbTargetArgs : Pulumi.ResourceArgs
+ {
+ ///
+ /// The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
+ ///
+ [Input("connectionName", required: true)]
+ public Input ConnectionName { get; set; } = null!;
+
+ ///
+ /// The path of the Amazon DocumentDB or MongoDB target (database/collection).
+ ///
+ [Input("path", required: true)]
+ public Input Path { get; set; } = null!;
+
+ ///
+ /// Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
+ ///
+ [Input("scanAll")]
+ public Input? ScanAll { get; set; }
+
+ public CrawlerMongodbTargetArgs()
+ {
+ }
+ }
+}
diff --git a/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetGetArgs.cs b/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetGetArgs.cs
new file mode 100644
index 00000000000..3bba1707d8f
--- /dev/null
+++ b/sdk/dotnet/Glue/Inputs/CrawlerMongodbTargetGetArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Inputs
+{
+
+ public sealed class CrawlerMongodbTargetGetArgs : Pulumi.ResourceArgs
+ {
+ ///
+ /// The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
+ ///
+ [Input("connectionName", required: true)]
+ public Input ConnectionName { get; set; } = null!;
+
+ ///
+ /// The path of the Amazon DocumentDB or MongoDB target (database/collection).
+ ///
+ [Input("path", required: true)]
+ public Input Path { get; set; } = null!;
+
+ ///
+ /// Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
+ ///
+ [Input("scanAll")]
+ public Input? ScanAll { get; set; }
+
+ public CrawlerMongodbTargetGetArgs()
+ {
+ }
+ }
+}
diff --git a/sdk/dotnet/Glue/Inputs/TriggerActionArgs.cs b/sdk/dotnet/Glue/Inputs/TriggerActionArgs.cs
index cec5b736134..551eb4a1894 100644
--- a/sdk/dotnet/Glue/Inputs/TriggerActionArgs.cs
+++ b/sdk/dotnet/Glue/Inputs/TriggerActionArgs.cs
@@ -36,6 +36,18 @@ public InputMap Arguments
[Input("jobName")]
public Input? JobName { get; set; }
+ ///
+ /// Specifies configuration properties of a job run notification. see Notification Property details below.
+ ///
+ [Input("notificationProperty")]
+ public Input? NotificationProperty { get; set; }
+
+ ///
+ /// The name of the Security Configuration structure to be used with this action.
+ ///
+ [Input("securityConfiguration")]
+ public Input? SecurityConfiguration { get; set; }
+
///
/// The job run timeout in minutes. It overrides the timeout value of the job.
///
diff --git a/sdk/dotnet/Glue/Inputs/TriggerActionGetArgs.cs b/sdk/dotnet/Glue/Inputs/TriggerActionGetArgs.cs
index 1d05584b440..c91e8e2adcb 100644
--- a/sdk/dotnet/Glue/Inputs/TriggerActionGetArgs.cs
+++ b/sdk/dotnet/Glue/Inputs/TriggerActionGetArgs.cs
@@ -36,6 +36,18 @@ public InputMap Arguments
[Input("jobName")]
public Input? JobName { get; set; }
+ ///
+ /// Specifies configuration properties of a job run notification. see Notification Property details below.
+ ///
+ [Input("notificationProperty")]
+ public Input? NotificationProperty { get; set; }
+
+ ///
+ /// The name of the Security Configuration structure to be used with this action.
+ ///
+ [Input("securityConfiguration")]
+ public Input? SecurityConfiguration { get; set; }
+
///
/// The job run timeout in minutes. It overrides the timeout value of the job.
///
diff --git a/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyArgs.cs b/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyArgs.cs
new file mode 100644
index 00000000000..859471cbac2
--- /dev/null
+++ b/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyArgs.cs
@@ -0,0 +1,25 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Inputs
+{
+
+ public sealed class TriggerActionNotificationPropertyArgs : Pulumi.ResourceArgs
+ {
+ ///
+ /// After a job run starts, the number of minutes to wait before sending a job run delay notification.
+ ///
+ [Input("notifyDelayAfter")]
+ public Input? NotifyDelayAfter { get; set; }
+
+ public TriggerActionNotificationPropertyArgs()
+ {
+ }
+ }
+}
diff --git a/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyGetArgs.cs b/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyGetArgs.cs
new file mode 100644
index 00000000000..bcac3030cba
--- /dev/null
+++ b/sdk/dotnet/Glue/Inputs/TriggerActionNotificationPropertyGetArgs.cs
@@ -0,0 +1,25 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Inputs
+{
+
+ public sealed class TriggerActionNotificationPropertyGetArgs : Pulumi.ResourceArgs
+ {
+ ///
+ /// After a job run starts, the number of minutes to wait before sending a job run delay notification.
+ ///
+ [Input("notifyDelayAfter")]
+ public Input? NotifyDelayAfter { get; set; }
+
+ public TriggerActionNotificationPropertyGetArgs()
+ {
+ }
+ }
+}
diff --git a/sdk/dotnet/Glue/Outputs/CrawlerMongodbTarget.cs b/sdk/dotnet/Glue/Outputs/CrawlerMongodbTarget.cs
new file mode 100644
index 00000000000..e53cf65a5be
--- /dev/null
+++ b/sdk/dotnet/Glue/Outputs/CrawlerMongodbTarget.cs
@@ -0,0 +1,42 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Outputs
+{
+
+ [OutputType]
+ public sealed class CrawlerMongodbTarget
+ {
+ ///
+ /// The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
+ ///
+ public readonly string ConnectionName;
+ ///
+ /// The path of the Amazon DocumentDB or MongoDB target (database/collection).
+ ///
+ public readonly string Path;
+ ///
+ /// Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. Default value is `true`.
+ ///
+ public readonly bool? ScanAll;
+
+ [OutputConstructor]
+ private CrawlerMongodbTarget(
+ string connectionName,
+
+ string path,
+
+ bool? scanAll)
+ {
+ ConnectionName = connectionName;
+ Path = path;
+ ScanAll = scanAll;
+ }
+ }
+}
diff --git a/sdk/dotnet/Glue/Outputs/TriggerAction.cs b/sdk/dotnet/Glue/Outputs/TriggerAction.cs
index 5831b34d5fe..7d615367f36 100644
--- a/sdk/dotnet/Glue/Outputs/TriggerAction.cs
+++ b/sdk/dotnet/Glue/Outputs/TriggerAction.cs
@@ -26,6 +26,14 @@ public sealed class TriggerAction
///
public readonly string? JobName;
///
+ /// Specifies configuration properties of a job run notification. see Notification Property details below.
+ ///
+ public readonly Outputs.TriggerActionNotificationProperty? NotificationProperty;
+ ///
+ /// The name of the Security Configuration structure to be used with this action.
+ ///
+ public readonly string? SecurityConfiguration;
+ ///
/// The job run timeout in minutes. It overrides the timeout value of the job.
///
public readonly int? Timeout;
@@ -38,11 +46,17 @@ private TriggerAction(
string? jobName,
+ Outputs.TriggerActionNotificationProperty? notificationProperty,
+
+ string? securityConfiguration,
+
int? timeout)
{
Arguments = arguments;
CrawlerName = crawlerName;
JobName = jobName;
+ NotificationProperty = notificationProperty;
+ SecurityConfiguration = securityConfiguration;
Timeout = timeout;
}
}
diff --git a/sdk/dotnet/Glue/Outputs/TriggerActionNotificationProperty.cs b/sdk/dotnet/Glue/Outputs/TriggerActionNotificationProperty.cs
new file mode 100644
index 00000000000..e9ad0613844
--- /dev/null
+++ b/sdk/dotnet/Glue/Outputs/TriggerActionNotificationProperty.cs
@@ -0,0 +1,27 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Aws.Glue.Outputs
+{
+
+ [OutputType]
+ public sealed class TriggerActionNotificationProperty
+ {
+ ///
+ /// After a job run starts, the number of minutes to wait before sending a job run delay notification.
+ ///
+ public readonly int? NotifyDelayAfter;
+
+ [OutputConstructor]
+ private TriggerActionNotificationProperty(int? notifyDelayAfter)
+ {
+ NotifyDelayAfter = notifyDelayAfter;
+ }
+ }
+}
diff --git a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs b/sdk/dotnet/Inputs/ProviderEndpointArgs.cs
index 0d5129bd623..b84135dfc04 100644
--- a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs
+++ b/sdk/dotnet/Inputs/ProviderEndpointArgs.cs
@@ -102,6 +102,9 @@ public sealed class ProviderEndpointArgs : Pulumi.ResourceArgs
[Input("codepipeline")]
public Input? Codepipeline { get; set; }
+ [Input("codestarconnections")]
+ public Input? Codestarconnections { get; set; }
+
[Input("cognitoidentity")]
public Input? Cognitoidentity { get; set; }
diff --git a/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismArgs.cs b/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismArgs.cs
index 82756dc108f..44b310c20af 100644
--- a/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismArgs.cs
+++ b/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismArgs.cs
@@ -15,8 +15,8 @@ public sealed class AnalyticsApplicationInputsParallelismArgs : Pulumi.ResourceA
///
/// The Count of streams.
///
- [Input("count", required: true)]
- public Input Count { get; set; } = null!;
+ [Input("count")]
+ public Input? Count { get; set; }
public AnalyticsApplicationInputsParallelismArgs()
{
diff --git a/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismGetArgs.cs b/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismGetArgs.cs
index 6051585b954..e46cdf22b61 100644
--- a/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismGetArgs.cs
+++ b/sdk/dotnet/Kinesis/Inputs/AnalyticsApplicationInputsParallelismGetArgs.cs
@@ -15,8 +15,8 @@ public sealed class AnalyticsApplicationInputsParallelismGetArgs : Pulumi.Resour
///
/// The Count of streams.
///
- [Input("count", required: true)]
- public Input Count { get; set; } = null!;
+ [Input("count")]
+ public Input? Count { get; set; }
public AnalyticsApplicationInputsParallelismGetArgs()
{
diff --git a/sdk/dotnet/Kinesis/Outputs/AnalyticsApplicationInputsParallelism.cs b/sdk/dotnet/Kinesis/Outputs/AnalyticsApplicationInputsParallelism.cs
index b9fe9ed190c..29b1bcf92cb 100644
--- a/sdk/dotnet/Kinesis/Outputs/AnalyticsApplicationInputsParallelism.cs
+++ b/sdk/dotnet/Kinesis/Outputs/AnalyticsApplicationInputsParallelism.cs
@@ -16,10 +16,10 @@ public sealed class AnalyticsApplicationInputsParallelism
///
/// The Count of streams.
///
- public readonly int Count;
+ public readonly int? Count;
[OutputConstructor]
- private AnalyticsApplicationInputsParallelism(int count)
+ private AnalyticsApplicationInputsParallelism(int? count)
{
Count = count;
}
diff --git a/sdk/dotnet/Lex/Bot.cs b/sdk/dotnet/Lex/Bot.cs
index aaa5cf33b9d..26b8bae3f98 100644
--- a/sdk/dotnet/Lex/Bot.cs
+++ b/sdk/dotnet/Lex/Bot.cs
@@ -113,7 +113,7 @@ public partial class Bot : Pulumi.CustomResource
public Output CreatedDate { get; private set; } = null!;
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Output("description")]
public Output Description { get; private set; } = null!;
@@ -137,13 +137,13 @@ public partial class Bot : Pulumi.CustomResource
public Output FailureReason { get; private set; } = null!;
///
- /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.
+ /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).
///
[Output("idleSessionTtlInSeconds")]
public Output IdleSessionTtlInSeconds { get; private set; } = null!;
///
- /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.
+ /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.
///
[Output("intents")]
public Output> Intents { get; private set; } = null!;
@@ -161,13 +161,13 @@ public partial class Bot : Pulumi.CustomResource
public Output Locale { get; private set; } = null!;
///
- /// The name of the bot that you want to create, case sensitive.
+ /// The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.
///
[Output("name")]
public Output Name { get; private set; } = null!;
///
- /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.
+ /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.
///
[Output("nluIntentConfidenceThreshold")]
public Output NluIntentConfidenceThreshold { get; private set; } = null!;
@@ -270,7 +270,7 @@ public sealed class BotArgs : Pulumi.ResourceArgs
public Input? CreateVersion { get; set; }
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
@@ -288,7 +288,7 @@ public sealed class BotArgs : Pulumi.ResourceArgs
public Input? EnableModelImprovements { get; set; }
///
- /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.
+ /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).
///
[Input("idleSessionTtlInSeconds")]
public Input? IdleSessionTtlInSeconds { get; set; }
@@ -297,7 +297,7 @@ public sealed class BotArgs : Pulumi.ResourceArgs
private InputList? _intents;
///
- /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.
+ /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.
///
public InputList Intents
{
@@ -312,13 +312,13 @@ public InputList Intents
public Input? Locale { get; set; }
///
- /// The name of the bot that you want to create, case sensitive.
+ /// The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.
///
[Input("name")]
public Input? Name { get; set; }
///
- /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.
+ /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.
///
[Input("nluIntentConfidenceThreshold")]
public Input? NluIntentConfidenceThreshold { get; set; }
@@ -383,7 +383,7 @@ public sealed class BotState : Pulumi.ResourceArgs
public Input? CreatedDate { get; set; }
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
@@ -407,7 +407,7 @@ public sealed class BotState : Pulumi.ResourceArgs
public Input? FailureReason { get; set; }
///
- /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`.
+ /// The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).
///
[Input("idleSessionTtlInSeconds")]
public Input? IdleSessionTtlInSeconds { get; set; }
@@ -416,7 +416,7 @@ public sealed class BotState : Pulumi.ResourceArgs
private InputList? _intents;
///
- /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent.
+ /// A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 100 Intent objects.
///
public InputList Intents
{
@@ -437,13 +437,13 @@ public InputList Intents
public Input? Locale { get; set; }
///
- /// The name of the bot that you want to create, case sensitive.
+ /// The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.
///
[Input("name")]
public Input? Name { get; set; }
///
- /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`.
+ /// Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enable_model_improvements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.
///
[Input("nluIntentConfidenceThreshold")]
public Input? NluIntentConfidenceThreshold { get; set; }
diff --git a/sdk/dotnet/Lex/BotAlias.cs b/sdk/dotnet/Lex/BotAlias.cs
index 405b10f8d6a..8693c9707b8 100644
--- a/sdk/dotnet/Lex/BotAlias.cs
+++ b/sdk/dotnet/Lex/BotAlias.cs
@@ -74,7 +74,7 @@ public partial class BotAlias : Pulumi.CustomResource
public Output CreatedDate { get; private set; } = null!;
///
- /// A description of the alias.
+ /// A description of the alias. Must be less than or equal to 200 characters in length.
///
[Output("description")]
public Output Description { get; private set; } = null!;
@@ -86,7 +86,7 @@ public partial class BotAlias : Pulumi.CustomResource
public Output LastUpdatedDate { get; private set; } = null!;
///
- /// The name of the alias. The name is not case sensitive.
+ /// The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
///
[Output("name")]
public Output Name { get; private set; } = null!;
@@ -156,13 +156,13 @@ public sealed class BotAliasArgs : Pulumi.ResourceArgs
public Input? ConversationLogs { get; set; }
///
- /// A description of the alias.
+ /// A description of the alias. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
///
- /// The name of the alias. The name is not case sensitive.
+ /// The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
///
[Input("name")]
public Input? Name { get; set; }
@@ -211,7 +211,7 @@ public sealed class BotAliasState : Pulumi.ResourceArgs
public Input? CreatedDate { get; set; }
///
- /// A description of the alias.
+ /// A description of the alias. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
@@ -223,7 +223,7 @@ public sealed class BotAliasState : Pulumi.ResourceArgs
public Input? LastUpdatedDate { get; set; }
///
- /// The name of the alias. The name is not case sensitive.
+ /// The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
///
[Input("name")]
public Input? Name { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsArgs.cs b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsArgs.cs
index 498e326153c..cbfb390a38f 100644
--- a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class BotAliasConversationLogsArgs : Pulumi.ResourceArgs
{
///
- /// The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.
+ /// The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
///
[Input("iamRoleArn", required: true)]
public Input IamRoleArn { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsGetArgs.cs b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsGetArgs.cs
index ed9b786a32a..71d9b91fb16 100644
--- a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class BotAliasConversationLogsGetArgs : Pulumi.ResourceArgs
{
///
- /// The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket.
+ /// The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
///
[Input("iamRoleArn", required: true)]
public Input IamRoleArn { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingArgs.cs b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingArgs.cs
index 389f13c3226..228b69113c2 100644
--- a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingArgs.cs
@@ -19,7 +19,7 @@ public sealed class BotAliasConversationLogsLogSettingArgs : Pulumi.ResourceArgs
public Input Destination { get; set; } = null!;
///
- /// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`.
+ /// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length.
///
[Input("kmsKeyArn")]
public Input? KmsKeyArn { get; set; }
@@ -31,7 +31,7 @@ public sealed class BotAliasConversationLogsLogSettingArgs : Pulumi.ResourceArgs
public Input LogType { get; set; } = null!;
///
- /// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
+ /// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
///
[Input("resourceArn", required: true)]
public Input ResourceArn { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingGetArgs.cs b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingGetArgs.cs
index f65400f3d9e..506e3f8227a 100644
--- a/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotAliasConversationLogsLogSettingGetArgs.cs
@@ -19,7 +19,7 @@ public sealed class BotAliasConversationLogsLogSettingGetArgs : Pulumi.ResourceA
public Input Destination { get; set; } = null!;
///
- /// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`.
+ /// The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when `destination` is set to `S3`. Must be between 20 and 2048 characters in length.
///
[Input("kmsKeyArn")]
public Input? KmsKeyArn { get; set; }
@@ -31,7 +31,7 @@ public sealed class BotAliasConversationLogsLogSettingGetArgs : Pulumi.ResourceA
public Input LogType { get; set; } = null!;
///
- /// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.
+ /// The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
///
[Input("resourceArn", required: true)]
public Input ResourceArn { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/BotIntentArgs.cs b/sdk/dotnet/Lex/Inputs/BotIntentArgs.cs
index 1c3c69d530a..48d2a00d115 100644
--- a/sdk/dotnet/Lex/Inputs/BotIntentArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotIntentArgs.cs
@@ -13,13 +13,13 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class BotIntentArgs : Pulumi.ResourceArgs
{
///
- /// The name of the intent.
+ /// The name of the intent. Must be less than or equal to 100 characters in length.
///
[Input("intentName", required: true)]
public Input IntentName { get; set; } = null!;
///
- /// The version of the intent.
+ /// The version of the intent. Must be less than or equal to 64 characters in length.
///
[Input("intentVersion", required: true)]
public Input IntentVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/BotIntentGetArgs.cs b/sdk/dotnet/Lex/Inputs/BotIntentGetArgs.cs
index 9049b75e518..4a619a07f70 100644
--- a/sdk/dotnet/Lex/Inputs/BotIntentGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/BotIntentGetArgs.cs
@@ -13,13 +13,13 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class BotIntentGetArgs : Pulumi.ResourceArgs
{
///
- /// The name of the intent.
+ /// The name of the intent. Must be less than or equal to 100 characters in length.
///
[Input("intentName", required: true)]
public Input IntentName { get; set; } = null!;
///
- /// The version of the intent.
+ /// The version of the intent. Must be less than or equal to 64 characters in length.
///
[Input("intentVersion", required: true)]
public Input IntentVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementArgs.cs
index de349811b3f..7cb0d4f6e97 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentConclusionStatementArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementGetArgs.cs
index e8cea234f6c..d1e9df03ac8 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementGetArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentConclusionStatementGetArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageArgs.cs
index dde64af8185..8992172b349 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConclusionStatementMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentConclusionStatementMessageArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageGetArgs.cs
index 119cb1de975..dcd00f2493f 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConclusionStatementMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConclusionStatementMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentConclusionStatementMessageGetArgs : Pulumi.ResourceArg
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptArgs.cs
index 37a9ecf8a69..dcb1c3afb30 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConfirmationPromptArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentConfirmationPromptArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptGetArgs.cs
index d916f75fbea..48541fec352 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConfirmationPromptGetArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentConfirmationPromptGetArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageArgs.cs
index 9d9492abd61..2a21567a730 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConfirmationPromptMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentConfirmationPromptMessageArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageGetArgs.cs
index 27942b4cb63..b8bb274d0c1 100644
--- a/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentConfirmationPromptMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentConfirmationPromptMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentConfirmationPromptMessageGetArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookArgs.cs b/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookArgs.cs
index 9c16271fd40..9e25b3ac6ca 100644
--- a/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookArgs.cs
@@ -15,7 +15,7 @@ public sealed class IntentDialogCodeHookArgs : Pulumi.ResourceArgs
///
/// The version of the request-response that you want Amazon Lex to use
/// to invoke your Lambda function. For more information, see
- /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).
+ /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
///
[Input("messageVersion", required: true)]
public Input MessageVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookGetArgs.cs
index b47a53d3456..259c4512fd8 100644
--- a/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentDialogCodeHookGetArgs.cs
@@ -15,7 +15,7 @@ public sealed class IntentDialogCodeHookGetArgs : Pulumi.ResourceArgs
///
/// The version of the request-response that you want Amazon Lex to use
/// to invoke your Lambda function. For more information, see
- /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).
+ /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
///
[Input("messageVersion", required: true)]
public Input MessageVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptArgs.cs
index bceea4b7b11..c6985eb458d 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptPromptArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentFollowUpPromptPromptArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptGetArgs.cs
index 515b1e492ef..e6882a49b93 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptPromptGetArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentFollowUpPromptPromptGetArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageArgs.cs
index ec5a1ba7b01..68cd486113b 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptPromptMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentFollowUpPromptPromptMessageArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageGetArgs.cs
index 30b6bca777b..bb4c0c7dbd6 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptPromptMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptPromptMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentFollowUpPromptPromptMessageGetArgs : Pulumi.ResourceAr
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementArgs.cs
index 2e15f526d8a..670bd4da17d 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentFollowUpPromptRejectionStatementArgs : Pulumi.Resource
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Messa
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementGetArgs.cs
index 2d71f28c620..8634d366114 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementGetArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentFollowUpPromptRejectionStatementGetArgs : Pulumi.Resou
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Me
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageArgs.cs
index 926bf922a78..46d517ab71f 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptRejectionStatementMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentFollowUpPromptRejectionStatementMessageArgs : Pulumi.R
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageGetArgs.cs
index 528070f5617..bfbaec3ae42 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFollowUpPromptRejectionStatementMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentFollowUpPromptRejectionStatementMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentFollowUpPromptRejectionStatementMessageGetArgs : Pulum
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookArgs.cs
index 175b23a2f04..77356350f9a 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookArgs.cs
@@ -15,7 +15,7 @@ public sealed class IntentFulfillmentActivityCodeHookArgs : Pulumi.ResourceArgs
///
/// The version of the request-response that you want Amazon Lex to use
/// to invoke your Lambda function. For more information, see
- /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).
+ /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
///
[Input("messageVersion", required: true)]
public Input MessageVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookGetArgs.cs
index f155af9d506..7c3aef63da8 100644
--- a/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentFulfillmentActivityCodeHookGetArgs.cs
@@ -15,7 +15,7 @@ public sealed class IntentFulfillmentActivityCodeHookGetArgs : Pulumi.ResourceAr
///
/// The version of the request-response that you want Amazon Lex to use
/// to invoke your Lambda function. For more information, see
- /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html).
+ /// [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
///
[Input("messageVersion", required: true)]
public Input MessageVersion { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementArgs.cs b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementArgs.cs
index 5d86fbeded4..86e0b3fd963 100644
--- a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentRejectionStatementArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementGetArgs.cs
index 99f10a9228e..0e66ae7c722 100644
--- a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementGetArgs.cs
@@ -18,7 +18,7 @@ public sealed class IntentRejectionStatementGetArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -29,7 +29,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageArgs.cs
index 3d957a400bd..e61b3c077ec 100644
--- a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentRejectionStatementMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentRejectionStatementMessageArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageGetArgs.cs
index 39cbabfa970..75c00bac706 100644
--- a/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentRejectionStatementMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentRejectionStatementMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentRejectionStatementMessageGetArgs : Pulumi.ResourceArgs
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotArgs.cs
index 4643f649a41..1039bc19322 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotArgs.cs
@@ -13,13 +13,13 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotArgs : Pulumi.ResourceArgs
{
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
///
- /// The name of the intent slot that you want to create. The name is case sensitive.
+ /// The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
///
[Input("name", required: true)]
public Input Name { get; set; } = null!;
@@ -28,7 +28,7 @@ public sealed class IntentSlotArgs : Pulumi.ResourceArgs
/// Directs Lex the order in which to elicit this slot value from the user.
/// For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for
/// the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits
- /// values is arbitrary.
+ /// values is arbitrary. Must be between 1 and 100.
///
[Input("priority")]
public Input? Priority { get; set; }
@@ -36,7 +36,7 @@ public sealed class IntentSlotArgs : Pulumi.ResourceArgs
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
@@ -47,7 +47,7 @@ public sealed class IntentSlotArgs : Pulumi.ResourceArgs
///
/// If you know a specific pattern with which users might respond to
/// an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This
- /// is optional. In most cases, Amazon Lex is capable of understanding user utterances.
+ /// is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
///
public InputList SampleUtterances
{
@@ -63,13 +63,13 @@ public InputList SampleUtterances
///
/// The type of the slot, either a custom slot type that you defined or one of
- /// the built-in slot types.
+ /// the built-in slot types. Must be less than or equal to 100 characters in length.
///
[Input("slotType", required: true)]
public Input SlotType { get; set; } = null!;
///
- /// The version of the slot type.
+ /// The version of the slot type. Must be less than or equal to 64 characters in length.
///
[Input("slotTypeVersion")]
public Input? SlotTypeVersion { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotGetArgs.cs
index 2fcd319575c..aff72379e49 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotGetArgs.cs
@@ -13,13 +13,13 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotGetArgs : Pulumi.ResourceArgs
{
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
///
- /// The name of the intent slot that you want to create. The name is case sensitive.
+ /// The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
///
[Input("name", required: true)]
public Input Name { get; set; } = null!;
@@ -28,7 +28,7 @@ public sealed class IntentSlotGetArgs : Pulumi.ResourceArgs
/// Directs Lex the order in which to elicit this slot value from the user.
/// For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for
/// the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits
- /// values is arbitrary.
+ /// values is arbitrary. Must be between 1 and 100.
///
[Input("priority")]
public Input? Priority { get; set; }
@@ -36,7 +36,7 @@ public sealed class IntentSlotGetArgs : Pulumi.ResourceArgs
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
@@ -47,7 +47,7 @@ public sealed class IntentSlotGetArgs : Pulumi.ResourceArgs
///
/// If you know a specific pattern with which users might respond to
/// an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This
- /// is optional. In most cases, Amazon Lex is capable of understanding user utterances.
+ /// is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
///
public InputList SampleUtterances
{
@@ -63,13 +63,13 @@ public InputList SampleUtterances
///
/// The type of the slot, either a custom slot type that you defined or one of
- /// the built-in slot types.
+ /// the built-in slot types. Must be less than or equal to 100 characters in length.
///
[Input("slotType", required: true)]
public Input SlotType { get; set; } = null!;
///
- /// The version of the slot type.
+ /// The version of the slot type. Must be less than or equal to 64 characters in length.
///
[Input("slotTypeVersion")]
public Input? SlotTypeVersion { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptArgs.cs
index 375d54fe3ba..984abfe231e 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotValueElicitationPromptArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentSlotValueElicitationPromptArgs : Pulumi.ResourceArgs
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptGetArgs.cs
index 3ec48f1c9fa..1789f1ceb22 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotValueElicitationPromptGetArgs : Pulumi.ResourceArgs
{
///
- /// The number of times to prompt the user for information.
+ /// The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
///
[Input("maxAttempts", required: true)]
public Input MaxAttempts { get; set; } = null!;
@@ -24,7 +24,7 @@ public sealed class IntentSlotValueElicitationPromptGetArgs : Pulumi.ResourceArg
///
/// A set of messages, each of which provides a message string and its type.
/// You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
- /// Attributes are documented under message.
+ /// Attributes are documented under message. Must contain between 1 and 15 messages.
///
public InputList Messages
{
@@ -35,7 +35,7 @@ public InputList Messages
///
/// The response card. Amazon Lex will substitute session attributes and
/// slot values into the response card. For more information, see
- /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html).
+ /// [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
///
[Input("responseCard")]
public Input? ResponseCard { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageArgs.cs
index eabcb8508a7..729109f19b1 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotValueElicitationPromptMessageArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentSlotValueElicitationPromptMessageArgs : Pulumi.Resourc
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageGetArgs.cs b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageGetArgs.cs
index 1f04aec19d9..07aaeebf333 100644
--- a/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/IntentSlotValueElicitationPromptMessageGetArgs.cs
@@ -13,7 +13,7 @@ namespace Pulumi.Aws.Lex.Inputs
public sealed class IntentSlotValueElicitationPromptMessageGetArgs : Pulumi.ResourceArgs
{
///
- /// The text of the message.
+ /// The text of the message. Must be less than or equal to 1000 characters in length.
///
[Input("content", required: true)]
public Input Content { get; set; } = null!;
@@ -26,7 +26,7 @@ public sealed class IntentSlotValueElicitationPromptMessageGetArgs : Pulumi.Reso
///
/// Identifies the message group that the message belongs to. When a group
- /// is assigned to a message, Amazon Lex returns one message from each group in the response.
+ /// is assigned to a message, Amazon Lex returns one message from each group in the response. Must be a number between 1 and 5 (inclusive).
///
[Input("groupNumber")]
public Input? GroupNumber { get; set; }
diff --git a/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueArgs.cs b/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueArgs.cs
index 301b055e1a4..2a9977549a4 100644
--- a/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueArgs.cs
@@ -16,7 +16,7 @@ public sealed class SlotTypeEnumerationValueArgs : Pulumi.ResourceArgs
private InputList? _synonyms;
///
- /// Additional values related to the slot type value.
+ /// Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
///
public InputList Synonyms
{
@@ -25,7 +25,7 @@ public InputList Synonyms
}
///
- /// The value of the slot type.
+ /// The value of the slot type. Must be less than or equal to 140 characters in length.
///
[Input("value", required: true)]
public Input Value { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueGetArgs.cs b/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueGetArgs.cs
index f0561b8fcf9..78418929158 100644
--- a/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueGetArgs.cs
+++ b/sdk/dotnet/Lex/Inputs/SlotTypeEnumerationValueGetArgs.cs
@@ -16,7 +16,7 @@ public sealed class SlotTypeEnumerationValueGetArgs : Pulumi.ResourceArgs
private InputList? _synonyms;
///
- /// Additional values related to the slot type value.
+ /// Additional values related to the slot type value. Each item must be less than or equal to 140 characters in length.
///
public InputList Synonyms
{
@@ -25,7 +25,7 @@ public InputList Synonyms
}
///
- /// The value of the slot type.
+ /// The value of the slot type. Must be less than or equal to 140 characters in length.
///
[Input("value", required: true)]
public Input Value { get; set; } = null!;
diff --git a/sdk/dotnet/Lex/Intent.cs b/sdk/dotnet/Lex/Intent.cs
index af40ffaa793..481e1bc10ca 100644
--- a/sdk/dotnet/Lex/Intent.cs
+++ b/sdk/dotnet/Lex/Intent.cs
@@ -190,7 +190,7 @@ public partial class Intent : Pulumi.CustomResource
public Output CreatedDate { get; private set; } = null!;
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Output("description")]
public Output Description { get; private set; } = null!;
@@ -226,7 +226,7 @@ public partial class Intent : Pulumi.CustomResource
public Output LastUpdatedDate { get; private set; } = null!;
///
- /// The name of the intent slot that you want to create. The name is case sensitive.
+ /// The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
///
[Output("name")]
public Output Name { get; private set; } = null!;
@@ -251,7 +251,7 @@ public partial class Intent : Pulumi.CustomResource
///
/// If you know a specific pattern with which users might respond to
/// an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This
- /// is optional. In most cases, Amazon Lex is capable of understanding user utterances.
+ /// is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.
///
[Output("sampleUtterances")]
public Output> SampleUtterances { get; private set; } = null!;
@@ -341,7 +341,7 @@ public sealed class IntentArgs : Pulumi.ResourceArgs
public Input? CreateVersion { get; set; }
///
- /// A description of the bot.
+ /// A description of the bot. Must be less than or equal to 200 characters in length.
///
[Input("description")]
public Input? Description { get; set; }
@@ -371,7 +371,7 @@ public sealed class IntentArgs : Pulumi.ResourceArgs
public Input