@pulumi/aws 7.11.0-alpha.1761834890 → 7.11.0-alpha.1762351717

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/alb/listenerRule.d.ts +45 -0
  2. package/alb/listenerRule.js +35 -0
  3. package/alb/listenerRule.js.map +1 -1
  4. package/amplify/app.d.ts +1 -1
  5. package/amplify/app.js +1 -1
  6. package/apigateway/integration.d.ts +1 -1
  7. package/apigateway/integration.js +1 -1
  8. package/apigateway/integrationResponse.d.ts +1 -1
  9. package/apigateway/integrationResponse.js +1 -1
  10. package/appstream/getImage.d.ts +10 -10
  11. package/appsync/function.d.ts +5 -5
  12. package/appsync/function.js +5 -5
  13. package/appsync/graphQLApi.d.ts +1 -1
  14. package/appsync/graphQLApi.js +1 -1
  15. package/appsync/resolver.d.ts +11 -11
  16. package/appsync/resolver.js +11 -11
  17. package/autoscaling/tag.d.ts +30 -0
  18. package/autoscaling/tag.js +30 -0
  19. package/autoscaling/tag.js.map +1 -1
  20. package/autoscalingplans/scalingPlan.d.ts +100 -0
  21. package/autoscalingplans/scalingPlan.js +100 -0
  22. package/autoscalingplans/scalingPlan.js.map +1 -1
  23. package/bcmdata/export.d.ts +9 -0
  24. package/bcmdata/export.js.map +1 -1
  25. package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +6 -0
  26. package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -1
  27. package/bedrock/agentcoreGateway.d.ts +6 -6
  28. package/bedrockmodel/invocationLoggingConfiguration.d.ts +14 -14
  29. package/bedrockmodel/invocationLoggingConfiguration.js +14 -14
  30. package/cfg/organizationCustomPolicyRule.d.ts +3 -3
  31. package/cfg/organizationCustomPolicyRule.js +3 -3
  32. package/cfg/rule.d.ts +10 -10
  33. package/cfg/rule.js +10 -10
  34. package/cloudwatch/eventTarget.d.ts +3 -3
  35. package/cloudwatch/eventTarget.js +3 -3
  36. package/cloudwatch/metricAlarm.d.ts +1 -1
  37. package/cloudwatch/metricAlarm.js +1 -1
  38. package/codebuild/webhook.d.ts +20 -0
  39. package/codebuild/webhook.js +20 -0
  40. package/codebuild/webhook.js.map +1 -1
  41. package/codepipeline/webhook.d.ts +77 -0
  42. package/codepipeline/webhook.js +77 -0
  43. package/codepipeline/webhook.js.map +1 -1
  44. package/cognito/identityPoolProviderPrincipalTag.d.ts +37 -0
  45. package/cognito/identityPoolProviderPrincipalTag.js +37 -0
  46. package/cognito/identityPoolProviderPrincipalTag.js.map +1 -1
  47. package/datazone/formType.d.ts +9 -9
  48. package/datazone/formType.js +9 -9
  49. package/dms/replicationConfig.d.ts +1 -1
  50. package/dms/replicationConfig.js +1 -1
  51. package/dynamodb/getTableItem.d.ts +2 -2
  52. package/dynamodb/getTableItem.js +2 -2
  53. package/dynamodb/tableItem.d.ts +5 -5
  54. package/dynamodb/tableItem.js +5 -5
  55. package/ec2/getSubnets.d.ts +110 -0
  56. package/ec2/getSubnets.js +110 -0
  57. package/ec2/getSubnets.js.map +1 -1
  58. package/ec2/securityGroup.d.ts +4 -4
  59. package/ec2/securityGroup.js +4 -4
  60. package/ec2/vpcIpam.d.ts +28 -0
  61. package/ec2/vpcIpam.js +28 -0
  62. package/ec2/vpcIpam.js.map +1 -1
  63. package/ecr/lifecyclePolicy.d.ts +20 -20
  64. package/ecr/lifecyclePolicy.js +20 -20
  65. package/ecr/repositoryCreationTemplate.d.ts +10 -10
  66. package/ecr/repositoryCreationTemplate.js +10 -10
  67. package/ecrpublic/getImages.d.ts +76 -0
  68. package/ecrpublic/getImages.js +34 -0
  69. package/ecrpublic/getImages.js.map +1 -0
  70. package/ecrpublic/index.d.ts +3 -0
  71. package/ecrpublic/index.js +4 -1
  72. package/ecrpublic/index.js.map +1 -1
  73. package/ecs/getTaskDefinition.d.ts +18 -18
  74. package/ecs/getTaskDefinition.js +18 -18
  75. package/eks/getClusters.d.ts +30 -0
  76. package/eks/getClusters.js +30 -0
  77. package/eks/getClusters.js.map +1 -1
  78. package/elasticsearch/domain.d.ts +17 -17
  79. package/elasticsearch/domain.js +17 -17
  80. package/elasticsearch/domainPolicy.d.ts +8 -8
  81. package/elasticsearch/domainPolicy.js +8 -8
  82. package/emr/cluster.d.ts +54 -54
  83. package/emr/cluster.js +36 -36
  84. package/emr/instanceGroup.d.ts +18 -18
  85. package/emr/securityConfiguration.d.ts +9 -9
  86. package/emr/securityConfiguration.js +9 -9
  87. package/emrserverless/application.d.ts +94 -1
  88. package/emrserverless/application.js +74 -1
  89. package/emrserverless/application.js.map +1 -1
  90. package/evidently/segment.d.ts +2 -2
  91. package/evidently/segment.js +2 -2
  92. package/glue/connection.d.ts +13 -11
  93. package/glue/connection.js +13 -11
  94. package/glue/connection.js.map +1 -1
  95. package/glue/crawler.d.ts +3 -3
  96. package/glue/crawler.js +3 -3
  97. package/identitystore/group.d.ts +8 -0
  98. package/identitystore/group.js +2 -0
  99. package/identitystore/group.js.map +1 -1
  100. package/imagebuilder/getImageRecipe.d.ts +6 -0
  101. package/imagebuilder/getImageRecipe.js.map +1 -1
  102. package/imagebuilder/imageRecipe.d.ts +18 -0
  103. package/imagebuilder/imageRecipe.js +2 -0
  104. package/imagebuilder/imageRecipe.js.map +1 -1
  105. package/imagebuilder/workflow.d.ts +3 -3
  106. package/imagebuilder/workflow.js +3 -3
  107. package/iot/getEndpoint.d.ts +46 -0
  108. package/iot/getEndpoint.js +46 -0
  109. package/iot/getEndpoint.js.map +1 -1
  110. package/kinesis/firehoseDeliveryStream.d.ts +20 -20
  111. package/kinesis/firehoseDeliveryStream.js +20 -20
  112. package/kinesis/resourcePolicy.d.ts +13 -13
  113. package/kinesis/resourcePolicy.js +13 -13
  114. package/kms/ciphertext.d.ts +2 -2
  115. package/kms/ciphertext.js +2 -2
  116. package/kms/getCipherText.d.ts +4 -4
  117. package/kms/getCipherText.js +4 -4
  118. package/lakeformation/identityCenterConfiguration.d.ts +121 -0
  119. package/lakeformation/identityCenterConfiguration.js +84 -0
  120. package/lakeformation/identityCenterConfiguration.js.map +1 -0
  121. package/lakeformation/index.d.ts +3 -0
  122. package/lakeformation/index.js +6 -1
  123. package/lakeformation/index.js.map +1 -1
  124. package/lambda/getCodeSigningConfig.d.ts +78 -0
  125. package/lambda/getCodeSigningConfig.js +78 -0
  126. package/lambda/getCodeSigningConfig.js.map +1 -1
  127. package/lambda/getInvocation.d.ts +100 -0
  128. package/lambda/getInvocation.js +100 -0
  129. package/lambda/getInvocation.js.map +1 -1
  130. package/lambda/invocation.d.ts +31 -0
  131. package/lambda/invocation.js +31 -0
  132. package/lambda/invocation.js.map +1 -1
  133. package/lb/getListenerRule.d.ts +12 -0
  134. package/lb/getListenerRule.js +2 -0
  135. package/lb/getListenerRule.js.map +1 -1
  136. package/lb/listenerRule.d.ts +45 -0
  137. package/lb/listenerRule.js +35 -0
  138. package/lb/listenerRule.js.map +1 -1
  139. package/m2/application.d.ts +13 -13
  140. package/m2/application.js +13 -13
  141. package/mq/configuration.d.ts +4 -4
  142. package/mq/configuration.js +4 -4
  143. package/networkmanager/siteToSiteVpnAttachment.d.ts +77 -0
  144. package/networkmanager/siteToSiteVpnAttachment.js +77 -0
  145. package/networkmanager/siteToSiteVpnAttachment.js.map +1 -1
  146. package/opensearchingest/pipeline.d.ts +6 -6
  147. package/opensearchingest/pipeline.js +6 -6
  148. package/organizations/getPolicies.d.ts +34 -0
  149. package/organizations/getPolicies.js +34 -0
  150. package/organizations/getPolicies.js.map +1 -1
  151. package/organizations/getPoliciesForTarget.d.ts +38 -0
  152. package/organizations/getPoliciesForTarget.js +38 -0
  153. package/organizations/getPoliciesForTarget.js.map +1 -1
  154. package/organizations/resourcePolicy.d.ts +23 -23
  155. package/organizations/resourcePolicy.js +23 -23
  156. package/package.json +2 -2
  157. package/rds/customDbEngineVersion.d.ts +1 -1
  158. package/rds/customDbEngineVersion.js +1 -1
  159. package/resourcegroups/group.d.ts +5 -5
  160. package/resourcegroups/group.js +5 -5
  161. package/route53/trafficPolicy.d.ts +7 -7
  162. package/route53/trafficPolicy.js +7 -7
  163. package/s3/bucketWebsiteConfiguration.d.ts +4 -4
  164. package/s3/bucketWebsiteConfiguration.js +4 -4
  165. package/s3/bucketWebsiteConfigurationV2.d.ts +4 -4
  166. package/s3/bucketWebsiteConfigurationV2.js +4 -4
  167. package/s3control/accessGrantsInstanceResourcePolicy.d.ts +12 -12
  168. package/s3control/accessGrantsInstanceResourcePolicy.js +12 -12
  169. package/sagemaker/flowDefinition.d.ts +9 -9
  170. package/sagemaker/flowDefinition.js +9 -9
  171. package/sagemaker/model.d.ts +11 -6
  172. package/sagemaker/model.js +5 -0
  173. package/sagemaker/model.js.map +1 -1
  174. package/sagemaker/modelPackageGroupPolicy.d.ts +31 -0
  175. package/sagemaker/modelPackageGroupPolicy.js +31 -0
  176. package/sagemaker/modelPackageGroupPolicy.js.map +1 -1
  177. package/sagemaker/notebookInstance.d.ts +3 -3
  178. package/secretsmanager/getSecretVersion.d.ts +26 -0
  179. package/secretsmanager/getSecretVersion.js +26 -0
  180. package/secretsmanager/getSecretVersion.js.map +1 -1
  181. package/secretsmanager/secretVersion.d.ts +31 -0
  182. package/secretsmanager/secretVersion.js +31 -0
  183. package/secretsmanager/secretVersion.js.map +1 -1
  184. package/securityhub/standardsControlAssociation.d.ts +26 -0
  185. package/securityhub/standardsControlAssociation.js +26 -0
  186. package/securityhub/standardsControlAssociation.js.map +1 -1
  187. package/sesv2/emailIdentityPolicy.d.ts +13 -13
  188. package/sesv2/emailIdentityPolicy.js +13 -13
  189. package/sfn/stateMachine.d.ts +35 -35
  190. package/sfn/stateMachine.js +35 -35
  191. package/sns/topic.d.ts +12 -12
  192. package/sns/topic.js +12 -12
  193. package/sns/topicSubscription.d.ts +13 -13
  194. package/sns/topicSubscription.js +13 -13
  195. package/sqs/queue.d.ts +0 -6
  196. package/sqs/queue.js +0 -6
  197. package/sqs/queue.js.map +1 -1
  198. package/ssm/association.d.ts +1 -1
  199. package/ssm/association.js +1 -1
  200. package/ssm/document.d.ts +8 -8
  201. package/ssm/document.js +8 -8
  202. package/timestreamquery/scheduledQuery.d.ts +8 -8
  203. package/timestreamquery/scheduledQuery.js +8 -8
  204. package/types/input.d.ts +377 -21
  205. package/types/input.js.map +1 -1
  206. package/types/output.d.ts +331 -20
  207. package/types/output.js.map +1 -1
@@ -9,32 +9,32 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as aws from "@pulumi/aws";
10
10
  *
11
11
  * const example = new aws.organizations.ResourcePolicy("example", {content: `{
12
- * "Version": "2012-10-17",
13
- * "Statement": [
12
+ * \\"Version\\": \\"2012-10-17\\",
13
+ * \\"Statement\\": [
14
14
  * {
15
- * "Sid": "DelegatingNecessaryDescribeListActions",
16
- * "Effect": "Allow",
17
- * "Principal": {
18
- * "AWS": "arn:aws:iam::123456789012:root"
15
+ * \\"Sid\\": \\"DelegatingNecessaryDescribeListActions\\",
16
+ * \\"Effect\\": \\"Allow\\",
17
+ * \\"Principal\\": {
18
+ * \\"AWS\\": \\"arn:aws:iam::123456789012:root\\"
19
19
  * },
20
- * "Action": [
21
- * "organizations:DescribeOrganization",
22
- * "organizations:DescribeOrganizationalUnit",
23
- * "organizations:DescribeAccount",
24
- * "organizations:DescribePolicy",
25
- * "organizations:DescribeEffectivePolicy",
26
- * "organizations:ListRoots",
27
- * "organizations:ListOrganizationalUnitsForParent",
28
- * "organizations:ListParents",
29
- * "organizations:ListChildren",
30
- * "organizations:ListAccounts",
31
- * "organizations:ListAccountsForParent",
32
- * "organizations:ListPolicies",
33
- * "organizations:ListPoliciesForTarget",
34
- * "organizations:ListTargetsForPolicy",
35
- * "organizations:ListTagsForResource"
20
+ * \\"Action\\": [
21
+ * \\"organizations:DescribeOrganization\\",
22
+ * \\"organizations:DescribeOrganizationalUnit\\",
23
+ * \\"organizations:DescribeAccount\\",
24
+ * \\"organizations:DescribePolicy\\",
25
+ * \\"organizations:DescribeEffectivePolicy\\",
26
+ * \\"organizations:ListRoots\\",
27
+ * \\"organizations:ListOrganizationalUnitsForParent\\",
28
+ * \\"organizations:ListParents\\",
29
+ * \\"organizations:ListChildren\\",
30
+ * \\"organizations:ListAccounts\\",
31
+ * \\"organizations:ListAccountsForParent\\",
32
+ * \\"organizations:ListPolicies\\",
33
+ * \\"organizations:ListPoliciesForTarget\\",
34
+ * \\"organizations:ListTargetsForPolicy\\",
35
+ * \\"organizations:ListTagsForResource\\"
36
36
  * ],
37
- * "Resource": "*"
37
+ * \\"Resource\\": \\"*\\"
38
38
  * }
39
39
  * ]
40
40
  * }
@@ -15,32 +15,32 @@ const utilities = require("../utilities");
15
15
  * import * as aws from "@pulumi/aws";
16
16
  *
17
17
  * const example = new aws.organizations.ResourcePolicy("example", {content: `{
18
- * "Version": "2012-10-17",
19
- * "Statement": [
18
+ * \\"Version\\": \\"2012-10-17\\",
19
+ * \\"Statement\\": [
20
20
  * {
21
- * "Sid": "DelegatingNecessaryDescribeListActions",
22
- * "Effect": "Allow",
23
- * "Principal": {
24
- * "AWS": "arn:aws:iam::123456789012:root"
21
+ * \\"Sid\\": \\"DelegatingNecessaryDescribeListActions\\",
22
+ * \\"Effect\\": \\"Allow\\",
23
+ * \\"Principal\\": {
24
+ * \\"AWS\\": \\"arn:aws:iam::123456789012:root\\"
25
25
  * },
26
- * "Action": [
27
- * "organizations:DescribeOrganization",
28
- * "organizations:DescribeOrganizationalUnit",
29
- * "organizations:DescribeAccount",
30
- * "organizations:DescribePolicy",
31
- * "organizations:DescribeEffectivePolicy",
32
- * "organizations:ListRoots",
33
- * "organizations:ListOrganizationalUnitsForParent",
34
- * "organizations:ListParents",
35
- * "organizations:ListChildren",
36
- * "organizations:ListAccounts",
37
- * "organizations:ListAccountsForParent",
38
- * "organizations:ListPolicies",
39
- * "organizations:ListPoliciesForTarget",
40
- * "organizations:ListTargetsForPolicy",
41
- * "organizations:ListTagsForResource"
26
+ * \\"Action\\": [
27
+ * \\"organizations:DescribeOrganization\\",
28
+ * \\"organizations:DescribeOrganizationalUnit\\",
29
+ * \\"organizations:DescribeAccount\\",
30
+ * \\"organizations:DescribePolicy\\",
31
+ * \\"organizations:DescribeEffectivePolicy\\",
32
+ * \\"organizations:ListRoots\\",
33
+ * \\"organizations:ListOrganizationalUnitsForParent\\",
34
+ * \\"organizations:ListParents\\",
35
+ * \\"organizations:ListChildren\\",
36
+ * \\"organizations:ListAccounts\\",
37
+ * \\"organizations:ListAccountsForParent\\",
38
+ * \\"organizations:ListPolicies\\",
39
+ * \\"organizations:ListPoliciesForTarget\\",
40
+ * \\"organizations:ListTargetsForPolicy\\",
41
+ * \\"organizations:ListTagsForResource\\"
42
42
  * ],
43
- * "Resource": "*"
43
+ * \\"Resource\\": \\"*\\"
44
44
  * }
45
45
  * ]
46
46
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws",
3
- "version": "7.11.0-alpha.1761834890",
3
+ "version": "7.11.0-alpha.1762351717",
4
4
  "description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "aws",
27
- "version": "7.11.0-alpha.1761834890"
27
+ "version": "7.11.0-alpha.1762351717"
28
28
  }
29
29
  }
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * engineVersion: "19.cdb_cev1",
19
19
  * kmsKeyId: example.arn,
20
20
  * manifest: ` {
21
- * \x09"databaseInstallationFileNames":["V982063-01.zip"]
21
+ * \\t\\"databaseInstallationFileNames\\":[\\"V982063-01.zip\\"]
22
22
  * }
23
23
  * `,
24
24
  * tags: {
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
24
24
  * engineVersion: "19.cdb_cev1",
25
25
  * kmsKeyId: example.arn,
26
26
  * manifest: ` {
27
- * \x09"databaseInstallationFileNames":["V982063-01.zip"]
27
+ * \\t\\"databaseInstallationFileNames\\":[\\"V982063-01.zip\\"]
28
28
  * }
29
29
  * `,
30
30
  * tags: {
@@ -14,13 +14,13 @@ import * as outputs from "../types/output";
14
14
  * name: "test-group",
15
15
  * resourceQuery: {
16
16
  * query: `{
17
- * "ResourceTypeFilters": [
18
- * "AWS::EC2::Instance"
17
+ * \\"ResourceTypeFilters\\": [
18
+ * \\"AWS::EC2::Instance\\"
19
19
  * ],
20
- * "TagFilters": [
20
+ * \\"TagFilters\\": [
21
21
  * {
22
- * "Key": "Stage",
23
- * "Values": ["Test"]
22
+ * \\"Key\\": \\"Stage\\",
23
+ * \\"Values\\": [\\"Test\\"]
24
24
  * }
25
25
  * ]
26
26
  * }
@@ -18,13 +18,13 @@ const utilities = require("../utilities");
18
18
  * name: "test-group",
19
19
  * resourceQuery: {
20
20
  * query: `{
21
- * "ResourceTypeFilters": [
22
- * "AWS::EC2::Instance"
21
+ * \\"ResourceTypeFilters\\": [
22
+ * \\"AWS::EC2::Instance\\"
23
23
  * ],
24
- * "TagFilters": [
24
+ * \\"TagFilters\\": [
25
25
  * {
26
- * "Key": "Stage",
27
- * "Values": ["Test"]
26
+ * \\"Key\\": \\"Stage\\",
27
+ * \\"Values\\": [\\"Test\\"]
28
28
  * }
29
29
  * ]
30
30
  * }
@@ -12,15 +12,15 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * name: "example",
13
13
  * comment: "example comment",
14
14
  * document: `{
15
- * "AWSPolicyFormatVersion": "2015-10-01",
16
- * "RecordType": "A",
17
- * "Endpoints": {
18
- * "endpoint-start-NkPh": {
19
- * "Type": "value",
20
- * "Value": "10.0.0.2"
15
+ * \\"AWSPolicyFormatVersion\\": \\"2015-10-01\\",
16
+ * \\"RecordType\\": \\"A\\",
17
+ * \\"Endpoints\\": {
18
+ * \\"endpoint-start-NkPh\\": {
19
+ * \\"Type\\": \\"value\\",
20
+ * \\"Value\\": \\"10.0.0.2\\"
21
21
  * }
22
22
  * },
23
- * "StartEndpoint": "endpoint-start-NkPh"
23
+ * \\"StartEndpoint\\": \\"endpoint-start-NkPh\\"
24
24
  * }
25
25
  * `,
26
26
  * });
@@ -18,15 +18,15 @@ const utilities = require("../utilities");
18
18
  * name: "example",
19
19
  * comment: "example comment",
20
20
  * document: `{
21
- * "AWSPolicyFormatVersion": "2015-10-01",
22
- * "RecordType": "A",
23
- * "Endpoints": {
24
- * "endpoint-start-NkPh": {
25
- * "Type": "value",
26
- * "Value": "10.0.0.2"
21
+ * \\"AWSPolicyFormatVersion\\": \\"2015-10-01\\",
22
+ * \\"RecordType\\": \\"A\\",
23
+ * \\"Endpoints\\": {
24
+ * \\"endpoint-start-NkPh\\": {
25
+ * \\"Type\\": \\"value\\",
26
+ * \\"Value\\": \\"10.0.0.2\\"
27
27
  * }
28
28
  * },
29
- * "StartEndpoint": "endpoint-start-NkPh"
29
+ * \\"StartEndpoint\\": \\"endpoint-start-NkPh\\"
30
30
  * }
31
31
  * `,
32
32
  * });
@@ -48,11 +48,11 @@ import * as outputs from "../types/output";
48
48
  * key: "error.html",
49
49
  * },
50
50
  * routingRuleDetails: `[{
51
- * "Condition": {
52
- * "KeyPrefixEquals": "docs/"
51
+ * \\"Condition\\": {
52
+ * \\"KeyPrefixEquals\\": \\"docs/\\"
53
53
  * },
54
- * "Redirect": {
55
- * "ReplaceKeyPrefixWith": ""
54
+ * \\"Redirect\\": {
55
+ * \\"ReplaceKeyPrefixWith\\": \\"\\"
56
56
  * }
57
57
  * }]
58
58
  * `,
@@ -52,11 +52,11 @@ const utilities = require("../utilities");
52
52
  * key: "error.html",
53
53
  * },
54
54
  * routingRuleDetails: `[{
55
- * "Condition": {
56
- * "KeyPrefixEquals": "docs/"
55
+ * \\"Condition\\": {
56
+ * \\"KeyPrefixEquals\\": \\"docs/\\"
57
57
  * },
58
- * "Redirect": {
59
- * "ReplaceKeyPrefixWith": ""
58
+ * \\"Redirect\\": {
59
+ * \\"ReplaceKeyPrefixWith\\": \\"\\"
60
60
  * }
61
61
  * }]
62
62
  * `,
@@ -48,11 +48,11 @@ import * as outputs from "../types/output";
48
48
  * key: "error.html",
49
49
  * },
50
50
  * routingRuleDetails: `[{
51
- * "Condition": {
52
- * "KeyPrefixEquals": "docs/"
51
+ * \\"Condition\\": {
52
+ * \\"KeyPrefixEquals\\": \\"docs/\\"
53
53
  * },
54
- * "Redirect": {
55
- * "ReplaceKeyPrefixWith": ""
54
+ * \\"Redirect\\": {
55
+ * \\"ReplaceKeyPrefixWith\\": \\"\\"
56
56
  * }
57
57
  * }]
58
58
  * `,
@@ -52,11 +52,11 @@ const utilities = require("../utilities");
52
52
  * key: "error.html",
53
53
  * },
54
54
  * routingRuleDetails: `[{
55
- * "Condition": {
56
- * "KeyPrefixEquals": "docs/"
55
+ * \\"Condition\\": {
56
+ * \\"KeyPrefixEquals\\": \\"docs/\\"
57
57
  * },
58
- * "Redirect": {
59
- * "ReplaceKeyPrefixWith": ""
58
+ * \\"Redirect\\": {
59
+ * \\"ReplaceKeyPrefixWith\\": \\"\\"
60
60
  * }
61
61
  * }]
62
62
  * `,
@@ -11,20 +11,20 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  *
12
12
  * const example = new aws.s3control.AccessGrantsInstance("example", {});
13
13
  * const exampleAccessGrantsInstanceResourcePolicy = new aws.s3control.AccessGrantsInstanceResourcePolicy("example", {policy: pulumi.interpolate`{
14
- * "Version": "2012-10-17",
15
- * "Id": "S3AccessGrantsPolicy",
16
- * "Statement": [{
17
- * "Sid": "AllowAccessToS3AccessGrants",
18
- * "Effect": "Allow",
19
- * "Principal": {
20
- * "AWS": "123456789456"
14
+ * \"Version\": \"2012-10-17\",
15
+ * \"Id\": \"S3AccessGrantsPolicy\",
16
+ * \"Statement\": [{
17
+ * \"Sid\": \"AllowAccessToS3AccessGrants\",
18
+ * \"Effect\": \"Allow\",
19
+ * \"Principal\": {
20
+ * \"AWS\": \"123456789456\"
21
21
  * },
22
- * "Action": [
23
- * "s3:ListAccessGrants",
24
- * "s3:ListAccessGrantsLocations",
25
- * "s3:GetDataAccess"
22
+ * \"Action\": [
23
+ * \"s3:ListAccessGrants\",
24
+ * \"s3:ListAccessGrantsLocations\",
25
+ * \"s3:GetDataAccess\"
26
26
  * ],
27
- * "Resource": "${example.accessGrantsInstanceArn}"
27
+ * \"Resource\": \"${example.accessGrantsInstanceArn}\"
28
28
  * }]
29
29
  * }
30
30
  * `});
@@ -17,20 +17,20 @@ const utilities = require("../utilities");
17
17
  *
18
18
  * const example = new aws.s3control.AccessGrantsInstance("example", {});
19
19
  * const exampleAccessGrantsInstanceResourcePolicy = new aws.s3control.AccessGrantsInstanceResourcePolicy("example", {policy: pulumi.interpolate`{
20
- * "Version": "2012-10-17",
21
- * "Id": "S3AccessGrantsPolicy",
22
- * "Statement": [{
23
- * "Sid": "AllowAccessToS3AccessGrants",
24
- * "Effect": "Allow",
25
- * "Principal": {
26
- * "AWS": "123456789456"
20
+ * \"Version\": \"2012-10-17\",
21
+ * \"Id\": \"S3AccessGrantsPolicy\",
22
+ * \"Statement\": [{
23
+ * \"Sid\": \"AllowAccessToS3AccessGrants\",
24
+ * \"Effect\": \"Allow\",
25
+ * \"Principal\": {
26
+ * \"AWS\": \"123456789456\"
27
27
  * },
28
- * "Action": [
29
- * "s3:ListAccessGrants",
30
- * "s3:ListAccessGrantsLocations",
31
- * "s3:GetDataAccess"
28
+ * \"Action\": [
29
+ * \"s3:ListAccessGrants\",
30
+ * \"s3:ListAccessGrantsLocations\",
31
+ * \"s3:GetDataAccess\"
32
32
  * ],
33
- * "Resource": "${example.accessGrantsInstanceArn}"
33
+ * \"Resource\": \"${example.accessGrantsInstanceArn}\"
34
34
  * }]
35
35
  * }
36
36
  * `});
@@ -81,15 +81,15 @@ import * as outputs from "../types/output";
81
81
  * humanLoopActivationConfig: {
82
82
  * humanLoopActivationConditionsConfig: {
83
83
  * humanLoopActivationConditions: ` {
84
- * \x09\x09\x09"Conditions": [
85
- * \x09\x09\x09 {
86
- * \x09\x09\x09\x09"ConditionType": "Sampling",
87
- * \x09\x09\x09\x09"ConditionParameters": {
88
- * \x09\x09\x09\x09 "RandomSamplingPercentage": 5
89
- * \x09\x09\x09\x09}
90
- * \x09\x09\x09 }
91
- * \x09\x09\x09]
92
- * \x09\x09}
84
+ * \\t\\t\\t\\"Conditions\\": [
85
+ * \\t\\t\\t {
86
+ * \\t\\t\\t\\t\\"ConditionType\\": \\"Sampling\\",
87
+ * \\t\\t\\t\\t\\"ConditionParameters\\": {
88
+ * \\t\\t\\t\\t \\"RandomSamplingPercentage\\": 5
89
+ * \\t\\t\\t\\t}
90
+ * \\t\\t\\t }
91
+ * \\t\\t\\t]
92
+ * \\t\\t}
93
93
  * `,
94
94
  * },
95
95
  * },
@@ -85,15 +85,15 @@ const utilities = require("../utilities");
85
85
  * humanLoopActivationConfig: {
86
86
  * humanLoopActivationConditionsConfig: {
87
87
  * humanLoopActivationConditions: ` {
88
- * \x09\x09\x09"Conditions": [
89
- * \x09\x09\x09 {
90
- * \x09\x09\x09\x09"ConditionType": "Sampling",
91
- * \x09\x09\x09\x09"ConditionParameters": {
92
- * \x09\x09\x09\x09 "RandomSamplingPercentage": 5
93
- * \x09\x09\x09\x09}
94
- * \x09\x09\x09 }
95
- * \x09\x09\x09]
96
- * \x09\x09}
88
+ * \\t\\t\\t\\"Conditions\\": [
89
+ * \\t\\t\\t {
90
+ * \\t\\t\\t\\t\\"ConditionType\\": \\"Sampling\\",
91
+ * \\t\\t\\t\\t\\"ConditionParameters\\": {
92
+ * \\t\\t\\t\\t \\"RandomSamplingPercentage\\": 5
93
+ * \\t\\t\\t\\t}
94
+ * \\t\\t\\t }
95
+ * \\t\\t\\t]
96
+ * \\t\\t}
97
97
  * `,
98
98
  * },
99
99
  * },
@@ -38,6 +38,11 @@ import * as outputs from "../types/output";
38
38
  *
39
39
  * * `mode` - (Required) How containers in a multi-container are run. The following values are valid `Serial` and `Direct`.
40
40
  *
41
+ * ### VPC Config
42
+ *
43
+ * * `securityGroupIds` - (Required) List of security group IDs you want to be applied to your training job or model. Specify the security groups for the VPC that is specified in the Subnets field.
44
+ * * `subnets` - (Required) List of subnet IDs in the VPC to which you want to connect your training job or model.
45
+ *
41
46
  * ## Import
42
47
  *
43
48
  * Using `pulumi import`, import models using the `name`. For example:
@@ -79,7 +84,7 @@ export declare class Model extends pulumi.CustomResource {
79
84
  */
80
85
  readonly executionRoleArn: pulumi.Output<string>;
81
86
  /**
82
- * Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
87
+ * Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config.
83
88
  */
84
89
  readonly inferenceExecutionConfig: pulumi.Output<outputs.sagemaker.ModelInferenceExecutionConfig>;
85
90
  /**
@@ -107,7 +112,7 @@ export declare class Model extends pulumi.CustomResource {
107
112
  [key: string]: string;
108
113
  }>;
109
114
  /**
110
- * Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
115
+ * Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See VPC Config.
111
116
  */
112
117
  readonly vpcConfig: pulumi.Output<outputs.sagemaker.ModelVpcConfig | undefined>;
113
118
  /**
@@ -140,7 +145,7 @@ export interface ModelState {
140
145
  */
141
146
  executionRoleArn?: pulumi.Input<string>;
142
147
  /**
143
- * Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
148
+ * Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config.
144
149
  */
145
150
  inferenceExecutionConfig?: pulumi.Input<inputs.sagemaker.ModelInferenceExecutionConfig>;
146
151
  /**
@@ -168,7 +173,7 @@ export interface ModelState {
168
173
  [key: string]: pulumi.Input<string>;
169
174
  }>;
170
175
  /**
171
- * Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
176
+ * Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See VPC Config.
172
177
  */
173
178
  vpcConfig?: pulumi.Input<inputs.sagemaker.ModelVpcConfig>;
174
179
  }
@@ -189,7 +194,7 @@ export interface ModelArgs {
189
194
  */
190
195
  executionRoleArn: pulumi.Input<string>;
191
196
  /**
192
- * Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
197
+ * Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config.
193
198
  */
194
199
  inferenceExecutionConfig?: pulumi.Input<inputs.sagemaker.ModelInferenceExecutionConfig>;
195
200
  /**
@@ -211,7 +216,7 @@ export interface ModelArgs {
211
216
  [key: string]: pulumi.Input<string>;
212
217
  }>;
213
218
  /**
214
- * Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
219
+ * Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See VPC Config.
215
220
  */
216
221
  vpcConfig?: pulumi.Input<inputs.sagemaker.ModelVpcConfig>;
217
222
  }
@@ -42,6 +42,11 @@ const utilities = require("../utilities");
42
42
  *
43
43
  * * `mode` - (Required) How containers in a multi-container are run. The following values are valid `Serial` and `Direct`.
44
44
  *
45
+ * ### VPC Config
46
+ *
47
+ * * `securityGroupIds` - (Required) List of security group IDs you want to be applied to your training job or model. Specify the security groups for the VPC that is specified in the Subnets field.
48
+ * * `subnets` - (Required) List of subnet IDs in the VPC to which you want to connect your training job or model.
49
+ *
45
50
  * ## Import
46
51
  *
47
52
  * Using `pulumi import`, import models using the `name`. For example:
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../sagemaker/model.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAA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AG,2BAA2B,CAAC"}
@@ -4,6 +4,37 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
+ * ### Basic usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ * import * as std from "@pulumi/std";
13
+ *
14
+ * const current = aws.getCallerIdentity({});
15
+ * const exampleModelPackageGroup = new aws.sagemaker.ModelPackageGroup("example", {modelPackageGroupName: "example"});
16
+ * const example = pulumi.all([exampleModelPackageGroup.arn, current]).apply(([arn, current]) => aws.iam.getPolicyDocumentOutput({
17
+ * statements: [{
18
+ * sid: "AddPermModelPackageGroup",
19
+ * actions: [
20
+ * "sagemaker:DescribeModelPackage",
21
+ * "sagemaker:ListModelPackages",
22
+ * ],
23
+ * resources: [arn],
24
+ * principals: [{
25
+ * identifiers: [current.accountId],
26
+ * type: "AWS",
27
+ * }],
28
+ * }],
29
+ * }));
30
+ * const exampleModelPackageGroupPolicy = new aws.sagemaker.ModelPackageGroupPolicy("example", {
31
+ * modelPackageGroupName: exampleModelPackageGroup.modelPackageGroupName,
32
+ * resourcePolicy: pulumi.jsonStringify(example.apply(example => std.jsondecodeOutput({
33
+ * input: example.json,
34
+ * })).apply(invoke => invoke.result)),
35
+ * });
36
+ * ```
37
+ *
7
38
  * ## Import
8
39
  *
9
40
  * Using `pulumi import`, import SageMaker AI Model Package Groups using the `name`. For example:
@@ -10,6 +10,37 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * ### Basic usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ * import * as std from "@pulumi/std";
19
+ *
20
+ * const current = aws.getCallerIdentity({});
21
+ * const exampleModelPackageGroup = new aws.sagemaker.ModelPackageGroup("example", {modelPackageGroupName: "example"});
22
+ * const example = pulumi.all([exampleModelPackageGroup.arn, current]).apply(([arn, current]) => aws.iam.getPolicyDocumentOutput({
23
+ * statements: [{
24
+ * sid: "AddPermModelPackageGroup",
25
+ * actions: [
26
+ * "sagemaker:DescribeModelPackage",
27
+ * "sagemaker:ListModelPackages",
28
+ * ],
29
+ * resources: [arn],
30
+ * principals: [{
31
+ * identifiers: [current.accountId],
32
+ * type: "AWS",
33
+ * }],
34
+ * }],
35
+ * }));
36
+ * const exampleModelPackageGroupPolicy = new aws.sagemaker.ModelPackageGroupPolicy("example", {
37
+ * modelPackageGroupName: exampleModelPackageGroup.modelPackageGroupName,
38
+ * resourcePolicy: pulumi.jsonStringify(example.apply(example => std.jsondecodeOutput({
39
+ * input: example.json,
40
+ * })).apply(invoke => invoke.result)),
41
+ * });
42
+ * ```
43
+ *
13
44
  * ## Import
14
45
  *
15
46
  * Using `pulumi import`, import SageMaker AI Model Package Groups using the `name`. For example:
@@ -1 +1 @@
1
- {"version":3,"file":"modelPackageGroupPolicy.js","sourceRoot":"","sources":["../../sagemaker/modelPackageGroupPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA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AE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AApEL,0DAqEC;AAvDG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
@@ -111,7 +111,7 @@ export declare class NotebookInstance extends pulumi.CustomResource {
111
111
  */
112
112
  readonly networkInterfaceId: pulumi.Output<string>;
113
113
  /**
114
- * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`, `notebook-al2-v1`, `notebook-al2-v2`, or `notebook-al2-v3`, depending on which version of Amazon Linux you require.
114
+ * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`(deprecated), `notebook-al2-v1`(deprecated), `notebook-al2-v2`(deprecated), `notebook-al2-v3`, or `notebook-al2023-v1`, depending on which version of Amazon Linux you require. Defaults to `notebook-al2-v3`.
115
115
  */
116
116
  readonly platformIdentifier: pulumi.Output<string>;
117
117
  /**
@@ -209,7 +209,7 @@ export interface NotebookInstanceState {
209
209
  */
210
210
  networkInterfaceId?: pulumi.Input<string>;
211
211
  /**
212
- * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`, `notebook-al2-v1`, `notebook-al2-v2`, or `notebook-al2-v3`, depending on which version of Amazon Linux you require.
212
+ * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`(deprecated), `notebook-al2-v1`(deprecated), `notebook-al2-v2`(deprecated), `notebook-al2-v3`, or `notebook-al2023-v1`, depending on which version of Amazon Linux you require. Defaults to `notebook-al2-v3`.
213
213
  */
214
214
  platformIdentifier?: pulumi.Input<string>;
215
215
  /**
@@ -291,7 +291,7 @@ export interface NotebookInstanceArgs {
291
291
  */
292
292
  name?: pulumi.Input<string>;
293
293
  /**
294
- * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`, `notebook-al2-v1`, `notebook-al2-v2`, or `notebook-al2-v3`, depending on which version of Amazon Linux you require.
294
+ * The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1`(deprecated), `notebook-al2-v1`(deprecated), `notebook-al2-v2`(deprecated), `notebook-al2-v3`, or `notebook-al2023-v1`, depending on which version of Amazon Linux you require. Defaults to `notebook-al2-v3`.
295
295
  */
296
296
  platformIdentifier?: pulumi.Input<string>;
297
297
  /**