aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.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 +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -67,9 +67,29 @@ from .. import (
|
|
|
67
67
|
TagManager as _TagManager_0a598cb3,
|
|
68
68
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
69
69
|
)
|
|
70
|
+
from ..interfaces.aws_imagebuilder import (
|
|
71
|
+
ComponentReference as _ComponentReference_306364a2,
|
|
72
|
+
ContainerRecipeReference as _ContainerRecipeReference_ff6a8aa6,
|
|
73
|
+
DistributionConfigurationReference as _DistributionConfigurationReference_2b9d070d,
|
|
74
|
+
IComponentRef as _IComponentRef_17c48319,
|
|
75
|
+
IContainerRecipeRef as _IContainerRecipeRef_c8fd8a45,
|
|
76
|
+
IDistributionConfigurationRef as _IDistributionConfigurationRef_4ec38268,
|
|
77
|
+
IImagePipelineRef as _IImagePipelineRef_e3aa2681,
|
|
78
|
+
IImageRecipeRef as _IImageRecipeRef_9cfc70e3,
|
|
79
|
+
IImageRef as _IImageRef_e59af9ea,
|
|
80
|
+
IInfrastructureConfigurationRef as _IInfrastructureConfigurationRef_a35e2e01,
|
|
81
|
+
ILifecyclePolicyRef as _ILifecyclePolicyRef_9d5f074d,
|
|
82
|
+
IWorkflowRef as _IWorkflowRef_8f64c4af,
|
|
83
|
+
ImagePipelineReference as _ImagePipelineReference_e701addc,
|
|
84
|
+
ImageRecipeReference as _ImageRecipeReference_d10c2b61,
|
|
85
|
+
ImageReference as _ImageReference_e91728a0,
|
|
86
|
+
InfrastructureConfigurationReference as _InfrastructureConfigurationReference_9ca01975,
|
|
87
|
+
LifecyclePolicyReference as _LifecyclePolicyReference_4a6407e9,
|
|
88
|
+
WorkflowReference as _WorkflowReference_190286b5,
|
|
89
|
+
)
|
|
70
90
|
|
|
71
91
|
|
|
72
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
92
|
+
@jsii.implements(_IInspectable_c2943556, _IComponentRef_17c48319, _ITaggable_36806126)
|
|
73
93
|
class CfnComponent(
|
|
74
94
|
_CfnResource_9df397a6,
|
|
75
95
|
metaclass=jsii.JSIIMeta,
|
|
@@ -126,7 +146,8 @@ class CfnComponent(
|
|
|
126
146
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
127
147
|
uri: typing.Optional[builtins.str] = None,
|
|
128
148
|
) -> None:
|
|
129
|
-
'''
|
|
149
|
+
'''Create a new ``AWS::ImageBuilder::Component``.
|
|
150
|
+
|
|
130
151
|
:param scope: Scope in which this resource is defined.
|
|
131
152
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
132
153
|
:param name: The name of the component.
|
|
@@ -135,7 +156,7 @@ class CfnComponent(
|
|
|
135
156
|
:param change_description: The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of the component.
|
|
136
157
|
:param data: Component ``data`` contains inline YAML document content for the component. Alternatively, you can specify the ``uri`` of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
|
|
137
158
|
:param description: Describes the contents of the component.
|
|
138
|
-
:param kms_key_id: The
|
|
159
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this component. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
139
160
|
:param supported_os_versions: The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
140
161
|
:param tags: The tags that apply to the component.
|
|
141
162
|
: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.
|
|
@@ -211,6 +232,51 @@ class CfnComponent(
|
|
|
211
232
|
'''
|
|
212
233
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrEncrypted"))
|
|
213
234
|
|
|
235
|
+
@builtins.property
|
|
236
|
+
@jsii.member(jsii_name="attrLatestVersion")
|
|
237
|
+
def attr_latest_version(self) -> _IResolvable_da3f097b:
|
|
238
|
+
'''The latest version references of the component.
|
|
239
|
+
|
|
240
|
+
:cloudformationAttribute: LatestVersion
|
|
241
|
+
'''
|
|
242
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLatestVersion"))
|
|
243
|
+
|
|
244
|
+
@builtins.property
|
|
245
|
+
@jsii.member(jsii_name="attrLatestVersionArn")
|
|
246
|
+
def attr_latest_version_arn(self) -> builtins.str:
|
|
247
|
+
'''The Amazon Resource Name (ARN) of the component.
|
|
248
|
+
|
|
249
|
+
:cloudformationAttribute: LatestVersion.Arn
|
|
250
|
+
'''
|
|
251
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionArn"))
|
|
252
|
+
|
|
253
|
+
@builtins.property
|
|
254
|
+
@jsii.member(jsii_name="attrLatestVersionMajor")
|
|
255
|
+
def attr_latest_version_major(self) -> builtins.str:
|
|
256
|
+
'''The latest version ARN of the created component, with the same major version.
|
|
257
|
+
|
|
258
|
+
:cloudformationAttribute: LatestVersion.Major
|
|
259
|
+
'''
|
|
260
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMajor"))
|
|
261
|
+
|
|
262
|
+
@builtins.property
|
|
263
|
+
@jsii.member(jsii_name="attrLatestVersionMinor")
|
|
264
|
+
def attr_latest_version_minor(self) -> builtins.str:
|
|
265
|
+
'''The latest version ARN of the created component, with the same minor version.
|
|
266
|
+
|
|
267
|
+
:cloudformationAttribute: LatestVersion.Minor
|
|
268
|
+
'''
|
|
269
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMinor"))
|
|
270
|
+
|
|
271
|
+
@builtins.property
|
|
272
|
+
@jsii.member(jsii_name="attrLatestVersionPatch")
|
|
273
|
+
def attr_latest_version_patch(self) -> builtins.str:
|
|
274
|
+
'''The latest version ARN of the created component, with the same patch version.
|
|
275
|
+
|
|
276
|
+
:cloudformationAttribute: LatestVersion.Patch
|
|
277
|
+
'''
|
|
278
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionPatch"))
|
|
279
|
+
|
|
214
280
|
@builtins.property
|
|
215
281
|
@jsii.member(jsii_name="attrName")
|
|
216
282
|
def attr_name(self) -> builtins.str:
|
|
@@ -236,6 +302,12 @@ class CfnComponent(
|
|
|
236
302
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
237
303
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
238
304
|
|
|
305
|
+
@builtins.property
|
|
306
|
+
@jsii.member(jsii_name="componentRef")
|
|
307
|
+
def component_ref(self) -> _ComponentReference_306364a2:
|
|
308
|
+
'''A reference to a Component resource.'''
|
|
309
|
+
return typing.cast(_ComponentReference_306364a2, jsii.get(self, "componentRef"))
|
|
310
|
+
|
|
239
311
|
@builtins.property
|
|
240
312
|
@jsii.member(jsii_name="tags")
|
|
241
313
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -323,7 +395,7 @@ class CfnComponent(
|
|
|
323
395
|
@builtins.property
|
|
324
396
|
@jsii.member(jsii_name="kmsKeyId")
|
|
325
397
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
326
|
-
'''The
|
|
398
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this component.'''
|
|
327
399
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
328
400
|
|
|
329
401
|
@kms_key_id.setter
|
|
@@ -378,6 +450,111 @@ class CfnComponent(
|
|
|
378
450
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
379
451
|
jsii.set(self, "uri", value) # pyright: ignore[reportArgumentType]
|
|
380
452
|
|
|
453
|
+
@jsii.data_type(
|
|
454
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnComponent.LatestVersionProperty",
|
|
455
|
+
jsii_struct_bases=[],
|
|
456
|
+
name_mapping={
|
|
457
|
+
"arn": "arn",
|
|
458
|
+
"major": "major",
|
|
459
|
+
"minor": "minor",
|
|
460
|
+
"patch": "patch",
|
|
461
|
+
},
|
|
462
|
+
)
|
|
463
|
+
class LatestVersionProperty:
|
|
464
|
+
def __init__(
|
|
465
|
+
self,
|
|
466
|
+
*,
|
|
467
|
+
arn: typing.Optional[builtins.str] = None,
|
|
468
|
+
major: typing.Optional[builtins.str] = None,
|
|
469
|
+
minor: typing.Optional[builtins.str] = None,
|
|
470
|
+
patch: typing.Optional[builtins.str] = None,
|
|
471
|
+
) -> None:
|
|
472
|
+
'''The latest version references of the component.
|
|
473
|
+
|
|
474
|
+
:param arn: The Amazon Resource Name (ARN) of the component.
|
|
475
|
+
:param major: The latest version ARN of the created component, with the same major version.
|
|
476
|
+
:param minor: The latest version ARN of the created component, with the same minor version.
|
|
477
|
+
:param patch: The latest version ARN of the created component, with the same patch version.
|
|
478
|
+
|
|
479
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-component-latestversion.html
|
|
480
|
+
:exampleMetadata: fixture=_generated
|
|
481
|
+
|
|
482
|
+
Example::
|
|
483
|
+
|
|
484
|
+
# The code below shows an example of how to instantiate this type.
|
|
485
|
+
# The values are placeholders you should change.
|
|
486
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
487
|
+
|
|
488
|
+
latest_version_property = imagebuilder.CfnComponent.LatestVersionProperty(
|
|
489
|
+
arn="arn",
|
|
490
|
+
major="major",
|
|
491
|
+
minor="minor",
|
|
492
|
+
patch="patch"
|
|
493
|
+
)
|
|
494
|
+
'''
|
|
495
|
+
if __debug__:
|
|
496
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c4e79be107a6e971d25cd09ec63884e7fcb4e59de0b3b3dc1d6ae877cbb0c006)
|
|
497
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
498
|
+
check_type(argname="argument major", value=major, expected_type=type_hints["major"])
|
|
499
|
+
check_type(argname="argument minor", value=minor, expected_type=type_hints["minor"])
|
|
500
|
+
check_type(argname="argument patch", value=patch, expected_type=type_hints["patch"])
|
|
501
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
502
|
+
if arn is not None:
|
|
503
|
+
self._values["arn"] = arn
|
|
504
|
+
if major is not None:
|
|
505
|
+
self._values["major"] = major
|
|
506
|
+
if minor is not None:
|
|
507
|
+
self._values["minor"] = minor
|
|
508
|
+
if patch is not None:
|
|
509
|
+
self._values["patch"] = patch
|
|
510
|
+
|
|
511
|
+
@builtins.property
|
|
512
|
+
def arn(self) -> typing.Optional[builtins.str]:
|
|
513
|
+
'''The Amazon Resource Name (ARN) of the component.
|
|
514
|
+
|
|
515
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-component-latestversion.html#cfn-imagebuilder-component-latestversion-arn
|
|
516
|
+
'''
|
|
517
|
+
result = self._values.get("arn")
|
|
518
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
519
|
+
|
|
520
|
+
@builtins.property
|
|
521
|
+
def major(self) -> typing.Optional[builtins.str]:
|
|
522
|
+
'''The latest version ARN of the created component, with the same major version.
|
|
523
|
+
|
|
524
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-component-latestversion.html#cfn-imagebuilder-component-latestversion-major
|
|
525
|
+
'''
|
|
526
|
+
result = self._values.get("major")
|
|
527
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
528
|
+
|
|
529
|
+
@builtins.property
|
|
530
|
+
def minor(self) -> typing.Optional[builtins.str]:
|
|
531
|
+
'''The latest version ARN of the created component, with the same minor version.
|
|
532
|
+
|
|
533
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-component-latestversion.html#cfn-imagebuilder-component-latestversion-minor
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("minor")
|
|
536
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
537
|
+
|
|
538
|
+
@builtins.property
|
|
539
|
+
def patch(self) -> typing.Optional[builtins.str]:
|
|
540
|
+
'''The latest version ARN of the created component, with the same patch version.
|
|
541
|
+
|
|
542
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-component-latestversion.html#cfn-imagebuilder-component-latestversion-patch
|
|
543
|
+
'''
|
|
544
|
+
result = self._values.get("patch")
|
|
545
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
546
|
+
|
|
547
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
548
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
549
|
+
|
|
550
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
551
|
+
return not (rhs == self)
|
|
552
|
+
|
|
553
|
+
def __repr__(self) -> str:
|
|
554
|
+
return "LatestVersionProperty(%s)" % ", ".join(
|
|
555
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
556
|
+
)
|
|
557
|
+
|
|
381
558
|
|
|
382
559
|
@jsii.data_type(
|
|
383
560
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnComponentProps",
|
|
@@ -418,7 +595,7 @@ class CfnComponentProps:
|
|
|
418
595
|
:param change_description: The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of the component.
|
|
419
596
|
:param data: Component ``data`` contains inline YAML document content for the component. Alternatively, you can specify the ``uri`` of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
|
|
420
597
|
:param description: Describes the contents of the component.
|
|
421
|
-
:param kms_key_id: The
|
|
598
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this component. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
422
599
|
:param supported_os_versions: The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
423
600
|
:param tags: The tags that apply to the component.
|
|
424
601
|
: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.
|
|
@@ -546,7 +723,9 @@ class CfnComponentProps:
|
|
|
546
723
|
|
|
547
724
|
@builtins.property
|
|
548
725
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
549
|
-
'''The
|
|
726
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this component.
|
|
727
|
+
|
|
728
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
550
729
|
|
|
551
730
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-kmskeyid
|
|
552
731
|
'''
|
|
@@ -598,7 +777,7 @@ class CfnComponentProps:
|
|
|
598
777
|
)
|
|
599
778
|
|
|
600
779
|
|
|
601
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
780
|
+
@jsii.implements(_IInspectable_c2943556, _IContainerRecipeRef_c8fd8a45, _ITaggable_36806126)
|
|
602
781
|
class CfnContainerRecipe(
|
|
603
782
|
_CfnResource_9df397a6,
|
|
604
783
|
metaclass=jsii.JSIIMeta,
|
|
@@ -619,13 +798,6 @@ class CfnContainerRecipe(
|
|
|
619
798
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
620
799
|
|
|
621
800
|
cfn_container_recipe = imagebuilder.CfnContainerRecipe(self, "MyCfnContainerRecipe",
|
|
622
|
-
components=[imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty(
|
|
623
|
-
component_arn="componentArn",
|
|
624
|
-
parameters=[imagebuilder.CfnContainerRecipe.ComponentParameterProperty(
|
|
625
|
-
name="name",
|
|
626
|
-
value=["value"]
|
|
627
|
-
)]
|
|
628
|
-
)],
|
|
629
801
|
container_type="containerType",
|
|
630
802
|
name="name",
|
|
631
803
|
parent_image="parentImage",
|
|
@@ -636,6 +808,13 @@ class CfnContainerRecipe(
|
|
|
636
808
|
version="version",
|
|
637
809
|
|
|
638
810
|
# the properties below are optional
|
|
811
|
+
components=[imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty(
|
|
812
|
+
component_arn="componentArn",
|
|
813
|
+
parameters=[imagebuilder.CfnContainerRecipe.ComponentParameterProperty(
|
|
814
|
+
name="name",
|
|
815
|
+
value=["value"]
|
|
816
|
+
)]
|
|
817
|
+
)],
|
|
639
818
|
description="description",
|
|
640
819
|
dockerfile_template_data="dockerfileTemplateData",
|
|
641
820
|
dockerfile_template_uri="dockerfileTemplateUri",
|
|
@@ -672,12 +851,12 @@ class CfnContainerRecipe(
|
|
|
672
851
|
scope: _constructs_77d1e7e8.Construct,
|
|
673
852
|
id: builtins.str,
|
|
674
853
|
*,
|
|
675
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnContainerRecipe.ComponentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
676
854
|
container_type: builtins.str,
|
|
677
855
|
name: builtins.str,
|
|
678
856
|
parent_image: builtins.str,
|
|
679
857
|
target_repository: typing.Union[_IResolvable_da3f097b, typing.Union["CfnContainerRecipe.TargetContainerRepositoryProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
680
858
|
version: builtins.str,
|
|
859
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnContainerRecipe.ComponentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
681
860
|
description: typing.Optional[builtins.str] = None,
|
|
682
861
|
dockerfile_template_data: typing.Optional[builtins.str] = None,
|
|
683
862
|
dockerfile_template_uri: typing.Optional[builtins.str] = None,
|
|
@@ -688,21 +867,22 @@ class CfnContainerRecipe(
|
|
|
688
867
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
689
868
|
working_directory: typing.Optional[builtins.str] = None,
|
|
690
869
|
) -> None:
|
|
691
|
-
'''
|
|
870
|
+
'''Create a new ``AWS::ImageBuilder::ContainerRecipe``.
|
|
871
|
+
|
|
692
872
|
:param scope: Scope in which this resource is defined.
|
|
693
873
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
694
|
-
:param components: Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
695
874
|
:param container_type: Specifies the type of container, such as Docker.
|
|
696
875
|
:param name: The name of the container recipe.
|
|
697
876
|
:param parent_image: The base image for customizations specified in the container recipe. This can contain an Image Builder image resource ARN or a container image URI, for example ``amazonlinux:latest`` .
|
|
698
877
|
:param target_repository: The destination repository for the container image.
|
|
699
878
|
:param version: The semantic version of the container recipe. .. 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. *Filtering:* With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
879
|
+
:param components: Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
700
880
|
:param description: The description of the container recipe.
|
|
701
881
|
:param dockerfile_template_data: Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
|
|
702
882
|
:param dockerfile_template_uri: The S3 URI for the Dockerfile that will be used to build your container image.
|
|
703
883
|
:param image_os_version_override: Specifies the operating system version for the base image.
|
|
704
884
|
:param instance_configuration: A group of options that can be used to configure an instance for building and testing container images.
|
|
705
|
-
:param kms_key_id:
|
|
885
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
706
886
|
:param platform_override: Specifies the operating system platform when you use a custom base image.
|
|
707
887
|
:param tags: Tags that are attached to the container recipe.
|
|
708
888
|
:param working_directory: The working directory for use during build and test workflows.
|
|
@@ -712,12 +892,12 @@ class CfnContainerRecipe(
|
|
|
712
892
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
713
893
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
714
894
|
props = CfnContainerRecipeProps(
|
|
715
|
-
components=components,
|
|
716
895
|
container_type=container_type,
|
|
717
896
|
name=name,
|
|
718
897
|
parent_image=parent_image,
|
|
719
898
|
target_repository=target_repository,
|
|
720
899
|
version=version,
|
|
900
|
+
components=components,
|
|
721
901
|
description=description,
|
|
722
902
|
dockerfile_template_data=dockerfile_template_data,
|
|
723
903
|
dockerfile_template_uri=dockerfile_template_uri,
|
|
@@ -786,30 +966,18 @@ class CfnContainerRecipe(
|
|
|
786
966
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
787
967
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
788
968
|
|
|
969
|
+
@builtins.property
|
|
970
|
+
@jsii.member(jsii_name="containerRecipeRef")
|
|
971
|
+
def container_recipe_ref(self) -> _ContainerRecipeReference_ff6a8aa6:
|
|
972
|
+
'''A reference to a ContainerRecipe resource.'''
|
|
973
|
+
return typing.cast(_ContainerRecipeReference_ff6a8aa6, jsii.get(self, "containerRecipeRef"))
|
|
974
|
+
|
|
789
975
|
@builtins.property
|
|
790
976
|
@jsii.member(jsii_name="tags")
|
|
791
977
|
def tags(self) -> _TagManager_0a598cb3:
|
|
792
978
|
'''Tag Manager which manages the tags for this resource.'''
|
|
793
979
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
794
980
|
|
|
795
|
-
@builtins.property
|
|
796
|
-
@jsii.member(jsii_name="components")
|
|
797
|
-
def components(
|
|
798
|
-
self,
|
|
799
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]]:
|
|
800
|
-
'''Build and test components that are included in the container recipe.'''
|
|
801
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]], jsii.get(self, "components"))
|
|
802
|
-
|
|
803
|
-
@components.setter
|
|
804
|
-
def components(
|
|
805
|
-
self,
|
|
806
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]],
|
|
807
|
-
) -> None:
|
|
808
|
-
if __debug__:
|
|
809
|
-
type_hints = typing.get_type_hints(_typecheckingstub__be58a433b37609a8e2de38ae9ea0ad32cd2b7ed8705e29e10ecdad873c143b52)
|
|
810
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
811
|
-
jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
|
|
812
|
-
|
|
813
981
|
@builtins.property
|
|
814
982
|
@jsii.member(jsii_name="containerType")
|
|
815
983
|
def container_type(self) -> builtins.str:
|
|
@@ -880,6 +1048,24 @@ class CfnContainerRecipe(
|
|
|
880
1048
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
881
1049
|
jsii.set(self, "version", value) # pyright: ignore[reportArgumentType]
|
|
882
1050
|
|
|
1051
|
+
@builtins.property
|
|
1052
|
+
@jsii.member(jsii_name="components")
|
|
1053
|
+
def components(
|
|
1054
|
+
self,
|
|
1055
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]]]:
|
|
1056
|
+
'''Build and test components that are included in the container recipe.'''
|
|
1057
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]]], jsii.get(self, "components"))
|
|
1058
|
+
|
|
1059
|
+
@components.setter
|
|
1060
|
+
def components(
|
|
1061
|
+
self,
|
|
1062
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnContainerRecipe.ComponentConfigurationProperty"]]]],
|
|
1063
|
+
) -> None:
|
|
1064
|
+
if __debug__:
|
|
1065
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be58a433b37609a8e2de38ae9ea0ad32cd2b7ed8705e29e10ecdad873c143b52)
|
|
1066
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1067
|
+
jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
|
|
1068
|
+
|
|
883
1069
|
@builtins.property
|
|
884
1070
|
@jsii.member(jsii_name="description")
|
|
885
1071
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -953,7 +1139,7 @@ class CfnContainerRecipe(
|
|
|
953
1139
|
@builtins.property
|
|
954
1140
|
@jsii.member(jsii_name="kmsKeyId")
|
|
955
1141
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
956
|
-
'''
|
|
1142
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region.'''
|
|
957
1143
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
958
1144
|
|
|
959
1145
|
@kms_key_id.setter
|
|
@@ -1183,7 +1369,7 @@ class CfnContainerRecipe(
|
|
|
1183
1369
|
:param delete_on_termination: Use to configure delete on termination of the associated device.
|
|
1184
1370
|
:param encrypted: Use to configure device encryption.
|
|
1185
1371
|
:param iops: Use to configure device IOPS.
|
|
1186
|
-
:param kms_key_id:
|
|
1372
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
1187
1373
|
:param snapshot_id: The snapshot that defines the device contents.
|
|
1188
1374
|
:param throughput: *For GP3 volumes only* – The throughput in MiB/s that the volume supports.
|
|
1189
1375
|
:param volume_size: Use to override the device's volume size.
|
|
@@ -1270,7 +1456,9 @@ class CfnContainerRecipe(
|
|
|
1270
1456
|
|
|
1271
1457
|
@builtins.property
|
|
1272
1458
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
1273
|
-
'''
|
|
1459
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device.
|
|
1460
|
+
|
|
1461
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
1274
1462
|
|
|
1275
1463
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-kmskeyid
|
|
1276
1464
|
'''
|
|
@@ -1610,12 +1798,12 @@ class CfnContainerRecipe(
|
|
|
1610
1798
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnContainerRecipeProps",
|
|
1611
1799
|
jsii_struct_bases=[],
|
|
1612
1800
|
name_mapping={
|
|
1613
|
-
"components": "components",
|
|
1614
1801
|
"container_type": "containerType",
|
|
1615
1802
|
"name": "name",
|
|
1616
1803
|
"parent_image": "parentImage",
|
|
1617
1804
|
"target_repository": "targetRepository",
|
|
1618
1805
|
"version": "version",
|
|
1806
|
+
"components": "components",
|
|
1619
1807
|
"description": "description",
|
|
1620
1808
|
"dockerfile_template_data": "dockerfileTemplateData",
|
|
1621
1809
|
"dockerfile_template_uri": "dockerfileTemplateUri",
|
|
@@ -1631,12 +1819,12 @@ class CfnContainerRecipeProps:
|
|
|
1631
1819
|
def __init__(
|
|
1632
1820
|
self,
|
|
1633
1821
|
*,
|
|
1634
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1635
1822
|
container_type: builtins.str,
|
|
1636
1823
|
name: builtins.str,
|
|
1637
1824
|
parent_image: builtins.str,
|
|
1638
1825
|
target_repository: typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.TargetContainerRepositoryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1639
1826
|
version: builtins.str,
|
|
1827
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1640
1828
|
description: typing.Optional[builtins.str] = None,
|
|
1641
1829
|
dockerfile_template_data: typing.Optional[builtins.str] = None,
|
|
1642
1830
|
dockerfile_template_uri: typing.Optional[builtins.str] = None,
|
|
@@ -1649,18 +1837,18 @@ class CfnContainerRecipeProps:
|
|
|
1649
1837
|
) -> None:
|
|
1650
1838
|
'''Properties for defining a ``CfnContainerRecipe``.
|
|
1651
1839
|
|
|
1652
|
-
:param components: Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
1653
1840
|
:param container_type: Specifies the type of container, such as Docker.
|
|
1654
1841
|
:param name: The name of the container recipe.
|
|
1655
1842
|
:param parent_image: The base image for customizations specified in the container recipe. This can contain an Image Builder image resource ARN or a container image URI, for example ``amazonlinux:latest`` .
|
|
1656
1843
|
:param target_repository: The destination repository for the container image.
|
|
1657
1844
|
:param version: The semantic version of the container recipe. .. 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. *Filtering:* With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
1845
|
+
:param components: Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
1658
1846
|
:param description: The description of the container recipe.
|
|
1659
1847
|
:param dockerfile_template_data: Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
|
|
1660
1848
|
:param dockerfile_template_uri: The S3 URI for the Dockerfile that will be used to build your container image.
|
|
1661
1849
|
:param image_os_version_override: Specifies the operating system version for the base image.
|
|
1662
1850
|
:param instance_configuration: A group of options that can be used to configure an instance for building and testing container images.
|
|
1663
|
-
:param kms_key_id:
|
|
1851
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
1664
1852
|
:param platform_override: Specifies the operating system platform when you use a custom base image.
|
|
1665
1853
|
:param tags: Tags that are attached to the container recipe.
|
|
1666
1854
|
:param working_directory: The working directory for use during build and test workflows.
|
|
@@ -1675,13 +1863,6 @@ class CfnContainerRecipeProps:
|
|
|
1675
1863
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
1676
1864
|
|
|
1677
1865
|
cfn_container_recipe_props = imagebuilder.CfnContainerRecipeProps(
|
|
1678
|
-
components=[imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty(
|
|
1679
|
-
component_arn="componentArn",
|
|
1680
|
-
parameters=[imagebuilder.CfnContainerRecipe.ComponentParameterProperty(
|
|
1681
|
-
name="name",
|
|
1682
|
-
value=["value"]
|
|
1683
|
-
)]
|
|
1684
|
-
)],
|
|
1685
1866
|
container_type="containerType",
|
|
1686
1867
|
name="name",
|
|
1687
1868
|
parent_image="parentImage",
|
|
@@ -1692,6 +1873,13 @@ class CfnContainerRecipeProps:
|
|
|
1692
1873
|
version="version",
|
|
1693
1874
|
|
|
1694
1875
|
# the properties below are optional
|
|
1876
|
+
components=[imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty(
|
|
1877
|
+
component_arn="componentArn",
|
|
1878
|
+
parameters=[imagebuilder.CfnContainerRecipe.ComponentParameterProperty(
|
|
1879
|
+
name="name",
|
|
1880
|
+
value=["value"]
|
|
1881
|
+
)]
|
|
1882
|
+
)],
|
|
1695
1883
|
description="description",
|
|
1696
1884
|
dockerfile_template_data="dockerfileTemplateData",
|
|
1697
1885
|
dockerfile_template_uri="dockerfileTemplateUri",
|
|
@@ -1724,12 +1912,12 @@ class CfnContainerRecipeProps:
|
|
|
1724
1912
|
'''
|
|
1725
1913
|
if __debug__:
|
|
1726
1914
|
type_hints = typing.get_type_hints(_typecheckingstub__67f8d0f3d1045e15583795ba863ee1d218908e506567e7d12e0aa5861d44ab17)
|
|
1727
|
-
check_type(argname="argument components", value=components, expected_type=type_hints["components"])
|
|
1728
1915
|
check_type(argname="argument container_type", value=container_type, expected_type=type_hints["container_type"])
|
|
1729
1916
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1730
1917
|
check_type(argname="argument parent_image", value=parent_image, expected_type=type_hints["parent_image"])
|
|
1731
1918
|
check_type(argname="argument target_repository", value=target_repository, expected_type=type_hints["target_repository"])
|
|
1732
1919
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
1920
|
+
check_type(argname="argument components", value=components, expected_type=type_hints["components"])
|
|
1733
1921
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1734
1922
|
check_type(argname="argument dockerfile_template_data", value=dockerfile_template_data, expected_type=type_hints["dockerfile_template_data"])
|
|
1735
1923
|
check_type(argname="argument dockerfile_template_uri", value=dockerfile_template_uri, expected_type=type_hints["dockerfile_template_uri"])
|
|
@@ -1740,13 +1928,14 @@ class CfnContainerRecipeProps:
|
|
|
1740
1928
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1741
1929
|
check_type(argname="argument working_directory", value=working_directory, expected_type=type_hints["working_directory"])
|
|
1742
1930
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1743
|
-
"components": components,
|
|
1744
1931
|
"container_type": container_type,
|
|
1745
1932
|
"name": name,
|
|
1746
1933
|
"parent_image": parent_image,
|
|
1747
1934
|
"target_repository": target_repository,
|
|
1748
1935
|
"version": version,
|
|
1749
1936
|
}
|
|
1937
|
+
if components is not None:
|
|
1938
|
+
self._values["components"] = components
|
|
1750
1939
|
if description is not None:
|
|
1751
1940
|
self._values["description"] = description
|
|
1752
1941
|
if dockerfile_template_data is not None:
|
|
@@ -1766,20 +1955,6 @@ class CfnContainerRecipeProps:
|
|
|
1766
1955
|
if working_directory is not None:
|
|
1767
1956
|
self._values["working_directory"] = working_directory
|
|
1768
1957
|
|
|
1769
|
-
@builtins.property
|
|
1770
|
-
def components(
|
|
1771
|
-
self,
|
|
1772
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]]:
|
|
1773
|
-
'''Build and test components that are included in the container recipe.
|
|
1774
|
-
|
|
1775
|
-
Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
1776
|
-
|
|
1777
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-components
|
|
1778
|
-
'''
|
|
1779
|
-
result = self._values.get("components")
|
|
1780
|
-
assert result is not None, "Required property 'components' is missing"
|
|
1781
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]], result)
|
|
1782
|
-
|
|
1783
1958
|
@builtins.property
|
|
1784
1959
|
def container_type(self) -> builtins.str:
|
|
1785
1960
|
'''Specifies the type of container, such as Docker.
|
|
@@ -1844,6 +2019,19 @@ class CfnContainerRecipeProps:
|
|
|
1844
2019
|
assert result is not None, "Required property 'version' is missing"
|
|
1845
2020
|
return typing.cast(builtins.str, result)
|
|
1846
2021
|
|
|
2022
|
+
@builtins.property
|
|
2023
|
+
def components(
|
|
2024
|
+
self,
|
|
2025
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]]]:
|
|
2026
|
+
'''Build and test components that are included in the container recipe.
|
|
2027
|
+
|
|
2028
|
+
Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
2029
|
+
|
|
2030
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-components
|
|
2031
|
+
'''
|
|
2032
|
+
result = self._values.get("components")
|
|
2033
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]]], result)
|
|
2034
|
+
|
|
1847
2035
|
@builtins.property
|
|
1848
2036
|
def description(self) -> typing.Optional[builtins.str]:
|
|
1849
2037
|
'''The description of the container recipe.
|
|
@@ -1895,7 +2083,9 @@ class CfnContainerRecipeProps:
|
|
|
1895
2083
|
|
|
1896
2084
|
@builtins.property
|
|
1897
2085
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
1898
|
-
'''
|
|
2086
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies which KMS key is used to encrypt the container image for distribution to the target Region.
|
|
2087
|
+
|
|
2088
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
1899
2089
|
|
|
1900
2090
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-kmskeyid
|
|
1901
2091
|
'''
|
|
@@ -1941,7 +2131,7 @@ class CfnContainerRecipeProps:
|
|
|
1941
2131
|
)
|
|
1942
2132
|
|
|
1943
2133
|
|
|
1944
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
2134
|
+
@jsii.implements(_IInspectable_c2943556, _IDistributionConfigurationRef_4ec38268, _ITaggable_36806126)
|
|
1945
2135
|
class CfnDistributionConfiguration(
|
|
1946
2136
|
_CfnResource_9df397a6,
|
|
1947
2137
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2018,7 +2208,8 @@ class CfnDistributionConfiguration(
|
|
|
2018
2208
|
description: typing.Optional[builtins.str] = None,
|
|
2019
2209
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2020
2210
|
) -> None:
|
|
2021
|
-
'''
|
|
2211
|
+
'''Create a new ``AWS::ImageBuilder::DistributionConfiguration``.
|
|
2212
|
+
|
|
2022
2213
|
:param scope: Scope in which this resource is defined.
|
|
2023
2214
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2024
2215
|
:param distributions: The distributions of this distribution configuration formatted as an array of Distribution objects.
|
|
@@ -2091,6 +2282,14 @@ class CfnDistributionConfiguration(
|
|
|
2091
2282
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2092
2283
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2093
2284
|
|
|
2285
|
+
@builtins.property
|
|
2286
|
+
@jsii.member(jsii_name="distributionConfigurationRef")
|
|
2287
|
+
def distribution_configuration_ref(
|
|
2288
|
+
self,
|
|
2289
|
+
) -> _DistributionConfigurationReference_2b9d070d:
|
|
2290
|
+
'''A reference to a DistributionConfiguration resource.'''
|
|
2291
|
+
return typing.cast(_DistributionConfigurationReference_2b9d070d, jsii.get(self, "distributionConfigurationRef"))
|
|
2292
|
+
|
|
2094
2293
|
@builtins.property
|
|
2095
2294
|
@jsii.member(jsii_name="tags")
|
|
2096
2295
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -2184,7 +2383,7 @@ class CfnDistributionConfiguration(
|
|
|
2184
2383
|
|
|
2185
2384
|
:param ami_tags: The tags to apply to AMIs distributed to this Region.
|
|
2186
2385
|
:param description: The description of the AMI distribution configuration. Minimum and maximum length are in characters.
|
|
2187
|
-
:param kms_key_id: The KMS key
|
|
2386
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt the distributed image. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
2188
2387
|
:param launch_permission_configuration: Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.
|
|
2189
2388
|
:param name: The name of the output AMI.
|
|
2190
2389
|
:param target_account_ids: The ID of an account to which you want to distribute an image.
|
|
@@ -2260,7 +2459,9 @@ class CfnDistributionConfiguration(
|
|
|
2260
2459
|
|
|
2261
2460
|
@builtins.property
|
|
2262
2461
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
2263
|
-
'''The KMS key
|
|
2462
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt the distributed image.
|
|
2463
|
+
|
|
2464
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
2264
2465
|
|
|
2265
2466
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-kmskeyid
|
|
2266
2467
|
'''
|
|
@@ -3409,7 +3610,7 @@ class CfnDistributionConfigurationProps:
|
|
|
3409
3610
|
)
|
|
3410
3611
|
|
|
3411
3612
|
|
|
3412
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
3613
|
+
@jsii.implements(_IInspectable_c2943556, _IImageRef_e59af9ea, _ITaggable_36806126)
|
|
3413
3614
|
class CfnImage(
|
|
3414
3615
|
_CfnResource_9df397a6,
|
|
3415
3616
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3431,9 +3632,16 @@ class CfnImage(
|
|
|
3431
3632
|
|
|
3432
3633
|
cfn_image = imagebuilder.CfnImage(self, "MyCfnImage",
|
|
3433
3634
|
container_recipe_arn="containerRecipeArn",
|
|
3635
|
+
deletion_settings=imagebuilder.CfnImage.DeletionSettingsProperty(
|
|
3636
|
+
execution_role="executionRole"
|
|
3637
|
+
),
|
|
3434
3638
|
distribution_configuration_arn="distributionConfigurationArn",
|
|
3435
3639
|
enhanced_image_metadata_enabled=False,
|
|
3436
3640
|
execution_role="executionRole",
|
|
3641
|
+
image_pipeline_execution_settings=imagebuilder.CfnImage.ImagePipelineExecutionSettingsProperty(
|
|
3642
|
+
deployment_id="deploymentId",
|
|
3643
|
+
on_update=False
|
|
3644
|
+
),
|
|
3437
3645
|
image_recipe_arn="imageRecipeArn",
|
|
3438
3646
|
image_scanning_configuration=imagebuilder.CfnImage.ImageScanningConfigurationProperty(
|
|
3439
3647
|
ecr_configuration=imagebuilder.CfnImage.EcrConfigurationProperty(
|
|
@@ -3447,6 +3655,9 @@ class CfnImage(
|
|
|
3447
3655
|
timeout_minutes=123
|
|
3448
3656
|
),
|
|
3449
3657
|
infrastructure_configuration_arn="infrastructureConfigurationArn",
|
|
3658
|
+
logging_configuration=imagebuilder.CfnImage.ImageLoggingConfigurationProperty(
|
|
3659
|
+
log_group_name="logGroupName"
|
|
3660
|
+
),
|
|
3450
3661
|
tags={
|
|
3451
3662
|
"tags_key": "tags"
|
|
3452
3663
|
},
|
|
@@ -3468,27 +3679,34 @@ class CfnImage(
|
|
|
3468
3679
|
id: builtins.str,
|
|
3469
3680
|
*,
|
|
3470
3681
|
container_recipe_arn: typing.Optional[builtins.str] = None,
|
|
3682
|
+
deletion_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.DeletionSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3471
3683
|
distribution_configuration_arn: typing.Optional[builtins.str] = None,
|
|
3472
3684
|
enhanced_image_metadata_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3473
3685
|
execution_role: typing.Optional[builtins.str] = None,
|
|
3686
|
+
image_pipeline_execution_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.ImagePipelineExecutionSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3474
3687
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
3475
3688
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.ImageScanningConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3476
3689
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.ImageTestsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3477
3690
|
infrastructure_configuration_arn: typing.Optional[builtins.str] = None,
|
|
3691
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.ImageLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3478
3692
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3479
3693
|
workflows: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImage.WorkflowConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3480
3694
|
) -> None:
|
|
3481
|
-
'''
|
|
3695
|
+
'''Create a new ``AWS::ImageBuilder::Image``.
|
|
3696
|
+
|
|
3482
3697
|
:param scope: Scope in which this resource is defined.
|
|
3483
3698
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3484
3699
|
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
|
3700
|
+
:param deletion_settings: The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.
|
|
3485
3701
|
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
3486
3702
|
: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.
|
|
3487
3703
|
: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.
|
|
3704
|
+
:param image_pipeline_execution_settings: The settings for starting an image pipeline execution.
|
|
3488
3705
|
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
3489
3706
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
3490
3707
|
:param image_tests_configuration: The image tests configuration of the image.
|
|
3491
3708
|
: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.
|
|
3709
|
+
:param logging_configuration: The logging configuration that's defined for the image. Image Builder uses the defined settings to direct execution log output during image creation.
|
|
3492
3710
|
:param tags: The tags of the image.
|
|
3493
3711
|
:param workflows: Contains an array of workflow configuration objects.
|
|
3494
3712
|
'''
|
|
@@ -3498,13 +3716,16 @@ class CfnImage(
|
|
|
3498
3716
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3499
3717
|
props = CfnImageProps(
|
|
3500
3718
|
container_recipe_arn=container_recipe_arn,
|
|
3719
|
+
deletion_settings=deletion_settings,
|
|
3501
3720
|
distribution_configuration_arn=distribution_configuration_arn,
|
|
3502
3721
|
enhanced_image_metadata_enabled=enhanced_image_metadata_enabled,
|
|
3503
3722
|
execution_role=execution_role,
|
|
3723
|
+
image_pipeline_execution_settings=image_pipeline_execution_settings,
|
|
3504
3724
|
image_recipe_arn=image_recipe_arn,
|
|
3505
3725
|
image_scanning_configuration=image_scanning_configuration,
|
|
3506
3726
|
image_tests_configuration=image_tests_configuration,
|
|
3507
3727
|
infrastructure_configuration_arn=infrastructure_configuration_arn,
|
|
3728
|
+
logging_configuration=logging_configuration,
|
|
3508
3729
|
tags=tags,
|
|
3509
3730
|
workflows=workflows,
|
|
3510
3731
|
)
|
|
@@ -3574,6 +3795,59 @@ class CfnImage(
|
|
|
3574
3795
|
'''
|
|
3575
3796
|
return typing.cast(builtins.str, jsii.get(self, "attrImageUri"))
|
|
3576
3797
|
|
|
3798
|
+
@builtins.property
|
|
3799
|
+
@jsii.member(jsii_name="attrLatestVersion")
|
|
3800
|
+
def attr_latest_version(self) -> _IResolvable_da3f097b:
|
|
3801
|
+
'''The latest version references of the image.
|
|
3802
|
+
|
|
3803
|
+
:cloudformationAttribute: LatestVersion
|
|
3804
|
+
'''
|
|
3805
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLatestVersion"))
|
|
3806
|
+
|
|
3807
|
+
@builtins.property
|
|
3808
|
+
@jsii.member(jsii_name="attrLatestVersionArn")
|
|
3809
|
+
def attr_latest_version_arn(self) -> builtins.str:
|
|
3810
|
+
'''The Amazon Resource Name (ARN) of the image.
|
|
3811
|
+
|
|
3812
|
+
.. epigraph::
|
|
3813
|
+
|
|
3814
|
+
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
|
|
3815
|
+
|
|
3816
|
+
- Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
|
|
3817
|
+
- Version ARNs have only the first three nodes: ..
|
|
3818
|
+
- Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
|
|
3819
|
+
|
|
3820
|
+
:cloudformationAttribute: LatestVersion.Arn
|
|
3821
|
+
'''
|
|
3822
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionArn"))
|
|
3823
|
+
|
|
3824
|
+
@builtins.property
|
|
3825
|
+
@jsii.member(jsii_name="attrLatestVersionMajor")
|
|
3826
|
+
def attr_latest_version_major(self) -> builtins.str:
|
|
3827
|
+
'''The latest version ARN of the created image, with the same major version.
|
|
3828
|
+
|
|
3829
|
+
:cloudformationAttribute: LatestVersion.Major
|
|
3830
|
+
'''
|
|
3831
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMajor"))
|
|
3832
|
+
|
|
3833
|
+
@builtins.property
|
|
3834
|
+
@jsii.member(jsii_name="attrLatestVersionMinor")
|
|
3835
|
+
def attr_latest_version_minor(self) -> builtins.str:
|
|
3836
|
+
'''The latest version ARN of the created image, with the same minor version.
|
|
3837
|
+
|
|
3838
|
+
:cloudformationAttribute: LatestVersion.Minor
|
|
3839
|
+
'''
|
|
3840
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMinor"))
|
|
3841
|
+
|
|
3842
|
+
@builtins.property
|
|
3843
|
+
@jsii.member(jsii_name="attrLatestVersionPatch")
|
|
3844
|
+
def attr_latest_version_patch(self) -> builtins.str:
|
|
3845
|
+
'''The latest version ARN of the created image, with the same patch version.
|
|
3846
|
+
|
|
3847
|
+
:cloudformationAttribute: LatestVersion.Patch
|
|
3848
|
+
'''
|
|
3849
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionPatch"))
|
|
3850
|
+
|
|
3577
3851
|
@builtins.property
|
|
3578
3852
|
@jsii.member(jsii_name="attrName")
|
|
3579
3853
|
def attr_name(self) -> builtins.str:
|
|
@@ -3588,6 +3862,12 @@ class CfnImage(
|
|
|
3588
3862
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
3589
3863
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
3590
3864
|
|
|
3865
|
+
@builtins.property
|
|
3866
|
+
@jsii.member(jsii_name="imageRef")
|
|
3867
|
+
def image_ref(self) -> _ImageReference_e91728a0:
|
|
3868
|
+
'''A reference to a Image resource.'''
|
|
3869
|
+
return typing.cast(_ImageReference_e91728a0, jsii.get(self, "imageRef"))
|
|
3870
|
+
|
|
3591
3871
|
@builtins.property
|
|
3592
3872
|
@jsii.member(jsii_name="tags")
|
|
3593
3873
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -3607,6 +3887,24 @@ class CfnImage(
|
|
|
3607
3887
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3608
3888
|
jsii.set(self, "containerRecipeArn", value) # pyright: ignore[reportArgumentType]
|
|
3609
3889
|
|
|
3890
|
+
@builtins.property
|
|
3891
|
+
@jsii.member(jsii_name="deletionSettings")
|
|
3892
|
+
def deletion_settings(
|
|
3893
|
+
self,
|
|
3894
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.DeletionSettingsProperty"]]:
|
|
3895
|
+
'''The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.'''
|
|
3896
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.DeletionSettingsProperty"]], jsii.get(self, "deletionSettings"))
|
|
3897
|
+
|
|
3898
|
+
@deletion_settings.setter
|
|
3899
|
+
def deletion_settings(
|
|
3900
|
+
self,
|
|
3901
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.DeletionSettingsProperty"]],
|
|
3902
|
+
) -> None:
|
|
3903
|
+
if __debug__:
|
|
3904
|
+
type_hints = typing.get_type_hints(_typecheckingstub__544bfce84559868094f3e7328078dc35550b7f93a784ac66c94b1cff10f3ccd7)
|
|
3905
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3906
|
+
jsii.set(self, "deletionSettings", value) # pyright: ignore[reportArgumentType]
|
|
3907
|
+
|
|
3610
3908
|
@builtins.property
|
|
3611
3909
|
@jsii.member(jsii_name="distributionConfigurationArn")
|
|
3612
3910
|
def distribution_configuration_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -3654,6 +3952,24 @@ class CfnImage(
|
|
|
3654
3952
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3655
3953
|
jsii.set(self, "executionRole", value) # pyright: ignore[reportArgumentType]
|
|
3656
3954
|
|
|
3955
|
+
@builtins.property
|
|
3956
|
+
@jsii.member(jsii_name="imagePipelineExecutionSettings")
|
|
3957
|
+
def image_pipeline_execution_settings(
|
|
3958
|
+
self,
|
|
3959
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImagePipelineExecutionSettingsProperty"]]:
|
|
3960
|
+
'''The settings for starting an image pipeline execution.'''
|
|
3961
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImagePipelineExecutionSettingsProperty"]], jsii.get(self, "imagePipelineExecutionSettings"))
|
|
3962
|
+
|
|
3963
|
+
@image_pipeline_execution_settings.setter
|
|
3964
|
+
def image_pipeline_execution_settings(
|
|
3965
|
+
self,
|
|
3966
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImagePipelineExecutionSettingsProperty"]],
|
|
3967
|
+
) -> None:
|
|
3968
|
+
if __debug__:
|
|
3969
|
+
type_hints = typing.get_type_hints(_typecheckingstub__765c97cee8e3215eb55f2245654b86c14b65f3a9ba1e2438b730740600208e50)
|
|
3970
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3971
|
+
jsii.set(self, "imagePipelineExecutionSettings", value) # pyright: ignore[reportArgumentType]
|
|
3972
|
+
|
|
3657
3973
|
@builtins.property
|
|
3658
3974
|
@jsii.member(jsii_name="imageRecipeArn")
|
|
3659
3975
|
def image_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -3719,6 +4035,24 @@ class CfnImage(
|
|
|
3719
4035
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3720
4036
|
jsii.set(self, "infrastructureConfigurationArn", value) # pyright: ignore[reportArgumentType]
|
|
3721
4037
|
|
|
4038
|
+
@builtins.property
|
|
4039
|
+
@jsii.member(jsii_name="loggingConfiguration")
|
|
4040
|
+
def logging_configuration(
|
|
4041
|
+
self,
|
|
4042
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImageLoggingConfigurationProperty"]]:
|
|
4043
|
+
'''The logging configuration that's defined for the image.'''
|
|
4044
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImageLoggingConfigurationProperty"]], jsii.get(self, "loggingConfiguration"))
|
|
4045
|
+
|
|
4046
|
+
@logging_configuration.setter
|
|
4047
|
+
def logging_configuration(
|
|
4048
|
+
self,
|
|
4049
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImage.ImageLoggingConfigurationProperty"]],
|
|
4050
|
+
) -> None:
|
|
4051
|
+
if __debug__:
|
|
4052
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a3e3020758a024deeed0645c515a9c3a69ea5ecf40fc9a2133b40f82a94b72c2)
|
|
4053
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4054
|
+
jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4055
|
+
|
|
3722
4056
|
@builtins.property
|
|
3723
4057
|
@jsii.member(jsii_name="tagsRaw")
|
|
3724
4058
|
def tags_raw(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -3754,26 +4088,17 @@ class CfnImage(
|
|
|
3754
4088
|
jsii.set(self, "workflows", value) # pyright: ignore[reportArgumentType]
|
|
3755
4089
|
|
|
3756
4090
|
@jsii.data_type(
|
|
3757
|
-
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.
|
|
4091
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.DeletionSettingsProperty",
|
|
3758
4092
|
jsii_struct_bases=[],
|
|
3759
|
-
name_mapping={
|
|
3760
|
-
"container_tags": "containerTags",
|
|
3761
|
-
"repository_name": "repositoryName",
|
|
3762
|
-
},
|
|
4093
|
+
name_mapping={"execution_role": "executionRole"},
|
|
3763
4094
|
)
|
|
3764
|
-
class
|
|
3765
|
-
def __init__(
|
|
3766
|
-
|
|
3767
|
-
*,
|
|
3768
|
-
container_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3769
|
-
repository_name: typing.Optional[builtins.str] = None,
|
|
3770
|
-
) -> None:
|
|
3771
|
-
'''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
|
|
4095
|
+
class DeletionSettingsProperty:
|
|
4096
|
+
def __init__(self, *, execution_role: builtins.str) -> None:
|
|
4097
|
+
'''The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.
|
|
3772
4098
|
|
|
3773
|
-
:param
|
|
3774
|
-
:param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
|
|
4099
|
+
:param execution_role: The execution role to use for deleting the image, as well as underlying resources.
|
|
3775
4100
|
|
|
3776
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-
|
|
4101
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-deletionsettings.html
|
|
3777
4102
|
:exampleMetadata: fixture=_generated
|
|
3778
4103
|
|
|
3779
4104
|
Example::
|
|
@@ -3782,8 +4107,69 @@ class CfnImage(
|
|
|
3782
4107
|
# The values are placeholders you should change.
|
|
3783
4108
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
3784
4109
|
|
|
3785
|
-
|
|
3786
|
-
|
|
4110
|
+
deletion_settings_property = imagebuilder.CfnImage.DeletionSettingsProperty(
|
|
4111
|
+
execution_role="executionRole"
|
|
4112
|
+
)
|
|
4113
|
+
'''
|
|
4114
|
+
if __debug__:
|
|
4115
|
+
type_hints = typing.get_type_hints(_typecheckingstub__04bf6cab8b7124cbcc9788607150e16fc9081a064182f087aec262ac81413c5c)
|
|
4116
|
+
check_type(argname="argument execution_role", value=execution_role, expected_type=type_hints["execution_role"])
|
|
4117
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4118
|
+
"execution_role": execution_role,
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
@builtins.property
|
|
4122
|
+
def execution_role(self) -> builtins.str:
|
|
4123
|
+
'''The execution role to use for deleting the image, as well as underlying resources.
|
|
4124
|
+
|
|
4125
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-deletionsettings.html#cfn-imagebuilder-image-deletionsettings-executionrole
|
|
4126
|
+
'''
|
|
4127
|
+
result = self._values.get("execution_role")
|
|
4128
|
+
assert result is not None, "Required property 'execution_role' is missing"
|
|
4129
|
+
return typing.cast(builtins.str, result)
|
|
4130
|
+
|
|
4131
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4132
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4133
|
+
|
|
4134
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4135
|
+
return not (rhs == self)
|
|
4136
|
+
|
|
4137
|
+
def __repr__(self) -> str:
|
|
4138
|
+
return "DeletionSettingsProperty(%s)" % ", ".join(
|
|
4139
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4140
|
+
)
|
|
4141
|
+
|
|
4142
|
+
@jsii.data_type(
|
|
4143
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.EcrConfigurationProperty",
|
|
4144
|
+
jsii_struct_bases=[],
|
|
4145
|
+
name_mapping={
|
|
4146
|
+
"container_tags": "containerTags",
|
|
4147
|
+
"repository_name": "repositoryName",
|
|
4148
|
+
},
|
|
4149
|
+
)
|
|
4150
|
+
class EcrConfigurationProperty:
|
|
4151
|
+
def __init__(
|
|
4152
|
+
self,
|
|
4153
|
+
*,
|
|
4154
|
+
container_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4155
|
+
repository_name: typing.Optional[builtins.str] = None,
|
|
4156
|
+
) -> None:
|
|
4157
|
+
'''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
|
|
4158
|
+
|
|
4159
|
+
:param container_tags: Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
|
|
4160
|
+
:param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
|
|
4161
|
+
|
|
4162
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-ecrconfiguration.html
|
|
4163
|
+
:exampleMetadata: fixture=_generated
|
|
4164
|
+
|
|
4165
|
+
Example::
|
|
4166
|
+
|
|
4167
|
+
# The code below shows an example of how to instantiate this type.
|
|
4168
|
+
# The values are placeholders you should change.
|
|
4169
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
4170
|
+
|
|
4171
|
+
ecr_configuration_property = imagebuilder.CfnImage.EcrConfigurationProperty(
|
|
4172
|
+
container_tags=["containerTags"],
|
|
3787
4173
|
repository_name="repositoryName"
|
|
3788
4174
|
)
|
|
3789
4175
|
'''
|
|
@@ -3830,6 +4216,139 @@ class CfnImage(
|
|
|
3830
4216
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3831
4217
|
)
|
|
3832
4218
|
|
|
4219
|
+
@jsii.data_type(
|
|
4220
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.ImageLoggingConfigurationProperty",
|
|
4221
|
+
jsii_struct_bases=[],
|
|
4222
|
+
name_mapping={"log_group_name": "logGroupName"},
|
|
4223
|
+
)
|
|
4224
|
+
class ImageLoggingConfigurationProperty:
|
|
4225
|
+
def __init__(
|
|
4226
|
+
self,
|
|
4227
|
+
*,
|
|
4228
|
+
log_group_name: typing.Optional[builtins.str] = None,
|
|
4229
|
+
) -> None:
|
|
4230
|
+
'''The logging configuration that's defined for the image.
|
|
4231
|
+
|
|
4232
|
+
Image Builder uses the defined settings to direct execution log output during image creation.
|
|
4233
|
+
|
|
4234
|
+
:param log_group_name: The log group name that Image Builder uses for image creation. If not specified, the log group name defaults to ``/aws/imagebuilder/image-name`` .
|
|
4235
|
+
|
|
4236
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imageloggingconfiguration.html
|
|
4237
|
+
:exampleMetadata: fixture=_generated
|
|
4238
|
+
|
|
4239
|
+
Example::
|
|
4240
|
+
|
|
4241
|
+
# The code below shows an example of how to instantiate this type.
|
|
4242
|
+
# The values are placeholders you should change.
|
|
4243
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
4244
|
+
|
|
4245
|
+
image_logging_configuration_property = imagebuilder.CfnImage.ImageLoggingConfigurationProperty(
|
|
4246
|
+
log_group_name="logGroupName"
|
|
4247
|
+
)
|
|
4248
|
+
'''
|
|
4249
|
+
if __debug__:
|
|
4250
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f48c0bf82989235f735b3b537ceae8bf7cbb63f48573c8a5dac03547706ff000)
|
|
4251
|
+
check_type(argname="argument log_group_name", value=log_group_name, expected_type=type_hints["log_group_name"])
|
|
4252
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4253
|
+
if log_group_name is not None:
|
|
4254
|
+
self._values["log_group_name"] = log_group_name
|
|
4255
|
+
|
|
4256
|
+
@builtins.property
|
|
4257
|
+
def log_group_name(self) -> typing.Optional[builtins.str]:
|
|
4258
|
+
'''The log group name that Image Builder uses for image creation.
|
|
4259
|
+
|
|
4260
|
+
If not specified, the log group name defaults to ``/aws/imagebuilder/image-name`` .
|
|
4261
|
+
|
|
4262
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imageloggingconfiguration.html#cfn-imagebuilder-image-imageloggingconfiguration-loggroupname
|
|
4263
|
+
'''
|
|
4264
|
+
result = self._values.get("log_group_name")
|
|
4265
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4266
|
+
|
|
4267
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4268
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4269
|
+
|
|
4270
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4271
|
+
return not (rhs == self)
|
|
4272
|
+
|
|
4273
|
+
def __repr__(self) -> str:
|
|
4274
|
+
return "ImageLoggingConfigurationProperty(%s)" % ", ".join(
|
|
4275
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4276
|
+
)
|
|
4277
|
+
|
|
4278
|
+
@jsii.data_type(
|
|
4279
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.ImagePipelineExecutionSettingsProperty",
|
|
4280
|
+
jsii_struct_bases=[],
|
|
4281
|
+
name_mapping={"deployment_id": "deploymentId", "on_update": "onUpdate"},
|
|
4282
|
+
)
|
|
4283
|
+
class ImagePipelineExecutionSettingsProperty:
|
|
4284
|
+
def __init__(
|
|
4285
|
+
self,
|
|
4286
|
+
*,
|
|
4287
|
+
deployment_id: typing.Optional[builtins.str] = None,
|
|
4288
|
+
on_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4289
|
+
) -> None:
|
|
4290
|
+
'''The settings for starting an image pipeline execution.
|
|
4291
|
+
|
|
4292
|
+
:param deployment_id: The deployment ID of the pipeline, used to trigger new image pipeline executions.
|
|
4293
|
+
:param on_update: Whether to trigger the image pipeline when the pipeline is updated. False by default.
|
|
4294
|
+
|
|
4295
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagepipelineexecutionsettings.html
|
|
4296
|
+
:exampleMetadata: fixture=_generated
|
|
4297
|
+
|
|
4298
|
+
Example::
|
|
4299
|
+
|
|
4300
|
+
# The code below shows an example of how to instantiate this type.
|
|
4301
|
+
# The values are placeholders you should change.
|
|
4302
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
4303
|
+
|
|
4304
|
+
image_pipeline_execution_settings_property = imagebuilder.CfnImage.ImagePipelineExecutionSettingsProperty(
|
|
4305
|
+
deployment_id="deploymentId",
|
|
4306
|
+
on_update=False
|
|
4307
|
+
)
|
|
4308
|
+
'''
|
|
4309
|
+
if __debug__:
|
|
4310
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c579bbf2bc5b9c4748f83c74527cc9691311ca16fad5b824db5e51bc59607877)
|
|
4311
|
+
check_type(argname="argument deployment_id", value=deployment_id, expected_type=type_hints["deployment_id"])
|
|
4312
|
+
check_type(argname="argument on_update", value=on_update, expected_type=type_hints["on_update"])
|
|
4313
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4314
|
+
if deployment_id is not None:
|
|
4315
|
+
self._values["deployment_id"] = deployment_id
|
|
4316
|
+
if on_update is not None:
|
|
4317
|
+
self._values["on_update"] = on_update
|
|
4318
|
+
|
|
4319
|
+
@builtins.property
|
|
4320
|
+
def deployment_id(self) -> typing.Optional[builtins.str]:
|
|
4321
|
+
'''The deployment ID of the pipeline, used to trigger new image pipeline executions.
|
|
4322
|
+
|
|
4323
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagepipelineexecutionsettings.html#cfn-imagebuilder-image-imagepipelineexecutionsettings-deploymentid
|
|
4324
|
+
'''
|
|
4325
|
+
result = self._values.get("deployment_id")
|
|
4326
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4327
|
+
|
|
4328
|
+
@builtins.property
|
|
4329
|
+
def on_update(
|
|
4330
|
+
self,
|
|
4331
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4332
|
+
'''Whether to trigger the image pipeline when the pipeline is updated.
|
|
4333
|
+
|
|
4334
|
+
False by default.
|
|
4335
|
+
|
|
4336
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagepipelineexecutionsettings.html#cfn-imagebuilder-image-imagepipelineexecutionsettings-onupdate
|
|
4337
|
+
'''
|
|
4338
|
+
result = self._values.get("on_update")
|
|
4339
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
4340
|
+
|
|
4341
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4342
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4343
|
+
|
|
4344
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4345
|
+
return not (rhs == self)
|
|
4346
|
+
|
|
4347
|
+
def __repr__(self) -> str:
|
|
4348
|
+
return "ImagePipelineExecutionSettingsProperty(%s)" % ", ".join(
|
|
4349
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4350
|
+
)
|
|
4351
|
+
|
|
3833
4352
|
@jsii.data_type(
|
|
3834
4353
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.ImageScanningConfigurationProperty",
|
|
3835
4354
|
jsii_struct_bases=[],
|
|
@@ -3993,6 +4512,119 @@ class CfnImage(
|
|
|
3993
4512
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3994
4513
|
)
|
|
3995
4514
|
|
|
4515
|
+
@jsii.data_type(
|
|
4516
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.LatestVersionProperty",
|
|
4517
|
+
jsii_struct_bases=[],
|
|
4518
|
+
name_mapping={
|
|
4519
|
+
"arn": "arn",
|
|
4520
|
+
"major": "major",
|
|
4521
|
+
"minor": "minor",
|
|
4522
|
+
"patch": "patch",
|
|
4523
|
+
},
|
|
4524
|
+
)
|
|
4525
|
+
class LatestVersionProperty:
|
|
4526
|
+
def __init__(
|
|
4527
|
+
self,
|
|
4528
|
+
*,
|
|
4529
|
+
arn: typing.Optional[builtins.str] = None,
|
|
4530
|
+
major: typing.Optional[builtins.str] = None,
|
|
4531
|
+
minor: typing.Optional[builtins.str] = None,
|
|
4532
|
+
patch: typing.Optional[builtins.str] = None,
|
|
4533
|
+
) -> None:
|
|
4534
|
+
'''The latest version references of the image.
|
|
4535
|
+
|
|
4536
|
+
:param arn: The Amazon Resource Name (ARN) of the image. .. epigraph:: Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: - Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. - Version ARNs have only the first three nodes: .. - Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
|
|
4537
|
+
:param major: The latest version ARN of the created image, with the same major version.
|
|
4538
|
+
:param minor: The latest version ARN of the created image, with the same minor version.
|
|
4539
|
+
:param patch: The latest version ARN of the created image, with the same patch version.
|
|
4540
|
+
|
|
4541
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-latestversion.html
|
|
4542
|
+
:exampleMetadata: fixture=_generated
|
|
4543
|
+
|
|
4544
|
+
Example::
|
|
4545
|
+
|
|
4546
|
+
# The code below shows an example of how to instantiate this type.
|
|
4547
|
+
# The values are placeholders you should change.
|
|
4548
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
4549
|
+
|
|
4550
|
+
latest_version_property = imagebuilder.CfnImage.LatestVersionProperty(
|
|
4551
|
+
arn="arn",
|
|
4552
|
+
major="major",
|
|
4553
|
+
minor="minor",
|
|
4554
|
+
patch="patch"
|
|
4555
|
+
)
|
|
4556
|
+
'''
|
|
4557
|
+
if __debug__:
|
|
4558
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae579b3568475007ef3046d31af2cc00ebde2b499245bed681ab762a0fbf9641)
|
|
4559
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
4560
|
+
check_type(argname="argument major", value=major, expected_type=type_hints["major"])
|
|
4561
|
+
check_type(argname="argument minor", value=minor, expected_type=type_hints["minor"])
|
|
4562
|
+
check_type(argname="argument patch", value=patch, expected_type=type_hints["patch"])
|
|
4563
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4564
|
+
if arn is not None:
|
|
4565
|
+
self._values["arn"] = arn
|
|
4566
|
+
if major is not None:
|
|
4567
|
+
self._values["major"] = major
|
|
4568
|
+
if minor is not None:
|
|
4569
|
+
self._values["minor"] = minor
|
|
4570
|
+
if patch is not None:
|
|
4571
|
+
self._values["patch"] = patch
|
|
4572
|
+
|
|
4573
|
+
@builtins.property
|
|
4574
|
+
def arn(self) -> typing.Optional[builtins.str]:
|
|
4575
|
+
'''The Amazon Resource Name (ARN) of the image.
|
|
4576
|
+
|
|
4577
|
+
.. epigraph::
|
|
4578
|
+
|
|
4579
|
+
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
|
|
4580
|
+
|
|
4581
|
+
- Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
|
|
4582
|
+
- Version ARNs have only the first three nodes: ..
|
|
4583
|
+
- Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
|
|
4584
|
+
|
|
4585
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-latestversion.html#cfn-imagebuilder-image-latestversion-arn
|
|
4586
|
+
'''
|
|
4587
|
+
result = self._values.get("arn")
|
|
4588
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4589
|
+
|
|
4590
|
+
@builtins.property
|
|
4591
|
+
def major(self) -> typing.Optional[builtins.str]:
|
|
4592
|
+
'''The latest version ARN of the created image, with the same major version.
|
|
4593
|
+
|
|
4594
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-latestversion.html#cfn-imagebuilder-image-latestversion-major
|
|
4595
|
+
'''
|
|
4596
|
+
result = self._values.get("major")
|
|
4597
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4598
|
+
|
|
4599
|
+
@builtins.property
|
|
4600
|
+
def minor(self) -> typing.Optional[builtins.str]:
|
|
4601
|
+
'''The latest version ARN of the created image, with the same minor version.
|
|
4602
|
+
|
|
4603
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-latestversion.html#cfn-imagebuilder-image-latestversion-minor
|
|
4604
|
+
'''
|
|
4605
|
+
result = self._values.get("minor")
|
|
4606
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4607
|
+
|
|
4608
|
+
@builtins.property
|
|
4609
|
+
def patch(self) -> typing.Optional[builtins.str]:
|
|
4610
|
+
'''The latest version ARN of the created image, with the same patch version.
|
|
4611
|
+
|
|
4612
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-latestversion.html#cfn-imagebuilder-image-latestversion-patch
|
|
4613
|
+
'''
|
|
4614
|
+
result = self._values.get("patch")
|
|
4615
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4616
|
+
|
|
4617
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4618
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4619
|
+
|
|
4620
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4621
|
+
return not (rhs == self)
|
|
4622
|
+
|
|
4623
|
+
def __repr__(self) -> str:
|
|
4624
|
+
return "LatestVersionProperty(%s)" % ", ".join(
|
|
4625
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4626
|
+
)
|
|
4627
|
+
|
|
3996
4628
|
@jsii.data_type(
|
|
3997
4629
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImage.WorkflowConfigurationProperty",
|
|
3998
4630
|
jsii_struct_bases=[],
|
|
@@ -4176,7 +4808,7 @@ class CfnImage(
|
|
|
4176
4808
|
)
|
|
4177
4809
|
|
|
4178
4810
|
|
|
4179
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
4811
|
+
@jsii.implements(_IInspectable_c2943556, _IImagePipelineRef_e3aa2681, _ITaggable_36806126)
|
|
4180
4812
|
class CfnImagePipeline(
|
|
4181
4813
|
_CfnResource_9df397a6,
|
|
4182
4814
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4218,7 +4850,14 @@ class CfnImagePipeline(
|
|
|
4218
4850
|
image_tests_enabled=False,
|
|
4219
4851
|
timeout_minutes=123
|
|
4220
4852
|
),
|
|
4853
|
+
logging_configuration=imagebuilder.CfnImagePipeline.PipelineLoggingConfigurationProperty(
|
|
4854
|
+
image_log_group_name="imageLogGroupName",
|
|
4855
|
+
pipeline_log_group_name="pipelineLogGroupName"
|
|
4856
|
+
),
|
|
4221
4857
|
schedule=imagebuilder.CfnImagePipeline.ScheduleProperty(
|
|
4858
|
+
auto_disable_policy=imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty(
|
|
4859
|
+
failure_count=123
|
|
4860
|
+
),
|
|
4222
4861
|
pipeline_execution_start_condition="pipelineExecutionStartCondition",
|
|
4223
4862
|
schedule_expression="scheduleExpression"
|
|
4224
4863
|
),
|
|
@@ -4253,12 +4892,14 @@ class CfnImagePipeline(
|
|
|
4253
4892
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
4254
4893
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.ImageScanningConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4255
4894
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.ImageTestsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4895
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.PipelineLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4256
4896
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.ScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4257
4897
|
status: typing.Optional[builtins.str] = None,
|
|
4258
4898
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
4259
4899
|
workflows: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.WorkflowConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4260
4900
|
) -> None:
|
|
4261
|
-
'''
|
|
4901
|
+
'''Create a new ``AWS::ImageBuilder::ImagePipeline``.
|
|
4902
|
+
|
|
4262
4903
|
:param scope: Scope in which this resource is defined.
|
|
4263
4904
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4264
4905
|
:param infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
|
|
@@ -4271,6 +4912,7 @@ class CfnImagePipeline(
|
|
|
4271
4912
|
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
|
|
4272
4913
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
4273
4914
|
:param image_tests_configuration: The configuration of the image tests that run after image creation to ensure the quality of the image that was created.
|
|
4915
|
+
:param logging_configuration: Defines logging configuration for the output image.
|
|
4274
4916
|
:param schedule: The schedule of the image pipeline. A schedule configures how often and when a pipeline automatically creates a new image.
|
|
4275
4917
|
:param status: The status of the image pipeline.
|
|
4276
4918
|
:param tags: The tags of this image pipeline.
|
|
@@ -4291,6 +4933,7 @@ class CfnImagePipeline(
|
|
|
4291
4933
|
image_recipe_arn=image_recipe_arn,
|
|
4292
4934
|
image_scanning_configuration=image_scanning_configuration,
|
|
4293
4935
|
image_tests_configuration=image_tests_configuration,
|
|
4936
|
+
logging_configuration=logging_configuration,
|
|
4294
4937
|
schedule=schedule,
|
|
4295
4938
|
status=status,
|
|
4296
4939
|
tags=tags,
|
|
@@ -4340,6 +4983,15 @@ class CfnImagePipeline(
|
|
|
4340
4983
|
'''
|
|
4341
4984
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
4342
4985
|
|
|
4986
|
+
@builtins.property
|
|
4987
|
+
@jsii.member(jsii_name="attrDeploymentId")
|
|
4988
|
+
def attr_deployment_id(self) -> builtins.str:
|
|
4989
|
+
'''The deployment ID of the pipeline, used for resource create/update triggers.
|
|
4990
|
+
|
|
4991
|
+
:cloudformationAttribute: DeploymentId
|
|
4992
|
+
'''
|
|
4993
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDeploymentId"))
|
|
4994
|
+
|
|
4343
4995
|
@builtins.property
|
|
4344
4996
|
@jsii.member(jsii_name="attrName")
|
|
4345
4997
|
def attr_name(self) -> builtins.str:
|
|
@@ -4354,6 +5006,12 @@ class CfnImagePipeline(
|
|
|
4354
5006
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4355
5007
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4356
5008
|
|
|
5009
|
+
@builtins.property
|
|
5010
|
+
@jsii.member(jsii_name="imagePipelineRef")
|
|
5011
|
+
def image_pipeline_ref(self) -> _ImagePipelineReference_e701addc:
|
|
5012
|
+
'''A reference to a ImagePipeline resource.'''
|
|
5013
|
+
return typing.cast(_ImagePipelineReference_e701addc, jsii.get(self, "imagePipelineRef"))
|
|
5014
|
+
|
|
4357
5015
|
@builtins.property
|
|
4358
5016
|
@jsii.member(jsii_name="tags")
|
|
4359
5017
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -4508,6 +5166,24 @@ class CfnImagePipeline(
|
|
|
4508
5166
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4509
5167
|
jsii.set(self, "imageTestsConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4510
5168
|
|
|
5169
|
+
@builtins.property
|
|
5170
|
+
@jsii.member(jsii_name="loggingConfiguration")
|
|
5171
|
+
def logging_configuration(
|
|
5172
|
+
self,
|
|
5173
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImagePipeline.PipelineLoggingConfigurationProperty"]]:
|
|
5174
|
+
'''Defines logging configuration for the output image.'''
|
|
5175
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImagePipeline.PipelineLoggingConfigurationProperty"]], jsii.get(self, "loggingConfiguration"))
|
|
5176
|
+
|
|
5177
|
+
@logging_configuration.setter
|
|
5178
|
+
def logging_configuration(
|
|
5179
|
+
self,
|
|
5180
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImagePipeline.PipelineLoggingConfigurationProperty"]],
|
|
5181
|
+
) -> None:
|
|
5182
|
+
if __debug__:
|
|
5183
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd669ff1d1a241fd9694fe5f0927bdc4b1cdbf105330ca8df7626d0785047d5e)
|
|
5184
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5185
|
+
jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
5186
|
+
|
|
4511
5187
|
@builtins.property
|
|
4512
5188
|
@jsii.member(jsii_name="schedule")
|
|
4513
5189
|
def schedule(
|
|
@@ -4573,6 +5249,58 @@ class CfnImagePipeline(
|
|
|
4573
5249
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4574
5250
|
jsii.set(self, "workflows", value) # pyright: ignore[reportArgumentType]
|
|
4575
5251
|
|
|
5252
|
+
@jsii.data_type(
|
|
5253
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty",
|
|
5254
|
+
jsii_struct_bases=[],
|
|
5255
|
+
name_mapping={"failure_count": "failureCount"},
|
|
5256
|
+
)
|
|
5257
|
+
class AutoDisablePolicyProperty:
|
|
5258
|
+
def __init__(self, *, failure_count: jsii.Number) -> None:
|
|
5259
|
+
'''Defines the rules by which an image pipeline is automatically disabled when it fails.
|
|
5260
|
+
|
|
5261
|
+
:param failure_count: The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline.
|
|
5262
|
+
|
|
5263
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-autodisablepolicy.html
|
|
5264
|
+
:exampleMetadata: fixture=_generated
|
|
5265
|
+
|
|
5266
|
+
Example::
|
|
5267
|
+
|
|
5268
|
+
# The code below shows an example of how to instantiate this type.
|
|
5269
|
+
# The values are placeholders you should change.
|
|
5270
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
5271
|
+
|
|
5272
|
+
auto_disable_policy_property = imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty(
|
|
5273
|
+
failure_count=123
|
|
5274
|
+
)
|
|
5275
|
+
'''
|
|
5276
|
+
if __debug__:
|
|
5277
|
+
type_hints = typing.get_type_hints(_typecheckingstub__69b844c16b5b7fe86f960e35030a259ca786bf1c7c25272436fa39cdc264de05)
|
|
5278
|
+
check_type(argname="argument failure_count", value=failure_count, expected_type=type_hints["failure_count"])
|
|
5279
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5280
|
+
"failure_count": failure_count,
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
@builtins.property
|
|
5284
|
+
def failure_count(self) -> jsii.Number:
|
|
5285
|
+
'''The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline.
|
|
5286
|
+
|
|
5287
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-autodisablepolicy.html#cfn-imagebuilder-imagepipeline-autodisablepolicy-failurecount
|
|
5288
|
+
'''
|
|
5289
|
+
result = self._values.get("failure_count")
|
|
5290
|
+
assert result is not None, "Required property 'failure_count' is missing"
|
|
5291
|
+
return typing.cast(jsii.Number, result)
|
|
5292
|
+
|
|
5293
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5294
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5295
|
+
|
|
5296
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5297
|
+
return not (rhs == self)
|
|
5298
|
+
|
|
5299
|
+
def __repr__(self) -> str:
|
|
5300
|
+
return "AutoDisablePolicyProperty(%s)" % ", ".join(
|
|
5301
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5302
|
+
)
|
|
5303
|
+
|
|
4576
5304
|
@jsii.data_type(
|
|
4577
5305
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImagePipeline.EcrConfigurationProperty",
|
|
4578
5306
|
jsii_struct_bases=[],
|
|
@@ -4813,10 +5541,88 @@ class CfnImagePipeline(
|
|
|
4813
5541
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4814
5542
|
)
|
|
4815
5543
|
|
|
5544
|
+
@jsii.data_type(
|
|
5545
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImagePipeline.PipelineLoggingConfigurationProperty",
|
|
5546
|
+
jsii_struct_bases=[],
|
|
5547
|
+
name_mapping={
|
|
5548
|
+
"image_log_group_name": "imageLogGroupName",
|
|
5549
|
+
"pipeline_log_group_name": "pipelineLogGroupName",
|
|
5550
|
+
},
|
|
5551
|
+
)
|
|
5552
|
+
class PipelineLoggingConfigurationProperty:
|
|
5553
|
+
def __init__(
|
|
5554
|
+
self,
|
|
5555
|
+
*,
|
|
5556
|
+
image_log_group_name: typing.Optional[builtins.str] = None,
|
|
5557
|
+
pipeline_log_group_name: typing.Optional[builtins.str] = None,
|
|
5558
|
+
) -> None:
|
|
5559
|
+
'''The logging configuration that's defined for pipeline execution.
|
|
5560
|
+
|
|
5561
|
+
:param image_log_group_name: The log group name that Image Builder uses for image creation. If not specified, the log group name defaults to ``/aws/imagebuilder/image-name`` .
|
|
5562
|
+
:param pipeline_log_group_name: The log group name that Image Builder uses for the log output during creation of a new pipeline. If not specified, the pipeline log group name defaults to ``/aws/imagebuilder/pipeline/pipeline-name`` .
|
|
5563
|
+
|
|
5564
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-pipelineloggingconfiguration.html
|
|
5565
|
+
:exampleMetadata: fixture=_generated
|
|
5566
|
+
|
|
5567
|
+
Example::
|
|
5568
|
+
|
|
5569
|
+
# The code below shows an example of how to instantiate this type.
|
|
5570
|
+
# The values are placeholders you should change.
|
|
5571
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
5572
|
+
|
|
5573
|
+
pipeline_logging_configuration_property = imagebuilder.CfnImagePipeline.PipelineLoggingConfigurationProperty(
|
|
5574
|
+
image_log_group_name="imageLogGroupName",
|
|
5575
|
+
pipeline_log_group_name="pipelineLogGroupName"
|
|
5576
|
+
)
|
|
5577
|
+
'''
|
|
5578
|
+
if __debug__:
|
|
5579
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2af353350682d5947ff1643b9bf2422511eaee659a470f07d53aac235328167a)
|
|
5580
|
+
check_type(argname="argument image_log_group_name", value=image_log_group_name, expected_type=type_hints["image_log_group_name"])
|
|
5581
|
+
check_type(argname="argument pipeline_log_group_name", value=pipeline_log_group_name, expected_type=type_hints["pipeline_log_group_name"])
|
|
5582
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5583
|
+
if image_log_group_name is not None:
|
|
5584
|
+
self._values["image_log_group_name"] = image_log_group_name
|
|
5585
|
+
if pipeline_log_group_name is not None:
|
|
5586
|
+
self._values["pipeline_log_group_name"] = pipeline_log_group_name
|
|
5587
|
+
|
|
5588
|
+
@builtins.property
|
|
5589
|
+
def image_log_group_name(self) -> typing.Optional[builtins.str]:
|
|
5590
|
+
'''The log group name that Image Builder uses for image creation.
|
|
5591
|
+
|
|
5592
|
+
If not specified, the log group name defaults to ``/aws/imagebuilder/image-name`` .
|
|
5593
|
+
|
|
5594
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-pipelineloggingconfiguration.html#cfn-imagebuilder-imagepipeline-pipelineloggingconfiguration-imageloggroupname
|
|
5595
|
+
'''
|
|
5596
|
+
result = self._values.get("image_log_group_name")
|
|
5597
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5598
|
+
|
|
5599
|
+
@builtins.property
|
|
5600
|
+
def pipeline_log_group_name(self) -> typing.Optional[builtins.str]:
|
|
5601
|
+
'''The log group name that Image Builder uses for the log output during creation of a new pipeline.
|
|
5602
|
+
|
|
5603
|
+
If not specified, the pipeline log group name defaults to ``/aws/imagebuilder/pipeline/pipeline-name`` .
|
|
5604
|
+
|
|
5605
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-pipelineloggingconfiguration.html#cfn-imagebuilder-imagepipeline-pipelineloggingconfiguration-pipelineloggroupname
|
|
5606
|
+
'''
|
|
5607
|
+
result = self._values.get("pipeline_log_group_name")
|
|
5608
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5609
|
+
|
|
5610
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5611
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5612
|
+
|
|
5613
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5614
|
+
return not (rhs == self)
|
|
5615
|
+
|
|
5616
|
+
def __repr__(self) -> str:
|
|
5617
|
+
return "PipelineLoggingConfigurationProperty(%s)" % ", ".join(
|
|
5618
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5619
|
+
)
|
|
5620
|
+
|
|
4816
5621
|
@jsii.data_type(
|
|
4817
5622
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImagePipeline.ScheduleProperty",
|
|
4818
5623
|
jsii_struct_bases=[],
|
|
4819
5624
|
name_mapping={
|
|
5625
|
+
"auto_disable_policy": "autoDisablePolicy",
|
|
4820
5626
|
"pipeline_execution_start_condition": "pipelineExecutionStartCondition",
|
|
4821
5627
|
"schedule_expression": "scheduleExpression",
|
|
4822
5628
|
},
|
|
@@ -4825,11 +5631,13 @@ class CfnImagePipeline(
|
|
|
4825
5631
|
def __init__(
|
|
4826
5632
|
self,
|
|
4827
5633
|
*,
|
|
5634
|
+
auto_disable_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImagePipeline.AutoDisablePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4828
5635
|
pipeline_execution_start_condition: typing.Optional[builtins.str] = None,
|
|
4829
5636
|
schedule_expression: typing.Optional[builtins.str] = None,
|
|
4830
5637
|
) -> None:
|
|
4831
5638
|
'''A schedule configures when and how often a pipeline will automatically create a new image.
|
|
4832
5639
|
|
|
5640
|
+
:param auto_disable_policy: The policy that configures when Image Builder should automatically disable a pipeline that is failing.
|
|
4833
5641
|
:param pipeline_execution_start_condition: The condition configures when the pipeline should trigger a new image build. When the ``pipelineExecutionStartCondition`` is set to ``EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`` , and you use semantic version filters on the base image or components in your image recipe, Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to ``EXPRESSION_MATCH_ONLY`` , it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see `CreateComponent <https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html>`_ in the *Image Builder API Reference* .
|
|
4834
5642
|
:param schedule_expression: The cron expression determines how often EC2 Image Builder evaluates your ``pipelineExecutionStartCondition`` . For information on how to format a cron expression in Image Builder, see `Use cron expressions in EC2 Image Builder <https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html>`_ .
|
|
4835
5643
|
|
|
@@ -4843,20 +5651,37 @@ class CfnImagePipeline(
|
|
|
4843
5651
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
4844
5652
|
|
|
4845
5653
|
schedule_property = imagebuilder.CfnImagePipeline.ScheduleProperty(
|
|
5654
|
+
auto_disable_policy=imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty(
|
|
5655
|
+
failure_count=123
|
|
5656
|
+
),
|
|
4846
5657
|
pipeline_execution_start_condition="pipelineExecutionStartCondition",
|
|
4847
5658
|
schedule_expression="scheduleExpression"
|
|
4848
5659
|
)
|
|
4849
5660
|
'''
|
|
4850
5661
|
if __debug__:
|
|
4851
5662
|
type_hints = typing.get_type_hints(_typecheckingstub__02783d051498bb630cd6a27d361c0750914a59f05623585e0808549e9248bae0)
|
|
5663
|
+
check_type(argname="argument auto_disable_policy", value=auto_disable_policy, expected_type=type_hints["auto_disable_policy"])
|
|
4852
5664
|
check_type(argname="argument pipeline_execution_start_condition", value=pipeline_execution_start_condition, expected_type=type_hints["pipeline_execution_start_condition"])
|
|
4853
5665
|
check_type(argname="argument schedule_expression", value=schedule_expression, expected_type=type_hints["schedule_expression"])
|
|
4854
5666
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5667
|
+
if auto_disable_policy is not None:
|
|
5668
|
+
self._values["auto_disable_policy"] = auto_disable_policy
|
|
4855
5669
|
if pipeline_execution_start_condition is not None:
|
|
4856
5670
|
self._values["pipeline_execution_start_condition"] = pipeline_execution_start_condition
|
|
4857
5671
|
if schedule_expression is not None:
|
|
4858
5672
|
self._values["schedule_expression"] = schedule_expression
|
|
4859
5673
|
|
|
5674
|
+
@builtins.property
|
|
5675
|
+
def auto_disable_policy(
|
|
5676
|
+
self,
|
|
5677
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImagePipeline.AutoDisablePolicyProperty"]]:
|
|
5678
|
+
'''The policy that configures when Image Builder should automatically disable a pipeline that is failing.
|
|
5679
|
+
|
|
5680
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html#cfn-imagebuilder-imagepipeline-schedule-autodisablepolicy
|
|
5681
|
+
'''
|
|
5682
|
+
result = self._values.get("auto_disable_policy")
|
|
5683
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnImagePipeline.AutoDisablePolicyProperty"]], result)
|
|
5684
|
+
|
|
4860
5685
|
@builtins.property
|
|
4861
5686
|
def pipeline_execution_start_condition(self) -> typing.Optional[builtins.str]:
|
|
4862
5687
|
'''The condition configures when the pipeline should trigger a new image build.
|
|
@@ -5087,6 +5912,7 @@ class CfnImagePipeline(
|
|
|
5087
5912
|
"image_recipe_arn": "imageRecipeArn",
|
|
5088
5913
|
"image_scanning_configuration": "imageScanningConfiguration",
|
|
5089
5914
|
"image_tests_configuration": "imageTestsConfiguration",
|
|
5915
|
+
"logging_configuration": "loggingConfiguration",
|
|
5090
5916
|
"schedule": "schedule",
|
|
5091
5917
|
"status": "status",
|
|
5092
5918
|
"tags": "tags",
|
|
@@ -5107,6 +5933,7 @@ class CfnImagePipelineProps:
|
|
|
5107
5933
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
5108
5934
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5109
5935
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5936
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.PipelineLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5110
5937
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5111
5938
|
status: typing.Optional[builtins.str] = None,
|
|
5112
5939
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
@@ -5124,6 +5951,7 @@ class CfnImagePipelineProps:
|
|
|
5124
5951
|
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
|
|
5125
5952
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
5126
5953
|
:param image_tests_configuration: The configuration of the image tests that run after image creation to ensure the quality of the image that was created.
|
|
5954
|
+
:param logging_configuration: Defines logging configuration for the output image.
|
|
5127
5955
|
:param schedule: The schedule of the image pipeline. A schedule configures how often and when a pipeline automatically creates a new image.
|
|
5128
5956
|
:param status: The status of the image pipeline.
|
|
5129
5957
|
:param tags: The tags of this image pipeline.
|
|
@@ -5160,7 +5988,14 @@ class CfnImagePipelineProps:
|
|
|
5160
5988
|
image_tests_enabled=False,
|
|
5161
5989
|
timeout_minutes=123
|
|
5162
5990
|
),
|
|
5991
|
+
logging_configuration=imagebuilder.CfnImagePipeline.PipelineLoggingConfigurationProperty(
|
|
5992
|
+
image_log_group_name="imageLogGroupName",
|
|
5993
|
+
pipeline_log_group_name="pipelineLogGroupName"
|
|
5994
|
+
),
|
|
5163
5995
|
schedule=imagebuilder.CfnImagePipeline.ScheduleProperty(
|
|
5996
|
+
auto_disable_policy=imagebuilder.CfnImagePipeline.AutoDisablePolicyProperty(
|
|
5997
|
+
failure_count=123
|
|
5998
|
+
),
|
|
5164
5999
|
pipeline_execution_start_condition="pipelineExecutionStartCondition",
|
|
5165
6000
|
schedule_expression="scheduleExpression"
|
|
5166
6001
|
),
|
|
@@ -5191,6 +6026,7 @@ class CfnImagePipelineProps:
|
|
|
5191
6026
|
check_type(argname="argument image_recipe_arn", value=image_recipe_arn, expected_type=type_hints["image_recipe_arn"])
|
|
5192
6027
|
check_type(argname="argument image_scanning_configuration", value=image_scanning_configuration, expected_type=type_hints["image_scanning_configuration"])
|
|
5193
6028
|
check_type(argname="argument image_tests_configuration", value=image_tests_configuration, expected_type=type_hints["image_tests_configuration"])
|
|
6029
|
+
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
5194
6030
|
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
5195
6031
|
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
5196
6032
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -5215,6 +6051,8 @@ class CfnImagePipelineProps:
|
|
|
5215
6051
|
self._values["image_scanning_configuration"] = image_scanning_configuration
|
|
5216
6052
|
if image_tests_configuration is not None:
|
|
5217
6053
|
self._values["image_tests_configuration"] = image_tests_configuration
|
|
6054
|
+
if logging_configuration is not None:
|
|
6055
|
+
self._values["logging_configuration"] = logging_configuration
|
|
5218
6056
|
if schedule is not None:
|
|
5219
6057
|
self._values["schedule"] = schedule
|
|
5220
6058
|
if status is not None:
|
|
@@ -5324,6 +6162,17 @@ class CfnImagePipelineProps:
|
|
|
5324
6162
|
result = self._values.get("image_tests_configuration")
|
|
5325
6163
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImagePipeline.ImageTestsConfigurationProperty]], result)
|
|
5326
6164
|
|
|
6165
|
+
@builtins.property
|
|
6166
|
+
def logging_configuration(
|
|
6167
|
+
self,
|
|
6168
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImagePipeline.PipelineLoggingConfigurationProperty]]:
|
|
6169
|
+
'''Defines logging configuration for the output image.
|
|
6170
|
+
|
|
6171
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-loggingconfiguration
|
|
6172
|
+
'''
|
|
6173
|
+
result = self._values.get("logging_configuration")
|
|
6174
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImagePipeline.PipelineLoggingConfigurationProperty]], result)
|
|
6175
|
+
|
|
5327
6176
|
@builtins.property
|
|
5328
6177
|
def schedule(
|
|
5329
6178
|
self,
|
|
@@ -5383,13 +6232,16 @@ class CfnImagePipelineProps:
|
|
|
5383
6232
|
jsii_struct_bases=[],
|
|
5384
6233
|
name_mapping={
|
|
5385
6234
|
"container_recipe_arn": "containerRecipeArn",
|
|
6235
|
+
"deletion_settings": "deletionSettings",
|
|
5386
6236
|
"distribution_configuration_arn": "distributionConfigurationArn",
|
|
5387
6237
|
"enhanced_image_metadata_enabled": "enhancedImageMetadataEnabled",
|
|
5388
6238
|
"execution_role": "executionRole",
|
|
6239
|
+
"image_pipeline_execution_settings": "imagePipelineExecutionSettings",
|
|
5389
6240
|
"image_recipe_arn": "imageRecipeArn",
|
|
5390
6241
|
"image_scanning_configuration": "imageScanningConfiguration",
|
|
5391
6242
|
"image_tests_configuration": "imageTestsConfiguration",
|
|
5392
6243
|
"infrastructure_configuration_arn": "infrastructureConfigurationArn",
|
|
6244
|
+
"logging_configuration": "loggingConfiguration",
|
|
5393
6245
|
"tags": "tags",
|
|
5394
6246
|
"workflows": "workflows",
|
|
5395
6247
|
},
|
|
@@ -5399,26 +6251,32 @@ class CfnImageProps:
|
|
|
5399
6251
|
self,
|
|
5400
6252
|
*,
|
|
5401
6253
|
container_recipe_arn: typing.Optional[builtins.str] = None,
|
|
6254
|
+
deletion_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.DeletionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5402
6255
|
distribution_configuration_arn: typing.Optional[builtins.str] = None,
|
|
5403
6256
|
enhanced_image_metadata_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5404
6257
|
execution_role: typing.Optional[builtins.str] = None,
|
|
6258
|
+
image_pipeline_execution_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImagePipelineExecutionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5405
6259
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
5406
6260
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5407
6261
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5408
6262
|
infrastructure_configuration_arn: typing.Optional[builtins.str] = None,
|
|
6263
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5409
6264
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5410
6265
|
workflows: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.WorkflowConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5411
6266
|
) -> None:
|
|
5412
6267
|
'''Properties for defining a ``CfnImage``.
|
|
5413
6268
|
|
|
5414
6269
|
:param container_recipe_arn: The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
|
6270
|
+
:param deletion_settings: The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.
|
|
5415
6271
|
:param distribution_configuration_arn: The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
5416
6272
|
: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.
|
|
5417
6273
|
: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.
|
|
6274
|
+
:param image_pipeline_execution_settings: The settings for starting an image pipeline execution.
|
|
5418
6275
|
:param image_recipe_arn: The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
5419
6276
|
:param image_scanning_configuration: Contains settings for vulnerability scans.
|
|
5420
6277
|
:param image_tests_configuration: The image tests configuration of the image.
|
|
5421
6278
|
: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.
|
|
6279
|
+
:param logging_configuration: The logging configuration that's defined for the image. Image Builder uses the defined settings to direct execution log output during image creation.
|
|
5422
6280
|
:param tags: The tags of the image.
|
|
5423
6281
|
:param workflows: Contains an array of workflow configuration objects.
|
|
5424
6282
|
|
|
@@ -5433,9 +6291,16 @@ class CfnImageProps:
|
|
|
5433
6291
|
|
|
5434
6292
|
cfn_image_props = imagebuilder.CfnImageProps(
|
|
5435
6293
|
container_recipe_arn="containerRecipeArn",
|
|
6294
|
+
deletion_settings=imagebuilder.CfnImage.DeletionSettingsProperty(
|
|
6295
|
+
execution_role="executionRole"
|
|
6296
|
+
),
|
|
5436
6297
|
distribution_configuration_arn="distributionConfigurationArn",
|
|
5437
6298
|
enhanced_image_metadata_enabled=False,
|
|
5438
6299
|
execution_role="executionRole",
|
|
6300
|
+
image_pipeline_execution_settings=imagebuilder.CfnImage.ImagePipelineExecutionSettingsProperty(
|
|
6301
|
+
deployment_id="deploymentId",
|
|
6302
|
+
on_update=False
|
|
6303
|
+
),
|
|
5439
6304
|
image_recipe_arn="imageRecipeArn",
|
|
5440
6305
|
image_scanning_configuration=imagebuilder.CfnImage.ImageScanningConfigurationProperty(
|
|
5441
6306
|
ecr_configuration=imagebuilder.CfnImage.EcrConfigurationProperty(
|
|
@@ -5449,6 +6314,9 @@ class CfnImageProps:
|
|
|
5449
6314
|
timeout_minutes=123
|
|
5450
6315
|
),
|
|
5451
6316
|
infrastructure_configuration_arn="infrastructureConfigurationArn",
|
|
6317
|
+
logging_configuration=imagebuilder.CfnImage.ImageLoggingConfigurationProperty(
|
|
6318
|
+
log_group_name="logGroupName"
|
|
6319
|
+
),
|
|
5452
6320
|
tags={
|
|
5453
6321
|
"tags_key": "tags"
|
|
5454
6322
|
},
|
|
@@ -5466,24 +6334,31 @@ class CfnImageProps:
|
|
|
5466
6334
|
if __debug__:
|
|
5467
6335
|
type_hints = typing.get_type_hints(_typecheckingstub__5f217922888735234464ee573256caba679b2c1215a99c91ad609c9c75d22d47)
|
|
5468
6336
|
check_type(argname="argument container_recipe_arn", value=container_recipe_arn, expected_type=type_hints["container_recipe_arn"])
|
|
6337
|
+
check_type(argname="argument deletion_settings", value=deletion_settings, expected_type=type_hints["deletion_settings"])
|
|
5469
6338
|
check_type(argname="argument distribution_configuration_arn", value=distribution_configuration_arn, expected_type=type_hints["distribution_configuration_arn"])
|
|
5470
6339
|
check_type(argname="argument enhanced_image_metadata_enabled", value=enhanced_image_metadata_enabled, expected_type=type_hints["enhanced_image_metadata_enabled"])
|
|
5471
6340
|
check_type(argname="argument execution_role", value=execution_role, expected_type=type_hints["execution_role"])
|
|
6341
|
+
check_type(argname="argument image_pipeline_execution_settings", value=image_pipeline_execution_settings, expected_type=type_hints["image_pipeline_execution_settings"])
|
|
5472
6342
|
check_type(argname="argument image_recipe_arn", value=image_recipe_arn, expected_type=type_hints["image_recipe_arn"])
|
|
5473
6343
|
check_type(argname="argument image_scanning_configuration", value=image_scanning_configuration, expected_type=type_hints["image_scanning_configuration"])
|
|
5474
6344
|
check_type(argname="argument image_tests_configuration", value=image_tests_configuration, expected_type=type_hints["image_tests_configuration"])
|
|
5475
6345
|
check_type(argname="argument infrastructure_configuration_arn", value=infrastructure_configuration_arn, expected_type=type_hints["infrastructure_configuration_arn"])
|
|
6346
|
+
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
5476
6347
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
5477
6348
|
check_type(argname="argument workflows", value=workflows, expected_type=type_hints["workflows"])
|
|
5478
6349
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5479
6350
|
if container_recipe_arn is not None:
|
|
5480
6351
|
self._values["container_recipe_arn"] = container_recipe_arn
|
|
6352
|
+
if deletion_settings is not None:
|
|
6353
|
+
self._values["deletion_settings"] = deletion_settings
|
|
5481
6354
|
if distribution_configuration_arn is not None:
|
|
5482
6355
|
self._values["distribution_configuration_arn"] = distribution_configuration_arn
|
|
5483
6356
|
if enhanced_image_metadata_enabled is not None:
|
|
5484
6357
|
self._values["enhanced_image_metadata_enabled"] = enhanced_image_metadata_enabled
|
|
5485
6358
|
if execution_role is not None:
|
|
5486
6359
|
self._values["execution_role"] = execution_role
|
|
6360
|
+
if image_pipeline_execution_settings is not None:
|
|
6361
|
+
self._values["image_pipeline_execution_settings"] = image_pipeline_execution_settings
|
|
5487
6362
|
if image_recipe_arn is not None:
|
|
5488
6363
|
self._values["image_recipe_arn"] = image_recipe_arn
|
|
5489
6364
|
if image_scanning_configuration is not None:
|
|
@@ -5492,6 +6367,8 @@ class CfnImageProps:
|
|
|
5492
6367
|
self._values["image_tests_configuration"] = image_tests_configuration
|
|
5493
6368
|
if infrastructure_configuration_arn is not None:
|
|
5494
6369
|
self._values["infrastructure_configuration_arn"] = infrastructure_configuration_arn
|
|
6370
|
+
if logging_configuration is not None:
|
|
6371
|
+
self._values["logging_configuration"] = logging_configuration
|
|
5495
6372
|
if tags is not None:
|
|
5496
6373
|
self._values["tags"] = tags
|
|
5497
6374
|
if workflows is not None:
|
|
@@ -5506,6 +6383,17 @@ class CfnImageProps:
|
|
|
5506
6383
|
result = self._values.get("container_recipe_arn")
|
|
5507
6384
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5508
6385
|
|
|
6386
|
+
@builtins.property
|
|
6387
|
+
def deletion_settings(
|
|
6388
|
+
self,
|
|
6389
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.DeletionSettingsProperty]]:
|
|
6390
|
+
'''The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.
|
|
6391
|
+
|
|
6392
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-deletionsettings
|
|
6393
|
+
'''
|
|
6394
|
+
result = self._values.get("deletion_settings")
|
|
6395
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.DeletionSettingsProperty]], result)
|
|
6396
|
+
|
|
5509
6397
|
@builtins.property
|
|
5510
6398
|
def distribution_configuration_arn(self) -> typing.Optional[builtins.str]:
|
|
5511
6399
|
'''The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
|
|
@@ -5537,6 +6425,17 @@ class CfnImageProps:
|
|
|
5537
6425
|
result = self._values.get("execution_role")
|
|
5538
6426
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5539
6427
|
|
|
6428
|
+
@builtins.property
|
|
6429
|
+
def image_pipeline_execution_settings(
|
|
6430
|
+
self,
|
|
6431
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImagePipelineExecutionSettingsProperty]]:
|
|
6432
|
+
'''The settings for starting an image pipeline execution.
|
|
6433
|
+
|
|
6434
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-imagepipelineexecutionsettings
|
|
6435
|
+
'''
|
|
6436
|
+
result = self._values.get("image_pipeline_execution_settings")
|
|
6437
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImagePipelineExecutionSettingsProperty]], result)
|
|
6438
|
+
|
|
5540
6439
|
@builtins.property
|
|
5541
6440
|
def image_recipe_arn(self) -> typing.Optional[builtins.str]:
|
|
5542
6441
|
'''The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
|
@@ -5577,6 +6476,19 @@ class CfnImageProps:
|
|
|
5577
6476
|
result = self._values.get("infrastructure_configuration_arn")
|
|
5578
6477
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5579
6478
|
|
|
6479
|
+
@builtins.property
|
|
6480
|
+
def logging_configuration(
|
|
6481
|
+
self,
|
|
6482
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImageLoggingConfigurationProperty]]:
|
|
6483
|
+
'''The logging configuration that's defined for the image.
|
|
6484
|
+
|
|
6485
|
+
Image Builder uses the defined settings to direct execution log output during image creation.
|
|
6486
|
+
|
|
6487
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-loggingconfiguration
|
|
6488
|
+
'''
|
|
6489
|
+
result = self._values.get("logging_configuration")
|
|
6490
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImageLoggingConfigurationProperty]], result)
|
|
6491
|
+
|
|
5580
6492
|
@builtins.property
|
|
5581
6493
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
5582
6494
|
'''The tags of the image.
|
|
@@ -5609,15 +6521,15 @@ class CfnImageProps:
|
|
|
5609
6521
|
)
|
|
5610
6522
|
|
|
5611
6523
|
|
|
5612
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
6524
|
+
@jsii.implements(_IInspectable_c2943556, _IImageRecipeRef_9cfc70e3, _ITaggable_36806126)
|
|
5613
6525
|
class CfnImageRecipe(
|
|
5614
6526
|
_CfnResource_9df397a6,
|
|
5615
6527
|
metaclass=jsii.JSIIMeta,
|
|
5616
6528
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImageRecipe",
|
|
5617
6529
|
):
|
|
5618
|
-
'''
|
|
6530
|
+
'''Creates a new image recipe.
|
|
5619
6531
|
|
|
5620
|
-
|
|
6532
|
+
Image recipes define how images are configured, tested, and assessed.
|
|
5621
6533
|
|
|
5622
6534
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html
|
|
5623
6535
|
:cloudformationResource: AWS::ImageBuilder::ImageRecipe
|
|
@@ -5630,13 +6542,6 @@ class CfnImageRecipe(
|
|
|
5630
6542
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
5631
6543
|
|
|
5632
6544
|
cfn_image_recipe = imagebuilder.CfnImageRecipe(self, "MyCfnImageRecipe",
|
|
5633
|
-
components=[imagebuilder.CfnImageRecipe.ComponentConfigurationProperty(
|
|
5634
|
-
component_arn="componentArn",
|
|
5635
|
-
parameters=[imagebuilder.CfnImageRecipe.ComponentParameterProperty(
|
|
5636
|
-
name="name",
|
|
5637
|
-
value=["value"]
|
|
5638
|
-
)]
|
|
5639
|
-
)],
|
|
5640
6545
|
name="name",
|
|
5641
6546
|
parent_image="parentImage",
|
|
5642
6547
|
version="version",
|
|
@@ -5648,6 +6553,9 @@ class CfnImageRecipe(
|
|
|
5648
6553
|
),
|
|
5649
6554
|
user_data_override="userDataOverride"
|
|
5650
6555
|
),
|
|
6556
|
+
ami_tags={
|
|
6557
|
+
"ami_tags_key": "amiTags"
|
|
6558
|
+
},
|
|
5651
6559
|
block_device_mappings=[imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty(
|
|
5652
6560
|
device_name="deviceName",
|
|
5653
6561
|
ebs=imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty(
|
|
@@ -5663,6 +6571,13 @@ class CfnImageRecipe(
|
|
|
5663
6571
|
no_device="noDevice",
|
|
5664
6572
|
virtual_name="virtualName"
|
|
5665
6573
|
)],
|
|
6574
|
+
components=[imagebuilder.CfnImageRecipe.ComponentConfigurationProperty(
|
|
6575
|
+
component_arn="componentArn",
|
|
6576
|
+
parameters=[imagebuilder.CfnImageRecipe.ComponentParameterProperty(
|
|
6577
|
+
name="name",
|
|
6578
|
+
value=["value"]
|
|
6579
|
+
)]
|
|
6580
|
+
)],
|
|
5666
6581
|
description="description",
|
|
5667
6582
|
tags={
|
|
5668
6583
|
"tags_key": "tags"
|
|
@@ -5676,25 +6591,28 @@ class CfnImageRecipe(
|
|
|
5676
6591
|
scope: _constructs_77d1e7e8.Construct,
|
|
5677
6592
|
id: builtins.str,
|
|
5678
6593
|
*,
|
|
5679
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImageRecipe.ComponentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
5680
6594
|
name: builtins.str,
|
|
5681
6595
|
parent_image: builtins.str,
|
|
5682
6596
|
version: builtins.str,
|
|
5683
6597
|
additional_instance_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImageRecipe.AdditionalInstanceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6598
|
+
ami_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
5684
6599
|
block_device_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImageRecipe.InstanceBlockDeviceMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6600
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnImageRecipe.ComponentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5685
6601
|
description: typing.Optional[builtins.str] = None,
|
|
5686
6602
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5687
6603
|
working_directory: typing.Optional[builtins.str] = None,
|
|
5688
6604
|
) -> None:
|
|
5689
|
-
'''
|
|
6605
|
+
'''Create a new ``AWS::ImageBuilder::ImageRecipe``.
|
|
6606
|
+
|
|
5690
6607
|
:param scope: Scope in which this resource is defined.
|
|
5691
6608
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5692
|
-
:param components: The components of the image recipe. Components are orchestration documents that define a sequence of steps for downloading, installing, configuring, and testing software packages. They also define validation and security hardening steps. A component is defined using a YAML document format.
|
|
5693
6609
|
:param name: The name of the image recipe.
|
|
5694
|
-
:param parent_image: The
|
|
5695
|
-
:param version: The
|
|
6610
|
+
:param parent_image: The base image for customizations specified in the image recipe. You can specify the parent image using one of the following options: - AMI ID - Image Builder image Amazon Resource Name (ARN) - AWS Systems Manager (SSM) Parameter Store Parameter, prefixed by ``ssm:`` , followed by the parameter name or ARN. - AWS Marketplace product ID
|
|
6611
|
+
:param version: The version of the image recipe.
|
|
5696
6612
|
:param additional_instance_configuration: Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
|
|
6613
|
+
:param ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.
|
|
5697
6614
|
:param block_device_mappings: The block device mappings to apply when creating images from this recipe.
|
|
6615
|
+
:param components: The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
5698
6616
|
:param description: The description of the image recipe.
|
|
5699
6617
|
:param tags: The tags of the image recipe.
|
|
5700
6618
|
:param working_directory: The working directory to be used during build and test workflows.
|
|
@@ -5704,12 +6622,13 @@ class CfnImageRecipe(
|
|
|
5704
6622
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5705
6623
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5706
6624
|
props = CfnImageRecipeProps(
|
|
5707
|
-
components=components,
|
|
5708
6625
|
name=name,
|
|
5709
6626
|
parent_image=parent_image,
|
|
5710
6627
|
version=version,
|
|
5711
6628
|
additional_instance_configuration=additional_instance_configuration,
|
|
6629
|
+
ami_tags=ami_tags,
|
|
5712
6630
|
block_device_mappings=block_device_mappings,
|
|
6631
|
+
components=components,
|
|
5713
6632
|
description=description,
|
|
5714
6633
|
tags=tags,
|
|
5715
6634
|
working_directory=working_directory,
|
|
@@ -5769,32 +6688,20 @@ class CfnImageRecipe(
|
|
|
5769
6688
|
|
|
5770
6689
|
@builtins.property
|
|
5771
6690
|
@jsii.member(jsii_name="cfnProperties")
|
|
5772
|
-
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5773
|
-
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5774
|
-
|
|
5775
|
-
@builtins.property
|
|
5776
|
-
@jsii.member(jsii_name="
|
|
5777
|
-
def
|
|
5778
|
-
'''
|
|
5779
|
-
return typing.cast(
|
|
5780
|
-
|
|
5781
|
-
@builtins.property
|
|
5782
|
-
@jsii.member(jsii_name="
|
|
5783
|
-
def
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
'''The components of the image recipe.'''
|
|
5787
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImageRecipe.ComponentConfigurationProperty"]]], jsii.get(self, "components"))
|
|
5788
|
-
|
|
5789
|
-
@components.setter
|
|
5790
|
-
def components(
|
|
5791
|
-
self,
|
|
5792
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImageRecipe.ComponentConfigurationProperty"]]],
|
|
5793
|
-
) -> None:
|
|
5794
|
-
if __debug__:
|
|
5795
|
-
type_hints = typing.get_type_hints(_typecheckingstub__5aa78705ac6fd96606f64b6a20b05295ef53335ad8d08aa3a0a956ce040dd62c)
|
|
5796
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5797
|
-
jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
|
|
6691
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6692
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6693
|
+
|
|
6694
|
+
@builtins.property
|
|
6695
|
+
@jsii.member(jsii_name="imageRecipeRef")
|
|
6696
|
+
def image_recipe_ref(self) -> _ImageRecipeReference_d10c2b61:
|
|
6697
|
+
'''A reference to a ImageRecipe resource.'''
|
|
6698
|
+
return typing.cast(_ImageRecipeReference_d10c2b61, jsii.get(self, "imageRecipeRef"))
|
|
6699
|
+
|
|
6700
|
+
@builtins.property
|
|
6701
|
+
@jsii.member(jsii_name="tags")
|
|
6702
|
+
def tags(self) -> _TagManager_0a598cb3:
|
|
6703
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
6704
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
5798
6705
|
|
|
5799
6706
|
@builtins.property
|
|
5800
6707
|
@jsii.member(jsii_name="name")
|
|
@@ -5812,7 +6719,7 @@ class CfnImageRecipe(
|
|
|
5812
6719
|
@builtins.property
|
|
5813
6720
|
@jsii.member(jsii_name="parentImage")
|
|
5814
6721
|
def parent_image(self) -> builtins.str:
|
|
5815
|
-
'''The
|
|
6722
|
+
'''The base image for customizations specified in the image recipe.'''
|
|
5816
6723
|
return typing.cast(builtins.str, jsii.get(self, "parentImage"))
|
|
5817
6724
|
|
|
5818
6725
|
@parent_image.setter
|
|
@@ -5825,7 +6732,7 @@ class CfnImageRecipe(
|
|
|
5825
6732
|
@builtins.property
|
|
5826
6733
|
@jsii.member(jsii_name="version")
|
|
5827
6734
|
def version(self) -> builtins.str:
|
|
5828
|
-
'''The
|
|
6735
|
+
'''The version of the image recipe.'''
|
|
5829
6736
|
return typing.cast(builtins.str, jsii.get(self, "version"))
|
|
5830
6737
|
|
|
5831
6738
|
@version.setter
|
|
@@ -5853,6 +6760,24 @@ class CfnImageRecipe(
|
|
|
5853
6760
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5854
6761
|
jsii.set(self, "additionalInstanceConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
5855
6762
|
|
|
6763
|
+
@builtins.property
|
|
6764
|
+
@jsii.member(jsii_name="amiTags")
|
|
6765
|
+
def ami_tags(
|
|
6766
|
+
self,
|
|
6767
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
6768
|
+
'''Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.'''
|
|
6769
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "amiTags"))
|
|
6770
|
+
|
|
6771
|
+
@ami_tags.setter
|
|
6772
|
+
def ami_tags(
|
|
6773
|
+
self,
|
|
6774
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
6775
|
+
) -> None:
|
|
6776
|
+
if __debug__:
|
|
6777
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b194ae2195e82b1b59277988a8b1cf823ca9cdc3b2e26bbaa6e0b9e805a12ad)
|
|
6778
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6779
|
+
jsii.set(self, "amiTags", value) # pyright: ignore[reportArgumentType]
|
|
6780
|
+
|
|
5856
6781
|
@builtins.property
|
|
5857
6782
|
@jsii.member(jsii_name="blockDeviceMappings")
|
|
5858
6783
|
def block_device_mappings(
|
|
@@ -5871,6 +6796,24 @@ class CfnImageRecipe(
|
|
|
5871
6796
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5872
6797
|
jsii.set(self, "blockDeviceMappings", value) # pyright: ignore[reportArgumentType]
|
|
5873
6798
|
|
|
6799
|
+
@builtins.property
|
|
6800
|
+
@jsii.member(jsii_name="components")
|
|
6801
|
+
def components(
|
|
6802
|
+
self,
|
|
6803
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImageRecipe.ComponentConfigurationProperty"]]]]:
|
|
6804
|
+
'''The components that are included in the image recipe.'''
|
|
6805
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImageRecipe.ComponentConfigurationProperty"]]]], jsii.get(self, "components"))
|
|
6806
|
+
|
|
6807
|
+
@components.setter
|
|
6808
|
+
def components(
|
|
6809
|
+
self,
|
|
6810
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnImageRecipe.ComponentConfigurationProperty"]]]],
|
|
6811
|
+
) -> None:
|
|
6812
|
+
if __debug__:
|
|
6813
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5aa78705ac6fd96606f64b6a20b05295ef53335ad8d08aa3a0a956ce040dd62c)
|
|
6814
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6815
|
+
jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
|
|
6816
|
+
|
|
5874
6817
|
@builtins.property
|
|
5875
6818
|
@jsii.member(jsii_name="description")
|
|
5876
6819
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -6183,7 +7126,7 @@ class CfnImageRecipe(
|
|
|
6183
7126
|
:param delete_on_termination: Configures delete on termination of the associated device.
|
|
6184
7127
|
:param encrypted: Use to configure device encryption.
|
|
6185
7128
|
:param iops: Use to configure device IOPS.
|
|
6186
|
-
:param kms_key_id:
|
|
7129
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
6187
7130
|
:param snapshot_id: The snapshot that defines the device contents.
|
|
6188
7131
|
:param throughput: *For GP3 volumes only* – The throughput in MiB/s that the volume supports.
|
|
6189
7132
|
:param volume_size: Overrides the volume size of the device.
|
|
@@ -6270,7 +7213,9 @@ class CfnImageRecipe(
|
|
|
6270
7213
|
|
|
6271
7214
|
@builtins.property
|
|
6272
7215
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
6273
|
-
'''
|
|
7216
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key to use when encrypting the device.
|
|
7217
|
+
|
|
7218
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
6274
7219
|
|
|
6275
7220
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-kmskeyid
|
|
6276
7221
|
'''
|
|
@@ -6457,7 +7402,7 @@ class CfnImageRecipe(
|
|
|
6457
7402
|
) -> None:
|
|
6458
7403
|
'''Contains settings for the Systems Manager agent on your build instance.
|
|
6459
7404
|
|
|
6460
|
-
:param uninstall_after_build: Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI.
|
|
7405
|
+
:param uninstall_after_build: Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. default value is false. The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
|
|
6461
7406
|
|
|
6462
7407
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-systemsmanageragent.html
|
|
6463
7408
|
:exampleMetadata: fixture=_generated
|
|
@@ -6485,7 +7430,9 @@ class CfnImageRecipe(
|
|
|
6485
7430
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6486
7431
|
'''Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI.
|
|
6487
7432
|
|
|
6488
|
-
If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI.
|
|
7433
|
+
If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. default value is false.
|
|
7434
|
+
|
|
7435
|
+
The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
|
|
6489
7436
|
|
|
6490
7437
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-systemsmanageragent.html#cfn-imagebuilder-imagerecipe-systemsmanageragent-uninstallafterbuild
|
|
6491
7438
|
'''
|
|
@@ -6508,12 +7455,13 @@ class CfnImageRecipe(
|
|
|
6508
7455
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnImageRecipeProps",
|
|
6509
7456
|
jsii_struct_bases=[],
|
|
6510
7457
|
name_mapping={
|
|
6511
|
-
"components": "components",
|
|
6512
7458
|
"name": "name",
|
|
6513
7459
|
"parent_image": "parentImage",
|
|
6514
7460
|
"version": "version",
|
|
6515
7461
|
"additional_instance_configuration": "additionalInstanceConfiguration",
|
|
7462
|
+
"ami_tags": "amiTags",
|
|
6516
7463
|
"block_device_mappings": "blockDeviceMappings",
|
|
7464
|
+
"components": "components",
|
|
6517
7465
|
"description": "description",
|
|
6518
7466
|
"tags": "tags",
|
|
6519
7467
|
"working_directory": "workingDirectory",
|
|
@@ -6523,24 +7471,26 @@ class CfnImageRecipeProps:
|
|
|
6523
7471
|
def __init__(
|
|
6524
7472
|
self,
|
|
6525
7473
|
*,
|
|
6526
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
6527
7474
|
name: builtins.str,
|
|
6528
7475
|
parent_image: builtins.str,
|
|
6529
7476
|
version: builtins.str,
|
|
6530
7477
|
additional_instance_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.AdditionalInstanceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7478
|
+
ami_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
6531
7479
|
block_device_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.InstanceBlockDeviceMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
7480
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6532
7481
|
description: typing.Optional[builtins.str] = None,
|
|
6533
7482
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6534
7483
|
working_directory: typing.Optional[builtins.str] = None,
|
|
6535
7484
|
) -> None:
|
|
6536
7485
|
'''Properties for defining a ``CfnImageRecipe``.
|
|
6537
7486
|
|
|
6538
|
-
:param components: The components of the image recipe. Components are orchestration documents that define a sequence of steps for downloading, installing, configuring, and testing software packages. They also define validation and security hardening steps. A component is defined using a YAML document format.
|
|
6539
7487
|
:param name: The name of the image recipe.
|
|
6540
|
-
:param parent_image: The
|
|
6541
|
-
:param version: The
|
|
7488
|
+
:param parent_image: The base image for customizations specified in the image recipe. You can specify the parent image using one of the following options: - AMI ID - Image Builder image Amazon Resource Name (ARN) - AWS Systems Manager (SSM) Parameter Store Parameter, prefixed by ``ssm:`` , followed by the parameter name or ARN. - AWS Marketplace product ID
|
|
7489
|
+
:param version: The version of the image recipe.
|
|
6542
7490
|
:param additional_instance_configuration: Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
|
|
7491
|
+
:param ami_tags: Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.
|
|
6543
7492
|
:param block_device_mappings: The block device mappings to apply when creating images from this recipe.
|
|
7493
|
+
:param components: The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
6544
7494
|
:param description: The description of the image recipe.
|
|
6545
7495
|
:param tags: The tags of the image recipe.
|
|
6546
7496
|
:param working_directory: The working directory to be used during build and test workflows.
|
|
@@ -6555,13 +7505,6 @@ class CfnImageRecipeProps:
|
|
|
6555
7505
|
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
6556
7506
|
|
|
6557
7507
|
cfn_image_recipe_props = imagebuilder.CfnImageRecipeProps(
|
|
6558
|
-
components=[imagebuilder.CfnImageRecipe.ComponentConfigurationProperty(
|
|
6559
|
-
component_arn="componentArn",
|
|
6560
|
-
parameters=[imagebuilder.CfnImageRecipe.ComponentParameterProperty(
|
|
6561
|
-
name="name",
|
|
6562
|
-
value=["value"]
|
|
6563
|
-
)]
|
|
6564
|
-
)],
|
|
6565
7508
|
name="name",
|
|
6566
7509
|
parent_image="parentImage",
|
|
6567
7510
|
version="version",
|
|
@@ -6573,6 +7516,9 @@ class CfnImageRecipeProps:
|
|
|
6573
7516
|
),
|
|
6574
7517
|
user_data_override="userDataOverride"
|
|
6575
7518
|
),
|
|
7519
|
+
ami_tags={
|
|
7520
|
+
"ami_tags_key": "amiTags"
|
|
7521
|
+
},
|
|
6576
7522
|
block_device_mappings=[imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty(
|
|
6577
7523
|
device_name="deviceName",
|
|
6578
7524
|
ebs=imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty(
|
|
@@ -6588,6 +7534,13 @@ class CfnImageRecipeProps:
|
|
|
6588
7534
|
no_device="noDevice",
|
|
6589
7535
|
virtual_name="virtualName"
|
|
6590
7536
|
)],
|
|
7537
|
+
components=[imagebuilder.CfnImageRecipe.ComponentConfigurationProperty(
|
|
7538
|
+
component_arn="componentArn",
|
|
7539
|
+
parameters=[imagebuilder.CfnImageRecipe.ComponentParameterProperty(
|
|
7540
|
+
name="name",
|
|
7541
|
+
value=["value"]
|
|
7542
|
+
)]
|
|
7543
|
+
)],
|
|
6591
7544
|
description="description",
|
|
6592
7545
|
tags={
|
|
6593
7546
|
"tags_key": "tags"
|
|
@@ -6597,25 +7550,29 @@ class CfnImageRecipeProps:
|
|
|
6597
7550
|
'''
|
|
6598
7551
|
if __debug__:
|
|
6599
7552
|
type_hints = typing.get_type_hints(_typecheckingstub__a289ec10c5f4c9443f1dfb0dc4ecb78a20e5f6e491ed688cb2e3a59ad3d6c88a)
|
|
6600
|
-
check_type(argname="argument components", value=components, expected_type=type_hints["components"])
|
|
6601
7553
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
6602
7554
|
check_type(argname="argument parent_image", value=parent_image, expected_type=type_hints["parent_image"])
|
|
6603
7555
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
6604
7556
|
check_type(argname="argument additional_instance_configuration", value=additional_instance_configuration, expected_type=type_hints["additional_instance_configuration"])
|
|
7557
|
+
check_type(argname="argument ami_tags", value=ami_tags, expected_type=type_hints["ami_tags"])
|
|
6605
7558
|
check_type(argname="argument block_device_mappings", value=block_device_mappings, expected_type=type_hints["block_device_mappings"])
|
|
7559
|
+
check_type(argname="argument components", value=components, expected_type=type_hints["components"])
|
|
6606
7560
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
6607
7561
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
6608
7562
|
check_type(argname="argument working_directory", value=working_directory, expected_type=type_hints["working_directory"])
|
|
6609
7563
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6610
|
-
"components": components,
|
|
6611
7564
|
"name": name,
|
|
6612
7565
|
"parent_image": parent_image,
|
|
6613
7566
|
"version": version,
|
|
6614
7567
|
}
|
|
6615
7568
|
if additional_instance_configuration is not None:
|
|
6616
7569
|
self._values["additional_instance_configuration"] = additional_instance_configuration
|
|
7570
|
+
if ami_tags is not None:
|
|
7571
|
+
self._values["ami_tags"] = ami_tags
|
|
6617
7572
|
if block_device_mappings is not None:
|
|
6618
7573
|
self._values["block_device_mappings"] = block_device_mappings
|
|
7574
|
+
if components is not None:
|
|
7575
|
+
self._values["components"] = components
|
|
6619
7576
|
if description is not None:
|
|
6620
7577
|
self._values["description"] = description
|
|
6621
7578
|
if tags is not None:
|
|
@@ -6623,20 +7580,6 @@ class CfnImageRecipeProps:
|
|
|
6623
7580
|
if working_directory is not None:
|
|
6624
7581
|
self._values["working_directory"] = working_directory
|
|
6625
7582
|
|
|
6626
|
-
@builtins.property
|
|
6627
|
-
def components(
|
|
6628
|
-
self,
|
|
6629
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]]:
|
|
6630
|
-
'''The components of the image recipe.
|
|
6631
|
-
|
|
6632
|
-
Components are orchestration documents that define a sequence of steps for downloading, installing, configuring, and testing software packages. They also define validation and security hardening steps. A component is defined using a YAML document format.
|
|
6633
|
-
|
|
6634
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-components
|
|
6635
|
-
'''
|
|
6636
|
-
result = self._values.get("components")
|
|
6637
|
-
assert result is not None, "Required property 'components' is missing"
|
|
6638
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]], result)
|
|
6639
|
-
|
|
6640
7583
|
@builtins.property
|
|
6641
7584
|
def name(self) -> builtins.str:
|
|
6642
7585
|
'''The name of the image recipe.
|
|
@@ -6649,9 +7592,14 @@ class CfnImageRecipeProps:
|
|
|
6649
7592
|
|
|
6650
7593
|
@builtins.property
|
|
6651
7594
|
def parent_image(self) -> builtins.str:
|
|
6652
|
-
'''The
|
|
7595
|
+
'''The base image for customizations specified in the image recipe.
|
|
6653
7596
|
|
|
6654
|
-
|
|
7597
|
+
You can specify the parent image using one of the following options:
|
|
7598
|
+
|
|
7599
|
+
- AMI ID
|
|
7600
|
+
- Image Builder image Amazon Resource Name (ARN)
|
|
7601
|
+
- AWS Systems Manager (SSM) Parameter Store Parameter, prefixed by ``ssm:`` , followed by the parameter name or ARN.
|
|
7602
|
+
- AWS Marketplace product ID
|
|
6655
7603
|
|
|
6656
7604
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-parentimage
|
|
6657
7605
|
'''
|
|
@@ -6661,7 +7609,7 @@ class CfnImageRecipeProps:
|
|
|
6661
7609
|
|
|
6662
7610
|
@builtins.property
|
|
6663
7611
|
def version(self) -> builtins.str:
|
|
6664
|
-
'''The
|
|
7612
|
+
'''The version of the image recipe.
|
|
6665
7613
|
|
|
6666
7614
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-version
|
|
6667
7615
|
'''
|
|
@@ -6682,6 +7630,17 @@ class CfnImageRecipeProps:
|
|
|
6682
7630
|
result = self._values.get("additional_instance_configuration")
|
|
6683
7631
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.AdditionalInstanceConfigurationProperty]], result)
|
|
6684
7632
|
|
|
7633
|
+
@builtins.property
|
|
7634
|
+
def ami_tags(
|
|
7635
|
+
self,
|
|
7636
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
7637
|
+
'''Tags that are applied to the AMI that Image Builder creates during the Build phase prior to image distribution.
|
|
7638
|
+
|
|
7639
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-amitags
|
|
7640
|
+
'''
|
|
7641
|
+
result = self._values.get("ami_tags")
|
|
7642
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
7643
|
+
|
|
6685
7644
|
@builtins.property
|
|
6686
7645
|
def block_device_mappings(
|
|
6687
7646
|
self,
|
|
@@ -6693,6 +7652,19 @@ class CfnImageRecipeProps:
|
|
|
6693
7652
|
result = self._values.get("block_device_mappings")
|
|
6694
7653
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.InstanceBlockDeviceMappingProperty]]]], result)
|
|
6695
7654
|
|
|
7655
|
+
@builtins.property
|
|
7656
|
+
def components(
|
|
7657
|
+
self,
|
|
7658
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]]]:
|
|
7659
|
+
'''The components that are included in the image recipe.
|
|
7660
|
+
|
|
7661
|
+
Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
|
|
7662
|
+
|
|
7663
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-components
|
|
7664
|
+
'''
|
|
7665
|
+
result = self._values.get("components")
|
|
7666
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]]], result)
|
|
7667
|
+
|
|
6696
7668
|
@builtins.property
|
|
6697
7669
|
def description(self) -> typing.Optional[builtins.str]:
|
|
6698
7670
|
'''The description of the image recipe.
|
|
@@ -6732,7 +7704,7 @@ class CfnImageRecipeProps:
|
|
|
6732
7704
|
)
|
|
6733
7705
|
|
|
6734
7706
|
|
|
6735
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
7707
|
+
@jsii.implements(_IInspectable_c2943556, _IInfrastructureConfigurationRef_a35e2e01, _ITaggable_36806126)
|
|
6736
7708
|
class CfnInfrastructureConfiguration(
|
|
6737
7709
|
_CfnResource_9df397a6,
|
|
6738
7710
|
metaclass=jsii.JSIIMeta,
|
|
@@ -6809,7 +7781,8 @@ class CfnInfrastructureConfiguration(
|
|
|
6809
7781
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6810
7782
|
terminate_instance_on_failure: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6811
7783
|
) -> None:
|
|
6812
|
-
'''
|
|
7784
|
+
'''Create a new ``AWS::ImageBuilder::InfrastructureConfiguration``.
|
|
7785
|
+
|
|
6813
7786
|
:param scope: Scope in which this resource is defined.
|
|
6814
7787
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
6815
7788
|
:param instance_profile_name: The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
|
|
@@ -6905,6 +7878,14 @@ class CfnInfrastructureConfiguration(
|
|
|
6905
7878
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6906
7879
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6907
7880
|
|
|
7881
|
+
@builtins.property
|
|
7882
|
+
@jsii.member(jsii_name="infrastructureConfigurationRef")
|
|
7883
|
+
def infrastructure_configuration_ref(
|
|
7884
|
+
self,
|
|
7885
|
+
) -> _InfrastructureConfigurationReference_9ca01975:
|
|
7886
|
+
'''A reference to a InfrastructureConfiguration resource.'''
|
|
7887
|
+
return typing.cast(_InfrastructureConfigurationReference_9ca01975, jsii.get(self, "infrastructureConfigurationRef"))
|
|
7888
|
+
|
|
6908
7889
|
@builtins.property
|
|
6909
7890
|
@jsii.member(jsii_name="tags")
|
|
6910
7891
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -7767,7 +8748,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7767
8748
|
)
|
|
7768
8749
|
|
|
7769
8750
|
|
|
7770
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
8751
|
+
@jsii.implements(_IInspectable_c2943556, _ILifecyclePolicyRef_9d5f074d, _ITaggableV2_4e6798f8)
|
|
7771
8752
|
class CfnLifecyclePolicy(
|
|
7772
8753
|
_CfnResource_9df397a6,
|
|
7773
8754
|
metaclass=jsii.JSIIMeta,
|
|
@@ -7861,7 +8842,8 @@ class CfnLifecyclePolicy(
|
|
|
7861
8842
|
status: typing.Optional[builtins.str] = None,
|
|
7862
8843
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
7863
8844
|
) -> None:
|
|
7864
|
-
'''
|
|
8845
|
+
'''Create a new ``AWS::ImageBuilder::LifecyclePolicy``.
|
|
8846
|
+
|
|
7865
8847
|
:param scope: Scope in which this resource is defined.
|
|
7866
8848
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
7867
8849
|
: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.
|
|
@@ -7940,6 +8922,12 @@ class CfnLifecyclePolicy(
|
|
|
7940
8922
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
7941
8923
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
7942
8924
|
|
|
8925
|
+
@builtins.property
|
|
8926
|
+
@jsii.member(jsii_name="lifecyclePolicyRef")
|
|
8927
|
+
def lifecycle_policy_ref(self) -> _LifecyclePolicyReference_4a6407e9:
|
|
8928
|
+
'''A reference to a LifecyclePolicy resource.'''
|
|
8929
|
+
return typing.cast(_LifecyclePolicyReference_4a6407e9, jsii.get(self, "lifecyclePolicyRef"))
|
|
8930
|
+
|
|
7943
8931
|
@builtins.property
|
|
7944
8932
|
@jsii.member(jsii_name="executionRole")
|
|
7945
8933
|
def execution_role(self) -> builtins.str:
|
|
@@ -9143,7 +10131,7 @@ class CfnLifecyclePolicyProps:
|
|
|
9143
10131
|
)
|
|
9144
10132
|
|
|
9145
10133
|
|
|
9146
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
10134
|
+
@jsii.implements(_IInspectable_c2943556, _IWorkflowRef_8f64c4af, _ITaggableV2_4e6798f8)
|
|
9147
10135
|
class CfnWorkflow(
|
|
9148
10136
|
_CfnResource_9df397a6,
|
|
9149
10137
|
metaclass=jsii.JSIIMeta,
|
|
@@ -9193,7 +10181,8 @@ class CfnWorkflow(
|
|
|
9193
10181
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9194
10182
|
uri: typing.Optional[builtins.str] = None,
|
|
9195
10183
|
) -> None:
|
|
9196
|
-
'''
|
|
10184
|
+
'''Create a new ``AWS::ImageBuilder::Workflow``.
|
|
10185
|
+
|
|
9197
10186
|
:param scope: Scope in which this resource is defined.
|
|
9198
10187
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
9199
10188
|
:param name: The name of the workflow to create.
|
|
@@ -9202,7 +10191,7 @@ class CfnWorkflow(
|
|
|
9202
10191
|
: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.
|
|
9203
10192
|
: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.
|
|
9204
10193
|
:param description: Describes the workflow.
|
|
9205
|
-
:param kms_key_id: The
|
|
10194
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
9206
10195
|
:param tags: Tags that apply to the workflow resource.
|
|
9207
10196
|
: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.
|
|
9208
10197
|
'''
|
|
@@ -9263,6 +10252,51 @@ class CfnWorkflow(
|
|
|
9263
10252
|
'''
|
|
9264
10253
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
9265
10254
|
|
|
10255
|
+
@builtins.property
|
|
10256
|
+
@jsii.member(jsii_name="attrLatestVersion")
|
|
10257
|
+
def attr_latest_version(self) -> _IResolvable_da3f097b:
|
|
10258
|
+
'''The latest version references of the workflow.
|
|
10259
|
+
|
|
10260
|
+
:cloudformationAttribute: LatestVersion
|
|
10261
|
+
'''
|
|
10262
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLatestVersion"))
|
|
10263
|
+
|
|
10264
|
+
@builtins.property
|
|
10265
|
+
@jsii.member(jsii_name="attrLatestVersionArn")
|
|
10266
|
+
def attr_latest_version_arn(self) -> builtins.str:
|
|
10267
|
+
'''The Amazon Resource Name (ARN) of the workflow resource.
|
|
10268
|
+
|
|
10269
|
+
:cloudformationAttribute: LatestVersion.Arn
|
|
10270
|
+
'''
|
|
10271
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionArn"))
|
|
10272
|
+
|
|
10273
|
+
@builtins.property
|
|
10274
|
+
@jsii.member(jsii_name="attrLatestVersionMajor")
|
|
10275
|
+
def attr_latest_version_major(self) -> builtins.str:
|
|
10276
|
+
'''The latest version ARN of the created workflow, with the same major version.
|
|
10277
|
+
|
|
10278
|
+
:cloudformationAttribute: LatestVersion.Major
|
|
10279
|
+
'''
|
|
10280
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMajor"))
|
|
10281
|
+
|
|
10282
|
+
@builtins.property
|
|
10283
|
+
@jsii.member(jsii_name="attrLatestVersionMinor")
|
|
10284
|
+
def attr_latest_version_minor(self) -> builtins.str:
|
|
10285
|
+
'''The latest version ARN of the created workflow, with the same minor version.
|
|
10286
|
+
|
|
10287
|
+
:cloudformationAttribute: LatestVersion.Minor
|
|
10288
|
+
'''
|
|
10289
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionMinor"))
|
|
10290
|
+
|
|
10291
|
+
@builtins.property
|
|
10292
|
+
@jsii.member(jsii_name="attrLatestVersionPatch")
|
|
10293
|
+
def attr_latest_version_patch(self) -> builtins.str:
|
|
10294
|
+
'''The latest version ARN of the created workflow, with the same patch version.
|
|
10295
|
+
|
|
10296
|
+
:cloudformationAttribute: LatestVersion.Patch
|
|
10297
|
+
'''
|
|
10298
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLatestVersionPatch"))
|
|
10299
|
+
|
|
9266
10300
|
@builtins.property
|
|
9267
10301
|
@jsii.member(jsii_name="cdkTagManager")
|
|
9268
10302
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -9274,6 +10308,12 @@ class CfnWorkflow(
|
|
|
9274
10308
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
9275
10309
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
9276
10310
|
|
|
10311
|
+
@builtins.property
|
|
10312
|
+
@jsii.member(jsii_name="workflowRef")
|
|
10313
|
+
def workflow_ref(self) -> _WorkflowReference_190286b5:
|
|
10314
|
+
'''A reference to a Workflow resource.'''
|
|
10315
|
+
return typing.cast(_WorkflowReference_190286b5, jsii.get(self, "workflowRef"))
|
|
10316
|
+
|
|
9277
10317
|
@builtins.property
|
|
9278
10318
|
@jsii.member(jsii_name="name")
|
|
9279
10319
|
def name(self) -> builtins.str:
|
|
@@ -9358,7 +10398,7 @@ class CfnWorkflow(
|
|
|
9358
10398
|
@builtins.property
|
|
9359
10399
|
@jsii.member(jsii_name="kmsKeyId")
|
|
9360
10400
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
9361
|
-
'''The
|
|
10401
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource.'''
|
|
9362
10402
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
9363
10403
|
|
|
9364
10404
|
@kms_key_id.setter
|
|
@@ -9397,6 +10437,111 @@ class CfnWorkflow(
|
|
|
9397
10437
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9398
10438
|
jsii.set(self, "uri", value) # pyright: ignore[reportArgumentType]
|
|
9399
10439
|
|
|
10440
|
+
@jsii.data_type(
|
|
10441
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnWorkflow.LatestVersionProperty",
|
|
10442
|
+
jsii_struct_bases=[],
|
|
10443
|
+
name_mapping={
|
|
10444
|
+
"arn": "arn",
|
|
10445
|
+
"major": "major",
|
|
10446
|
+
"minor": "minor",
|
|
10447
|
+
"patch": "patch",
|
|
10448
|
+
},
|
|
10449
|
+
)
|
|
10450
|
+
class LatestVersionProperty:
|
|
10451
|
+
def __init__(
|
|
10452
|
+
self,
|
|
10453
|
+
*,
|
|
10454
|
+
arn: typing.Optional[builtins.str] = None,
|
|
10455
|
+
major: typing.Optional[builtins.str] = None,
|
|
10456
|
+
minor: typing.Optional[builtins.str] = None,
|
|
10457
|
+
patch: typing.Optional[builtins.str] = None,
|
|
10458
|
+
) -> None:
|
|
10459
|
+
'''The latest version references of the workflow.
|
|
10460
|
+
|
|
10461
|
+
:param arn: The Amazon Resource Name (ARN) of the workflow resource.
|
|
10462
|
+
:param major: The latest version ARN of the created workflow, with the same major version.
|
|
10463
|
+
:param minor: The latest version ARN of the created workflow, with the same minor version.
|
|
10464
|
+
:param patch: The latest version ARN of the created workflow, with the same patch version.
|
|
10465
|
+
|
|
10466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html
|
|
10467
|
+
:exampleMetadata: fixture=_generated
|
|
10468
|
+
|
|
10469
|
+
Example::
|
|
10470
|
+
|
|
10471
|
+
# The code below shows an example of how to instantiate this type.
|
|
10472
|
+
# The values are placeholders you should change.
|
|
10473
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
10474
|
+
|
|
10475
|
+
latest_version_property = imagebuilder.CfnWorkflow.LatestVersionProperty(
|
|
10476
|
+
arn="arn",
|
|
10477
|
+
major="major",
|
|
10478
|
+
minor="minor",
|
|
10479
|
+
patch="patch"
|
|
10480
|
+
)
|
|
10481
|
+
'''
|
|
10482
|
+
if __debug__:
|
|
10483
|
+
type_hints = typing.get_type_hints(_typecheckingstub__181e93585176bbdf701a08d6598ff0f6dc84c063978f7194f7ad1ba3ef2612fe)
|
|
10484
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
10485
|
+
check_type(argname="argument major", value=major, expected_type=type_hints["major"])
|
|
10486
|
+
check_type(argname="argument minor", value=minor, expected_type=type_hints["minor"])
|
|
10487
|
+
check_type(argname="argument patch", value=patch, expected_type=type_hints["patch"])
|
|
10488
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
10489
|
+
if arn is not None:
|
|
10490
|
+
self._values["arn"] = arn
|
|
10491
|
+
if major is not None:
|
|
10492
|
+
self._values["major"] = major
|
|
10493
|
+
if minor is not None:
|
|
10494
|
+
self._values["minor"] = minor
|
|
10495
|
+
if patch is not None:
|
|
10496
|
+
self._values["patch"] = patch
|
|
10497
|
+
|
|
10498
|
+
@builtins.property
|
|
10499
|
+
def arn(self) -> typing.Optional[builtins.str]:
|
|
10500
|
+
'''The Amazon Resource Name (ARN) of the workflow resource.
|
|
10501
|
+
|
|
10502
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-arn
|
|
10503
|
+
'''
|
|
10504
|
+
result = self._values.get("arn")
|
|
10505
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10506
|
+
|
|
10507
|
+
@builtins.property
|
|
10508
|
+
def major(self) -> typing.Optional[builtins.str]:
|
|
10509
|
+
'''The latest version ARN of the created workflow, with the same major version.
|
|
10510
|
+
|
|
10511
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-major
|
|
10512
|
+
'''
|
|
10513
|
+
result = self._values.get("major")
|
|
10514
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10515
|
+
|
|
10516
|
+
@builtins.property
|
|
10517
|
+
def minor(self) -> typing.Optional[builtins.str]:
|
|
10518
|
+
'''The latest version ARN of the created workflow, with the same minor version.
|
|
10519
|
+
|
|
10520
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-minor
|
|
10521
|
+
'''
|
|
10522
|
+
result = self._values.get("minor")
|
|
10523
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10524
|
+
|
|
10525
|
+
@builtins.property
|
|
10526
|
+
def patch(self) -> typing.Optional[builtins.str]:
|
|
10527
|
+
'''The latest version ARN of the created workflow, with the same patch version.
|
|
10528
|
+
|
|
10529
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-patch
|
|
10530
|
+
'''
|
|
10531
|
+
result = self._values.get("patch")
|
|
10532
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10533
|
+
|
|
10534
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10535
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10536
|
+
|
|
10537
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10538
|
+
return not (rhs == self)
|
|
10539
|
+
|
|
10540
|
+
def __repr__(self) -> str:
|
|
10541
|
+
return "LatestVersionProperty(%s)" % ", ".join(
|
|
10542
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10543
|
+
)
|
|
10544
|
+
|
|
9400
10545
|
|
|
9401
10546
|
@jsii.data_type(
|
|
9402
10547
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnWorkflowProps",
|
|
@@ -9435,7 +10580,7 @@ class CfnWorkflowProps:
|
|
|
9435
10580
|
: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.
|
|
9436
10581
|
: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.
|
|
9437
10582
|
:param description: Describes the workflow.
|
|
9438
|
-
:param kms_key_id: The
|
|
10583
|
+
:param kms_key_id: The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource. This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
9439
10584
|
:param tags: Tags that apply to the workflow resource.
|
|
9440
10585
|
: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.
|
|
9441
10586
|
|
|
@@ -9562,7 +10707,9 @@ class CfnWorkflowProps:
|
|
|
9562
10707
|
|
|
9563
10708
|
@builtins.property
|
|
9564
10709
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
9565
|
-
'''The
|
|
10710
|
+
'''The Amazon Resource Name (ARN) that uniquely identifies the KMS key used to encrypt this workflow resource.
|
|
10711
|
+
|
|
10712
|
+
This can be either the Key ARN or the Alias ARN. For more information, see `Key identifiers (KeyId) <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN>`_ in the *AWS Key Management Service Developer Guide* .
|
|
9566
10713
|
|
|
9567
10714
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-workflow.html#cfn-imagebuilder-workflow-kmskeyid
|
|
9568
10715
|
'''
|
|
@@ -9716,6 +10863,16 @@ def _typecheckingstub__6efe7a7fb79c1c8d2effb9d5fa5a6b2b46eefe80a1dce4011093db23e
|
|
|
9716
10863
|
"""Type checking stubs"""
|
|
9717
10864
|
pass
|
|
9718
10865
|
|
|
10866
|
+
def _typecheckingstub__c4e79be107a6e971d25cd09ec63884e7fcb4e59de0b3b3dc1d6ae877cbb0c006(
|
|
10867
|
+
*,
|
|
10868
|
+
arn: typing.Optional[builtins.str] = None,
|
|
10869
|
+
major: typing.Optional[builtins.str] = None,
|
|
10870
|
+
minor: typing.Optional[builtins.str] = None,
|
|
10871
|
+
patch: typing.Optional[builtins.str] = None,
|
|
10872
|
+
) -> None:
|
|
10873
|
+
"""Type checking stubs"""
|
|
10874
|
+
pass
|
|
10875
|
+
|
|
9719
10876
|
def _typecheckingstub__802f9cef9476f7041238f4927a50fed552e7bbbc1054ce0eda41a7b9d75d2d80(
|
|
9720
10877
|
*,
|
|
9721
10878
|
name: builtins.str,
|
|
@@ -9736,12 +10893,12 @@ def _typecheckingstub__3c468d5dd819e845b41b9c236fc6bca416c9fb91fff1a793739f89182
|
|
|
9736
10893
|
scope: _constructs_77d1e7e8.Construct,
|
|
9737
10894
|
id: builtins.str,
|
|
9738
10895
|
*,
|
|
9739
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
9740
10896
|
container_type: builtins.str,
|
|
9741
10897
|
name: builtins.str,
|
|
9742
10898
|
parent_image: builtins.str,
|
|
9743
10899
|
target_repository: typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.TargetContainerRepositoryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9744
10900
|
version: builtins.str,
|
|
10901
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9745
10902
|
description: typing.Optional[builtins.str] = None,
|
|
9746
10903
|
dockerfile_template_data: typing.Optional[builtins.str] = None,
|
|
9747
10904
|
dockerfile_template_uri: typing.Optional[builtins.str] = None,
|
|
@@ -9767,12 +10924,6 @@ def _typecheckingstub__6d5b6469a4e69272bf90156a8e5963ff835a02f4987b9ff4170884d26
|
|
|
9767
10924
|
"""Type checking stubs"""
|
|
9768
10925
|
pass
|
|
9769
10926
|
|
|
9770
|
-
def _typecheckingstub__be58a433b37609a8e2de38ae9ea0ad32cd2b7ed8705e29e10ecdad873c143b52(
|
|
9771
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]],
|
|
9772
|
-
) -> None:
|
|
9773
|
-
"""Type checking stubs"""
|
|
9774
|
-
pass
|
|
9775
|
-
|
|
9776
10927
|
def _typecheckingstub__98ecd1f7f5bf2b0da0835263286f741cee38c6800e6fd533eb229b76138500e1(
|
|
9777
10928
|
value: builtins.str,
|
|
9778
10929
|
) -> None:
|
|
@@ -9803,6 +10954,12 @@ def _typecheckingstub__fa6a91dc94efb2a0dd29d944476e7c6c946c97198b7d6387befefe9d9
|
|
|
9803
10954
|
"""Type checking stubs"""
|
|
9804
10955
|
pass
|
|
9805
10956
|
|
|
10957
|
+
def _typecheckingstub__be58a433b37609a8e2de38ae9ea0ad32cd2b7ed8705e29e10ecdad873c143b52(
|
|
10958
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnContainerRecipe.ComponentConfigurationProperty]]]],
|
|
10959
|
+
) -> None:
|
|
10960
|
+
"""Type checking stubs"""
|
|
10961
|
+
pass
|
|
10962
|
+
|
|
9806
10963
|
def _typecheckingstub__1009255c37bcedc70c2d5b858539398c6cb8a82b82af65eaec140a4b08d8f0fc(
|
|
9807
10964
|
value: typing.Optional[builtins.str],
|
|
9808
10965
|
) -> None:
|
|
@@ -9915,12 +11072,12 @@ def _typecheckingstub__34199ca5f676bc80945fe7e849c29056158da64657ff83277eecd5cd3
|
|
|
9915
11072
|
|
|
9916
11073
|
def _typecheckingstub__67f8d0f3d1045e15583795ba863ee1d218908e506567e7d12e0aa5861d44ab17(
|
|
9917
11074
|
*,
|
|
9918
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
9919
11075
|
container_type: builtins.str,
|
|
9920
11076
|
name: builtins.str,
|
|
9921
11077
|
parent_image: builtins.str,
|
|
9922
11078
|
target_repository: typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.TargetContainerRepositoryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
9923
11079
|
version: builtins.str,
|
|
11080
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnContainerRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9924
11081
|
description: typing.Optional[builtins.str] = None,
|
|
9925
11082
|
dockerfile_template_data: typing.Optional[builtins.str] = None,
|
|
9926
11083
|
dockerfile_template_uri: typing.Optional[builtins.str] = None,
|
|
@@ -10094,13 +11251,16 @@ def _typecheckingstub__1406bc225111bc54a87c50d1d8180aed46d22e10134235c4fa581d313
|
|
|
10094
11251
|
id: builtins.str,
|
|
10095
11252
|
*,
|
|
10096
11253
|
container_recipe_arn: typing.Optional[builtins.str] = None,
|
|
11254
|
+
deletion_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.DeletionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10097
11255
|
distribution_configuration_arn: typing.Optional[builtins.str] = None,
|
|
10098
11256
|
enhanced_image_metadata_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10099
11257
|
execution_role: typing.Optional[builtins.str] = None,
|
|
11258
|
+
image_pipeline_execution_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImagePipelineExecutionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10100
11259
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
10101
11260
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10102
11261
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10103
11262
|
infrastructure_configuration_arn: typing.Optional[builtins.str] = None,
|
|
11263
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10104
11264
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10105
11265
|
workflows: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.WorkflowConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10106
11266
|
) -> None:
|
|
@@ -10125,6 +11285,12 @@ def _typecheckingstub__a6e036331c49a5f902af4e72bc4f291c89a7f5f03a4453a10c55e0f2b
|
|
|
10125
11285
|
"""Type checking stubs"""
|
|
10126
11286
|
pass
|
|
10127
11287
|
|
|
11288
|
+
def _typecheckingstub__544bfce84559868094f3e7328078dc35550b7f93a784ac66c94b1cff10f3ccd7(
|
|
11289
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.DeletionSettingsProperty]],
|
|
11290
|
+
) -> None:
|
|
11291
|
+
"""Type checking stubs"""
|
|
11292
|
+
pass
|
|
11293
|
+
|
|
10128
11294
|
def _typecheckingstub__889890f98c732641897f78af3545740dd9c7c236d01f0d3e3c038263bc80498c(
|
|
10129
11295
|
value: typing.Optional[builtins.str],
|
|
10130
11296
|
) -> None:
|
|
@@ -10143,6 +11309,12 @@ def _typecheckingstub__94668d5e5e8eb55befbec215426086ba0771bd0ba96fb3d147c8a3a31
|
|
|
10143
11309
|
"""Type checking stubs"""
|
|
10144
11310
|
pass
|
|
10145
11311
|
|
|
11312
|
+
def _typecheckingstub__765c97cee8e3215eb55f2245654b86c14b65f3a9ba1e2438b730740600208e50(
|
|
11313
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImagePipelineExecutionSettingsProperty]],
|
|
11314
|
+
) -> None:
|
|
11315
|
+
"""Type checking stubs"""
|
|
11316
|
+
pass
|
|
11317
|
+
|
|
10146
11318
|
def _typecheckingstub__308fe5eed4210d0740b5702c5e8451b42918877aa2da6ce7940407e47733f736(
|
|
10147
11319
|
value: typing.Optional[builtins.str],
|
|
10148
11320
|
) -> None:
|
|
@@ -10167,6 +11339,12 @@ def _typecheckingstub__a190431e330e97015561230a0d9b0477abed6793472228169b2ce3d49
|
|
|
10167
11339
|
"""Type checking stubs"""
|
|
10168
11340
|
pass
|
|
10169
11341
|
|
|
11342
|
+
def _typecheckingstub__a3e3020758a024deeed0645c515a9c3a69ea5ecf40fc9a2133b40f82a94b72c2(
|
|
11343
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImage.ImageLoggingConfigurationProperty]],
|
|
11344
|
+
) -> None:
|
|
11345
|
+
"""Type checking stubs"""
|
|
11346
|
+
pass
|
|
11347
|
+
|
|
10170
11348
|
def _typecheckingstub__c0e6ba55682dabdf30b5bb38534688ff3dbd8c6a8044f77eb6180bb8d815ceb8(
|
|
10171
11349
|
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
10172
11350
|
) -> None:
|
|
@@ -10179,6 +11357,13 @@ def _typecheckingstub__97523463f160d96768440c69c3873ddb86b0d5ac22775529d935489f3
|
|
|
10179
11357
|
"""Type checking stubs"""
|
|
10180
11358
|
pass
|
|
10181
11359
|
|
|
11360
|
+
def _typecheckingstub__04bf6cab8b7124cbcc9788607150e16fc9081a064182f087aec262ac81413c5c(
|
|
11361
|
+
*,
|
|
11362
|
+
execution_role: builtins.str,
|
|
11363
|
+
) -> None:
|
|
11364
|
+
"""Type checking stubs"""
|
|
11365
|
+
pass
|
|
11366
|
+
|
|
10182
11367
|
def _typecheckingstub__8e752dc7f51b470c209f9741b4ee9c9b1b8ab926ba9ba46ae3160a1876f4c556(
|
|
10183
11368
|
*,
|
|
10184
11369
|
container_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -10187,6 +11372,21 @@ def _typecheckingstub__8e752dc7f51b470c209f9741b4ee9c9b1b8ab926ba9ba46ae3160a187
|
|
|
10187
11372
|
"""Type checking stubs"""
|
|
10188
11373
|
pass
|
|
10189
11374
|
|
|
11375
|
+
def _typecheckingstub__f48c0bf82989235f735b3b537ceae8bf7cbb63f48573c8a5dac03547706ff000(
|
|
11376
|
+
*,
|
|
11377
|
+
log_group_name: typing.Optional[builtins.str] = None,
|
|
11378
|
+
) -> None:
|
|
11379
|
+
"""Type checking stubs"""
|
|
11380
|
+
pass
|
|
11381
|
+
|
|
11382
|
+
def _typecheckingstub__c579bbf2bc5b9c4748f83c74527cc9691311ca16fad5b824db5e51bc59607877(
|
|
11383
|
+
*,
|
|
11384
|
+
deployment_id: typing.Optional[builtins.str] = None,
|
|
11385
|
+
on_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11386
|
+
) -> None:
|
|
11387
|
+
"""Type checking stubs"""
|
|
11388
|
+
pass
|
|
11389
|
+
|
|
10190
11390
|
def _typecheckingstub__155636d4b270ff858336d445a5c3a434623faaa989317a61b024d7142948911e(
|
|
10191
11391
|
*,
|
|
10192
11392
|
ecr_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.EcrConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -10203,6 +11403,16 @@ def _typecheckingstub__e8cfede11f4b11fc577c8fddf9438af7db50acddcb364073adeaf606a
|
|
|
10203
11403
|
"""Type checking stubs"""
|
|
10204
11404
|
pass
|
|
10205
11405
|
|
|
11406
|
+
def _typecheckingstub__ae579b3568475007ef3046d31af2cc00ebde2b499245bed681ab762a0fbf9641(
|
|
11407
|
+
*,
|
|
11408
|
+
arn: typing.Optional[builtins.str] = None,
|
|
11409
|
+
major: typing.Optional[builtins.str] = None,
|
|
11410
|
+
minor: typing.Optional[builtins.str] = None,
|
|
11411
|
+
patch: typing.Optional[builtins.str] = None,
|
|
11412
|
+
) -> None:
|
|
11413
|
+
"""Type checking stubs"""
|
|
11414
|
+
pass
|
|
11415
|
+
|
|
10206
11416
|
def _typecheckingstub__a82febc1a7fafa923553117d043e1c9475f024e84431a24b2b8a4d66c3a73ed6(
|
|
10207
11417
|
*,
|
|
10208
11418
|
on_failure: typing.Optional[builtins.str] = None,
|
|
@@ -10235,6 +11445,7 @@ def _typecheckingstub__e2d099702ab4ebcb03c34ae00fedabfa81a0c5d3662aa1605c47ff1fc
|
|
|
10235
11445
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
10236
11446
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10237
11447
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11448
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.PipelineLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10238
11449
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10239
11450
|
status: typing.Optional[builtins.str] = None,
|
|
10240
11451
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
@@ -10315,6 +11526,12 @@ def _typecheckingstub__d9e327e008ef0b95ddde8197947e86b8bc9160733d270caa11482a88d
|
|
|
10315
11526
|
"""Type checking stubs"""
|
|
10316
11527
|
pass
|
|
10317
11528
|
|
|
11529
|
+
def _typecheckingstub__fd669ff1d1a241fd9694fe5f0927bdc4b1cdbf105330ca8df7626d0785047d5e(
|
|
11530
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImagePipeline.PipelineLoggingConfigurationProperty]],
|
|
11531
|
+
) -> None:
|
|
11532
|
+
"""Type checking stubs"""
|
|
11533
|
+
pass
|
|
11534
|
+
|
|
10318
11535
|
def _typecheckingstub__7493819df4798ffd45cd31ff99c66a5c22065a41d47c9c3792eaaf9d4c4150a1(
|
|
10319
11536
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnImagePipeline.ScheduleProperty]],
|
|
10320
11537
|
) -> None:
|
|
@@ -10339,6 +11556,13 @@ def _typecheckingstub__d31373519ea07e5936785c1446524bda21756ca2eb6c12f87303f5a12
|
|
|
10339
11556
|
"""Type checking stubs"""
|
|
10340
11557
|
pass
|
|
10341
11558
|
|
|
11559
|
+
def _typecheckingstub__69b844c16b5b7fe86f960e35030a259ca786bf1c7c25272436fa39cdc264de05(
|
|
11560
|
+
*,
|
|
11561
|
+
failure_count: jsii.Number,
|
|
11562
|
+
) -> None:
|
|
11563
|
+
"""Type checking stubs"""
|
|
11564
|
+
pass
|
|
11565
|
+
|
|
10342
11566
|
def _typecheckingstub__1ad9ee4365967b325aac7636f417b9a691b4b50560fe8f594198933e7ed13aca(
|
|
10343
11567
|
*,
|
|
10344
11568
|
container_tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -10363,8 +11587,17 @@ def _typecheckingstub__ae3643f34d20caf9e518f587e7eacbe6f2163c4d76025d717d8d8ea1b
|
|
|
10363
11587
|
"""Type checking stubs"""
|
|
10364
11588
|
pass
|
|
10365
11589
|
|
|
11590
|
+
def _typecheckingstub__2af353350682d5947ff1643b9bf2422511eaee659a470f07d53aac235328167a(
|
|
11591
|
+
*,
|
|
11592
|
+
image_log_group_name: typing.Optional[builtins.str] = None,
|
|
11593
|
+
pipeline_log_group_name: typing.Optional[builtins.str] = None,
|
|
11594
|
+
) -> None:
|
|
11595
|
+
"""Type checking stubs"""
|
|
11596
|
+
pass
|
|
11597
|
+
|
|
10366
11598
|
def _typecheckingstub__02783d051498bb630cd6a27d361c0750914a59f05623585e0808549e9248bae0(
|
|
10367
11599
|
*,
|
|
11600
|
+
auto_disable_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.AutoDisablePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10368
11601
|
pipeline_execution_start_condition: typing.Optional[builtins.str] = None,
|
|
10369
11602
|
schedule_expression: typing.Optional[builtins.str] = None,
|
|
10370
11603
|
) -> None:
|
|
@@ -10401,6 +11634,7 @@ def _typecheckingstub__95f10c4451c6bf3f2cf15951831cd372e35975262c0be294c1ae7c774
|
|
|
10401
11634
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
10402
11635
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10403
11636
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11637
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.PipelineLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10404
11638
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImagePipeline.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10405
11639
|
status: typing.Optional[builtins.str] = None,
|
|
10406
11640
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
@@ -10412,13 +11646,16 @@ def _typecheckingstub__95f10c4451c6bf3f2cf15951831cd372e35975262c0be294c1ae7c774
|
|
|
10412
11646
|
def _typecheckingstub__5f217922888735234464ee573256caba679b2c1215a99c91ad609c9c75d22d47(
|
|
10413
11647
|
*,
|
|
10414
11648
|
container_recipe_arn: typing.Optional[builtins.str] = None,
|
|
11649
|
+
deletion_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.DeletionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10415
11650
|
distribution_configuration_arn: typing.Optional[builtins.str] = None,
|
|
10416
11651
|
enhanced_image_metadata_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10417
11652
|
execution_role: typing.Optional[builtins.str] = None,
|
|
11653
|
+
image_pipeline_execution_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImagePipelineExecutionSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10418
11654
|
image_recipe_arn: typing.Optional[builtins.str] = None,
|
|
10419
11655
|
image_scanning_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageScanningConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10420
11656
|
image_tests_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageTestsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10421
11657
|
infrastructure_configuration_arn: typing.Optional[builtins.str] = None,
|
|
11658
|
+
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.ImageLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10422
11659
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10423
11660
|
workflows: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImage.WorkflowConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10424
11661
|
) -> None:
|
|
@@ -10429,12 +11666,13 @@ def _typecheckingstub__b92e909d03413ceab5b5ff0737ae582bf88ebb71e7e89f62cc57922d1
|
|
|
10429
11666
|
scope: _constructs_77d1e7e8.Construct,
|
|
10430
11667
|
id: builtins.str,
|
|
10431
11668
|
*,
|
|
10432
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
10433
11669
|
name: builtins.str,
|
|
10434
11670
|
parent_image: builtins.str,
|
|
10435
11671
|
version: builtins.str,
|
|
10436
11672
|
additional_instance_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.AdditionalInstanceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11673
|
+
ami_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
10437
11674
|
block_device_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.InstanceBlockDeviceMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11675
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10438
11676
|
description: typing.Optional[builtins.str] = None,
|
|
10439
11677
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10440
11678
|
working_directory: typing.Optional[builtins.str] = None,
|
|
@@ -10454,12 +11692,6 @@ def _typecheckingstub__33501f1fede0354860af9711623bf5d9a7cf482716f9a1ca43757a3dc
|
|
|
10454
11692
|
"""Type checking stubs"""
|
|
10455
11693
|
pass
|
|
10456
11694
|
|
|
10457
|
-
def _typecheckingstub__5aa78705ac6fd96606f64b6a20b05295ef53335ad8d08aa3a0a956ce040dd62c(
|
|
10458
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]],
|
|
10459
|
-
) -> None:
|
|
10460
|
-
"""Type checking stubs"""
|
|
10461
|
-
pass
|
|
10462
|
-
|
|
10463
11695
|
def _typecheckingstub__02513ed6c05b6aecc9c7c9494100db2c7a4dd5eecdafd9ed44b5ac5fe0cf5fce(
|
|
10464
11696
|
value: builtins.str,
|
|
10465
11697
|
) -> None:
|
|
@@ -10484,12 +11716,24 @@ def _typecheckingstub__fcc3e434aa1a301be5e1a5341bc64287bfcf82761f08ef98de5711b1b
|
|
|
10484
11716
|
"""Type checking stubs"""
|
|
10485
11717
|
pass
|
|
10486
11718
|
|
|
11719
|
+
def _typecheckingstub__7b194ae2195e82b1b59277988a8b1cf823ca9cdc3b2e26bbaa6e0b9e805a12ad(
|
|
11720
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
11721
|
+
) -> None:
|
|
11722
|
+
"""Type checking stubs"""
|
|
11723
|
+
pass
|
|
11724
|
+
|
|
10487
11725
|
def _typecheckingstub__3f9ee0bcfa7d5f48279416991e3a05c2143a695ca605b7c215eb5e8cc38d2174(
|
|
10488
11726
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.InstanceBlockDeviceMappingProperty]]]],
|
|
10489
11727
|
) -> None:
|
|
10490
11728
|
"""Type checking stubs"""
|
|
10491
11729
|
pass
|
|
10492
11730
|
|
|
11731
|
+
def _typecheckingstub__5aa78705ac6fd96606f64b6a20b05295ef53335ad8d08aa3a0a956ce040dd62c(
|
|
11732
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnImageRecipe.ComponentConfigurationProperty]]]],
|
|
11733
|
+
) -> None:
|
|
11734
|
+
"""Type checking stubs"""
|
|
11735
|
+
pass
|
|
11736
|
+
|
|
10493
11737
|
def _typecheckingstub__f01685cf10dbac31ad7c61e710cacf41f2fc80e0f75749cd095d2cc67a293114(
|
|
10494
11738
|
value: typing.Optional[builtins.str],
|
|
10495
11739
|
) -> None:
|
|
@@ -10565,12 +11809,13 @@ def _typecheckingstub__ad92f3ddc08f7f471aea45f4940171af1f13b6aca47dcb6cecd2627b2
|
|
|
10565
11809
|
|
|
10566
11810
|
def _typecheckingstub__a289ec10c5f4c9443f1dfb0dc4ecb78a20e5f6e491ed688cb2e3a59ad3d6c88a(
|
|
10567
11811
|
*,
|
|
10568
|
-
components: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
10569
11812
|
name: builtins.str,
|
|
10570
11813
|
parent_image: builtins.str,
|
|
10571
11814
|
version: builtins.str,
|
|
10572
11815
|
additional_instance_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.AdditionalInstanceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11816
|
+
ami_tags: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
10573
11817
|
block_device_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.InstanceBlockDeviceMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11818
|
+
components: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnImageRecipe.ComponentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10574
11819
|
description: typing.Optional[builtins.str] = None,
|
|
10575
11820
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10576
11821
|
working_directory: typing.Optional[builtins.str] = None,
|
|
@@ -11001,6 +12246,16 @@ def _typecheckingstub__2e36c0e0583778b96be119919e9f8e273d4b8ff0bfa5e58c3049f2cc8
|
|
|
11001
12246
|
"""Type checking stubs"""
|
|
11002
12247
|
pass
|
|
11003
12248
|
|
|
12249
|
+
def _typecheckingstub__181e93585176bbdf701a08d6598ff0f6dc84c063978f7194f7ad1ba3ef2612fe(
|
|
12250
|
+
*,
|
|
12251
|
+
arn: typing.Optional[builtins.str] = None,
|
|
12252
|
+
major: typing.Optional[builtins.str] = None,
|
|
12253
|
+
minor: typing.Optional[builtins.str] = None,
|
|
12254
|
+
patch: typing.Optional[builtins.str] = None,
|
|
12255
|
+
) -> None:
|
|
12256
|
+
"""Type checking stubs"""
|
|
12257
|
+
pass
|
|
12258
|
+
|
|
11004
12259
|
def _typecheckingstub__35d88d62d7ed1f4b6deb48b19f5f6a93db101eada9232a0e7f6cc8c59ce9e078(
|
|
11005
12260
|
*,
|
|
11006
12261
|
name: builtins.str,
|