aws-cdk-lib 2.128.0__py3-none-any.whl → 2.130.0__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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +2 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.128.0.jsii.tgz → aws-cdk-lib@2.130.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +13010 -2708
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_bedrock/__init__.py +13 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +4 -0
- aws_cdk/aws_codepipeline/__init__.py +463 -11
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +157 -12
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +12 -10
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +43 -26
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +111 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/pipelines/__init__.py +3 -2
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/NOTICE +30 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/RECORD +101 -101
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.130.0.dist-info}/top_level.txt +0 -0
|
@@ -3256,9 +3256,9 @@ class CfnImage(
|
|
|
3256
3256
|
metaclass=jsii.JSIIMeta,
|
|
3257
3257
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage",
|
|
3258
3258
|
):
|
|
3259
|
-
'''
|
|
3259
|
+
'''Creates a new image.
|
|
3260
3260
|
|
|
3261
|
-
|
|
3261
|
+
This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
|
|
3262
3262
|
|
|
3263
3263
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html
|
|
3264
3264
|
:cloudformationResource: AWS::ImageBuilder::Image
|
|
@@ -3324,16 +3324,16 @@ class CfnImage(
|
|
|
3324
3324
|
'''
|
|
3325
3325
|
:param scope: Scope in which this resource is defined.
|
|
3326
3326
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3327
|
-
:param infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration
|
|
3328
|
-
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that
|
|
3329
|
-
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration.
|
|
3330
|
-
:param enhanced_image_metadata_enabled:
|
|
3327
|
+
:param infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
|
|
3328
|
+
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
|
3329
|
+
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
3330
|
+
:param enhanced_image_metadata_enabled: Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
|
|
3331
3331
|
:param execution_role: The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
|
|
3332
|
-
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe.
|
|
3332
|
+
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
3333
3333
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
3334
|
-
:param image_tests_configuration: The
|
|
3334
|
+
:param image_tests_configuration: The image tests configuration of the image.
|
|
3335
3335
|
:param tags: The tags of the image.
|
|
3336
|
-
:param workflows: Contains
|
|
3336
|
+
:param workflows: Contains an array of workflow configuration objects.
|
|
3337
3337
|
'''
|
|
3338
3338
|
if __debug__:
|
|
3339
3339
|
type_hints = typing.get_type_hints(_typecheckingstub__1406bc225111bc54a87c50d1d8180aed46d22e10134235c4fa581d3137e5bddf)
|
|
@@ -3409,7 +3409,7 @@ class CfnImage(
|
|
|
3409
3409
|
@builtins.property
|
|
3410
3410
|
@jsii.member(jsii_name="attrImageUri")
|
|
3411
3411
|
def attr_image_uri(self) -> builtins.str:
|
|
3412
|
-
'''Returns
|
|
3412
|
+
'''Returns the URI for a container image created in the context Region.
|
|
3413
3413
|
|
|
3414
3414
|
Values are returned only for container images, and not for AMIs.
|
|
3415
3415
|
|
|
@@ -3440,7 +3440,7 @@ class CfnImage(
|
|
|
3440
3440
|
@builtins.property
|
|
3441
3441
|
@jsii.member(jsii_name="infrastructureConfigurationArn")
|
|
3442
3442
|
def infrastructure_configuration_arn(self) -> builtins.str:
|
|
3443
|
-
'''The Amazon Resource Name (ARN) of the infrastructure configuration
|
|
3443
|
+
'''The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.'''
|
|
3444
3444
|
return typing.cast(builtins.str, jsii.get(self, "infrastructureConfigurationArn"))
|
|
3445
3445
|
|
|
3446
3446
|
@infrastructure_configuration_arn.setter
|
|
@@ -3453,7 +3453,7 @@ class CfnImage(
|
|
|
3453
3453
|
@builtins.property
|
|
3454
3454
|
@jsii.member(jsii_name="containerRecipeArn")
|
|
3455
3455
|
def container_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
3456
|
-
'''The Amazon Resource Name (ARN) of the container recipe that
|
|
3456
|
+
'''The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.'''
|
|
3457
3457
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "containerRecipeArn"))
|
|
3458
3458
|
|
|
3459
3459
|
@container_recipe_arn.setter
|
|
@@ -3466,7 +3466,7 @@ class CfnImage(
|
|
|
3466
3466
|
@builtins.property
|
|
3467
3467
|
@jsii.member(jsii_name="distributionConfigurationArn")
|
|
3468
3468
|
def distribution_configuration_arn(self) -> typing.Optional[builtins.str]:
|
|
3469
|
-
'''The Amazon Resource Name (ARN) of the distribution configuration.'''
|
|
3469
|
+
'''The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.'''
|
|
3470
3470
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "distributionConfigurationArn"))
|
|
3471
3471
|
|
|
3472
3472
|
@distribution_configuration_arn.setter
|
|
@@ -3484,7 +3484,7 @@ class CfnImage(
|
|
|
3484
3484
|
def enhanced_image_metadata_enabled(
|
|
3485
3485
|
self,
|
|
3486
3486
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3487
|
-
'''
|
|
3487
|
+
'''Collects additional information about the image being created, including the operating system (OS) version and package list.'''
|
|
3488
3488
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enhancedImageMetadataEnabled"))
|
|
3489
3489
|
|
|
3490
3490
|
@enhanced_image_metadata_enabled.setter
|
|
@@ -3513,7 +3513,7 @@ class CfnImage(
|
|
|
3513
3513
|
@builtins.property
|
|
3514
3514
|
@jsii.member(jsii_name="imageRecipeArn")
|
|
3515
3515
|
def image_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
3516
|
-
'''The Amazon Resource Name (ARN) of the image recipe.'''
|
|
3516
|
+
'''The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.'''
|
|
3517
3517
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "imageRecipeArn"))
|
|
3518
3518
|
|
|
3519
3519
|
@image_recipe_arn.setter
|
|
@@ -3546,7 +3546,7 @@ class CfnImage(
|
|
|
3546
3546
|
def image_tests_configuration(
|
|
3547
3547
|
self,
|
|
3548
3548
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImageTestsConfigurationProperty"]]:
|
|
3549
|
-
'''The
|
|
3549
|
+
'''The image tests configuration of the image.'''
|
|
3550
3550
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImageTestsConfigurationProperty"]], jsii.get(self, "imageTestsConfiguration"))
|
|
3551
3551
|
|
|
3552
3552
|
@image_tests_configuration.setter
|
|
@@ -3580,7 +3580,7 @@ class CfnImage(
|
|
|
3580
3580
|
def workflows(
|
|
3581
3581
|
self,
|
|
3582
3582
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImage.WorkflowConfigurationProperty"]]]]:
|
|
3583
|
-
'''Contains
|
|
3583
|
+
'''Contains an array of workflow configuration objects.'''
|
|
3584
3584
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImage.WorkflowConfigurationProperty"]]]], jsii.get(self, "workflows"))
|
|
3585
3585
|
|
|
3586
3586
|
@workflows.setter
|
|
@@ -5251,16 +5251,16 @@ class CfnImageProps:
|
|
|
5251
5251
|
) -> None:
|
|
5252
5252
|
'''Properties for defining a ``CfnImage``.
|
|
5253
5253
|
|
|
5254
|
-
:param infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration
|
|
5255
|
-
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that
|
|
5256
|
-
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration.
|
|
5257
|
-
:param enhanced_image_metadata_enabled:
|
|
5254
|
+
:param infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
|
|
5255
|
+
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
|
5256
|
+
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
5257
|
+
:param enhanced_image_metadata_enabled: Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
|
|
5258
5258
|
:param execution_role: The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
|
|
5259
|
-
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe.
|
|
5259
|
+
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
5260
5260
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
5261
|
-
:param image_tests_configuration: The
|
|
5261
|
+
:param image_tests_configuration: The image tests configuration of the image.
|
|
5262
5262
|
:param tags: The tags of the image.
|
|
5263
|
-
:param workflows: Contains
|
|
5263
|
+
:param workflows: Contains an array of workflow configuration objects.
|
|
5264
5264
|
|
|
5265
5265
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html
|
|
5266
5266
|
:exampleMetadata: fixture=_generated
|
|
@@ -5341,7 +5341,7 @@ class CfnImageProps:
|
|
|
5341
5341
|
|
|
5342
5342
|
@builtins.property
|
|
5343
5343
|
def infrastructure_configuration_arn(self) -> builtins.str:
|
|
5344
|
-
'''The Amazon Resource Name (ARN) of the infrastructure configuration
|
|
5344
|
+
'''The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
|
|
5345
5345
|
|
|
5346
5346
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-infrastructureconfigurationarn
|
|
5347
5347
|
'''
|
|
@@ -5351,7 +5351,7 @@ class CfnImageProps:
|
|
|
5351
5351
|
|
|
5352
5352
|
@builtins.property
|
|
5353
5353
|
def container_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
5354
|
-
'''The Amazon Resource Name (ARN) of the container recipe that
|
|
5354
|
+
'''The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
|
5355
5355
|
|
|
5356
5356
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-containerrecipearn
|
|
5357
5357
|
'''
|
|
@@ -5360,7 +5360,7 @@ class CfnImageProps:
|
|
|
5360
5360
|
|
|
5361
5361
|
@builtins.property
|
|
5362
5362
|
def distribution_configuration_arn(self) -> typing.Optional[builtins.str]:
|
|
5363
|
-
'''The Amazon Resource Name (ARN) of the distribution configuration.
|
|
5363
|
+
'''The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
5364
5364
|
|
|
5365
5365
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-distributionconfigurationarn
|
|
5366
5366
|
'''
|
|
@@ -5371,7 +5371,9 @@ class CfnImageProps:
|
|
|
5371
5371
|
def enhanced_image_metadata_enabled(
|
|
5372
5372
|
self,
|
|
5373
5373
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
5374
|
-
'''
|
|
5374
|
+
'''Collects additional information about the image being created, including the operating system (OS) version and package list.
|
|
5375
|
+
|
|
5376
|
+
This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
|
|
5375
5377
|
|
|
5376
5378
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-enhancedimagemetadataenabled
|
|
5377
5379
|
'''
|
|
@@ -5389,7 +5391,7 @@ class CfnImageProps:
|
|
|
5389
5391
|
|
|
5390
5392
|
@builtins.property
|
|
5391
5393
|
def image_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
5392
|
-
'''The Amazon Resource Name (ARN) of the image recipe.
|
|
5394
|
+
'''The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
5393
5395
|
|
|
5394
5396
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-imagerecipearn
|
|
5395
5397
|
'''
|
|
@@ -5411,7 +5413,7 @@ class CfnImageProps:
|
|
|
5411
5413
|
def image_tests_configuration(
|
|
5412
5414
|
self,
|
|
5413
5415
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImageTestsConfigurationProperty]]:
|
|
5414
|
-
'''The
|
|
5416
|
+
'''The image tests configuration of the image.
|
|
5415
5417
|
|
|
5416
5418
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-imagetestsconfiguration
|
|
5417
5419
|
'''
|
|
@@ -5431,7 +5433,7 @@ class CfnImageProps:
|
|
|
5431
5433
|
def workflows(
|
|
5432
5434
|
self,
|
|
5433
5435
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImage.WorkflowConfigurationProperty]]]]:
|
|
5434
|
-
'''Contains
|
|
5436
|
+
'''Contains an array of workflow configuration objects.
|
|
5435
5437
|
|
|
5436
5438
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-workflows
|
|
5437
5439
|
'''
|
|
@@ -7435,7 +7437,7 @@ class CfnLifecyclePolicy(
|
|
|
7435
7437
|
metaclass=jsii.JSIIMeta,
|
|
7436
7438
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnLifecyclePolicy",
|
|
7437
7439
|
):
|
|
7438
|
-
'''
|
|
7440
|
+
'''Create a lifecycle policy resource.
|
|
7439
7441
|
|
|
7440
7442
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html
|
|
7441
7443
|
:cloudformationResource: AWS::ImageBuilder::LifecyclePolicy
|
|
@@ -7526,14 +7528,14 @@ class CfnLifecyclePolicy(
|
|
|
7526
7528
|
'''
|
|
7527
7529
|
:param scope: Scope in which this resource is defined.
|
|
7528
7530
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
7529
|
-
:param execution_role: The name or Amazon Resource Name (ARN)
|
|
7530
|
-
:param name: The name of the lifecycle policy.
|
|
7531
|
-
:param policy_details:
|
|
7532
|
-
:param resource_selection:
|
|
7533
|
-
:param resource_type: The type of
|
|
7531
|
+
:param execution_role: The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
|
|
7532
|
+
:param name: The name of the lifecycle policy to create.
|
|
7533
|
+
:param policy_details: Configuration details for the lifecycle policy rules.
|
|
7534
|
+
:param resource_selection: Selection criteria for the resources that the lifecycle policy applies to.
|
|
7535
|
+
:param resource_type: The type of Image Builder resource that the lifecycle policy applies to.
|
|
7534
7536
|
:param description: Optional description for the lifecycle policy.
|
|
7535
7537
|
:param status: Indicates whether the lifecycle policy resource is enabled.
|
|
7536
|
-
:param tags:
|
|
7538
|
+
:param tags: Tags to apply to the lifecycle policy resource.
|
|
7537
7539
|
'''
|
|
7538
7540
|
if __debug__:
|
|
7539
7541
|
type_hints = typing.get_type_hints(_typecheckingstub__0b441913a83fc39b85885667ae1a4a4add28d162c2540cbe5daf576611d89c45)
|
|
@@ -7599,7 +7601,7 @@ class CfnLifecyclePolicy(
|
|
|
7599
7601
|
@builtins.property
|
|
7600
7602
|
@jsii.member(jsii_name="executionRole")
|
|
7601
7603
|
def execution_role(self) -> builtins.str:
|
|
7602
|
-
'''The name or Amazon Resource Name (ARN)
|
|
7604
|
+
'''The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.'''
|
|
7603
7605
|
return typing.cast(builtins.str, jsii.get(self, "executionRole"))
|
|
7604
7606
|
|
|
7605
7607
|
@execution_role.setter
|
|
@@ -7612,7 +7614,7 @@ class CfnLifecyclePolicy(
|
|
|
7612
7614
|
@builtins.property
|
|
7613
7615
|
@jsii.member(jsii_name="name")
|
|
7614
7616
|
def name(self) -> builtins.str:
|
|
7615
|
-
'''The name of the lifecycle policy.'''
|
|
7617
|
+
'''The name of the lifecycle policy to create.'''
|
|
7616
7618
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
7617
7619
|
|
|
7618
7620
|
@name.setter
|
|
@@ -7627,7 +7629,7 @@ class CfnLifecyclePolicy(
|
|
|
7627
7629
|
def policy_details(
|
|
7628
7630
|
self,
|
|
7629
7631
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.PolicyDetailProperty"]]]:
|
|
7630
|
-
'''
|
|
7632
|
+
'''Configuration details for the lifecycle policy rules.'''
|
|
7631
7633
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.PolicyDetailProperty"]]], jsii.get(self, "policyDetails"))
|
|
7632
7634
|
|
|
7633
7635
|
@policy_details.setter
|
|
@@ -7645,7 +7647,7 @@ class CfnLifecyclePolicy(
|
|
|
7645
7647
|
def resource_selection(
|
|
7646
7648
|
self,
|
|
7647
7649
|
) -> typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ResourceSelectionProperty"]:
|
|
7648
|
-
'''
|
|
7650
|
+
'''Selection criteria for the resources that the lifecycle policy applies to.'''
|
|
7649
7651
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ResourceSelectionProperty"], jsii.get(self, "resourceSelection"))
|
|
7650
7652
|
|
|
7651
7653
|
@resource_selection.setter
|
|
@@ -7661,7 +7663,7 @@ class CfnLifecyclePolicy(
|
|
|
7661
7663
|
@builtins.property
|
|
7662
7664
|
@jsii.member(jsii_name="resourceType")
|
|
7663
7665
|
def resource_type(self) -> builtins.str:
|
|
7664
|
-
'''The type of
|
|
7666
|
+
'''The type of Image Builder resource that the lifecycle policy applies to.'''
|
|
7665
7667
|
return typing.cast(builtins.str, jsii.get(self, "resourceType"))
|
|
7666
7668
|
|
|
7667
7669
|
@resource_type.setter
|
|
@@ -7700,7 +7702,7 @@ class CfnLifecyclePolicy(
|
|
|
7700
7702
|
@builtins.property
|
|
7701
7703
|
@jsii.member(jsii_name="tags")
|
|
7702
7704
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
7703
|
-
'''
|
|
7705
|
+
'''Tags to apply to the lifecycle policy resource.'''
|
|
7704
7706
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
7705
7707
|
|
|
7706
7708
|
@tags.setter
|
|
@@ -7725,10 +7727,10 @@ class CfnLifecyclePolicy(
|
|
|
7725
7727
|
type: builtins.str,
|
|
7726
7728
|
include_resources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.IncludeResourcesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7727
7729
|
) -> None:
|
|
7728
|
-
'''
|
|
7730
|
+
'''Contains selection criteria for the lifecycle policy.
|
|
7729
7731
|
|
|
7730
|
-
:param type:
|
|
7731
|
-
:param include_resources:
|
|
7732
|
+
:param type: Specifies the lifecycle action to take.
|
|
7733
|
+
:param include_resources: Specifies the resources that the lifecycle policy applies to.
|
|
7732
7734
|
|
|
7733
7735
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-action.html
|
|
7734
7736
|
:exampleMetadata: fixture=_generated
|
|
@@ -7762,7 +7764,7 @@ class CfnLifecyclePolicy(
|
|
|
7762
7764
|
|
|
7763
7765
|
@builtins.property
|
|
7764
7766
|
def type(self) -> builtins.str:
|
|
7765
|
-
'''
|
|
7767
|
+
'''Specifies the lifecycle action to take.
|
|
7766
7768
|
|
|
7767
7769
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-action.html#cfn-imagebuilder-lifecyclepolicy-action-type
|
|
7768
7770
|
'''
|
|
@@ -7774,7 +7776,7 @@ class CfnLifecyclePolicy(
|
|
|
7774
7776
|
def include_resources(
|
|
7775
7777
|
self,
|
|
7776
7778
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.IncludeResourcesProperty"]]:
|
|
7777
|
-
'''
|
|
7779
|
+
'''Specifies the resources that the lifecycle policy applies to.
|
|
7778
7780
|
|
|
7779
7781
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-action.html#cfn-imagebuilder-lifecyclepolicy-action-includeresources
|
|
7780
7782
|
'''
|
|
@@ -7813,13 +7815,13 @@ class CfnLifecyclePolicy(
|
|
|
7813
7815
|
shared_accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7814
7816
|
tag_map: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7815
7817
|
) -> None:
|
|
7816
|
-
'''
|
|
7818
|
+
'''Defines criteria for AMIs that are excluded from lifecycle actions.
|
|
7817
7819
|
|
|
7818
|
-
:param is_public:
|
|
7819
|
-
:param last_launched:
|
|
7820
|
-
:param regions:
|
|
7821
|
-
:param shared_accounts:
|
|
7822
|
-
:param tag_map:
|
|
7820
|
+
:param is_public: Configures whether public AMIs are excluded from the lifecycle action.
|
|
7821
|
+
:param last_launched: Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
|
7822
|
+
:param regions: Configures AWS Region s that are excluded from the lifecycle action.
|
|
7823
|
+
:param shared_accounts: Specifies AWS account s whose resources are excluded from the lifecycle action.
|
|
7824
|
+
:param tag_map: Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
|
|
7823
7825
|
|
|
7824
7826
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html
|
|
7825
7827
|
:exampleMetadata: fixture=_generated
|
|
@@ -7866,7 +7868,7 @@ class CfnLifecyclePolicy(
|
|
|
7866
7868
|
def is_public(
|
|
7867
7869
|
self,
|
|
7868
7870
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
7869
|
-
'''
|
|
7871
|
+
'''Configures whether public AMIs are excluded from the lifecycle action.
|
|
7870
7872
|
|
|
7871
7873
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html#cfn-imagebuilder-lifecyclepolicy-amiexclusionrules-ispublic
|
|
7872
7874
|
'''
|
|
@@ -7877,7 +7879,7 @@ class CfnLifecyclePolicy(
|
|
|
7877
7879
|
def last_launched(
|
|
7878
7880
|
self,
|
|
7879
7881
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.LastLaunchedProperty"]]:
|
|
7880
|
-
'''
|
|
7882
|
+
'''Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
|
7881
7883
|
|
|
7882
7884
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html#cfn-imagebuilder-lifecyclepolicy-amiexclusionrules-lastlaunched
|
|
7883
7885
|
'''
|
|
@@ -7886,7 +7888,7 @@ class CfnLifecyclePolicy(
|
|
|
7886
7888
|
|
|
7887
7889
|
@builtins.property
|
|
7888
7890
|
def regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
7889
|
-
'''
|
|
7891
|
+
'''Configures AWS Region s that are excluded from the lifecycle action.
|
|
7890
7892
|
|
|
7891
7893
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html#cfn-imagebuilder-lifecyclepolicy-amiexclusionrules-regions
|
|
7892
7894
|
'''
|
|
@@ -7895,7 +7897,7 @@ class CfnLifecyclePolicy(
|
|
|
7895
7897
|
|
|
7896
7898
|
@builtins.property
|
|
7897
7899
|
def shared_accounts(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
7898
|
-
'''
|
|
7900
|
+
'''Specifies AWS account s whose resources are excluded from the lifecycle action.
|
|
7899
7901
|
|
|
7900
7902
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html#cfn-imagebuilder-lifecyclepolicy-amiexclusionrules-sharedaccounts
|
|
7901
7903
|
'''
|
|
@@ -7906,7 +7908,7 @@ class CfnLifecyclePolicy(
|
|
|
7906
7908
|
def tag_map(
|
|
7907
7909
|
self,
|
|
7908
7910
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
7909
|
-
'''
|
|
7911
|
+
'''Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
|
|
7910
7912
|
|
|
7911
7913
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.html#cfn-imagebuilder-lifecyclepolicy-amiexclusionrules-tagmap
|
|
7912
7914
|
'''
|
|
@@ -7936,10 +7938,10 @@ class CfnLifecyclePolicy(
|
|
|
7936
7938
|
amis: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.AmiExclusionRulesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7937
7939
|
tag_map: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7938
7940
|
) -> None:
|
|
7939
|
-
'''
|
|
7941
|
+
'''Specifies resources that lifecycle policy actions should not apply to.
|
|
7940
7942
|
|
|
7941
|
-
:param amis:
|
|
7942
|
-
:param tag_map:
|
|
7943
|
+
:param amis: Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
|
|
7944
|
+
:param tag_map: Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
|
|
7943
7945
|
|
|
7944
7946
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-exclusionrules.html
|
|
7945
7947
|
:exampleMetadata: fixture=_generated
|
|
@@ -7982,7 +7984,7 @@ class CfnLifecyclePolicy(
|
|
|
7982
7984
|
def amis(
|
|
7983
7985
|
self,
|
|
7984
7986
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.AmiExclusionRulesProperty"]]:
|
|
7985
|
-
'''
|
|
7987
|
+
'''Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
|
|
7986
7988
|
|
|
7987
7989
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-exclusionrules.html#cfn-imagebuilder-lifecyclepolicy-exclusionrules-amis
|
|
7988
7990
|
'''
|
|
@@ -7993,7 +7995,7 @@ class CfnLifecyclePolicy(
|
|
|
7993
7995
|
def tag_map(
|
|
7994
7996
|
self,
|
|
7995
7997
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
7996
|
-
'''
|
|
7998
|
+
'''Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
|
|
7997
7999
|
|
|
7998
8000
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-exclusionrules.html#cfn-imagebuilder-lifecyclepolicy-exclusionrules-tagmap
|
|
7999
8001
|
'''
|
|
@@ -8030,14 +8032,12 @@ class CfnLifecyclePolicy(
|
|
|
8030
8032
|
retain_at_least: typing.Optional[jsii.Number] = None,
|
|
8031
8033
|
unit: typing.Optional[builtins.str] = None,
|
|
8032
8034
|
) -> None:
|
|
8033
|
-
'''
|
|
8035
|
+
'''Defines filters that the lifecycle policy uses to determine impacted resource.
|
|
8034
8036
|
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
:param
|
|
8038
|
-
:param
|
|
8039
|
-
:param retain_at_least: The minimum number of Image Builder resources to retain.
|
|
8040
|
-
:param unit: A time unit.
|
|
8037
|
+
:param type: Filter resources based on either ``age`` or ``count`` .
|
|
8038
|
+
:param value: The number of units for the time period or for the count. For example, a value of ``6`` might refer to six months or six AMIs. .. epigraph:: For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
|
|
8039
|
+
:param retain_at_least: For age-based filters, this is the number of resources to keep on hand after the lifecycle ``DELETE`` action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
|
|
8040
|
+
:param unit: Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.
|
|
8041
8041
|
|
|
8042
8042
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-filter.html
|
|
8043
8043
|
:exampleMetadata: fixture=_generated
|
|
@@ -8074,7 +8074,7 @@ class CfnLifecyclePolicy(
|
|
|
8074
8074
|
|
|
8075
8075
|
@builtins.property
|
|
8076
8076
|
def type(self) -> builtins.str:
|
|
8077
|
-
'''
|
|
8077
|
+
'''Filter resources based on either ``age`` or ``count`` .
|
|
8078
8078
|
|
|
8079
8079
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-filter.html#cfn-imagebuilder-lifecyclepolicy-filter-type
|
|
8080
8080
|
'''
|
|
@@ -8084,7 +8084,12 @@ class CfnLifecyclePolicy(
|
|
|
8084
8084
|
|
|
8085
8085
|
@builtins.property
|
|
8086
8086
|
def value(self) -> jsii.Number:
|
|
8087
|
-
'''The
|
|
8087
|
+
'''The number of units for the time period or for the count.
|
|
8088
|
+
|
|
8089
|
+
For example, a value of ``6`` might refer to six months or six AMIs.
|
|
8090
|
+
.. epigraph::
|
|
8091
|
+
|
|
8092
|
+
For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
|
|
8088
8093
|
|
|
8089
8094
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-filter.html#cfn-imagebuilder-lifecyclepolicy-filter-value
|
|
8090
8095
|
'''
|
|
@@ -8094,7 +8099,9 @@ class CfnLifecyclePolicy(
|
|
|
8094
8099
|
|
|
8095
8100
|
@builtins.property
|
|
8096
8101
|
def retain_at_least(self) -> typing.Optional[jsii.Number]:
|
|
8097
|
-
'''
|
|
8102
|
+
'''For age-based filters, this is the number of resources to keep on hand after the lifecycle ``DELETE`` action is applied.
|
|
8103
|
+
|
|
8104
|
+
Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
|
|
8098
8105
|
|
|
8099
8106
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-filter.html#cfn-imagebuilder-lifecyclepolicy-filter-retainatleast
|
|
8100
8107
|
'''
|
|
@@ -8103,7 +8110,9 @@ class CfnLifecyclePolicy(
|
|
|
8103
8110
|
|
|
8104
8111
|
@builtins.property
|
|
8105
8112
|
def unit(self) -> typing.Optional[builtins.str]:
|
|
8106
|
-
'''
|
|
8113
|
+
'''Defines the unit of time that the lifecycle policy uses to determine impacted resources.
|
|
8114
|
+
|
|
8115
|
+
This is required for age-based rules.
|
|
8107
8116
|
|
|
8108
8117
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-filter.html#cfn-imagebuilder-lifecyclepolicy-filter-unit
|
|
8109
8118
|
'''
|
|
@@ -8138,11 +8147,11 @@ class CfnLifecyclePolicy(
|
|
|
8138
8147
|
containers: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8139
8148
|
snapshots: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8140
8149
|
) -> None:
|
|
8141
|
-
'''
|
|
8150
|
+
'''Specifies how the lifecycle policy should apply actions to selected resources.
|
|
8142
8151
|
|
|
8143
|
-
:param amis:
|
|
8144
|
-
:param containers:
|
|
8145
|
-
:param snapshots:
|
|
8152
|
+
:param amis: Specifies whether the lifecycle action should apply to distributed AMIs.
|
|
8153
|
+
:param containers: Specifies whether the lifecycle action should apply to distributed containers.
|
|
8154
|
+
:param snapshots: Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
|
8146
8155
|
|
|
8147
8156
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-includeresources.html
|
|
8148
8157
|
:exampleMetadata: fixture=_generated
|
|
@@ -8176,7 +8185,7 @@ class CfnLifecyclePolicy(
|
|
|
8176
8185
|
def amis(
|
|
8177
8186
|
self,
|
|
8178
8187
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8179
|
-
'''
|
|
8188
|
+
'''Specifies whether the lifecycle action should apply to distributed AMIs.
|
|
8180
8189
|
|
|
8181
8190
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-includeresources.html#cfn-imagebuilder-lifecyclepolicy-includeresources-amis
|
|
8182
8191
|
'''
|
|
@@ -8187,7 +8196,7 @@ class CfnLifecyclePolicy(
|
|
|
8187
8196
|
def containers(
|
|
8188
8197
|
self,
|
|
8189
8198
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8190
|
-
'''
|
|
8199
|
+
'''Specifies whether the lifecycle action should apply to distributed containers.
|
|
8191
8200
|
|
|
8192
8201
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-includeresources.html#cfn-imagebuilder-lifecyclepolicy-includeresources-containers
|
|
8193
8202
|
'''
|
|
@@ -8198,7 +8207,7 @@ class CfnLifecyclePolicy(
|
|
|
8198
8207
|
def snapshots(
|
|
8199
8208
|
self,
|
|
8200
8209
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8201
|
-
'''
|
|
8210
|
+
'''Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
|
8202
8211
|
|
|
8203
8212
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-includeresources.html#cfn-imagebuilder-lifecyclepolicy-includeresources-snapshots
|
|
8204
8213
|
'''
|
|
@@ -8223,10 +8232,10 @@ class CfnLifecyclePolicy(
|
|
|
8223
8232
|
)
|
|
8224
8233
|
class LastLaunchedProperty:
|
|
8225
8234
|
def __init__(self, *, unit: builtins.str, value: jsii.Number) -> None:
|
|
8226
|
-
'''
|
|
8235
|
+
'''Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.
|
|
8227
8236
|
|
|
8228
|
-
:param unit:
|
|
8229
|
-
:param value: The
|
|
8237
|
+
:param unit: Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.
|
|
8238
|
+
:param value: The integer number of units for the time period. For example ``6`` (months).
|
|
8230
8239
|
|
|
8231
8240
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html
|
|
8232
8241
|
:exampleMetadata: fixture=_generated
|
|
@@ -8253,7 +8262,9 @@ class CfnLifecyclePolicy(
|
|
|
8253
8262
|
|
|
8254
8263
|
@builtins.property
|
|
8255
8264
|
def unit(self) -> builtins.str:
|
|
8256
|
-
'''
|
|
8265
|
+
'''Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.
|
|
8266
|
+
|
|
8267
|
+
For example: days, weeks, months, or years.
|
|
8257
8268
|
|
|
8258
8269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html#cfn-imagebuilder-lifecyclepolicy-lastlaunched-unit
|
|
8259
8270
|
'''
|
|
@@ -8263,7 +8274,9 @@ class CfnLifecyclePolicy(
|
|
|
8263
8274
|
|
|
8264
8275
|
@builtins.property
|
|
8265
8276
|
def value(self) -> jsii.Number:
|
|
8266
|
-
'''The
|
|
8277
|
+
'''The integer number of units for the time period.
|
|
8278
|
+
|
|
8279
|
+
For example ``6`` (months).
|
|
8267
8280
|
|
|
8268
8281
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html#cfn-imagebuilder-lifecyclepolicy-lastlaunched-value
|
|
8269
8282
|
'''
|
|
@@ -8299,11 +8312,11 @@ class CfnLifecyclePolicy(
|
|
|
8299
8312
|
filter: typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.FilterProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
8300
8313
|
exclusion_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.ExclusionRulesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8301
8314
|
) -> None:
|
|
8302
|
-
'''The
|
|
8315
|
+
'''The configuration details for a lifecycle policy resource.
|
|
8303
8316
|
|
|
8304
|
-
:param action:
|
|
8305
|
-
:param filter:
|
|
8306
|
-
:param exclusion_rules:
|
|
8317
|
+
:param action: Configuration details for the policy action.
|
|
8318
|
+
:param filter: Specifies the resources that the lifecycle policy applies to.
|
|
8319
|
+
:param exclusion_rules: Additional rules to specify resources that should be exempt from policy actions.
|
|
8307
8320
|
|
|
8308
8321
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-policydetail.html
|
|
8309
8322
|
:exampleMetadata: fixture=_generated
|
|
@@ -8370,7 +8383,7 @@ class CfnLifecyclePolicy(
|
|
|
8370
8383
|
def action(
|
|
8371
8384
|
self,
|
|
8372
8385
|
) -> typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ActionProperty"]:
|
|
8373
|
-
'''
|
|
8386
|
+
'''Configuration details for the policy action.
|
|
8374
8387
|
|
|
8375
8388
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-policydetail.html#cfn-imagebuilder-lifecyclepolicy-policydetail-action
|
|
8376
8389
|
'''
|
|
@@ -8382,7 +8395,7 @@ class CfnLifecyclePolicy(
|
|
|
8382
8395
|
def filter(
|
|
8383
8396
|
self,
|
|
8384
8397
|
) -> typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.FilterProperty"]:
|
|
8385
|
-
'''
|
|
8398
|
+
'''Specifies the resources that the lifecycle policy applies to.
|
|
8386
8399
|
|
|
8387
8400
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-policydetail.html#cfn-imagebuilder-lifecyclepolicy-policydetail-filter
|
|
8388
8401
|
'''
|
|
@@ -8394,7 +8407,7 @@ class CfnLifecyclePolicy(
|
|
|
8394
8407
|
def exclusion_rules(
|
|
8395
8408
|
self,
|
|
8396
8409
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.ExclusionRulesProperty"]]:
|
|
8397
|
-
'''
|
|
8410
|
+
'''Additional rules to specify resources that should be exempt from policy actions.
|
|
8398
8411
|
|
|
8399
8412
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-policydetail.html#cfn-imagebuilder-lifecyclepolicy-policydetail-exclusionrules
|
|
8400
8413
|
'''
|
|
@@ -8424,10 +8437,10 @@ class CfnLifecyclePolicy(
|
|
|
8424
8437
|
name: builtins.str,
|
|
8425
8438
|
semantic_version: builtins.str,
|
|
8426
8439
|
) -> None:
|
|
8427
|
-
'''
|
|
8440
|
+
'''Specifies an Image Builder recipe that the lifecycle policy uses for resource selection.
|
|
8428
8441
|
|
|
8429
|
-
:param name: The recipe
|
|
8430
|
-
:param semantic_version: The recipe
|
|
8442
|
+
:param name: The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
|
|
8443
|
+
:param semantic_version: The version of the Image Builder recipe specified by the ``name`` field.
|
|
8431
8444
|
|
|
8432
8445
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-recipeselection.html
|
|
8433
8446
|
:exampleMetadata: fixture=_generated
|
|
@@ -8454,7 +8467,7 @@ class CfnLifecyclePolicy(
|
|
|
8454
8467
|
|
|
8455
8468
|
@builtins.property
|
|
8456
8469
|
def name(self) -> builtins.str:
|
|
8457
|
-
'''The recipe
|
|
8470
|
+
'''The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
|
|
8458
8471
|
|
|
8459
8472
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-recipeselection.html#cfn-imagebuilder-lifecyclepolicy-recipeselection-name
|
|
8460
8473
|
'''
|
|
@@ -8464,7 +8477,7 @@ class CfnLifecyclePolicy(
|
|
|
8464
8477
|
|
|
8465
8478
|
@builtins.property
|
|
8466
8479
|
def semantic_version(self) -> builtins.str:
|
|
8467
|
-
'''The recipe
|
|
8480
|
+
'''The version of the Image Builder recipe specified by the ``name`` field.
|
|
8468
8481
|
|
|
8469
8482
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-recipeselection.html#cfn-imagebuilder-lifecyclepolicy-recipeselection-semanticversion
|
|
8470
8483
|
'''
|
|
@@ -8495,10 +8508,10 @@ class CfnLifecyclePolicy(
|
|
|
8495
8508
|
recipes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLifecyclePolicy.RecipeSelectionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8496
8509
|
tag_map: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
8497
8510
|
) -> None:
|
|
8498
|
-
'''
|
|
8511
|
+
'''Resource selection criteria for the lifecycle policy.
|
|
8499
8512
|
|
|
8500
|
-
:param recipes:
|
|
8501
|
-
:param tag_map:
|
|
8513
|
+
:param recipes: A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
|
8514
|
+
:param tag_map: A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
|
|
8502
8515
|
|
|
8503
8516
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-resourceselection.html
|
|
8504
8517
|
:exampleMetadata: fixture=_generated
|
|
@@ -8533,7 +8546,7 @@ class CfnLifecyclePolicy(
|
|
|
8533
8546
|
def recipes(
|
|
8534
8547
|
self,
|
|
8535
8548
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLifecyclePolicy.RecipeSelectionProperty"]]]]:
|
|
8536
|
-
'''
|
|
8549
|
+
'''A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
|
8537
8550
|
|
|
8538
8551
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-resourceselection.html#cfn-imagebuilder-lifecyclepolicy-resourceselection-recipes
|
|
8539
8552
|
'''
|
|
@@ -8544,7 +8557,7 @@ class CfnLifecyclePolicy(
|
|
|
8544
8557
|
def tag_map(
|
|
8545
8558
|
self,
|
|
8546
8559
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
8547
|
-
'''
|
|
8560
|
+
'''A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
|
|
8548
8561
|
|
|
8549
8562
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-resourceselection.html#cfn-imagebuilder-lifecyclepolicy-resourceselection-tagmap
|
|
8550
8563
|
'''
|
|
@@ -8592,14 +8605,14 @@ class CfnLifecyclePolicyProps:
|
|
|
8592
8605
|
) -> None:
|
|
8593
8606
|
'''Properties for defining a ``CfnLifecyclePolicy``.
|
|
8594
8607
|
|
|
8595
|
-
:param execution_role: The name or Amazon Resource Name (ARN)
|
|
8596
|
-
:param name: The name of the lifecycle policy.
|
|
8597
|
-
:param policy_details:
|
|
8598
|
-
:param resource_selection:
|
|
8599
|
-
:param resource_type: The type of
|
|
8608
|
+
:param execution_role: The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
|
|
8609
|
+
:param name: The name of the lifecycle policy to create.
|
|
8610
|
+
:param policy_details: Configuration details for the lifecycle policy rules.
|
|
8611
|
+
:param resource_selection: Selection criteria for the resources that the lifecycle policy applies to.
|
|
8612
|
+
:param resource_type: The type of Image Builder resource that the lifecycle policy applies to.
|
|
8600
8613
|
:param description: Optional description for the lifecycle policy.
|
|
8601
8614
|
:param status: Indicates whether the lifecycle policy resource is enabled.
|
|
8602
|
-
:param tags:
|
|
8615
|
+
:param tags: Tags to apply to the lifecycle policy resource.
|
|
8603
8616
|
|
|
8604
8617
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html
|
|
8605
8618
|
:exampleMetadata: fixture=_generated
|
|
@@ -8697,9 +8710,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8697
8710
|
|
|
8698
8711
|
@builtins.property
|
|
8699
8712
|
def execution_role(self) -> builtins.str:
|
|
8700
|
-
'''The name or Amazon Resource Name (ARN)
|
|
8701
|
-
|
|
8702
|
-
This is a custom role that you create.
|
|
8713
|
+
'''The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
|
|
8703
8714
|
|
|
8704
8715
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-executionrole
|
|
8705
8716
|
'''
|
|
@@ -8709,7 +8720,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8709
8720
|
|
|
8710
8721
|
@builtins.property
|
|
8711
8722
|
def name(self) -> builtins.str:
|
|
8712
|
-
'''The name of the lifecycle policy.
|
|
8723
|
+
'''The name of the lifecycle policy to create.
|
|
8713
8724
|
|
|
8714
8725
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-name
|
|
8715
8726
|
'''
|
|
@@ -8721,7 +8732,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8721
8732
|
def policy_details(
|
|
8722
8733
|
self,
|
|
8723
8734
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLifecyclePolicy.PolicyDetailProperty]]]:
|
|
8724
|
-
'''
|
|
8735
|
+
'''Configuration details for the lifecycle policy rules.
|
|
8725
8736
|
|
|
8726
8737
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-policydetails
|
|
8727
8738
|
'''
|
|
@@ -8733,7 +8744,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8733
8744
|
def resource_selection(
|
|
8734
8745
|
self,
|
|
8735
8746
|
) -> typing.Union[_IResolvable_da3f097b, CfnLifecyclePolicy.ResourceSelectionProperty]:
|
|
8736
|
-
'''
|
|
8747
|
+
'''Selection criteria for the resources that the lifecycle policy applies to.
|
|
8737
8748
|
|
|
8738
8749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-resourceselection
|
|
8739
8750
|
'''
|
|
@@ -8743,7 +8754,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8743
8754
|
|
|
8744
8755
|
@builtins.property
|
|
8745
8756
|
def resource_type(self) -> builtins.str:
|
|
8746
|
-
'''The type of
|
|
8757
|
+
'''The type of Image Builder resource that the lifecycle policy applies to.
|
|
8747
8758
|
|
|
8748
8759
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-resourcetype
|
|
8749
8760
|
'''
|
|
@@ -8771,9 +8782,7 @@ class CfnLifecyclePolicyProps:
|
|
|
8771
8782
|
|
|
8772
8783
|
@builtins.property
|
|
8773
8784
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
8774
|
-
'''
|
|
8775
|
-
|
|
8776
|
-
Each tag consists of a key and an optional value, both of which you define.
|
|
8785
|
+
'''Tags to apply to the lifecycle policy resource.
|
|
8777
8786
|
|
|
8778
8787
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-lifecyclepolicy.html#cfn-imagebuilder-lifecyclepolicy-tags
|
|
8779
8788
|
'''
|
|
@@ -8845,15 +8854,15 @@ class CfnWorkflow(
|
|
|
8845
8854
|
'''
|
|
8846
8855
|
:param scope: Scope in which this resource is defined.
|
|
8847
8856
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8848
|
-
:param name: The name of the workflow
|
|
8849
|
-
:param type:
|
|
8850
|
-
:param version: The workflow resource version
|
|
8857
|
+
:param name: The name of the workflow to create.
|
|
8858
|
+
:param type: The phase in the image build process for which the workflow resource is responsible.
|
|
8859
|
+
:param version: The semantic version of this workflow resource. The semantic version syntax adheres to the following rules. .. epigraph:: The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. *Assignment:* For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. *Patterns:* You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
|
|
8851
8860
|
:param change_description: Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.
|
|
8852
|
-
:param data: Contains the YAML document content for the workflow.
|
|
8853
|
-
:param description:
|
|
8854
|
-
:param kms_key_id: The KMS key
|
|
8855
|
-
:param tags:
|
|
8856
|
-
:param uri: The uri of the
|
|
8861
|
+
:param data: Contains the UTF-8 encoded YAML document content for the workflow. Alternatively, you can specify the ``uri`` of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
|
|
8862
|
+
:param description: Describes the workflow.
|
|
8863
|
+
:param kms_key_id: The ID of the KMS key that is used to encrypt this workflow resource.
|
|
8864
|
+
:param tags: Tags that apply to the workflow resource.
|
|
8865
|
+
:param uri: The ``uri`` of a YAML component document file. This must be an S3 URL ( ``s3://bucket/key`` ), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota. Alternatively, you can specify the YAML document inline, using the component ``data`` property. You cannot specify both properties.
|
|
8857
8866
|
'''
|
|
8858
8867
|
if __debug__:
|
|
8859
8868
|
type_hints = typing.get_type_hints(_typecheckingstub__bd82b8722476efd9ae3c84a0cf5b8f1d6b48550745017b0d128afabf5f24b5b2)
|
|
@@ -8920,7 +8929,7 @@ class CfnWorkflow(
|
|
|
8920
8929
|
@builtins.property
|
|
8921
8930
|
@jsii.member(jsii_name="name")
|
|
8922
8931
|
def name(self) -> builtins.str:
|
|
8923
|
-
'''The name of the workflow
|
|
8932
|
+
'''The name of the workflow to create.'''
|
|
8924
8933
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
8925
8934
|
|
|
8926
8935
|
@name.setter
|
|
@@ -8933,7 +8942,7 @@ class CfnWorkflow(
|
|
|
8933
8942
|
@builtins.property
|
|
8934
8943
|
@jsii.member(jsii_name="type")
|
|
8935
8944
|
def type(self) -> builtins.str:
|
|
8936
|
-
'''
|
|
8945
|
+
'''The phase in the image build process for which the workflow resource is responsible.'''
|
|
8937
8946
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
8938
8947
|
|
|
8939
8948
|
@type.setter
|
|
@@ -8946,7 +8955,10 @@ class CfnWorkflow(
|
|
|
8946
8955
|
@builtins.property
|
|
8947
8956
|
@jsii.member(jsii_name="version")
|
|
8948
8957
|
def version(self) -> builtins.str:
|
|
8949
|
-
'''The workflow resource
|
|
8958
|
+
'''The semantic version of this workflow resource.
|
|
8959
|
+
|
|
8960
|
+
The semantic version syntax adheres to the following rules.
|
|
8961
|
+
'''
|
|
8950
8962
|
return typing.cast(builtins.str, jsii.get(self, "version"))
|
|
8951
8963
|
|
|
8952
8964
|
@version.setter
|
|
@@ -8972,7 +8984,7 @@ class CfnWorkflow(
|
|
|
8972
8984
|
@builtins.property
|
|
8973
8985
|
@jsii.member(jsii_name="data")
|
|
8974
8986
|
def data(self) -> typing.Optional[builtins.str]:
|
|
8975
|
-
'''Contains the YAML document content for the workflow.'''
|
|
8987
|
+
'''Contains the UTF-8 encoded YAML document content for the workflow.'''
|
|
8976
8988
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "data"))
|
|
8977
8989
|
|
|
8978
8990
|
@data.setter
|
|
@@ -8985,7 +8997,7 @@ class CfnWorkflow(
|
|
|
8985
8997
|
@builtins.property
|
|
8986
8998
|
@jsii.member(jsii_name="description")
|
|
8987
8999
|
def description(self) -> typing.Optional[builtins.str]:
|
|
8988
|
-
'''
|
|
9000
|
+
'''Describes the workflow.'''
|
|
8989
9001
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
8990
9002
|
|
|
8991
9003
|
@description.setter
|
|
@@ -8998,7 +9010,7 @@ class CfnWorkflow(
|
|
|
8998
9010
|
@builtins.property
|
|
8999
9011
|
@jsii.member(jsii_name="kmsKeyId")
|
|
9000
9012
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
9001
|
-
'''The KMS key
|
|
9013
|
+
'''The ID of the KMS key that is used to encrypt this workflow resource.'''
|
|
9002
9014
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
9003
9015
|
|
|
9004
9016
|
@kms_key_id.setter
|
|
@@ -9011,7 +9023,7 @@ class CfnWorkflow(
|
|
|
9011
9023
|
@builtins.property
|
|
9012
9024
|
@jsii.member(jsii_name="tags")
|
|
9013
9025
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
9014
|
-
'''
|
|
9026
|
+
'''Tags that apply to the workflow resource.'''
|
|
9015
9027
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
9016
9028
|
|
|
9017
9029
|
@tags.setter
|
|
@@ -9027,7 +9039,7 @@ class CfnWorkflow(
|
|
|
9027
9039
|
@builtins.property
|
|
9028
9040
|
@jsii.member(jsii_name="uri")
|
|
9029
9041
|
def uri(self) -> typing.Optional[builtins.str]:
|
|
9030
|
-
'''The uri of
|
|
9042
|
+
'''The ``uri`` of a YAML component document file.'''
|
|
9031
9043
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "uri"))
|
|
9032
9044
|
|
|
9033
9045
|
@uri.setter
|
|
@@ -9069,15 +9081,15 @@ class CfnWorkflowProps:
|
|
|
9069
9081
|
) -> None:
|
|
9070
9082
|
'''Properties for defining a ``CfnWorkflow``.
|
|
9071
9083
|
|
|
9072
|
-
:param name: The name of the workflow
|
|
9073
|
-
:param type:
|
|
9074
|
-
:param version: The workflow resource version
|
|
9084
|
+
:param name: The name of the workflow to create.
|
|
9085
|
+
:param type: The phase in the image build process for which the workflow resource is responsible.
|
|
9086
|
+
:param version: The semantic version of this workflow resource. The semantic version syntax adheres to the following rules. .. epigraph:: The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. *Assignment:* For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. *Patterns:* You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
|
|
9075
9087
|
:param change_description: Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.
|
|
9076
|
-
:param data: Contains the YAML document content for the workflow.
|
|
9077
|
-
:param description:
|
|
9078
|
-
:param kms_key_id: The KMS key
|
|
9079
|
-
:param tags:
|
|
9080
|
-
:param uri: The uri of the
|
|
9088
|
+
:param data: Contains the UTF-8 encoded YAML document content for the workflow. Alternatively, you can specify the ``uri`` of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
|
|
9089
|
+
:param description: Describes the workflow.
|
|
9090
|
+
:param kms_key_id: The ID of the KMS key that is used to encrypt this workflow resource.
|
|
9091
|
+
:param tags: Tags that apply to the workflow resource.
|
|
9092
|
+
:param uri: The ``uri`` of a YAML component document file. This must be an S3 URL ( ``s3://bucket/key`` ), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota. Alternatively, you can specify the YAML document inline, using the component ``data`` property. You cannot specify both properties.
|
|
9081
9093
|
|
|
9082
9094
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html
|
|
9083
9095
|
:exampleMetadata: fixture=_generated
|
|
@@ -9135,7 +9147,7 @@ class CfnWorkflowProps:
|
|
|
9135
9147
|
|
|
9136
9148
|
@builtins.property
|
|
9137
9149
|
def name(self) -> builtins.str:
|
|
9138
|
-
'''The name of the workflow
|
|
9150
|
+
'''The name of the workflow to create.
|
|
9139
9151
|
|
|
9140
9152
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-name
|
|
9141
9153
|
'''
|
|
@@ -9145,9 +9157,7 @@ class CfnWorkflowProps:
|
|
|
9145
9157
|
|
|
9146
9158
|
@builtins.property
|
|
9147
9159
|
def type(self) -> builtins.str:
|
|
9148
|
-
'''
|
|
9149
|
-
|
|
9150
|
-
Image Builder currently supports build and test workflows.
|
|
9160
|
+
'''The phase in the image build process for which the workflow resource is responsible.
|
|
9151
9161
|
|
|
9152
9162
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-type
|
|
9153
9163
|
'''
|
|
@@ -9157,9 +9167,15 @@ class CfnWorkflowProps:
|
|
|
9157
9167
|
|
|
9158
9168
|
@builtins.property
|
|
9159
9169
|
def version(self) -> builtins.str:
|
|
9160
|
-
'''The workflow resource version.
|
|
9170
|
+
'''The semantic version of this workflow resource. The semantic version syntax adheres to the following rules.
|
|
9171
|
+
|
|
9172
|
+
.. epigraph::
|
|
9173
|
+
|
|
9174
|
+
The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them.
|
|
9175
|
+
|
|
9176
|
+
*Assignment:* For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
|
|
9161
9177
|
|
|
9162
|
-
|
|
9178
|
+
*Patterns:* You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
|
|
9163
9179
|
|
|
9164
9180
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-version
|
|
9165
9181
|
'''
|
|
@@ -9178,7 +9194,9 @@ class CfnWorkflowProps:
|
|
|
9178
9194
|
|
|
9179
9195
|
@builtins.property
|
|
9180
9196
|
def data(self) -> typing.Optional[builtins.str]:
|
|
9181
|
-
'''Contains the YAML document content for the workflow.
|
|
9197
|
+
'''Contains the UTF-8 encoded YAML document content for the workflow.
|
|
9198
|
+
|
|
9199
|
+
Alternatively, you can specify the ``uri`` of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
|
|
9182
9200
|
|
|
9183
9201
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-data
|
|
9184
9202
|
'''
|
|
@@ -9187,7 +9205,7 @@ class CfnWorkflowProps:
|
|
|
9187
9205
|
|
|
9188
9206
|
@builtins.property
|
|
9189
9207
|
def description(self) -> typing.Optional[builtins.str]:
|
|
9190
|
-
'''
|
|
9208
|
+
'''Describes the workflow.
|
|
9191
9209
|
|
|
9192
9210
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-description
|
|
9193
9211
|
'''
|
|
@@ -9196,7 +9214,7 @@ class CfnWorkflowProps:
|
|
|
9196
9214
|
|
|
9197
9215
|
@builtins.property
|
|
9198
9216
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
9199
|
-
'''The KMS key
|
|
9217
|
+
'''The ID of the KMS key that is used to encrypt this workflow resource.
|
|
9200
9218
|
|
|
9201
9219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-kmskeyid
|
|
9202
9220
|
'''
|
|
@@ -9205,7 +9223,7 @@ class CfnWorkflowProps:
|
|
|
9205
9223
|
|
|
9206
9224
|
@builtins.property
|
|
9207
9225
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
9208
|
-
'''
|
|
9226
|
+
'''Tags that apply to the workflow resource.
|
|
9209
9227
|
|
|
9210
9228
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-tags
|
|
9211
9229
|
'''
|
|
@@ -9214,7 +9232,11 @@ class CfnWorkflowProps:
|
|
|
9214
9232
|
|
|
9215
9233
|
@builtins.property
|
|
9216
9234
|
def uri(self) -> typing.Optional[builtins.str]:
|
|
9217
|
-
'''The uri of
|
|
9235
|
+
'''The ``uri`` of a YAML component document file.
|
|
9236
|
+
|
|
9237
|
+
This must be an S3 URL ( ``s3://bucket/key`` ), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota.
|
|
9238
|
+
|
|
9239
|
+
Alternatively, you can specify the YAML document inline, using the component ``data`` property. You cannot specify both properties.
|
|
9218
9240
|
|
|
9219
9241
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-uri
|
|
9220
9242
|
'''
|