pulumi-aws 7.11.0__py3-none-any.whl → 7.11.0a1761834890__py3-none-any.whl
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.
- pulumi_aws/__init__.py +0 -8
- pulumi_aws/alb/_inputs.py +27 -353
- pulumi_aws/alb/listener_rule.py +3 -114
- pulumi_aws/alb/outputs.py +17 -266
- pulumi_aws/amplify/app.py +2 -2
- pulumi_aws/apigateway/integration.py +2 -2
- pulumi_aws/apigateway/integration_response.py +2 -2
- pulumi_aws/appstream/get_image.py +10 -10
- pulumi_aws/appstream/outputs.py +4 -4
- pulumi_aws/appsync/function.py +10 -10
- pulumi_aws/appsync/graph_ql_api.py +2 -2
- pulumi_aws/appsync/resolver.py +22 -22
- pulumi_aws/autoscaling/tag.py +0 -48
- pulumi_aws/autoscalingplans/scaling_plan.py +0 -184
- pulumi_aws/bcmdata/export.py +0 -13
- pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +0 -8
- pulumi_aws/bedrock/agentcore_gateway.py +14 -14
- pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
- pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
- pulumi_aws/cfg/rule.py +20 -20
- pulumi_aws/cloudwatch/event_target.py +6 -6
- pulumi_aws/cloudwatch/metric_alarm.py +2 -2
- pulumi_aws/codebuild/webhook.py +0 -38
- pulumi_aws/codepipeline/webhook.py +0 -148
- pulumi_aws/cognito/identity_pool_provider_principal_tag.py +0 -62
- pulumi_aws/datazone/form_type.py +18 -18
- pulumi_aws/dms/replication_config.py +2 -2
- pulumi_aws/dynamodb/get_table_item.py +2 -2
- pulumi_aws/dynamodb/table_item.py +10 -10
- pulumi_aws/ec2/get_subnets.py +0 -82
- pulumi_aws/ec2/security_group.py +8 -8
- pulumi_aws/ec2/vpc_ipam.py +0 -50
- pulumi_aws/ecr/lifecycle_policy.py +40 -40
- pulumi_aws/ecr/repository_creation_template.py +20 -20
- pulumi_aws/ecrpublic/__init__.py +0 -1
- pulumi_aws/ecrpublic/_inputs.py +0 -54
- pulumi_aws/ecrpublic/outputs.py +0 -116
- pulumi_aws/ecs/get_task_definition.py +18 -18
- pulumi_aws/eks/get_clusters.py +0 -22
- pulumi_aws/elasticsearch/domain.py +34 -34
- pulumi_aws/elasticsearch/domain_policy.py +16 -16
- pulumi_aws/emr/cluster.py +114 -114
- pulumi_aws/emr/instance_group.py +42 -42
- pulumi_aws/emr/security_configuration.py +18 -18
- pulumi_aws/emrserverless/_inputs.py +0 -454
- pulumi_aws/emrserverless/application.py +2 -230
- pulumi_aws/emrserverless/outputs.py +0 -367
- pulumi_aws/evidently/segment.py +4 -4
- pulumi_aws/glue/connection.py +22 -26
- pulumi_aws/glue/crawler.py +6 -6
- pulumi_aws/identitystore/group.py +0 -28
- pulumi_aws/imagebuilder/get_image_recipe.py +1 -15
- pulumi_aws/imagebuilder/image_recipe.py +0 -47
- pulumi_aws/imagebuilder/workflow.py +6 -6
- pulumi_aws/iot/get_endpoint.py +0 -44
- pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
- pulumi_aws/kinesis/resource_policy.py +26 -26
- pulumi_aws/kms/ciphertext.py +4 -4
- pulumi_aws/kms/get_cipher_text.py +4 -4
- pulumi_aws/lakeformation/__init__.py +0 -1
- pulumi_aws/lambda_/get_code_signing_config.py +0 -58
- pulumi_aws/lambda_/get_invocation.py +0 -86
- pulumi_aws/lambda_/invocation.py +0 -56
- pulumi_aws/lb/_inputs.py +36 -670
- pulumi_aws/lb/get_listener_rule.py +4 -24
- pulumi_aws/lb/listener_rule.py +3 -114
- pulumi_aws/lb/outputs.py +23 -452
- pulumi_aws/m2/application.py +26 -26
- pulumi_aws/mq/configuration.py +8 -8
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +0 -138
- pulumi_aws/opensearchingest/pipeline.py +12 -12
- pulumi_aws/organizations/get_policies.py +0 -22
- pulumi_aws/organizations/get_policies_for_target.py +0 -26
- pulumi_aws/organizations/resource_policy.py +46 -46
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/custom_db_engine_version.py +2 -2
- pulumi_aws/resourcegroups/group.py +10 -10
- pulumi_aws/route53/traffic_policy.py +14 -14
- pulumi_aws/s3/bucket_website_configuration.py +8 -8
- pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
- pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
- pulumi_aws/sagemaker/flow_definition.py +18 -18
- pulumi_aws/sagemaker/model.py +14 -24
- pulumi_aws/sagemaker/model_package_group_policy.py +0 -54
- pulumi_aws/sagemaker/notebook_instance.py +7 -7
- pulumi_aws/secretsmanager/get_secret_version.py +0 -22
- pulumi_aws/secretsmanager/secret_version.py +0 -58
- pulumi_aws/securityhub/standards_control_association.py +0 -36
- pulumi_aws/sesv2/email_identity_policy.py +26 -26
- pulumi_aws/sfn/state_machine.py +70 -70
- pulumi_aws/sns/topic.py +24 -24
- pulumi_aws/sns/topic_subscription.py +26 -26
- pulumi_aws/sqs/queue.py +12 -0
- pulumi_aws/ssm/association.py +2 -2
- pulumi_aws/ssm/document.py +16 -16
- pulumi_aws/timestreamquery/scheduled_query.py +16 -16
- pulumi_aws/verifiedpermissions/_inputs.py +3 -3
- pulumi_aws/verifiedpermissions/outputs.py +2 -2
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/RECORD +102 -104
- pulumi_aws/ecrpublic/get_images.py +0 -164
- pulumi_aws/lakeformation/identity_center_configuration.py +0 -365
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/top_level.txt +0 -0
|
@@ -386,11 +386,11 @@ class BucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
386
386
|
"key": "error.html",
|
|
387
387
|
},
|
|
388
388
|
routing_rule_details=\"\"\"[{
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
"Condition": {
|
|
390
|
+
"KeyPrefixEquals": "docs/"
|
|
391
391
|
},
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
"Redirect": {
|
|
393
|
+
"ReplaceKeyPrefixWith": ""
|
|
394
394
|
}
|
|
395
395
|
}]
|
|
396
396
|
\"\"\")
|
|
@@ -502,11 +502,11 @@ class BucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
502
502
|
"key": "error.html",
|
|
503
503
|
},
|
|
504
504
|
routing_rule_details=\"\"\"[{
|
|
505
|
-
|
|
506
|
-
|
|
505
|
+
"Condition": {
|
|
506
|
+
"KeyPrefixEquals": "docs/"
|
|
507
507
|
},
|
|
508
|
-
|
|
509
|
-
|
|
508
|
+
"Redirect": {
|
|
509
|
+
"ReplaceKeyPrefixWith": ""
|
|
510
510
|
}
|
|
511
511
|
}]
|
|
512
512
|
\"\"\")
|
|
@@ -391,11 +391,11 @@ class BucketWebsiteConfigurationV2(pulumi.CustomResource):
|
|
|
391
391
|
"key": "error.html",
|
|
392
392
|
},
|
|
393
393
|
routing_rule_details=\"\"\"[{
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
"Condition": {
|
|
395
|
+
"KeyPrefixEquals": "docs/"
|
|
396
396
|
},
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
"Redirect": {
|
|
398
|
+
"ReplaceKeyPrefixWith": ""
|
|
399
399
|
}
|
|
400
400
|
}]
|
|
401
401
|
\"\"\")
|
|
@@ -507,11 +507,11 @@ class BucketWebsiteConfigurationV2(pulumi.CustomResource):
|
|
|
507
507
|
"key": "error.html",
|
|
508
508
|
},
|
|
509
509
|
routing_rule_details=\"\"\"[{
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
"Condition": {
|
|
511
|
+
"KeyPrefixEquals": "docs/"
|
|
512
512
|
},
|
|
513
|
-
|
|
514
|
-
|
|
513
|
+
"Redirect": {
|
|
514
|
+
"ReplaceKeyPrefixWith": ""
|
|
515
515
|
}
|
|
516
516
|
}]
|
|
517
517
|
\"\"\")
|
|
@@ -141,20 +141,20 @@ class AccessGrantsInstanceResourcePolicy(pulumi.CustomResource):
|
|
|
141
141
|
|
|
142
142
|
example = aws.s3control.AccessGrantsInstance("example")
|
|
143
143
|
example_access_grants_instance_resource_policy = aws.s3control.AccessGrantsInstanceResourcePolicy("example", policy=example.access_grants_instance_arn.apply(lambda access_grants_instance_arn: f\"\"\"{{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
144
|
+
"Version": "2012-10-17",
|
|
145
|
+
"Id": "S3AccessGrantsPolicy",
|
|
146
|
+
"Statement": [{{
|
|
147
|
+
"Sid": "AllowAccessToS3AccessGrants",
|
|
148
|
+
"Effect": "Allow",
|
|
149
|
+
"Principal": {{
|
|
150
|
+
"AWS": "123456789456"
|
|
151
151
|
}},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
"Action": [
|
|
153
|
+
"s3:ListAccessGrants",
|
|
154
|
+
"s3:ListAccessGrantsLocations",
|
|
155
|
+
"s3:GetDataAccess"
|
|
156
156
|
],
|
|
157
|
-
|
|
157
|
+
"Resource": "{access_grants_instance_arn}"
|
|
158
158
|
}}]
|
|
159
159
|
}}
|
|
160
160
|
\"\"\"))
|
|
@@ -191,20 +191,20 @@ class AccessGrantsInstanceResourcePolicy(pulumi.CustomResource):
|
|
|
191
191
|
|
|
192
192
|
example = aws.s3control.AccessGrantsInstance("example")
|
|
193
193
|
example_access_grants_instance_resource_policy = aws.s3control.AccessGrantsInstanceResourcePolicy("example", policy=example.access_grants_instance_arn.apply(lambda access_grants_instance_arn: f\"\"\"{{
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
194
|
+
"Version": "2012-10-17",
|
|
195
|
+
"Id": "S3AccessGrantsPolicy",
|
|
196
|
+
"Statement": [{{
|
|
197
|
+
"Sid": "AllowAccessToS3AccessGrants",
|
|
198
|
+
"Effect": "Allow",
|
|
199
|
+
"Principal": {{
|
|
200
|
+
"AWS": "123456789456"
|
|
201
201
|
}},
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
"Action": [
|
|
203
|
+
"s3:ListAccessGrants",
|
|
204
|
+
"s3:ListAccessGrantsLocations",
|
|
205
|
+
"s3:GetDataAccess"
|
|
206
206
|
],
|
|
207
|
-
|
|
207
|
+
"Resource": "{access_grants_instance_arn}"
|
|
208
208
|
}}]
|
|
209
209
|
}}
|
|
210
210
|
\"\"\"))
|
|
@@ -411,15 +411,15 @@ class FlowDefinition(pulumi.CustomResource):
|
|
|
411
411
|
human_loop_activation_config={
|
|
412
412
|
"human_loop_activation_conditions_config": {
|
|
413
413
|
"human_loop_activation_conditions": \"\"\" {
|
|
414
|
-
\\
|
|
415
|
-
\\
|
|
416
|
-
\\
|
|
417
|
-
\\
|
|
418
|
-
\\
|
|
419
|
-
\\
|
|
420
|
-
\\
|
|
421
|
-
\\
|
|
422
|
-
\\
|
|
414
|
+
\\x09\\x09\\x09"Conditions": [
|
|
415
|
+
\\x09\\x09\\x09 {
|
|
416
|
+
\\x09\\x09\\x09\\x09"ConditionType": "Sampling",
|
|
417
|
+
\\x09\\x09\\x09\\x09"ConditionParameters": {
|
|
418
|
+
\\x09\\x09\\x09\\x09 "RandomSamplingPercentage": 5
|
|
419
|
+
\\x09\\x09\\x09\\x09}
|
|
420
|
+
\\x09\\x09\\x09 }
|
|
421
|
+
\\x09\\x09\\x09]
|
|
422
|
+
\\x09\\x09}
|
|
423
423
|
\"\"\",
|
|
424
424
|
},
|
|
425
425
|
},
|
|
@@ -531,15 +531,15 @@ class FlowDefinition(pulumi.CustomResource):
|
|
|
531
531
|
human_loop_activation_config={
|
|
532
532
|
"human_loop_activation_conditions_config": {
|
|
533
533
|
"human_loop_activation_conditions": \"\"\" {
|
|
534
|
-
\\
|
|
535
|
-
\\
|
|
536
|
-
\\
|
|
537
|
-
\\
|
|
538
|
-
\\
|
|
539
|
-
\\
|
|
540
|
-
\\
|
|
541
|
-
\\
|
|
542
|
-
\\
|
|
534
|
+
\\x09\\x09\\x09"Conditions": [
|
|
535
|
+
\\x09\\x09\\x09 {
|
|
536
|
+
\\x09\\x09\\x09\\x09"ConditionType": "Sampling",
|
|
537
|
+
\\x09\\x09\\x09\\x09"ConditionParameters": {
|
|
538
|
+
\\x09\\x09\\x09\\x09 "RandomSamplingPercentage": 5
|
|
539
|
+
\\x09\\x09\\x09\\x09}
|
|
540
|
+
\\x09\\x09\\x09 }
|
|
541
|
+
\\x09\\x09\\x09]
|
|
542
|
+
\\x09\\x09}
|
|
543
543
|
\"\"\",
|
|
544
544
|
},
|
|
545
545
|
},
|
pulumi_aws/sagemaker/model.py
CHANGED
|
@@ -35,12 +35,12 @@ class ModelArgs:
|
|
|
35
35
|
:param pulumi.Input[_builtins.str] execution_role_arn: A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
|
|
36
36
|
:param pulumi.Input[Sequence[pulumi.Input['ModelContainerArgs']]] containers: Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
|
|
37
37
|
:param pulumi.Input[_builtins.bool] enable_network_isolation: Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
|
|
38
|
-
:param pulumi.Input['ModelInferenceExecutionConfigArgs'] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called.
|
|
38
|
+
:param pulumi.Input['ModelInferenceExecutionConfigArgs'] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
39
39
|
:param pulumi.Input[_builtins.str] name: The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
|
|
40
40
|
:param pulumi.Input['ModelPrimaryContainerArgs'] primary_container: The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the `container` argument is required. Fields are documented below.
|
|
41
41
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
42
42
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
43
|
-
:param pulumi.Input['ModelVpcConfigArgs'] vpc_config: Specifies the VPC that you want your model to connect to.
|
|
43
|
+
:param pulumi.Input['ModelVpcConfigArgs'] vpc_config: Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
44
44
|
"""
|
|
45
45
|
pulumi.set(__self__, "execution_role_arn", execution_role_arn)
|
|
46
46
|
if containers is not None:
|
|
@@ -100,7 +100,7 @@ class ModelArgs:
|
|
|
100
100
|
@pulumi.getter(name="inferenceExecutionConfig")
|
|
101
101
|
def inference_execution_config(self) -> Optional[pulumi.Input['ModelInferenceExecutionConfigArgs']]:
|
|
102
102
|
"""
|
|
103
|
-
Specifies details of how containers in a multi-container endpoint are called.
|
|
103
|
+
Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "inference_execution_config")
|
|
106
106
|
|
|
@@ -160,7 +160,7 @@ class ModelArgs:
|
|
|
160
160
|
@pulumi.getter(name="vpcConfig")
|
|
161
161
|
def vpc_config(self) -> Optional[pulumi.Input['ModelVpcConfigArgs']]:
|
|
162
162
|
"""
|
|
163
|
-
Specifies the VPC that you want your model to connect to.
|
|
163
|
+
Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
164
164
|
"""
|
|
165
165
|
return pulumi.get(self, "vpc_config")
|
|
166
166
|
|
|
@@ -189,13 +189,13 @@ class _ModelState:
|
|
|
189
189
|
:param pulumi.Input[Sequence[pulumi.Input['ModelContainerArgs']]] containers: Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
|
|
190
190
|
:param pulumi.Input[_builtins.bool] enable_network_isolation: Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
|
|
191
191
|
:param pulumi.Input[_builtins.str] execution_role_arn: A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
|
|
192
|
-
:param pulumi.Input['ModelInferenceExecutionConfigArgs'] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called.
|
|
192
|
+
:param pulumi.Input['ModelInferenceExecutionConfigArgs'] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
193
193
|
:param pulumi.Input[_builtins.str] name: The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
|
|
194
194
|
:param pulumi.Input['ModelPrimaryContainerArgs'] primary_container: The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the `container` argument is required. Fields are documented below.
|
|
195
195
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
196
196
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
197
197
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
198
|
-
:param pulumi.Input['ModelVpcConfigArgs'] vpc_config: Specifies the VPC that you want your model to connect to.
|
|
198
|
+
:param pulumi.Input['ModelVpcConfigArgs'] vpc_config: Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
199
199
|
"""
|
|
200
200
|
if arn is not None:
|
|
201
201
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -272,7 +272,7 @@ class _ModelState:
|
|
|
272
272
|
@pulumi.getter(name="inferenceExecutionConfig")
|
|
273
273
|
def inference_execution_config(self) -> Optional[pulumi.Input['ModelInferenceExecutionConfigArgs']]:
|
|
274
274
|
"""
|
|
275
|
-
Specifies details of how containers in a multi-container endpoint are called.
|
|
275
|
+
Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
276
276
|
"""
|
|
277
277
|
return pulumi.get(self, "inference_execution_config")
|
|
278
278
|
|
|
@@ -344,7 +344,7 @@ class _ModelState:
|
|
|
344
344
|
@pulumi.getter(name="vpcConfig")
|
|
345
345
|
def vpc_config(self) -> Optional[pulumi.Input['ModelVpcConfigArgs']]:
|
|
346
346
|
"""
|
|
347
|
-
Specifies the VPC that you want your model to connect to.
|
|
347
|
+
Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
348
348
|
"""
|
|
349
349
|
return pulumi.get(self, "vpc_config")
|
|
350
350
|
|
|
@@ -401,11 +401,6 @@ class Model(pulumi.CustomResource):
|
|
|
401
401
|
|
|
402
402
|
* `mode` - (Required) How containers in a multi-container are run. The following values are valid `Serial` and `Direct`.
|
|
403
403
|
|
|
404
|
-
### VPC Config
|
|
405
|
-
|
|
406
|
-
* `security_group_ids` - (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.
|
|
407
|
-
* `subnets` - (Required) List of subnet IDs in the VPC to which you want to connect your training job or model.
|
|
408
|
-
|
|
409
404
|
## Import
|
|
410
405
|
|
|
411
406
|
Using `pulumi import`, import models using the `name`. For example:
|
|
@@ -419,12 +414,12 @@ class Model(pulumi.CustomResource):
|
|
|
419
414
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelContainerArgs', 'ModelContainerArgsDict']]]] containers: Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
|
|
420
415
|
:param pulumi.Input[_builtins.bool] enable_network_isolation: Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
|
|
421
416
|
:param pulumi.Input[_builtins.str] execution_role_arn: A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
|
|
422
|
-
:param pulumi.Input[Union['ModelInferenceExecutionConfigArgs', 'ModelInferenceExecutionConfigArgsDict']] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called.
|
|
417
|
+
:param pulumi.Input[Union['ModelInferenceExecutionConfigArgs', 'ModelInferenceExecutionConfigArgsDict']] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
423
418
|
:param pulumi.Input[_builtins.str] name: The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
|
|
424
419
|
:param pulumi.Input[Union['ModelPrimaryContainerArgs', 'ModelPrimaryContainerArgsDict']] primary_container: The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the `container` argument is required. Fields are documented below.
|
|
425
420
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
426
421
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
427
|
-
:param pulumi.Input[Union['ModelVpcConfigArgs', 'ModelVpcConfigArgsDict']] vpc_config: Specifies the VPC that you want your model to connect to.
|
|
422
|
+
:param pulumi.Input[Union['ModelVpcConfigArgs', 'ModelVpcConfigArgsDict']] vpc_config: Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
428
423
|
"""
|
|
429
424
|
...
|
|
430
425
|
@overload
|
|
@@ -464,11 +459,6 @@ class Model(pulumi.CustomResource):
|
|
|
464
459
|
|
|
465
460
|
* `mode` - (Required) How containers in a multi-container are run. The following values are valid `Serial` and `Direct`.
|
|
466
461
|
|
|
467
|
-
### VPC Config
|
|
468
|
-
|
|
469
|
-
* `security_group_ids` - (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.
|
|
470
|
-
* `subnets` - (Required) List of subnet IDs in the VPC to which you want to connect your training job or model.
|
|
471
|
-
|
|
472
462
|
## Import
|
|
473
463
|
|
|
474
464
|
Using `pulumi import`, import models using the `name`. For example:
|
|
@@ -555,13 +545,13 @@ class Model(pulumi.CustomResource):
|
|
|
555
545
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelContainerArgs', 'ModelContainerArgsDict']]]] containers: Specifies containers in the inference pipeline. If not specified, the `primary_container` argument is required. Fields are documented below.
|
|
556
546
|
:param pulumi.Input[_builtins.bool] enable_network_isolation: Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
|
|
557
547
|
:param pulumi.Input[_builtins.str] execution_role_arn: A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
|
|
558
|
-
:param pulumi.Input[Union['ModelInferenceExecutionConfigArgs', 'ModelInferenceExecutionConfigArgsDict']] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called.
|
|
548
|
+
:param pulumi.Input[Union['ModelInferenceExecutionConfigArgs', 'ModelInferenceExecutionConfigArgsDict']] inference_execution_config: Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
559
549
|
:param pulumi.Input[_builtins.str] name: The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
|
|
560
550
|
:param pulumi.Input[Union['ModelPrimaryContainerArgs', 'ModelPrimaryContainerArgsDict']] primary_container: The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the `container` argument is required. Fields are documented below.
|
|
561
551
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
562
552
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
563
553
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
564
|
-
:param pulumi.Input[Union['ModelVpcConfigArgs', 'ModelVpcConfigArgsDict']] vpc_config: Specifies the VPC that you want your model to connect to.
|
|
554
|
+
:param pulumi.Input[Union['ModelVpcConfigArgs', 'ModelVpcConfigArgsDict']] vpc_config: Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
565
555
|
"""
|
|
566
556
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
567
557
|
|
|
@@ -616,7 +606,7 @@ class Model(pulumi.CustomResource):
|
|
|
616
606
|
@pulumi.getter(name="inferenceExecutionConfig")
|
|
617
607
|
def inference_execution_config(self) -> pulumi.Output['outputs.ModelInferenceExecutionConfig']:
|
|
618
608
|
"""
|
|
619
|
-
Specifies details of how containers in a multi-container endpoint are called.
|
|
609
|
+
Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
|
|
620
610
|
"""
|
|
621
611
|
return pulumi.get(self, "inference_execution_config")
|
|
622
612
|
|
|
@@ -664,7 +654,7 @@ class Model(pulumi.CustomResource):
|
|
|
664
654
|
@pulumi.getter(name="vpcConfig")
|
|
665
655
|
def vpc_config(self) -> pulumi.Output[Optional['outputs.ModelVpcConfig']]:
|
|
666
656
|
"""
|
|
667
|
-
Specifies the VPC that you want your model to connect to.
|
|
657
|
+
Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
|
|
668
658
|
"""
|
|
669
659
|
return pulumi.get(self, "vpc_config")
|
|
670
660
|
|
|
@@ -133,33 +133,6 @@ class ModelPackageGroupPolicy(pulumi.CustomResource):
|
|
|
133
133
|
|
|
134
134
|
## Example Usage
|
|
135
135
|
|
|
136
|
-
### Basic usage
|
|
137
|
-
|
|
138
|
-
```python
|
|
139
|
-
import pulumi
|
|
140
|
-
import json
|
|
141
|
-
import pulumi_aws as aws
|
|
142
|
-
import pulumi_std as std
|
|
143
|
-
|
|
144
|
-
current = aws.get_caller_identity()
|
|
145
|
-
example_model_package_group = aws.sagemaker.ModelPackageGroup("example", model_package_group_name="example")
|
|
146
|
-
example = example_model_package_group.arn.apply(lambda arn: aws.iam.get_policy_document(statements=[{
|
|
147
|
-
"sid": "AddPermModelPackageGroup",
|
|
148
|
-
"actions": [
|
|
149
|
-
"sagemaker:DescribeModelPackage",
|
|
150
|
-
"sagemaker:ListModelPackages",
|
|
151
|
-
],
|
|
152
|
-
"resources": [arn],
|
|
153
|
-
"principals": [{
|
|
154
|
-
"identifiers": [current.account_id],
|
|
155
|
-
"type": "AWS",
|
|
156
|
-
}],
|
|
157
|
-
}]))
|
|
158
|
-
example_model_package_group_policy = aws.sagemaker.ModelPackageGroupPolicy("example",
|
|
159
|
-
model_package_group_name=example_model_package_group.model_package_group_name,
|
|
160
|
-
resource_policy=pulumi.Output.json_dumps(std.jsondecode_output(input=example.json).apply(lambda invoke: invoke.result)))
|
|
161
|
-
```
|
|
162
|
-
|
|
163
136
|
## Import
|
|
164
137
|
|
|
165
138
|
Using `pulumi import`, import SageMaker AI Model Package Groups using the `name`. For example:
|
|
@@ -184,33 +157,6 @@ class ModelPackageGroupPolicy(pulumi.CustomResource):
|
|
|
184
157
|
|
|
185
158
|
## Example Usage
|
|
186
159
|
|
|
187
|
-
### Basic usage
|
|
188
|
-
|
|
189
|
-
```python
|
|
190
|
-
import pulumi
|
|
191
|
-
import json
|
|
192
|
-
import pulumi_aws as aws
|
|
193
|
-
import pulumi_std as std
|
|
194
|
-
|
|
195
|
-
current = aws.get_caller_identity()
|
|
196
|
-
example_model_package_group = aws.sagemaker.ModelPackageGroup("example", model_package_group_name="example")
|
|
197
|
-
example = example_model_package_group.arn.apply(lambda arn: aws.iam.get_policy_document(statements=[{
|
|
198
|
-
"sid": "AddPermModelPackageGroup",
|
|
199
|
-
"actions": [
|
|
200
|
-
"sagemaker:DescribeModelPackage",
|
|
201
|
-
"sagemaker:ListModelPackages",
|
|
202
|
-
],
|
|
203
|
-
"resources": [arn],
|
|
204
|
-
"principals": [{
|
|
205
|
-
"identifiers": [current.account_id],
|
|
206
|
-
"type": "AWS",
|
|
207
|
-
}],
|
|
208
|
-
}]))
|
|
209
|
-
example_model_package_group_policy = aws.sagemaker.ModelPackageGroupPolicy("example",
|
|
210
|
-
model_package_group_name=example_model_package_group.model_package_group_name,
|
|
211
|
-
resource_policy=pulumi.Output.json_dumps(std.jsondecode_output(input=example.json).apply(lambda invoke: invoke.result)))
|
|
212
|
-
```
|
|
213
|
-
|
|
214
160
|
## Import
|
|
215
161
|
|
|
216
162
|
Using `pulumi import`, import SageMaker AI Model Package Groups using the `name`. For example:
|
|
@@ -49,7 +49,7 @@ class NotebookInstanceArgs:
|
|
|
49
49
|
:param pulumi.Input[_builtins.str] kms_key_id: The AWS Key Management Service (AWS KMS) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
50
50
|
:param pulumi.Input[_builtins.str] lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance.
|
|
51
51
|
:param pulumi.Input[_builtins.str] name: The name of the notebook instance (must be unique).
|
|
52
|
-
:param pulumi.Input[_builtins.str] platform_identifier: The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
52
|
+
:param pulumi.Input[_builtins.str] platform_identifier: 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.
|
|
53
53
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
54
54
|
:param pulumi.Input[_builtins.str] root_access: Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
|
|
55
55
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_groups: The associated security groups.
|
|
@@ -201,7 +201,7 @@ class NotebookInstanceArgs:
|
|
|
201
201
|
@pulumi.getter(name="platformIdentifier")
|
|
202
202
|
def platform_identifier(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
203
|
"""
|
|
204
|
-
The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
204
|
+
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.
|
|
205
205
|
"""
|
|
206
206
|
return pulumi.get(self, "platform_identifier")
|
|
207
207
|
|
|
@@ -318,7 +318,7 @@ class _NotebookInstanceState:
|
|
|
318
318
|
:param pulumi.Input[_builtins.str] lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance.
|
|
319
319
|
:param pulumi.Input[_builtins.str] name: The name of the notebook instance (must be unique).
|
|
320
320
|
:param pulumi.Input[_builtins.str] network_interface_id: The network interface ID that Amazon SageMaker AI created at the time of creating the instance. Only available when setting `subnet_id`.
|
|
321
|
-
:param pulumi.Input[_builtins.str] platform_identifier: The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
321
|
+
:param pulumi.Input[_builtins.str] platform_identifier: 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.
|
|
322
322
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
323
323
|
:param pulumi.Input[_builtins.str] role_arn: The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf.
|
|
324
324
|
:param pulumi.Input[_builtins.str] root_access: Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
|
|
@@ -495,7 +495,7 @@ class _NotebookInstanceState:
|
|
|
495
495
|
@pulumi.getter(name="platformIdentifier")
|
|
496
496
|
def platform_identifier(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
497
497
|
"""
|
|
498
|
-
The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
498
|
+
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.
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "platform_identifier")
|
|
501
501
|
|
|
@@ -695,7 +695,7 @@ class NotebookInstance(pulumi.CustomResource):
|
|
|
695
695
|
:param pulumi.Input[_builtins.str] kms_key_id: The AWS Key Management Service (AWS KMS) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
696
696
|
:param pulumi.Input[_builtins.str] lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance.
|
|
697
697
|
:param pulumi.Input[_builtins.str] name: The name of the notebook instance (must be unique).
|
|
698
|
-
:param pulumi.Input[_builtins.str] platform_identifier: The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
698
|
+
:param pulumi.Input[_builtins.str] platform_identifier: 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.
|
|
699
699
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
700
700
|
:param pulumi.Input[_builtins.str] role_arn: The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf.
|
|
701
701
|
:param pulumi.Input[_builtins.str] root_access: Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
|
|
@@ -871,7 +871,7 @@ class NotebookInstance(pulumi.CustomResource):
|
|
|
871
871
|
:param pulumi.Input[_builtins.str] lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance.
|
|
872
872
|
:param pulumi.Input[_builtins.str] name: The name of the notebook instance (must be unique).
|
|
873
873
|
:param pulumi.Input[_builtins.str] network_interface_id: The network interface ID that Amazon SageMaker AI created at the time of creating the instance. Only available when setting `subnet_id`.
|
|
874
|
-
:param pulumi.Input[_builtins.str] platform_identifier: The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
874
|
+
:param pulumi.Input[_builtins.str] platform_identifier: 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.
|
|
875
875
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
876
876
|
:param pulumi.Input[_builtins.str] role_arn: The ARN of the IAM role to be used by the notebook instance which allows SageMaker AI to call other services on your behalf.
|
|
877
877
|
:param pulumi.Input[_builtins.str] root_access: Whether root access is `Enabled` or `Disabled` for users of the notebook instance. The default value is `Enabled`.
|
|
@@ -993,7 +993,7 @@ class NotebookInstance(pulumi.CustomResource):
|
|
|
993
993
|
@pulumi.getter(name="platformIdentifier")
|
|
994
994
|
def platform_identifier(self) -> pulumi.Output[_builtins.str]:
|
|
995
995
|
"""
|
|
996
|
-
The platform identifier of the notebook instance runtime environment. This value can be either `notebook-al1-v1
|
|
996
|
+
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.
|
|
997
997
|
"""
|
|
998
998
|
return pulumi.get(self, "platform_identifier")
|
|
999
999
|
|
|
@@ -176,17 +176,6 @@ def get_secret_version(region: Optional[_builtins.str] = None,
|
|
|
176
176
|
version_stage="example")
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
### Handling Key-Value Secret Strings in JSON
|
|
180
|
-
|
|
181
|
-
Reading key-value pairs from JSON back into a native map
|
|
182
|
-
|
|
183
|
-
```python
|
|
184
|
-
import pulumi
|
|
185
|
-
import pulumi_std as std
|
|
186
|
-
|
|
187
|
-
pulumi.export("example", std.jsondecode(input=example_aws_secretsmanager_secret_version["secretString"]).result["key1"])
|
|
188
|
-
```
|
|
189
|
-
|
|
190
179
|
|
|
191
180
|
:param _builtins.str region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
192
181
|
:param _builtins.str secret_id: Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
|
|
@@ -243,17 +232,6 @@ def get_secret_version_output(region: Optional[pulumi.Input[Optional[_builtins.s
|
|
|
243
232
|
version_stage="example")
|
|
244
233
|
```
|
|
245
234
|
|
|
246
|
-
### Handling Key-Value Secret Strings in JSON
|
|
247
|
-
|
|
248
|
-
Reading key-value pairs from JSON back into a native map
|
|
249
|
-
|
|
250
|
-
```python
|
|
251
|
-
import pulumi
|
|
252
|
-
import pulumi_std as std
|
|
253
|
-
|
|
254
|
-
pulumi.export("example", std.jsondecode(input=example_aws_secretsmanager_secret_version["secretString"]).result["key1"])
|
|
255
|
-
```
|
|
256
|
-
|
|
257
235
|
|
|
258
236
|
:param _builtins.str region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
259
237
|
:param _builtins.str secret_id: Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
|
|
@@ -366,35 +366,6 @@ class SecretVersion(pulumi.CustomResource):
|
|
|
366
366
|
|
|
367
367
|
Reading key-value pairs from JSON back into a native map
|
|
368
368
|
|
|
369
|
-
```python
|
|
370
|
-
import pulumi
|
|
371
|
-
import pulumi_std as std
|
|
372
|
-
|
|
373
|
-
pulumi.export("example", std.jsondecode(input=example_aws_secretsmanager_secret_version["secretString"]).result["key1"])
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
## Import
|
|
377
|
-
|
|
378
|
-
### Identity Schema
|
|
379
|
-
|
|
380
|
-
#### Required
|
|
381
|
-
|
|
382
|
-
* `secret_id` - (String) ID of the secret.
|
|
383
|
-
|
|
384
|
-
* `version_id` - (String) ID of the secret version.
|
|
385
|
-
|
|
386
|
-
#### Optional
|
|
387
|
-
|
|
388
|
-
* `account_id` (String) AWS Account where this resource is managed.
|
|
389
|
-
|
|
390
|
-
* `region` (String) Region where this resource is managed.
|
|
391
|
-
|
|
392
|
-
Using `pulumi import`, import `aws_secretsmanager_secret_version` using the secret ID and version ID. For example:
|
|
393
|
-
|
|
394
|
-
console
|
|
395
|
-
|
|
396
|
-
% pulumi import aws_secretsmanager_secret_version.example 'arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456|xxxxx-xxxxxxx-xxxxxxx-xxxxx'
|
|
397
|
-
|
|
398
369
|
:param str resource_name: The name of the resource.
|
|
399
370
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
400
371
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
@@ -455,35 +426,6 @@ class SecretVersion(pulumi.CustomResource):
|
|
|
455
426
|
|
|
456
427
|
Reading key-value pairs from JSON back into a native map
|
|
457
428
|
|
|
458
|
-
```python
|
|
459
|
-
import pulumi
|
|
460
|
-
import pulumi_std as std
|
|
461
|
-
|
|
462
|
-
pulumi.export("example", std.jsondecode(input=example_aws_secretsmanager_secret_version["secretString"]).result["key1"])
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
## Import
|
|
466
|
-
|
|
467
|
-
### Identity Schema
|
|
468
|
-
|
|
469
|
-
#### Required
|
|
470
|
-
|
|
471
|
-
* `secret_id` - (String) ID of the secret.
|
|
472
|
-
|
|
473
|
-
* `version_id` - (String) ID of the secret version.
|
|
474
|
-
|
|
475
|
-
#### Optional
|
|
476
|
-
|
|
477
|
-
* `account_id` (String) AWS Account where this resource is managed.
|
|
478
|
-
|
|
479
|
-
* `region` (String) Region where this resource is managed.
|
|
480
|
-
|
|
481
|
-
Using `pulumi import`, import `aws_secretsmanager_secret_version` using the secret ID and version ID. For example:
|
|
482
|
-
|
|
483
|
-
console
|
|
484
|
-
|
|
485
|
-
% pulumi import aws_secretsmanager_secret_version.example 'arn:aws:secretsmanager:us-east-1:123456789012:secret:example-123456|xxxxx-xxxxxxx-xxxxxxx-xxxxx'
|
|
486
|
-
|
|
487
429
|
:param str resource_name: The name of the resource.
|
|
488
430
|
:param SecretVersionArgs args: The arguments to use to populate this resource's properties.
|
|
489
431
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -228,24 +228,6 @@ class StandardsControlAssociation(pulumi.CustomResource):
|
|
|
228
228
|
updated_reason="Not needed")
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
## Disabling security control in all standards
|
|
232
|
-
|
|
233
|
-
```python
|
|
234
|
-
import pulumi
|
|
235
|
-
import pulumi_aws as aws
|
|
236
|
-
import pulumi_std as std
|
|
237
|
-
|
|
238
|
-
example = aws.securityhub.Account("example")
|
|
239
|
-
iam1 = aws.securityhub.get_standards_control_associations(security_control_id="IAM.1")
|
|
240
|
-
iam1_standards_control_association = []
|
|
241
|
-
for range in [{"key": k, "value": v} for [k, v] in enumerate(std.toset(input=[__item.standards_arn for __item in iam1.standards_control_associations]).result)]:
|
|
242
|
-
iam1_standards_control_association.append(aws.securityhub.StandardsControlAssociation(f"iam_1-{range['key']}",
|
|
243
|
-
standards_arn=range["key"],
|
|
244
|
-
security_control_id=iam1.security_control_id,
|
|
245
|
-
association_status="DISABLED",
|
|
246
|
-
updated_reason="Not needed"))
|
|
247
|
-
```
|
|
248
|
-
|
|
249
231
|
:param str resource_name: The name of the resource.
|
|
250
232
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
251
233
|
:param pulumi.Input[_builtins.str] association_status: The desired enablement status of the control in the standard. Valid values: `ENABLED`, `DISABLED`.
|
|
@@ -281,24 +263,6 @@ class StandardsControlAssociation(pulumi.CustomResource):
|
|
|
281
263
|
updated_reason="Not needed")
|
|
282
264
|
```
|
|
283
265
|
|
|
284
|
-
## Disabling security control in all standards
|
|
285
|
-
|
|
286
|
-
```python
|
|
287
|
-
import pulumi
|
|
288
|
-
import pulumi_aws as aws
|
|
289
|
-
import pulumi_std as std
|
|
290
|
-
|
|
291
|
-
example = aws.securityhub.Account("example")
|
|
292
|
-
iam1 = aws.securityhub.get_standards_control_associations(security_control_id="IAM.1")
|
|
293
|
-
iam1_standards_control_association = []
|
|
294
|
-
for range in [{"key": k, "value": v} for [k, v] in enumerate(std.toset(input=[__item.standards_arn for __item in iam1.standards_control_associations]).result)]:
|
|
295
|
-
iam1_standards_control_association.append(aws.securityhub.StandardsControlAssociation(f"iam_1-{range['key']}",
|
|
296
|
-
standards_arn=range["key"],
|
|
297
|
-
security_control_id=iam1.security_control_id,
|
|
298
|
-
association_status="DISABLED",
|
|
299
|
-
updated_reason="Not needed"))
|
|
300
|
-
```
|
|
301
|
-
|
|
302
266
|
:param str resource_name: The name of the resource.
|
|
303
267
|
:param StandardsControlAssociationArgs args: The arguments to use to populate this resource's properties.
|
|
304
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|