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
|
@@ -98,26 +98,6 @@ user = iam.User(self, "MyUser")
|
|
|
98
98
|
env.grant_read_config(user)
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
### Deletion Protection Check
|
|
102
|
-
|
|
103
|
-
You can enable [deletion protection](https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html) on the environment by setting the `deletionProtectionCheck` property.
|
|
104
|
-
|
|
105
|
-
* ACCOUNT_DEFAULT: The default setting, which uses account-level deletion protection. To configure account-level deletion protection, use the UpdateAccountSettings API.
|
|
106
|
-
* APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.
|
|
107
|
-
* BYPASS: Instructs AWS AppConfig to bypass the deletion protection check and delete an environment even if deletion protection would have otherwise prevented it.
|
|
108
|
-
|
|
109
|
-
```python
|
|
110
|
-
# application: appconfig.Application
|
|
111
|
-
# alarm: cloudwatch.Alarm
|
|
112
|
-
# composite_alarm: cloudwatch.CompositeAlarm
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
appconfig.Environment(self, "MyEnvironment",
|
|
116
|
-
application=application,
|
|
117
|
-
deletion_protection_check=appconfig.DeletionProtectionCheck.APPLY
|
|
118
|
-
)
|
|
119
|
-
```
|
|
120
|
-
|
|
121
101
|
## Deployment Strategy
|
|
122
102
|
|
|
123
103
|
[AWS AppConfig Deployment Strategy Documentation](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html)
|
|
@@ -402,6 +382,21 @@ The declaration order will be respected regardless of the approach used.
|
|
|
402
382
|
> [!IMPORTANT]
|
|
403
383
|
> If none of these options are utilized, there will not be any deployments.
|
|
404
384
|
|
|
385
|
+
You can use customer managed key to encrypt a hosted configuration. For mora information, see [Data encryption at rest for AWS AppConfig](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-security.html#appconfig-security-data-encryption).
|
|
386
|
+
|
|
387
|
+
```python
|
|
388
|
+
# application: appconfig.Application
|
|
389
|
+
# kms_key: kms.Key
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
appconfig.HostedConfiguration(self, "MyHostedConfiguration",
|
|
393
|
+
application=application,
|
|
394
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content."),
|
|
395
|
+
type=appconfig.ConfigurationType.FEATURE_FLAGS,
|
|
396
|
+
kms_key=kms_key
|
|
397
|
+
)
|
|
398
|
+
```
|
|
399
|
+
|
|
405
400
|
### SourcedConfiguration
|
|
406
401
|
|
|
407
402
|
A sourced configuration represents configuration stored in any of the following:
|
|
@@ -569,6 +564,41 @@ appconfig.SourcedConfiguration(self, "MySourcedConfiguration",
|
|
|
569
564
|
)
|
|
570
565
|
```
|
|
571
566
|
|
|
567
|
+
## Deletion Protection Check
|
|
568
|
+
|
|
569
|
+
You can enable [deletion protection](https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html) on the environment and configuration profile by setting the `deletionProtectionCheck` property.
|
|
570
|
+
|
|
571
|
+
* ACCOUNT_DEFAULT: The default setting, which uses account-level deletion protection. To configure account-level deletion protection, use the UpdateAccountSettings API.
|
|
572
|
+
* APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.
|
|
573
|
+
* BYPASS: Instructs AWS AppConfig to bypass the deletion protection check and delete an environment even if deletion protection would have otherwise prevented it.
|
|
574
|
+
|
|
575
|
+
```python
|
|
576
|
+
# application: appconfig.Application
|
|
577
|
+
# alarm: cloudwatch.Alarm
|
|
578
|
+
# composite_alarm: cloudwatch.CompositeAlarm
|
|
579
|
+
# bucket: s3.Bucket
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
# Environment deletion protection check
|
|
583
|
+
appconfig.Environment(self, "MyEnvironment",
|
|
584
|
+
application=application,
|
|
585
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.APPLY
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
# configuration profile with deletion protection check
|
|
589
|
+
appconfig.HostedConfiguration(self, "MyHostedConfigFromFile",
|
|
590
|
+
application=application,
|
|
591
|
+
content=appconfig.ConfigurationContent.from_file("config.json"),
|
|
592
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.BYPASS
|
|
593
|
+
)
|
|
594
|
+
|
|
595
|
+
appconfig.SourcedConfiguration(self, "MySourcedConfiguration",
|
|
596
|
+
application=application,
|
|
597
|
+
location=appconfig.ConfigurationSource.from_bucket(bucket, "path/to/file.json"),
|
|
598
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
599
|
+
)
|
|
600
|
+
```
|
|
601
|
+
|
|
572
602
|
## Extension
|
|
573
603
|
|
|
574
604
|
An extension augments your ability to inject logic or behavior at different points during the AWS AppConfig workflow of
|
|
@@ -762,6 +792,26 @@ from ..aws_sqs import IQueue as _IQueue_7ed6f679
|
|
|
762
792
|
from ..aws_ssm import (
|
|
763
793
|
CfnDocument as _CfnDocument_8b177f00, IParameter as _IParameter_509a0f80
|
|
764
794
|
)
|
|
795
|
+
from ..interfaces.aws_appconfig import (
|
|
796
|
+
ApplicationReference as _ApplicationReference_2b7c5bb6,
|
|
797
|
+
ConfigurationProfileReference as _ConfigurationProfileReference_c0821f22,
|
|
798
|
+
DeploymentReference as _DeploymentReference_5ef418d1,
|
|
799
|
+
DeploymentStrategyReference as _DeploymentStrategyReference_e1908020,
|
|
800
|
+
EnvironmentReference as _EnvironmentReference_610ea6de,
|
|
801
|
+
ExtensionAssociationReference as _ExtensionAssociationReference_35a869f1,
|
|
802
|
+
ExtensionReference as _ExtensionReference_a0aef309,
|
|
803
|
+
HostedConfigurationVersionReference as _HostedConfigurationVersionReference_6f730fe8,
|
|
804
|
+
IApplicationRef as _IApplicationRef_768db227,
|
|
805
|
+
IConfigurationProfileRef as _IConfigurationProfileRef_3e332cf9,
|
|
806
|
+
IDeploymentRef as _IDeploymentRef_c08544bf,
|
|
807
|
+
IDeploymentStrategyRef as _IDeploymentStrategyRef_2cd4ca44,
|
|
808
|
+
IEnvironmentRef as _IEnvironmentRef_5f5c3f67,
|
|
809
|
+
IExtensionAssociationRef as _IExtensionAssociationRef_1b672c9b,
|
|
810
|
+
IExtensionRef as _IExtensionRef_abba29c3,
|
|
811
|
+
IHostedConfigurationVersionRef as _IHostedConfigurationVersionRef_eb4b6788,
|
|
812
|
+
)
|
|
813
|
+
from ..interfaces.aws_iam import IRoleRef as _IRoleRef_8400221f
|
|
814
|
+
from ..interfaces.aws_kms import IKeyRef as _IKeyRef_d4fc6ef3
|
|
765
815
|
|
|
766
816
|
|
|
767
817
|
class Action(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_appconfig.Action"):
|
|
@@ -1087,7 +1137,7 @@ class ApplicationProps:
|
|
|
1087
1137
|
)
|
|
1088
1138
|
|
|
1089
1139
|
|
|
1090
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1140
|
+
@jsii.implements(_IInspectable_c2943556, _IApplicationRef_768db227, _ITaggableV2_4e6798f8)
|
|
1091
1141
|
class CfnApplication(
|
|
1092
1142
|
_CfnResource_9df397a6,
|
|
1093
1143
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1138,7 +1188,8 @@ class CfnApplication(
|
|
|
1138
1188
|
description: typing.Optional[builtins.str] = None,
|
|
1139
1189
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1140
1190
|
) -> None:
|
|
1141
|
-
'''
|
|
1191
|
+
'''Create a new ``AWS::AppConfig::Application``.
|
|
1192
|
+
|
|
1142
1193
|
:param scope: Scope in which this resource is defined.
|
|
1143
1194
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1144
1195
|
:param name: A name for the application.
|
|
@@ -1153,6 +1204,27 @@ class CfnApplication(
|
|
|
1153
1204
|
|
|
1154
1205
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1155
1206
|
|
|
1207
|
+
@jsii.member(jsii_name="fromApplicationId")
|
|
1208
|
+
@builtins.classmethod
|
|
1209
|
+
def from_application_id(
|
|
1210
|
+
cls,
|
|
1211
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1212
|
+
id: builtins.str,
|
|
1213
|
+
application_id: builtins.str,
|
|
1214
|
+
) -> _IApplicationRef_768db227:
|
|
1215
|
+
'''Creates a new IApplicationRef from a applicationId.
|
|
1216
|
+
|
|
1217
|
+
:param scope: -
|
|
1218
|
+
:param id: -
|
|
1219
|
+
:param application_id: -
|
|
1220
|
+
'''
|
|
1221
|
+
if __debug__:
|
|
1222
|
+
type_hints = typing.get_type_hints(_typecheckingstub__afd571466571231348a78cb931c25e5d1b3c70347a376b9d64e551c1d6126654)
|
|
1223
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1224
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1225
|
+
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
1226
|
+
return typing.cast(_IApplicationRef_768db227, jsii.sinvoke(cls, "fromApplicationId", [scope, id, application_id]))
|
|
1227
|
+
|
|
1156
1228
|
@jsii.member(jsii_name="inspect")
|
|
1157
1229
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1158
1230
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1183,6 +1255,12 @@ class CfnApplication(
|
|
|
1183
1255
|
'''The CloudFormation resource type name for this resource class.'''
|
|
1184
1256
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1185
1257
|
|
|
1258
|
+
@builtins.property
|
|
1259
|
+
@jsii.member(jsii_name="applicationRef")
|
|
1260
|
+
def application_ref(self) -> _ApplicationReference_2b7c5bb6:
|
|
1261
|
+
'''A reference to a Application resource.'''
|
|
1262
|
+
return typing.cast(_ApplicationReference_2b7c5bb6, jsii.get(self, "applicationRef"))
|
|
1263
|
+
|
|
1186
1264
|
@builtins.property
|
|
1187
1265
|
@jsii.member(jsii_name="attrApplicationId")
|
|
1188
1266
|
def attr_application_id(self) -> builtins.str:
|
|
@@ -1337,7 +1415,7 @@ class CfnApplicationProps:
|
|
|
1337
1415
|
)
|
|
1338
1416
|
|
|
1339
1417
|
|
|
1340
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1418
|
+
@jsii.implements(_IInspectable_c2943556, _IConfigurationProfileRef_3e332cf9, _ITaggableV2_4e6798f8)
|
|
1341
1419
|
class CfnConfigurationProfile(
|
|
1342
1420
|
_CfnResource_9df397a6,
|
|
1343
1421
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1409,7 +1487,8 @@ class CfnConfigurationProfile(
|
|
|
1409
1487
|
type: typing.Optional[builtins.str] = None,
|
|
1410
1488
|
validators: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConfigurationProfile.ValidatorsProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1411
1489
|
) -> None:
|
|
1412
|
-
'''
|
|
1490
|
+
'''Create a new ``AWS::AppConfig::ConfigurationProfile``.
|
|
1491
|
+
|
|
1413
1492
|
:param scope: Scope in which this resource is defined.
|
|
1414
1493
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1415
1494
|
:param application_id: The application ID.
|
|
@@ -1503,6 +1582,12 @@ class CfnConfigurationProfile(
|
|
|
1503
1582
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1504
1583
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1505
1584
|
|
|
1585
|
+
@builtins.property
|
|
1586
|
+
@jsii.member(jsii_name="configurationProfileRef")
|
|
1587
|
+
def configuration_profile_ref(self) -> _ConfigurationProfileReference_c0821f22:
|
|
1588
|
+
'''A reference to a ConfigurationProfile resource.'''
|
|
1589
|
+
return typing.cast(_ConfigurationProfileReference_c0821f22, jsii.get(self, "configurationProfileRef"))
|
|
1590
|
+
|
|
1506
1591
|
@builtins.property
|
|
1507
1592
|
@jsii.member(jsii_name="applicationId")
|
|
1508
1593
|
def application_id(self) -> builtins.str:
|
|
@@ -1954,7 +2039,7 @@ class CfnConfigurationProfileProps:
|
|
|
1954
2039
|
)
|
|
1955
2040
|
|
|
1956
2041
|
|
|
1957
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2042
|
+
@jsii.implements(_IInspectable_c2943556, _IDeploymentRef_c08544bf, _ITaggableV2_4e6798f8)
|
|
1958
2043
|
class CfnDeployment(
|
|
1959
2044
|
_CfnResource_9df397a6,
|
|
1960
2045
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2023,7 +2108,8 @@ class CfnDeployment(
|
|
|
2023
2108
|
kms_key_identifier: typing.Optional[builtins.str] = None,
|
|
2024
2109
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2025
2110
|
) -> None:
|
|
2026
|
-
'''
|
|
2111
|
+
'''Create a new ``AWS::AppConfig::Deployment``.
|
|
2112
|
+
|
|
2027
2113
|
:param scope: Scope in which this resource is defined.
|
|
2028
2114
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2029
2115
|
:param application_id: The application ID.
|
|
@@ -2093,6 +2179,15 @@ class CfnDeployment(
|
|
|
2093
2179
|
'''
|
|
2094
2180
|
return typing.cast(builtins.str, jsii.get(self, "attrDeploymentNumber"))
|
|
2095
2181
|
|
|
2182
|
+
@builtins.property
|
|
2183
|
+
@jsii.member(jsii_name="attrState")
|
|
2184
|
+
def attr_state(self) -> builtins.str:
|
|
2185
|
+
'''The state of the deployment.
|
|
2186
|
+
|
|
2187
|
+
:cloudformationAttribute: State
|
|
2188
|
+
'''
|
|
2189
|
+
return typing.cast(builtins.str, jsii.get(self, "attrState"))
|
|
2190
|
+
|
|
2096
2191
|
@builtins.property
|
|
2097
2192
|
@jsii.member(jsii_name="cdkTagManager")
|
|
2098
2193
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -2104,6 +2199,12 @@ class CfnDeployment(
|
|
|
2104
2199
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2105
2200
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2106
2201
|
|
|
2202
|
+
@builtins.property
|
|
2203
|
+
@jsii.member(jsii_name="deploymentRef")
|
|
2204
|
+
def deployment_ref(self) -> _DeploymentReference_5ef418d1:
|
|
2205
|
+
'''A reference to a Deployment resource.'''
|
|
2206
|
+
return typing.cast(_DeploymentReference_5ef418d1, jsii.get(self, "deploymentRef"))
|
|
2207
|
+
|
|
2107
2208
|
@builtins.property
|
|
2108
2209
|
@jsii.member(jsii_name="applicationId")
|
|
2109
2210
|
def application_id(self) -> builtins.str:
|
|
@@ -2518,7 +2619,7 @@ class CfnDeploymentProps:
|
|
|
2518
2619
|
)
|
|
2519
2620
|
|
|
2520
2621
|
|
|
2521
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2622
|
+
@jsii.implements(_IInspectable_c2943556, _IDeploymentStrategyRef_2cd4ca44, _ITaggableV2_4e6798f8)
|
|
2522
2623
|
class CfnDeploymentStrategy(
|
|
2523
2624
|
_CfnResource_9df397a6,
|
|
2524
2625
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2579,7 +2680,8 @@ class CfnDeploymentStrategy(
|
|
|
2579
2680
|
growth_type: typing.Optional[builtins.str] = None,
|
|
2580
2681
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2581
2682
|
) -> None:
|
|
2582
|
-
'''
|
|
2683
|
+
'''Create a new ``AWS::AppConfig::DeploymentStrategy``.
|
|
2684
|
+
|
|
2583
2685
|
:param scope: Scope in which this resource is defined.
|
|
2584
2686
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2585
2687
|
:param deployment_duration_in_minutes: Total amount of time for a deployment to last.
|
|
@@ -2608,6 +2710,27 @@ class CfnDeploymentStrategy(
|
|
|
2608
2710
|
|
|
2609
2711
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2610
2712
|
|
|
2713
|
+
@jsii.member(jsii_name="fromDeploymentStrategyId")
|
|
2714
|
+
@builtins.classmethod
|
|
2715
|
+
def from_deployment_strategy_id(
|
|
2716
|
+
cls,
|
|
2717
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2718
|
+
id: builtins.str,
|
|
2719
|
+
deployment_strategy_id: builtins.str,
|
|
2720
|
+
) -> _IDeploymentStrategyRef_2cd4ca44:
|
|
2721
|
+
'''Creates a new IDeploymentStrategyRef from a deploymentStrategyId.
|
|
2722
|
+
|
|
2723
|
+
:param scope: -
|
|
2724
|
+
:param id: -
|
|
2725
|
+
:param deployment_strategy_id: -
|
|
2726
|
+
'''
|
|
2727
|
+
if __debug__:
|
|
2728
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a211633629f45a21de52e2d3b8c73b520eee7fc38d9ec5fafe4d90b277a310a5)
|
|
2729
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2730
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2731
|
+
check_type(argname="argument deployment_strategy_id", value=deployment_strategy_id, expected_type=type_hints["deployment_strategy_id"])
|
|
2732
|
+
return typing.cast(_IDeploymentStrategyRef_2cd4ca44, jsii.sinvoke(cls, "fromDeploymentStrategyId", [scope, id, deployment_strategy_id]))
|
|
2733
|
+
|
|
2611
2734
|
@jsii.member(jsii_name="inspect")
|
|
2612
2735
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2613
2736
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -2658,6 +2781,12 @@ class CfnDeploymentStrategy(
|
|
|
2658
2781
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2659
2782
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2660
2783
|
|
|
2784
|
+
@builtins.property
|
|
2785
|
+
@jsii.member(jsii_name="deploymentStrategyRef")
|
|
2786
|
+
def deployment_strategy_ref(self) -> _DeploymentStrategyReference_e1908020:
|
|
2787
|
+
'''A reference to a DeploymentStrategy resource.'''
|
|
2788
|
+
return typing.cast(_DeploymentStrategyReference_e1908020, jsii.get(self, "deploymentStrategyRef"))
|
|
2789
|
+
|
|
2661
2790
|
@builtins.property
|
|
2662
2791
|
@jsii.member(jsii_name="deploymentDurationInMinutes")
|
|
2663
2792
|
def deployment_duration_in_minutes(self) -> jsii.Number:
|
|
@@ -2958,7 +3087,7 @@ class CfnDeploymentStrategyProps:
|
|
|
2958
3087
|
)
|
|
2959
3088
|
|
|
2960
3089
|
|
|
2961
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
3090
|
+
@jsii.implements(_IInspectable_c2943556, _IEnvironmentRef_5f5c3f67, _ITaggableV2_4e6798f8)
|
|
2962
3091
|
class CfnEnvironment(
|
|
2963
3092
|
_CfnResource_9df397a6,
|
|
2964
3093
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3018,7 +3147,8 @@ class CfnEnvironment(
|
|
|
3018
3147
|
monitors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.MonitorsProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3019
3148
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3020
3149
|
) -> None:
|
|
3021
|
-
'''
|
|
3150
|
+
'''Create a new ``AWS::AppConfig::Environment``.
|
|
3151
|
+
|
|
3022
3152
|
:param scope: Scope in which this resource is defined.
|
|
3023
3153
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3024
3154
|
:param application_id: The application ID.
|
|
@@ -3093,6 +3223,12 @@ class CfnEnvironment(
|
|
|
3093
3223
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
3094
3224
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
3095
3225
|
|
|
3226
|
+
@builtins.property
|
|
3227
|
+
@jsii.member(jsii_name="environmentRef")
|
|
3228
|
+
def environment_ref(self) -> _EnvironmentReference_610ea6de:
|
|
3229
|
+
'''A reference to a Environment resource.'''
|
|
3230
|
+
return typing.cast(_EnvironmentReference_610ea6de, jsii.get(self, "environmentRef"))
|
|
3231
|
+
|
|
3096
3232
|
@builtins.property
|
|
3097
3233
|
@jsii.member(jsii_name="applicationId")
|
|
3098
3234
|
def application_id(self) -> builtins.str:
|
|
@@ -3476,7 +3612,7 @@ class CfnEnvironmentProps:
|
|
|
3476
3612
|
)
|
|
3477
3613
|
|
|
3478
3614
|
|
|
3479
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
3615
|
+
@jsii.implements(_IInspectable_c2943556, _IExtensionRef_abba29c3, _ITaggable_36806126)
|
|
3480
3616
|
class CfnExtension(
|
|
3481
3617
|
_CfnResource_9df397a6,
|
|
3482
3618
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3541,7 +3677,8 @@ class CfnExtension(
|
|
|
3541
3677
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnExtension.ParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3542
3678
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3543
3679
|
) -> None:
|
|
3544
|
-
'''
|
|
3680
|
+
'''Create a new ``AWS::AppConfig::Extension``.
|
|
3681
|
+
|
|
3545
3682
|
:param scope: Scope in which this resource is defined.
|
|
3546
3683
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3547
3684
|
:param actions: The actions defined in the extension.
|
|
@@ -3628,6 +3765,12 @@ class CfnExtension(
|
|
|
3628
3765
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
3629
3766
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
3630
3767
|
|
|
3768
|
+
@builtins.property
|
|
3769
|
+
@jsii.member(jsii_name="extensionRef")
|
|
3770
|
+
def extension_ref(self) -> _ExtensionReference_a0aef309:
|
|
3771
|
+
'''A reference to a Extension resource.'''
|
|
3772
|
+
return typing.cast(_ExtensionReference_a0aef309, jsii.get(self, "extensionRef"))
|
|
3773
|
+
|
|
3631
3774
|
@builtins.property
|
|
3632
3775
|
@jsii.member(jsii_name="tags")
|
|
3633
3776
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -3926,7 +4069,7 @@ class CfnExtension(
|
|
|
3926
4069
|
)
|
|
3927
4070
|
|
|
3928
4071
|
|
|
3929
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
4072
|
+
@jsii.implements(_IInspectable_c2943556, _IExtensionAssociationRef_1b672c9b, _ITaggable_36806126)
|
|
3930
4073
|
class CfnExtensionAssociation(
|
|
3931
4074
|
_CfnResource_9df397a6,
|
|
3932
4075
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3971,7 +4114,8 @@ class CfnExtensionAssociation(
|
|
|
3971
4114
|
resource_identifier: typing.Optional[builtins.str] = None,
|
|
3972
4115
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3973
4116
|
) -> None:
|
|
3974
|
-
'''
|
|
4117
|
+
'''Create a new ``AWS::AppConfig::ExtensionAssociation``.
|
|
4118
|
+
|
|
3975
4119
|
:param scope: Scope in which this resource is defined.
|
|
3976
4120
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3977
4121
|
:param extension_identifier: The name, the ID, or the Amazon Resource Name (ARN) of the extension.
|
|
@@ -3994,6 +4138,48 @@ class CfnExtensionAssociation(
|
|
|
3994
4138
|
|
|
3995
4139
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3996
4140
|
|
|
4141
|
+
@jsii.member(jsii_name="fromExtensionAssociationArn")
|
|
4142
|
+
@builtins.classmethod
|
|
4143
|
+
def from_extension_association_arn(
|
|
4144
|
+
cls,
|
|
4145
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4146
|
+
id: builtins.str,
|
|
4147
|
+
arn: builtins.str,
|
|
4148
|
+
) -> _IExtensionAssociationRef_1b672c9b:
|
|
4149
|
+
'''Creates a new IExtensionAssociationRef from an ARN.
|
|
4150
|
+
|
|
4151
|
+
:param scope: -
|
|
4152
|
+
:param id: -
|
|
4153
|
+
:param arn: -
|
|
4154
|
+
'''
|
|
4155
|
+
if __debug__:
|
|
4156
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f2ddb8bad12cb1e96088c9c43262a44a268a1f9f59e087e06c9e1981203af04)
|
|
4157
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4158
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4159
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
4160
|
+
return typing.cast(_IExtensionAssociationRef_1b672c9b, jsii.sinvoke(cls, "fromExtensionAssociationArn", [scope, id, arn]))
|
|
4161
|
+
|
|
4162
|
+
@jsii.member(jsii_name="fromExtensionAssociationId")
|
|
4163
|
+
@builtins.classmethod
|
|
4164
|
+
def from_extension_association_id(
|
|
4165
|
+
cls,
|
|
4166
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4167
|
+
id: builtins.str,
|
|
4168
|
+
extension_association_id: builtins.str,
|
|
4169
|
+
) -> _IExtensionAssociationRef_1b672c9b:
|
|
4170
|
+
'''Creates a new IExtensionAssociationRef from a extensionAssociationId.
|
|
4171
|
+
|
|
4172
|
+
:param scope: -
|
|
4173
|
+
:param id: -
|
|
4174
|
+
:param extension_association_id: -
|
|
4175
|
+
'''
|
|
4176
|
+
if __debug__:
|
|
4177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__40444fb29d9428650401cd4b9cf7689bd4735cae65b5137a1802e1a8a7fd4825)
|
|
4178
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4179
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4180
|
+
check_type(argname="argument extension_association_id", value=extension_association_id, expected_type=type_hints["extension_association_id"])
|
|
4181
|
+
return typing.cast(_IExtensionAssociationRef_1b672c9b, jsii.sinvoke(cls, "fromExtensionAssociationId", [scope, id, extension_association_id]))
|
|
4182
|
+
|
|
3997
4183
|
@jsii.member(jsii_name="inspect")
|
|
3998
4184
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
3999
4185
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4065,6 +4251,12 @@ class CfnExtensionAssociation(
|
|
|
4065
4251
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4066
4252
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4067
4253
|
|
|
4254
|
+
@builtins.property
|
|
4255
|
+
@jsii.member(jsii_name="extensionAssociationRef")
|
|
4256
|
+
def extension_association_ref(self) -> _ExtensionAssociationReference_35a869f1:
|
|
4257
|
+
'''A reference to a ExtensionAssociation resource.'''
|
|
4258
|
+
return typing.cast(_ExtensionAssociationReference_35a869f1, jsii.get(self, "extensionAssociationRef"))
|
|
4259
|
+
|
|
4068
4260
|
@builtins.property
|
|
4069
4261
|
@jsii.member(jsii_name="tags")
|
|
4070
4262
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -4441,7 +4633,7 @@ class CfnExtensionProps:
|
|
|
4441
4633
|
)
|
|
4442
4634
|
|
|
4443
4635
|
|
|
4444
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
4636
|
+
@jsii.implements(_IInspectable_c2943556, _IHostedConfigurationVersionRef_eb4b6788)
|
|
4445
4637
|
class CfnHostedConfigurationVersion(
|
|
4446
4638
|
_CfnResource_9df397a6,
|
|
4447
4639
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4493,7 +4685,8 @@ class CfnHostedConfigurationVersion(
|
|
|
4493
4685
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
4494
4686
|
version_label: typing.Optional[builtins.str] = None,
|
|
4495
4687
|
) -> None:
|
|
4496
|
-
'''
|
|
4688
|
+
'''Create a new ``AWS::AppConfig::HostedConfigurationVersion``.
|
|
4689
|
+
|
|
4497
4690
|
:param scope: Scope in which this resource is defined.
|
|
4498
4691
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4499
4692
|
:param application_id: The application ID.
|
|
@@ -4564,6 +4757,14 @@ class CfnHostedConfigurationVersion(
|
|
|
4564
4757
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4565
4758
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4566
4759
|
|
|
4760
|
+
@builtins.property
|
|
4761
|
+
@jsii.member(jsii_name="hostedConfigurationVersionRef")
|
|
4762
|
+
def hosted_configuration_version_ref(
|
|
4763
|
+
self,
|
|
4764
|
+
) -> _HostedConfigurationVersionReference_6f730fe8:
|
|
4765
|
+
'''A reference to a HostedConfigurationVersion resource.'''
|
|
4766
|
+
return typing.cast(_HostedConfigurationVersionReference_6f730fe8, jsii.get(self, "hostedConfigurationVersionRef"))
|
|
4767
|
+
|
|
4567
4768
|
@builtins.property
|
|
4568
4769
|
@jsii.member(jsii_name="applicationId")
|
|
4569
4770
|
def application_id(self) -> builtins.str:
|
|
@@ -4835,15 +5036,17 @@ class ConfigurationContent(
|
|
|
4835
5036
|
|
|
4836
5037
|
Example::
|
|
4837
5038
|
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
application=app
|
|
4841
|
-
)
|
|
5039
|
+
# application: appconfig.Application
|
|
5040
|
+
# fn: lambda.Function
|
|
4842
5041
|
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content.")
|
|
5042
|
+
|
|
5043
|
+
appconfig.HostedConfiguration(self, "MyHostedConfiguration",
|
|
5044
|
+
application=application,
|
|
5045
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content."),
|
|
5046
|
+
validators=[
|
|
5047
|
+
appconfig.JsonSchemaValidator.from_file("schema.json"),
|
|
5048
|
+
appconfig.LambdaValidator.from_function(fn)
|
|
5049
|
+
]
|
|
4847
5050
|
)
|
|
4848
5051
|
'''
|
|
4849
5052
|
|
|
@@ -4860,7 +5063,7 @@ class ConfigurationContent(
|
|
|
4860
5063
|
'''Defines the hosted configuration content from a file.
|
|
4861
5064
|
|
|
4862
5065
|
:param input_path: The path to the file that defines configuration content.
|
|
4863
|
-
:param content_type: The content type of
|
|
5066
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4864
5067
|
'''
|
|
4865
5068
|
if __debug__:
|
|
4866
5069
|
type_hints = typing.get_type_hints(_typecheckingstub__90a444a396ae95bf4dbe20a3cba4428b472f8dc18cddec786f4ed521d3ef8224)
|
|
@@ -4878,7 +5081,7 @@ class ConfigurationContent(
|
|
|
4878
5081
|
'''Defines the hosted configuration content from inline code.
|
|
4879
5082
|
|
|
4880
5083
|
:param content: The inline code that defines the configuration content.
|
|
4881
|
-
:param content_type: The content type of
|
|
5084
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4882
5085
|
'''
|
|
4883
5086
|
if __debug__:
|
|
4884
5087
|
type_hints = typing.get_type_hints(_typecheckingstub__3dc78a8c320c476850c109277461b0640bc3492938af15c32744671285117e99)
|
|
@@ -4896,7 +5099,7 @@ class ConfigurationContent(
|
|
|
4896
5099
|
'''Defines the hosted configuration content as JSON from inline code.
|
|
4897
5100
|
|
|
4898
5101
|
:param content: The inline code that defines the configuration content.
|
|
4899
|
-
:param content_type: The content type of
|
|
5102
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4900
5103
|
'''
|
|
4901
5104
|
if __debug__:
|
|
4902
5105
|
type_hints = typing.get_type_hints(_typecheckingstub__0be240b695740e98f6925d6eb7c6948c1cdff98558955885c2275a539fa4e5f0)
|
|
@@ -4939,7 +5142,11 @@ class ConfigurationContent(
|
|
|
4939
5142
|
@jsii.member(jsii_name="contentType")
|
|
4940
5143
|
@abc.abstractmethod
|
|
4941
5144
|
def content_type(self) -> builtins.str:
|
|
4942
|
-
'''The configuration content type.
|
|
5145
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
5146
|
+
|
|
5147
|
+
For an up-to-date list of valid MIME types, see:
|
|
5148
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
5149
|
+
'''
|
|
4943
5150
|
...
|
|
4944
5151
|
|
|
4945
5152
|
|
|
@@ -4953,7 +5160,11 @@ class _ConfigurationContentProxy(ConfigurationContent):
|
|
|
4953
5160
|
@builtins.property
|
|
4954
5161
|
@jsii.member(jsii_name="contentType")
|
|
4955
5162
|
def content_type(self) -> builtins.str:
|
|
4956
|
-
'''The configuration content type.
|
|
5163
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
5164
|
+
|
|
5165
|
+
For an up-to-date list of valid MIME types, see:
|
|
5166
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
5167
|
+
'''
|
|
4957
5168
|
return typing.cast(builtins.str, jsii.get(self, "contentType"))
|
|
4958
5169
|
|
|
4959
5170
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
|
|
@@ -4964,6 +5175,7 @@ typing.cast(typing.Any, ConfigurationContent).__jsii_proxy_class__ = lambda : _C
|
|
|
4964
5175
|
jsii_type="aws-cdk-lib.aws_appconfig.ConfigurationOptions",
|
|
4965
5176
|
jsii_struct_bases=[],
|
|
4966
5177
|
name_mapping={
|
|
5178
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
4967
5179
|
"deployment_key": "deploymentKey",
|
|
4968
5180
|
"deployment_strategy": "deploymentStrategy",
|
|
4969
5181
|
"deploy_to": "deployTo",
|
|
@@ -4977,6 +5189,7 @@ class ConfigurationOptions:
|
|
|
4977
5189
|
def __init__(
|
|
4978
5190
|
self,
|
|
4979
5191
|
*,
|
|
5192
|
+
deletion_protection_check: typing.Optional["DeletionProtectionCheck"] = None,
|
|
4980
5193
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
4981
5194
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
4982
5195
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -4987,6 +5200,7 @@ class ConfigurationOptions:
|
|
|
4987
5200
|
) -> None:
|
|
4988
5201
|
'''Options for the Configuration construct.
|
|
4989
5202
|
|
|
5203
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
4990
5204
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
4991
5205
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
4992
5206
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -5010,6 +5224,7 @@ class ConfigurationOptions:
|
|
|
5010
5224
|
# validator: appconfig.IValidator
|
|
5011
5225
|
|
|
5012
5226
|
configuration_options = appconfig.ConfigurationOptions(
|
|
5227
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT,
|
|
5013
5228
|
deployment_key=key,
|
|
5014
5229
|
deployment_strategy=deployment_strategy,
|
|
5015
5230
|
deploy_to=[environment],
|
|
@@ -5021,6 +5236,7 @@ class ConfigurationOptions:
|
|
|
5021
5236
|
'''
|
|
5022
5237
|
if __debug__:
|
|
5023
5238
|
type_hints = typing.get_type_hints(_typecheckingstub__7d8aafff2e2f314c1c4bef6e213f0aaef56ff294051b33fee835ad5716a7e093)
|
|
5239
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
5024
5240
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
5025
5241
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
5026
5242
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -5029,6 +5245,8 @@ class ConfigurationOptions:
|
|
|
5029
5245
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
5030
5246
|
check_type(argname="argument validators", value=validators, expected_type=type_hints["validators"])
|
|
5031
5247
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5248
|
+
if deletion_protection_check is not None:
|
|
5249
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
5032
5250
|
if deployment_key is not None:
|
|
5033
5251
|
self._values["deployment_key"] = deployment_key
|
|
5034
5252
|
if deployment_strategy is not None:
|
|
@@ -5044,6 +5262,20 @@ class ConfigurationOptions:
|
|
|
5044
5262
|
if validators is not None:
|
|
5045
5263
|
self._values["validators"] = validators
|
|
5046
5264
|
|
|
5265
|
+
@builtins.property
|
|
5266
|
+
def deletion_protection_check(self) -> typing.Optional["DeletionProtectionCheck"]:
|
|
5267
|
+
'''A parameter to configure deletion protection.
|
|
5268
|
+
|
|
5269
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
5270
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
5271
|
+
|
|
5272
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
5273
|
+
|
|
5274
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
5275
|
+
'''
|
|
5276
|
+
result = self._values.get("deletion_protection_check")
|
|
5277
|
+
return typing.cast(typing.Optional["DeletionProtectionCheck"], result)
|
|
5278
|
+
|
|
5047
5279
|
@builtins.property
|
|
5048
5280
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
5049
5281
|
'''The deployment key of the configuration.
|
|
@@ -5132,6 +5364,7 @@ class ConfigurationOptions:
|
|
|
5132
5364
|
jsii_type="aws-cdk-lib.aws_appconfig.ConfigurationProps",
|
|
5133
5365
|
jsii_struct_bases=[ConfigurationOptions],
|
|
5134
5366
|
name_mapping={
|
|
5367
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
5135
5368
|
"deployment_key": "deploymentKey",
|
|
5136
5369
|
"deployment_strategy": "deploymentStrategy",
|
|
5137
5370
|
"deploy_to": "deployTo",
|
|
@@ -5146,6 +5379,7 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5146
5379
|
def __init__(
|
|
5147
5380
|
self,
|
|
5148
5381
|
*,
|
|
5382
|
+
deletion_protection_check: typing.Optional["DeletionProtectionCheck"] = None,
|
|
5149
5383
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5150
5384
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
5151
5385
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -5157,6 +5391,7 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5157
5391
|
) -> None:
|
|
5158
5392
|
'''Properties for the Configuration construct.
|
|
5159
5393
|
|
|
5394
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
5160
5395
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
5161
5396
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
5162
5397
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -5185,6 +5420,7 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5185
5420
|
application=application,
|
|
5186
5421
|
|
|
5187
5422
|
# the properties below are optional
|
|
5423
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT,
|
|
5188
5424
|
deployment_key=key,
|
|
5189
5425
|
deployment_strategy=deployment_strategy,
|
|
5190
5426
|
deploy_to=[environment],
|
|
@@ -5196,6 +5432,7 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5196
5432
|
'''
|
|
5197
5433
|
if __debug__:
|
|
5198
5434
|
type_hints = typing.get_type_hints(_typecheckingstub__fde28a86ff967e860849eabd5d00b00f1f841ba2ded09e00655f2b7d433ef121)
|
|
5435
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
5199
5436
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
5200
5437
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
5201
5438
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -5207,6 +5444,8 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5207
5444
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5208
5445
|
"application": application,
|
|
5209
5446
|
}
|
|
5447
|
+
if deletion_protection_check is not None:
|
|
5448
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
5210
5449
|
if deployment_key is not None:
|
|
5211
5450
|
self._values["deployment_key"] = deployment_key
|
|
5212
5451
|
if deployment_strategy is not None:
|
|
@@ -5222,6 +5461,20 @@ class ConfigurationProps(ConfigurationOptions):
|
|
|
5222
5461
|
if validators is not None:
|
|
5223
5462
|
self._values["validators"] = validators
|
|
5224
5463
|
|
|
5464
|
+
@builtins.property
|
|
5465
|
+
def deletion_protection_check(self) -> typing.Optional["DeletionProtectionCheck"]:
|
|
5466
|
+
'''A parameter to configure deletion protection.
|
|
5467
|
+
|
|
5468
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
5469
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
5470
|
+
|
|
5471
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
5472
|
+
|
|
5473
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
5474
|
+
'''
|
|
5475
|
+
result = self._values.get("deletion_protection_check")
|
|
5476
|
+
return typing.cast(typing.Optional["DeletionProtectionCheck"], result)
|
|
5477
|
+
|
|
5225
5478
|
@builtins.property
|
|
5226
5479
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
5227
5480
|
'''The deployment key of the configuration.
|
|
@@ -5482,12 +5735,14 @@ class ConfigurationType(enum.Enum):
|
|
|
5482
5735
|
Example::
|
|
5483
5736
|
|
|
5484
5737
|
# application: appconfig.Application
|
|
5738
|
+
# kms_key: kms.Key
|
|
5485
5739
|
|
|
5486
5740
|
|
|
5487
5741
|
appconfig.HostedConfiguration(self, "MyHostedConfiguration",
|
|
5488
5742
|
application=application,
|
|
5489
5743
|
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content."),
|
|
5490
|
-
type=appconfig.ConfigurationType.FEATURE_FLAGS
|
|
5744
|
+
type=appconfig.ConfigurationType.FEATURE_FLAGS,
|
|
5745
|
+
kms_key=kms_key
|
|
5491
5746
|
)
|
|
5492
5747
|
'''
|
|
5493
5748
|
|
|
@@ -5519,12 +5774,27 @@ class DeletionProtectionCheck(enum.Enum):
|
|
|
5519
5774
|
# application: appconfig.Application
|
|
5520
5775
|
# alarm: cloudwatch.Alarm
|
|
5521
5776
|
# composite_alarm: cloudwatch.CompositeAlarm
|
|
5777
|
+
# bucket: s3.Bucket
|
|
5522
5778
|
|
|
5523
5779
|
|
|
5780
|
+
# Environment deletion protection check
|
|
5524
5781
|
appconfig.Environment(self, "MyEnvironment",
|
|
5525
5782
|
application=application,
|
|
5526
5783
|
deletion_protection_check=appconfig.DeletionProtectionCheck.APPLY
|
|
5527
5784
|
)
|
|
5785
|
+
|
|
5786
|
+
# configuration profile with deletion protection check
|
|
5787
|
+
appconfig.HostedConfiguration(self, "MyHostedConfigFromFile",
|
|
5788
|
+
application=application,
|
|
5789
|
+
content=appconfig.ConfigurationContent.from_file("config.json"),
|
|
5790
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.BYPASS
|
|
5791
|
+
)
|
|
5792
|
+
|
|
5793
|
+
appconfig.SourcedConfiguration(self, "MySourcedConfiguration",
|
|
5794
|
+
application=application,
|
|
5795
|
+
location=appconfig.ConfigurationSource.from_bucket(bucket, "path/to/file.json"),
|
|
5796
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
5797
|
+
)
|
|
5528
5798
|
'''
|
|
5529
5799
|
|
|
5530
5800
|
ACCOUNT_DEFAULT = "ACCOUNT_DEFAULT"
|
|
@@ -5991,10 +6261,16 @@ class EnvironmentProps(EnvironmentOptions):
|
|
|
5991
6261
|
application=app
|
|
5992
6262
|
)
|
|
5993
6263
|
|
|
5994
|
-
appconfig.HostedConfiguration(self, "
|
|
6264
|
+
appconfig.HostedConfiguration(self, "MyFirstHostedConfig",
|
|
5995
6265
|
application=app,
|
|
5996
6266
|
deploy_to=[env],
|
|
5997
|
-
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content.")
|
|
6267
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my first configuration content.")
|
|
6268
|
+
)
|
|
6269
|
+
|
|
6270
|
+
appconfig.HostedConfiguration(self, "MySecondHostedConfig",
|
|
6271
|
+
application=app,
|
|
6272
|
+
deploy_to=[env],
|
|
6273
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my second configuration content.")
|
|
5998
6274
|
)
|
|
5999
6275
|
'''
|
|
6000
6276
|
if __debug__:
|
|
@@ -6459,6 +6735,7 @@ class GrowthType(enum.Enum):
|
|
|
6459
6735
|
jsii_type="aws-cdk-lib.aws_appconfig.HostedConfigurationOptions",
|
|
6460
6736
|
jsii_struct_bases=[ConfigurationOptions],
|
|
6461
6737
|
name_mapping={
|
|
6738
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
6462
6739
|
"deployment_key": "deploymentKey",
|
|
6463
6740
|
"deployment_strategy": "deploymentStrategy",
|
|
6464
6741
|
"deploy_to": "deployTo",
|
|
@@ -6475,6 +6752,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6475
6752
|
def __init__(
|
|
6476
6753
|
self,
|
|
6477
6754
|
*,
|
|
6755
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
6478
6756
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6479
6757
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
6480
6758
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -6488,6 +6766,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6488
6766
|
) -> None:
|
|
6489
6767
|
'''Options for HostedConfiguration.
|
|
6490
6768
|
|
|
6769
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
6491
6770
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
6492
6771
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
6493
6772
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -6518,6 +6797,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6518
6797
|
content=configuration_content,
|
|
6519
6798
|
|
|
6520
6799
|
# the properties below are optional
|
|
6800
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT,
|
|
6521
6801
|
deployment_key=key,
|
|
6522
6802
|
deployment_strategy=deployment_strategy,
|
|
6523
6803
|
deploy_to=[environment],
|
|
@@ -6531,6 +6811,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6531
6811
|
'''
|
|
6532
6812
|
if __debug__:
|
|
6533
6813
|
type_hints = typing.get_type_hints(_typecheckingstub__4c4d8fda2e4860630073eda40d5a32347248e82c24127624ef93e735b071da8f)
|
|
6814
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
6534
6815
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
6535
6816
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
6536
6817
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -6544,6 +6825,8 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6544
6825
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6545
6826
|
"content": content,
|
|
6546
6827
|
}
|
|
6828
|
+
if deletion_protection_check is not None:
|
|
6829
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
6547
6830
|
if deployment_key is not None:
|
|
6548
6831
|
self._values["deployment_key"] = deployment_key
|
|
6549
6832
|
if deployment_strategy is not None:
|
|
@@ -6563,6 +6846,20 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6563
6846
|
if version_label is not None:
|
|
6564
6847
|
self._values["version_label"] = version_label
|
|
6565
6848
|
|
|
6849
|
+
@builtins.property
|
|
6850
|
+
def deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
6851
|
+
'''A parameter to configure deletion protection.
|
|
6852
|
+
|
|
6853
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
6854
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
6855
|
+
|
|
6856
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
6857
|
+
|
|
6858
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
6859
|
+
'''
|
|
6860
|
+
result = self._values.get("deletion_protection_check")
|
|
6861
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], result)
|
|
6862
|
+
|
|
6566
6863
|
@builtins.property
|
|
6567
6864
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
6568
6865
|
'''The deployment key of the configuration.
|
|
@@ -6676,6 +6973,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6676
6973
|
jsii_type="aws-cdk-lib.aws_appconfig.HostedConfigurationProps",
|
|
6677
6974
|
jsii_struct_bases=[ConfigurationProps],
|
|
6678
6975
|
name_mapping={
|
|
6976
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
6679
6977
|
"deployment_key": "deploymentKey",
|
|
6680
6978
|
"deployment_strategy": "deploymentStrategy",
|
|
6681
6979
|
"deploy_to": "deployTo",
|
|
@@ -6685,6 +6983,7 @@ class HostedConfigurationOptions(ConfigurationOptions):
|
|
|
6685
6983
|
"validators": "validators",
|
|
6686
6984
|
"application": "application",
|
|
6687
6985
|
"content": "content",
|
|
6986
|
+
"kms_key": "kmsKey",
|
|
6688
6987
|
"latest_version_number": "latestVersionNumber",
|
|
6689
6988
|
"version_label": "versionLabel",
|
|
6690
6989
|
},
|
|
@@ -6693,6 +6992,7 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6693
6992
|
def __init__(
|
|
6694
6993
|
self,
|
|
6695
6994
|
*,
|
|
6995
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
6696
6996
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6697
6997
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
6698
6998
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -6702,11 +7002,13 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6702
7002
|
validators: typing.Optional[typing.Sequence["IValidator"]] = None,
|
|
6703
7003
|
application: "IApplication",
|
|
6704
7004
|
content: ConfigurationContent,
|
|
7005
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
6705
7006
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
6706
7007
|
version_label: typing.Optional[builtins.str] = None,
|
|
6707
7008
|
) -> None:
|
|
6708
7009
|
'''Properties for HostedConfiguration.
|
|
6709
7010
|
|
|
7011
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
6710
7012
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
6711
7013
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
6712
7014
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -6716,6 +7018,7 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6716
7018
|
:param validators: The validators for the configuration. Default: - No validators.
|
|
6717
7019
|
:param application: The application associated with the configuration.
|
|
6718
7020
|
:param content: The content of the hosted configuration.
|
|
7021
|
+
:param kms_key: The customer managed key to encrypt hosted configuration. Default: None
|
|
6719
7022
|
:param latest_version_number: The latest version number of the hosted configuration. Default: - None.
|
|
6720
7023
|
:param version_label: The version label of the hosted configuration. Default: - None.
|
|
6721
7024
|
|
|
@@ -6723,19 +7026,22 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6723
7026
|
|
|
6724
7027
|
Example::
|
|
6725
7028
|
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
application=app
|
|
6729
|
-
)
|
|
7029
|
+
# application: appconfig.Application
|
|
7030
|
+
# fn: lambda.Function
|
|
6730
7031
|
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content.")
|
|
7032
|
+
|
|
7033
|
+
appconfig.HostedConfiguration(self, "MyHostedConfiguration",
|
|
7034
|
+
application=application,
|
|
7035
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content."),
|
|
7036
|
+
validators=[
|
|
7037
|
+
appconfig.JsonSchemaValidator.from_file("schema.json"),
|
|
7038
|
+
appconfig.LambdaValidator.from_function(fn)
|
|
7039
|
+
]
|
|
6735
7040
|
)
|
|
6736
7041
|
'''
|
|
6737
7042
|
if __debug__:
|
|
6738
7043
|
type_hints = typing.get_type_hints(_typecheckingstub__7cba9d5464f3f4cbc208d892995245e5078fc2cc794651c71942035a9b151b2e)
|
|
7044
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
6739
7045
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
6740
7046
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
6741
7047
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -6745,12 +7051,15 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6745
7051
|
check_type(argname="argument validators", value=validators, expected_type=type_hints["validators"])
|
|
6746
7052
|
check_type(argname="argument application", value=application, expected_type=type_hints["application"])
|
|
6747
7053
|
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
7054
|
+
check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
|
|
6748
7055
|
check_type(argname="argument latest_version_number", value=latest_version_number, expected_type=type_hints["latest_version_number"])
|
|
6749
7056
|
check_type(argname="argument version_label", value=version_label, expected_type=type_hints["version_label"])
|
|
6750
7057
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6751
7058
|
"application": application,
|
|
6752
7059
|
"content": content,
|
|
6753
7060
|
}
|
|
7061
|
+
if deletion_protection_check is not None:
|
|
7062
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
6754
7063
|
if deployment_key is not None:
|
|
6755
7064
|
self._values["deployment_key"] = deployment_key
|
|
6756
7065
|
if deployment_strategy is not None:
|
|
@@ -6765,11 +7074,27 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6765
7074
|
self._values["type"] = type
|
|
6766
7075
|
if validators is not None:
|
|
6767
7076
|
self._values["validators"] = validators
|
|
7077
|
+
if kms_key is not None:
|
|
7078
|
+
self._values["kms_key"] = kms_key
|
|
6768
7079
|
if latest_version_number is not None:
|
|
6769
7080
|
self._values["latest_version_number"] = latest_version_number
|
|
6770
7081
|
if version_label is not None:
|
|
6771
7082
|
self._values["version_label"] = version_label
|
|
6772
7083
|
|
|
7084
|
+
@builtins.property
|
|
7085
|
+
def deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
7086
|
+
'''A parameter to configure deletion protection.
|
|
7087
|
+
|
|
7088
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
7089
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
7090
|
+
|
|
7091
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
7092
|
+
|
|
7093
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
7094
|
+
'''
|
|
7095
|
+
result = self._values.get("deletion_protection_check")
|
|
7096
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], result)
|
|
7097
|
+
|
|
6773
7098
|
@builtins.property
|
|
6774
7099
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
6775
7100
|
'''The deployment key of the configuration.
|
|
@@ -6856,6 +7181,15 @@ class HostedConfigurationProps(ConfigurationProps):
|
|
|
6856
7181
|
assert result is not None, "Required property 'content' is missing"
|
|
6857
7182
|
return typing.cast(ConfigurationContent, result)
|
|
6858
7183
|
|
|
7184
|
+
@builtins.property
|
|
7185
|
+
def kms_key(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
7186
|
+
'''The customer managed key to encrypt hosted configuration.
|
|
7187
|
+
|
|
7188
|
+
:default: None
|
|
7189
|
+
'''
|
|
7190
|
+
result = self._values.get("kms_key")
|
|
7191
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
7192
|
+
|
|
6859
7193
|
@builtins.property
|
|
6860
7194
|
def latest_version_number(self) -> typing.Optional[jsii.Number]:
|
|
6861
7195
|
'''The latest version number of the hosted configuration.
|
|
@@ -6962,6 +7296,7 @@ class IApplication(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
6962
7296
|
content: ConfigurationContent,
|
|
6963
7297
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
6964
7298
|
version_label: typing.Optional[builtins.str] = None,
|
|
7299
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
6965
7300
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6966
7301
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
6967
7302
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -6976,6 +7311,7 @@ class IApplication(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
6976
7311
|
:param content: The content of the hosted configuration.
|
|
6977
7312
|
:param latest_version_number: The latest version number of the hosted configuration. Default: - None.
|
|
6978
7313
|
:param version_label: The version label of the hosted configuration. Default: - None.
|
|
7314
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
6979
7315
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
6980
7316
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
6981
7317
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -6992,8 +7328,9 @@ class IApplication(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
6992
7328
|
id: builtins.str,
|
|
6993
7329
|
*,
|
|
6994
7330
|
location: ConfigurationSource,
|
|
6995
|
-
retrieval_role: typing.Optional[
|
|
7331
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
6996
7332
|
version_number: typing.Optional[builtins.str] = None,
|
|
7333
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
6997
7334
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6998
7335
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
6999
7336
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -7008,6 +7345,7 @@ class IApplication(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
7008
7345
|
:param location: The location where the configuration is stored.
|
|
7009
7346
|
:param retrieval_role: The IAM role to retrieve the configuration. Default: - A role is generated.
|
|
7010
7347
|
:param version_number: The version number of the sourced configuration to deploy. If this is not specified, then there will be no deployment. Default: - None.
|
|
7348
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
7011
7349
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
7012
7350
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
7013
7351
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -7301,6 +7639,7 @@ class _IApplicationProxy(
|
|
|
7301
7639
|
content: ConfigurationContent,
|
|
7302
7640
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
7303
7641
|
version_label: typing.Optional[builtins.str] = None,
|
|
7642
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
7304
7643
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
7305
7644
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
7306
7645
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -7315,6 +7654,7 @@ class _IApplicationProxy(
|
|
|
7315
7654
|
:param content: The content of the hosted configuration.
|
|
7316
7655
|
:param latest_version_number: The latest version number of the hosted configuration. Default: - None.
|
|
7317
7656
|
:param version_label: The version label of the hosted configuration. Default: - None.
|
|
7657
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
7318
7658
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
7319
7659
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
7320
7660
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -7330,6 +7670,7 @@ class _IApplicationProxy(
|
|
|
7330
7670
|
content=content,
|
|
7331
7671
|
latest_version_number=latest_version_number,
|
|
7332
7672
|
version_label=version_label,
|
|
7673
|
+
deletion_protection_check=deletion_protection_check,
|
|
7333
7674
|
deployment_key=deployment_key,
|
|
7334
7675
|
deployment_strategy=deployment_strategy,
|
|
7335
7676
|
deploy_to=deploy_to,
|
|
@@ -7347,8 +7688,9 @@ class _IApplicationProxy(
|
|
|
7347
7688
|
id: builtins.str,
|
|
7348
7689
|
*,
|
|
7349
7690
|
location: ConfigurationSource,
|
|
7350
|
-
retrieval_role: typing.Optional[
|
|
7691
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
7351
7692
|
version_number: typing.Optional[builtins.str] = None,
|
|
7693
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
7352
7694
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
7353
7695
|
deployment_strategy: typing.Optional["IDeploymentStrategy"] = None,
|
|
7354
7696
|
deploy_to: typing.Optional[typing.Sequence["IEnvironment"]] = None,
|
|
@@ -7363,6 +7705,7 @@ class _IApplicationProxy(
|
|
|
7363
7705
|
:param location: The location where the configuration is stored.
|
|
7364
7706
|
:param retrieval_role: The IAM role to retrieve the configuration. Default: - A role is generated.
|
|
7365
7707
|
:param version_number: The version number of the sourced configuration to deploy. If this is not specified, then there will be no deployment. Default: - None.
|
|
7708
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
7366
7709
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
7367
7710
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
7368
7711
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -7378,6 +7721,7 @@ class _IApplicationProxy(
|
|
|
7378
7721
|
location=location,
|
|
7379
7722
|
retrieval_role=retrieval_role,
|
|
7380
7723
|
version_number=version_number,
|
|
7724
|
+
deletion_protection_check=deletion_protection_check,
|
|
7381
7725
|
deployment_key=deployment_key,
|
|
7382
7726
|
deployment_strategy=deployment_strategy,
|
|
7383
7727
|
deploy_to=deploy_to,
|
|
@@ -9568,7 +9912,7 @@ class Monitor(
|
|
|
9568
9912
|
def from_cloud_watch_alarm(
|
|
9569
9913
|
cls,
|
|
9570
9914
|
alarm: _IAlarm_ff3eabc0,
|
|
9571
|
-
alarm_role: typing.Optional[
|
|
9915
|
+
alarm_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
9572
9916
|
) -> "Monitor":
|
|
9573
9917
|
'''Creates a Monitor from a CloudWatch alarm.
|
|
9574
9918
|
|
|
@@ -10120,9 +10464,10 @@ class SourcedConfiguration(
|
|
|
10120
10464
|
id: builtins.str,
|
|
10121
10465
|
*,
|
|
10122
10466
|
location: ConfigurationSource,
|
|
10123
|
-
retrieval_role: typing.Optional[
|
|
10467
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
10124
10468
|
version_number: typing.Optional[builtins.str] = None,
|
|
10125
10469
|
application: IApplication,
|
|
10470
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
10126
10471
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
10127
10472
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
10128
10473
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -10138,6 +10483,7 @@ class SourcedConfiguration(
|
|
|
10138
10483
|
:param retrieval_role: The IAM role to retrieve the configuration. Default: - Auto generated if location type is not ConfigurationSourceType.CODE_PIPELINE otherwise no role specified.
|
|
10139
10484
|
:param version_number: The version number of the sourced configuration to deploy. If this is not specified, then there will be no deployment. Default: - None.
|
|
10140
10485
|
:param application: The application associated with the configuration.
|
|
10486
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
10141
10487
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
10142
10488
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
10143
10489
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -10155,6 +10501,7 @@ class SourcedConfiguration(
|
|
|
10155
10501
|
retrieval_role=retrieval_role,
|
|
10156
10502
|
version_number=version_number,
|
|
10157
10503
|
application=application,
|
|
10504
|
+
deletion_protection_check=deletion_protection_check,
|
|
10158
10505
|
deployment_key=deployment_key,
|
|
10159
10506
|
deployment_strategy=deployment_strategy,
|
|
10160
10507
|
deploy_to=deploy_to,
|
|
@@ -10571,11 +10918,27 @@ class SourcedConfiguration(
|
|
|
10571
10918
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10572
10919
|
jsii.set(self, "extensible", value) # pyright: ignore[reportArgumentType]
|
|
10573
10920
|
|
|
10921
|
+
@builtins.property
|
|
10922
|
+
@jsii.member(jsii_name="deletionProtectionCheck")
|
|
10923
|
+
def _deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
10924
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], jsii.get(self, "deletionProtectionCheck"))
|
|
10925
|
+
|
|
10926
|
+
@_deletion_protection_check.setter
|
|
10927
|
+
def _deletion_protection_check(
|
|
10928
|
+
self,
|
|
10929
|
+
value: typing.Optional[DeletionProtectionCheck],
|
|
10930
|
+
) -> None:
|
|
10931
|
+
if __debug__:
|
|
10932
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ff7730984215a53f88ccb3e1915941985bedc75f6b24a06eae12d583d8f4bca9)
|
|
10933
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10934
|
+
jsii.set(self, "deletionProtectionCheck", value) # pyright: ignore[reportArgumentType]
|
|
10935
|
+
|
|
10574
10936
|
|
|
10575
10937
|
@jsii.data_type(
|
|
10576
10938
|
jsii_type="aws-cdk-lib.aws_appconfig.SourcedConfigurationOptions",
|
|
10577
10939
|
jsii_struct_bases=[ConfigurationOptions],
|
|
10578
10940
|
name_mapping={
|
|
10941
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
10579
10942
|
"deployment_key": "deploymentKey",
|
|
10580
10943
|
"deployment_strategy": "deploymentStrategy",
|
|
10581
10944
|
"deploy_to": "deployTo",
|
|
@@ -10592,6 +10955,7 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10592
10955
|
def __init__(
|
|
10593
10956
|
self,
|
|
10594
10957
|
*,
|
|
10958
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
10595
10959
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
10596
10960
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
10597
10961
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -10600,11 +10964,12 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10600
10964
|
type: typing.Optional[ConfigurationType] = None,
|
|
10601
10965
|
validators: typing.Optional[typing.Sequence[IValidator]] = None,
|
|
10602
10966
|
location: ConfigurationSource,
|
|
10603
|
-
retrieval_role: typing.Optional[
|
|
10967
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
10604
10968
|
version_number: typing.Optional[builtins.str] = None,
|
|
10605
10969
|
) -> None:
|
|
10606
10970
|
'''Options for SourcedConfiguration.
|
|
10607
10971
|
|
|
10972
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
10608
10973
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
10609
10974
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
10610
10975
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -10623,26 +10988,27 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10623
10988
|
# The code below shows an example of how to instantiate this type.
|
|
10624
10989
|
# The values are placeholders you should change.
|
|
10625
10990
|
from aws_cdk import aws_appconfig as appconfig
|
|
10626
|
-
from aws_cdk import aws_iam as iam
|
|
10627
10991
|
from aws_cdk import aws_kms as kms
|
|
10992
|
+
from aws_cdk.interfaces import aws_iam as interfaces_aws_iam
|
|
10628
10993
|
|
|
10629
10994
|
# configuration_source: appconfig.ConfigurationSource
|
|
10630
10995
|
# deployment_strategy: appconfig.DeploymentStrategy
|
|
10631
10996
|
# environment: appconfig.Environment
|
|
10632
10997
|
# key: kms.Key
|
|
10633
|
-
#
|
|
10998
|
+
# role_ref: interfaces_aws_iam.IRoleRef
|
|
10634
10999
|
# validator: appconfig.IValidator
|
|
10635
11000
|
|
|
10636
11001
|
sourced_configuration_options = appconfig.SourcedConfigurationOptions(
|
|
10637
11002
|
location=configuration_source,
|
|
10638
11003
|
|
|
10639
11004
|
# the properties below are optional
|
|
11005
|
+
deletion_protection_check=appconfig.DeletionProtectionCheck.ACCOUNT_DEFAULT,
|
|
10640
11006
|
deployment_key=key,
|
|
10641
11007
|
deployment_strategy=deployment_strategy,
|
|
10642
11008
|
deploy_to=[environment],
|
|
10643
11009
|
description="description",
|
|
10644
11010
|
name="name",
|
|
10645
|
-
retrieval_role=
|
|
11011
|
+
retrieval_role=role_ref,
|
|
10646
11012
|
type=appconfig.ConfigurationType.FREEFORM,
|
|
10647
11013
|
validators=[validator],
|
|
10648
11014
|
version_number="versionNumber"
|
|
@@ -10650,6 +11016,7 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10650
11016
|
'''
|
|
10651
11017
|
if __debug__:
|
|
10652
11018
|
type_hints = typing.get_type_hints(_typecheckingstub__115deabe7a02ce295c431e7d9a99bcbe112bc017436380d80181c5db491187a1)
|
|
11019
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
10653
11020
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
10654
11021
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
10655
11022
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -10663,6 +11030,8 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10663
11030
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10664
11031
|
"location": location,
|
|
10665
11032
|
}
|
|
11033
|
+
if deletion_protection_check is not None:
|
|
11034
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
10666
11035
|
if deployment_key is not None:
|
|
10667
11036
|
self._values["deployment_key"] = deployment_key
|
|
10668
11037
|
if deployment_strategy is not None:
|
|
@@ -10682,6 +11051,20 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10682
11051
|
if version_number is not None:
|
|
10683
11052
|
self._values["version_number"] = version_number
|
|
10684
11053
|
|
|
11054
|
+
@builtins.property
|
|
11055
|
+
def deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
11056
|
+
'''A parameter to configure deletion protection.
|
|
11057
|
+
|
|
11058
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
11059
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
11060
|
+
|
|
11061
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
11062
|
+
|
|
11063
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
11064
|
+
'''
|
|
11065
|
+
result = self._values.get("deletion_protection_check")
|
|
11066
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], result)
|
|
11067
|
+
|
|
10685
11068
|
@builtins.property
|
|
10686
11069
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
10687
11070
|
'''The deployment key of the configuration.
|
|
@@ -10762,13 +11145,13 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10762
11145
|
return typing.cast(ConfigurationSource, result)
|
|
10763
11146
|
|
|
10764
11147
|
@builtins.property
|
|
10765
|
-
def retrieval_role(self) -> typing.Optional[
|
|
11148
|
+
def retrieval_role(self) -> typing.Optional[_IRoleRef_8400221f]:
|
|
10766
11149
|
'''The IAM role to retrieve the configuration.
|
|
10767
11150
|
|
|
10768
11151
|
:default: - A role is generated.
|
|
10769
11152
|
'''
|
|
10770
11153
|
result = self._values.get("retrieval_role")
|
|
10771
|
-
return typing.cast(typing.Optional[
|
|
11154
|
+
return typing.cast(typing.Optional[_IRoleRef_8400221f], result)
|
|
10772
11155
|
|
|
10773
11156
|
@builtins.property
|
|
10774
11157
|
def version_number(self) -> typing.Optional[builtins.str]:
|
|
@@ -10798,6 +11181,7 @@ class SourcedConfigurationOptions(ConfigurationOptions):
|
|
|
10798
11181
|
jsii_type="aws-cdk-lib.aws_appconfig.SourcedConfigurationProps",
|
|
10799
11182
|
jsii_struct_bases=[ConfigurationProps],
|
|
10800
11183
|
name_mapping={
|
|
11184
|
+
"deletion_protection_check": "deletionProtectionCheck",
|
|
10801
11185
|
"deployment_key": "deploymentKey",
|
|
10802
11186
|
"deployment_strategy": "deploymentStrategy",
|
|
10803
11187
|
"deploy_to": "deployTo",
|
|
@@ -10815,6 +11199,7 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10815
11199
|
def __init__(
|
|
10816
11200
|
self,
|
|
10817
11201
|
*,
|
|
11202
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
10818
11203
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
10819
11204
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
10820
11205
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -10824,11 +11209,12 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10824
11209
|
validators: typing.Optional[typing.Sequence[IValidator]] = None,
|
|
10825
11210
|
application: IApplication,
|
|
10826
11211
|
location: ConfigurationSource,
|
|
10827
|
-
retrieval_role: typing.Optional[
|
|
11212
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
10828
11213
|
version_number: typing.Optional[builtins.str] = None,
|
|
10829
11214
|
) -> None:
|
|
10830
11215
|
'''Properties for SourcedConfiguration.
|
|
10831
11216
|
|
|
11217
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
10832
11218
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
10833
11219
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
10834
11220
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -10859,6 +11245,7 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10859
11245
|
'''
|
|
10860
11246
|
if __debug__:
|
|
10861
11247
|
type_hints = typing.get_type_hints(_typecheckingstub__d41101d1b0f699a52d44a2b86fe3e9dcd0e6f1487f088908464eb49cb3e5e12c)
|
|
11248
|
+
check_type(argname="argument deletion_protection_check", value=deletion_protection_check, expected_type=type_hints["deletion_protection_check"])
|
|
10862
11249
|
check_type(argname="argument deployment_key", value=deployment_key, expected_type=type_hints["deployment_key"])
|
|
10863
11250
|
check_type(argname="argument deployment_strategy", value=deployment_strategy, expected_type=type_hints["deployment_strategy"])
|
|
10864
11251
|
check_type(argname="argument deploy_to", value=deploy_to, expected_type=type_hints["deploy_to"])
|
|
@@ -10874,6 +11261,8 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10874
11261
|
"application": application,
|
|
10875
11262
|
"location": location,
|
|
10876
11263
|
}
|
|
11264
|
+
if deletion_protection_check is not None:
|
|
11265
|
+
self._values["deletion_protection_check"] = deletion_protection_check
|
|
10877
11266
|
if deployment_key is not None:
|
|
10878
11267
|
self._values["deployment_key"] = deployment_key
|
|
10879
11268
|
if deployment_strategy is not None:
|
|
@@ -10893,6 +11282,20 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10893
11282
|
if version_number is not None:
|
|
10894
11283
|
self._values["version_number"] = version_number
|
|
10895
11284
|
|
|
11285
|
+
@builtins.property
|
|
11286
|
+
def deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
11287
|
+
'''A parameter to configure deletion protection.
|
|
11288
|
+
|
|
11289
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called
|
|
11290
|
+
either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval.
|
|
11291
|
+
|
|
11292
|
+
:default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
11293
|
+
|
|
11294
|
+
:see: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
|
|
11295
|
+
'''
|
|
11296
|
+
result = self._values.get("deletion_protection_check")
|
|
11297
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], result)
|
|
11298
|
+
|
|
10896
11299
|
@builtins.property
|
|
10897
11300
|
def deployment_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
10898
11301
|
'''The deployment key of the configuration.
|
|
@@ -10980,13 +11383,13 @@ class SourcedConfigurationProps(ConfigurationProps):
|
|
|
10980
11383
|
return typing.cast(ConfigurationSource, result)
|
|
10981
11384
|
|
|
10982
11385
|
@builtins.property
|
|
10983
|
-
def retrieval_role(self) -> typing.Optional[
|
|
11386
|
+
def retrieval_role(self) -> typing.Optional[_IRoleRef_8400221f]:
|
|
10984
11387
|
'''The IAM role to retrieve the configuration.
|
|
10985
11388
|
|
|
10986
11389
|
:default: - Auto generated if location type is not ConfigurationSourceType.CODE_PIPELINE otherwise no role specified.
|
|
10987
11390
|
'''
|
|
10988
11391
|
result = self._values.get("retrieval_role")
|
|
10989
|
-
return typing.cast(typing.Optional[
|
|
11392
|
+
return typing.cast(typing.Optional[_IRoleRef_8400221f], result)
|
|
10990
11393
|
|
|
10991
11394
|
@builtins.property
|
|
10992
11395
|
def version_number(self) -> typing.Optional[builtins.str]:
|
|
@@ -11258,6 +11661,7 @@ class Application(
|
|
|
11258
11661
|
content: ConfigurationContent,
|
|
11259
11662
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
11260
11663
|
version_label: typing.Optional[builtins.str] = None,
|
|
11664
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
11261
11665
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
11262
11666
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
11263
11667
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -11272,6 +11676,7 @@ class Application(
|
|
|
11272
11676
|
:param content: The content of the hosted configuration.
|
|
11273
11677
|
:param latest_version_number: The latest version number of the hosted configuration. Default: - None.
|
|
11274
11678
|
:param version_label: The version label of the hosted configuration. Default: - None.
|
|
11679
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
11275
11680
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
11276
11681
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
11277
11682
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -11287,6 +11692,7 @@ class Application(
|
|
|
11287
11692
|
content=content,
|
|
11288
11693
|
latest_version_number=latest_version_number,
|
|
11289
11694
|
version_label=version_label,
|
|
11695
|
+
deletion_protection_check=deletion_protection_check,
|
|
11290
11696
|
deployment_key=deployment_key,
|
|
11291
11697
|
deployment_strategy=deployment_strategy,
|
|
11292
11698
|
deploy_to=deploy_to,
|
|
@@ -11304,8 +11710,9 @@ class Application(
|
|
|
11304
11710
|
id: builtins.str,
|
|
11305
11711
|
*,
|
|
11306
11712
|
location: ConfigurationSource,
|
|
11307
|
-
retrieval_role: typing.Optional[
|
|
11713
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
11308
11714
|
version_number: typing.Optional[builtins.str] = None,
|
|
11715
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
11309
11716
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
11310
11717
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
11311
11718
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -11320,6 +11727,7 @@ class Application(
|
|
|
11320
11727
|
:param location: The location where the configuration is stored.
|
|
11321
11728
|
:param retrieval_role: The IAM role to retrieve the configuration. Default: - A role is generated.
|
|
11322
11729
|
:param version_number: The version number of the sourced configuration to deploy. If this is not specified, then there will be no deployment. Default: - None.
|
|
11730
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
11323
11731
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
11324
11732
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
11325
11733
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -11335,6 +11743,7 @@ class Application(
|
|
|
11335
11743
|
location=location,
|
|
11336
11744
|
retrieval_role=retrieval_role,
|
|
11337
11745
|
version_number=version_number,
|
|
11746
|
+
deletion_protection_check=deletion_protection_check,
|
|
11338
11747
|
deployment_key=deployment_key,
|
|
11339
11748
|
deployment_strategy=deployment_strategy,
|
|
11340
11749
|
deploy_to=deploy_to,
|
|
@@ -11624,6 +12033,12 @@ class Application(
|
|
|
11624
12033
|
|
|
11625
12034
|
return typing.cast(None, jsii.invoke(self, "preStartDeployment", [event_destination, options]))
|
|
11626
12035
|
|
|
12036
|
+
@jsii.python.classproperty
|
|
12037
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
12038
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
12039
|
+
'''Uniquely identifies this class.'''
|
|
12040
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
12041
|
+
|
|
11627
12042
|
@builtins.property
|
|
11628
12043
|
@jsii.member(jsii_name="applicationArn")
|
|
11629
12044
|
def application_arn(self) -> builtins.str:
|
|
@@ -11760,6 +12175,12 @@ class DeploymentStrategy(
|
|
|
11760
12175
|
check_type(argname="argument deployment_strategy_id", value=deployment_strategy_id, expected_type=type_hints["deployment_strategy_id"])
|
|
11761
12176
|
return typing.cast(IDeploymentStrategy, jsii.sinvoke(cls, "fromDeploymentStrategyId", [scope, id, deployment_strategy_id]))
|
|
11762
12177
|
|
|
12178
|
+
@jsii.python.classproperty
|
|
12179
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
12180
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
12181
|
+
'''Uniquely identifies this class.'''
|
|
12182
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
12183
|
+
|
|
11763
12184
|
@builtins.property
|
|
11764
12185
|
@jsii.member(jsii_name="deploymentStrategyArn")
|
|
11765
12186
|
def deployment_strategy_arn(self) -> builtins.str:
|
|
@@ -11831,10 +12252,16 @@ class Environment(
|
|
|
11831
12252
|
application=app
|
|
11832
12253
|
)
|
|
11833
12254
|
|
|
11834
|
-
appconfig.HostedConfiguration(self, "
|
|
12255
|
+
appconfig.HostedConfiguration(self, "MyFirstHostedConfig",
|
|
11835
12256
|
application=app,
|
|
11836
12257
|
deploy_to=[env],
|
|
11837
|
-
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content.")
|
|
12258
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my first configuration content.")
|
|
12259
|
+
)
|
|
12260
|
+
|
|
12261
|
+
appconfig.HostedConfiguration(self, "MySecondHostedConfig",
|
|
12262
|
+
application=app,
|
|
12263
|
+
deploy_to=[env],
|
|
12264
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my second configuration content.")
|
|
11838
12265
|
)
|
|
11839
12266
|
'''
|
|
11840
12267
|
|
|
@@ -12272,6 +12699,12 @@ class Environment(
|
|
|
12272
12699
|
|
|
12273
12700
|
return typing.cast(None, jsii.invoke(self, "preStartDeployment", [event_destination, options]))
|
|
12274
12701
|
|
|
12702
|
+
@jsii.python.classproperty
|
|
12703
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
12704
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
12705
|
+
'''Uniquely identifies this class.'''
|
|
12706
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
12707
|
+
|
|
12275
12708
|
@builtins.property
|
|
12276
12709
|
@jsii.member(jsii_name="applicationId")
|
|
12277
12710
|
def application_id(self) -> builtins.str:
|
|
@@ -12838,6 +13271,12 @@ class Extension(
|
|
|
12838
13271
|
|
|
12839
13272
|
return typing.cast(IExtension, jsii.sinvoke(cls, "fromExtensionAttributes", [scope, id, attrs]))
|
|
12840
13273
|
|
|
13274
|
+
@jsii.python.classproperty
|
|
13275
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
13276
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
13277
|
+
'''Uniquely identifies this class.'''
|
|
13278
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
13279
|
+
|
|
12841
13280
|
@builtins.property
|
|
12842
13281
|
@jsii.member(jsii_name="extensionArn")
|
|
12843
13282
|
def extension_arn(self) -> builtins.str:
|
|
@@ -12908,15 +13347,17 @@ class HostedConfiguration(
|
|
|
12908
13347
|
|
|
12909
13348
|
Example::
|
|
12910
13349
|
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
application=app
|
|
12914
|
-
)
|
|
13350
|
+
# application: appconfig.Application
|
|
13351
|
+
# fn: lambda.Function
|
|
12915
13352
|
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content.")
|
|
13353
|
+
|
|
13354
|
+
appconfig.HostedConfiguration(self, "MyHostedConfiguration",
|
|
13355
|
+
application=application,
|
|
13356
|
+
content=appconfig.ConfigurationContent.from_inline_text("This is my configuration content."),
|
|
13357
|
+
validators=[
|
|
13358
|
+
appconfig.JsonSchemaValidator.from_file("schema.json"),
|
|
13359
|
+
appconfig.LambdaValidator.from_function(fn)
|
|
13360
|
+
]
|
|
12920
13361
|
)
|
|
12921
13362
|
'''
|
|
12922
13363
|
|
|
@@ -12926,9 +13367,11 @@ class HostedConfiguration(
|
|
|
12926
13367
|
id: builtins.str,
|
|
12927
13368
|
*,
|
|
12928
13369
|
content: ConfigurationContent,
|
|
13370
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
12929
13371
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
12930
13372
|
version_label: typing.Optional[builtins.str] = None,
|
|
12931
13373
|
application: IApplication,
|
|
13374
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
12932
13375
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
12933
13376
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
12934
13377
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -12941,9 +13384,11 @@ class HostedConfiguration(
|
|
|
12941
13384
|
:param scope: -
|
|
12942
13385
|
:param id: -
|
|
12943
13386
|
:param content: The content of the hosted configuration.
|
|
13387
|
+
:param kms_key: The customer managed key to encrypt hosted configuration. Default: None
|
|
12944
13388
|
:param latest_version_number: The latest version number of the hosted configuration. Default: - None.
|
|
12945
13389
|
:param version_label: The version label of the hosted configuration. Default: - None.
|
|
12946
13390
|
:param application: The application associated with the configuration.
|
|
13391
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either ``GetLatestConfiguration`` or ``GetConfiguration`` for the configuration profile during the specified interval. Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
|
|
12947
13392
|
:param deployment_key: The deployment key of the configuration. Default: - None.
|
|
12948
13393
|
:param deployment_strategy: The deployment strategy for the configuration. Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
|
|
12949
13394
|
:param deploy_to: The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the ``IEnvironment.addDeployment`` or ``IEnvironment.addDeployments`` methods. Default: - None.
|
|
@@ -12958,9 +13403,11 @@ class HostedConfiguration(
|
|
|
12958
13403
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12959
13404
|
props = HostedConfigurationProps(
|
|
12960
13405
|
content=content,
|
|
13406
|
+
kms_key=kms_key,
|
|
12961
13407
|
latest_version_number=latest_version_number,
|
|
12962
13408
|
version_label=version_label,
|
|
12963
13409
|
application=application,
|
|
13410
|
+
deletion_protection_check=deletion_protection_check,
|
|
12964
13411
|
deployment_key=deployment_key,
|
|
12965
13412
|
deployment_strategy=deployment_strategy,
|
|
12966
13413
|
deploy_to=deploy_to,
|
|
@@ -13297,7 +13744,11 @@ class HostedConfiguration(
|
|
|
13297
13744
|
@builtins.property
|
|
13298
13745
|
@jsii.member(jsii_name="contentType")
|
|
13299
13746
|
def content_type(self) -> typing.Optional[builtins.str]:
|
|
13300
|
-
'''The content type
|
|
13747
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
13748
|
+
|
|
13749
|
+
For an up-to-date list of valid MIME types, see:
|
|
13750
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
13751
|
+
'''
|
|
13301
13752
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contentType"))
|
|
13302
13753
|
|
|
13303
13754
|
@builtins.property
|
|
@@ -13384,6 +13835,21 @@ class HostedConfiguration(
|
|
|
13384
13835
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13385
13836
|
jsii.set(self, "extensible", value) # pyright: ignore[reportArgumentType]
|
|
13386
13837
|
|
|
13838
|
+
@builtins.property
|
|
13839
|
+
@jsii.member(jsii_name="deletionProtectionCheck")
|
|
13840
|
+
def _deletion_protection_check(self) -> typing.Optional[DeletionProtectionCheck]:
|
|
13841
|
+
return typing.cast(typing.Optional[DeletionProtectionCheck], jsii.get(self, "deletionProtectionCheck"))
|
|
13842
|
+
|
|
13843
|
+
@_deletion_protection_check.setter
|
|
13844
|
+
def _deletion_protection_check(
|
|
13845
|
+
self,
|
|
13846
|
+
value: typing.Optional[DeletionProtectionCheck],
|
|
13847
|
+
) -> None:
|
|
13848
|
+
if __debug__:
|
|
13849
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0a1e6913f9293558fa6d2222b6d11c3af6b25866b966dd6319551117306cf272)
|
|
13850
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13851
|
+
jsii.set(self, "deletionProtectionCheck", value) # pyright: ignore[reportArgumentType]
|
|
13852
|
+
|
|
13387
13853
|
|
|
13388
13854
|
__all__ = [
|
|
13389
13855
|
"Action",
|
|
@@ -13490,6 +13956,14 @@ def _typecheckingstub__c5cb8c402a0d1a836162f596142de6ed2a1f2a0635a355ae334b92eb1
|
|
|
13490
13956
|
"""Type checking stubs"""
|
|
13491
13957
|
pass
|
|
13492
13958
|
|
|
13959
|
+
def _typecheckingstub__afd571466571231348a78cb931c25e5d1b3c70347a376b9d64e551c1d6126654(
|
|
13960
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
13961
|
+
id: builtins.str,
|
|
13962
|
+
application_id: builtins.str,
|
|
13963
|
+
) -> None:
|
|
13964
|
+
"""Type checking stubs"""
|
|
13965
|
+
pass
|
|
13966
|
+
|
|
13493
13967
|
def _typecheckingstub__0ea7b1a84049868bc175511a7cff8896cbe830377b519f6e81ca6912165c12a6(
|
|
13494
13968
|
inspector: _TreeInspector_488e0dd5,
|
|
13495
13969
|
) -> None:
|
|
@@ -13766,6 +14240,14 @@ def _typecheckingstub__bb88c221f102c1b57ba4f19db7656eb36ff011a70e3643e39d048c313
|
|
|
13766
14240
|
"""Type checking stubs"""
|
|
13767
14241
|
pass
|
|
13768
14242
|
|
|
14243
|
+
def _typecheckingstub__a211633629f45a21de52e2d3b8c73b520eee7fc38d9ec5fafe4d90b277a310a5(
|
|
14244
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14245
|
+
id: builtins.str,
|
|
14246
|
+
deployment_strategy_id: builtins.str,
|
|
14247
|
+
) -> None:
|
|
14248
|
+
"""Type checking stubs"""
|
|
14249
|
+
pass
|
|
14250
|
+
|
|
13769
14251
|
def _typecheckingstub__6c07282bd387e2aab09e9241f96ded37ff336d3f231f996e048ef207d3a38bc3(
|
|
13770
14252
|
inspector: _TreeInspector_488e0dd5,
|
|
13771
14253
|
) -> None:
|
|
@@ -14024,6 +14506,22 @@ def _typecheckingstub__b2e5a069dff64a93330fdfc39cee819956ed46cafa89dc1aee558b0c2
|
|
|
14024
14506
|
"""Type checking stubs"""
|
|
14025
14507
|
pass
|
|
14026
14508
|
|
|
14509
|
+
def _typecheckingstub__0f2ddb8bad12cb1e96088c9c43262a44a268a1f9f59e087e06c9e1981203af04(
|
|
14510
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14511
|
+
id: builtins.str,
|
|
14512
|
+
arn: builtins.str,
|
|
14513
|
+
) -> None:
|
|
14514
|
+
"""Type checking stubs"""
|
|
14515
|
+
pass
|
|
14516
|
+
|
|
14517
|
+
def _typecheckingstub__40444fb29d9428650401cd4b9cf7689bd4735cae65b5137a1802e1a8a7fd4825(
|
|
14518
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14519
|
+
id: builtins.str,
|
|
14520
|
+
extension_association_id: builtins.str,
|
|
14521
|
+
) -> None:
|
|
14522
|
+
"""Type checking stubs"""
|
|
14523
|
+
pass
|
|
14524
|
+
|
|
14027
14525
|
def _typecheckingstub__209622600665bfa16663cc19d0b91c8caf5c5d29f4cc7cb09fd6fba67bcb1739(
|
|
14028
14526
|
inspector: _TreeInspector_488e0dd5,
|
|
14029
14527
|
) -> None:
|
|
@@ -14206,6 +14704,7 @@ def _typecheckingstub__af127c28dd1d72bacc88a31e7606c4f0729ead8629d2aa39eca948c88
|
|
|
14206
14704
|
|
|
14207
14705
|
def _typecheckingstub__7d8aafff2e2f314c1c4bef6e213f0aaef56ff294051b33fee835ad5716a7e093(
|
|
14208
14706
|
*,
|
|
14707
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14209
14708
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14210
14709
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14211
14710
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14219,6 +14718,7 @@ def _typecheckingstub__7d8aafff2e2f314c1c4bef6e213f0aaef56ff294051b33fee835ad571
|
|
|
14219
14718
|
|
|
14220
14719
|
def _typecheckingstub__fde28a86ff967e860849eabd5d00b00f1f841ba2ded09e00655f2b7d433ef121(
|
|
14221
14720
|
*,
|
|
14721
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14222
14722
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14223
14723
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14224
14724
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14346,6 +14846,7 @@ def _typecheckingstub__003bfe5f4d042a69eceddde85ccfcfdb2e64aaea78e28426808804379
|
|
|
14346
14846
|
|
|
14347
14847
|
def _typecheckingstub__4c4d8fda2e4860630073eda40d5a32347248e82c24127624ef93e735b071da8f(
|
|
14348
14848
|
*,
|
|
14849
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14349
14850
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14350
14851
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14351
14852
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14362,6 +14863,7 @@ def _typecheckingstub__4c4d8fda2e4860630073eda40d5a32347248e82c24127624ef93e735b
|
|
|
14362
14863
|
|
|
14363
14864
|
def _typecheckingstub__7cba9d5464f3f4cbc208d892995245e5078fc2cc794651c71942035a9b151b2e(
|
|
14364
14865
|
*,
|
|
14866
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14365
14867
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14366
14868
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14367
14869
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14371,6 +14873,7 @@ def _typecheckingstub__7cba9d5464f3f4cbc208d892995245e5078fc2cc794651c71942035a9
|
|
|
14371
14873
|
validators: typing.Optional[typing.Sequence[IValidator]] = None,
|
|
14372
14874
|
application: IApplication,
|
|
14373
14875
|
content: ConfigurationContent,
|
|
14876
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
14374
14877
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
14375
14878
|
version_label: typing.Optional[builtins.str] = None,
|
|
14376
14879
|
) -> None:
|
|
@@ -14406,6 +14909,7 @@ def _typecheckingstub__3bd9df804b6975de3426c197a45965f129649a986f5cd9a03f0a4ee6f
|
|
|
14406
14909
|
content: ConfigurationContent,
|
|
14407
14910
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
14408
14911
|
version_label: typing.Optional[builtins.str] = None,
|
|
14912
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14409
14913
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14410
14914
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14411
14915
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14421,8 +14925,9 @@ def _typecheckingstub__652068ebd01467de1bc3159a4c8fef165c1053fe6662fcbb6e0b8cb9f
|
|
|
14421
14925
|
id: builtins.str,
|
|
14422
14926
|
*,
|
|
14423
14927
|
location: ConfigurationSource,
|
|
14424
|
-
retrieval_role: typing.Optional[
|
|
14928
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
14425
14929
|
version_number: typing.Optional[builtins.str] = None,
|
|
14930
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14426
14931
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14427
14932
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14428
14933
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14797,7 +15302,7 @@ def _typecheckingstub__a245d9ad2d5a72963867d7f392bf31c9977c87f33b0ba8389f1024ee4
|
|
|
14797
15302
|
|
|
14798
15303
|
def _typecheckingstub__ccc59f1c5523364b8528526a5b6087774df2b905407caca37b7c685a5bfb76cb(
|
|
14799
15304
|
alarm: _IAlarm_ff3eabc0,
|
|
14800
|
-
alarm_role: typing.Optional[
|
|
15305
|
+
alarm_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
14801
15306
|
) -> None:
|
|
14802
15307
|
"""Type checking stubs"""
|
|
14803
15308
|
pass
|
|
@@ -14838,9 +15343,10 @@ def _typecheckingstub__61200a738f2584e5d86190492c99ded9cebb5cc41d230eec1c74f7130
|
|
|
14838
15343
|
id: builtins.str,
|
|
14839
15344
|
*,
|
|
14840
15345
|
location: ConfigurationSource,
|
|
14841
|
-
retrieval_role: typing.Optional[
|
|
15346
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
14842
15347
|
version_number: typing.Optional[builtins.str] = None,
|
|
14843
15348
|
application: IApplication,
|
|
15349
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14844
15350
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14845
15351
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14846
15352
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14970,8 +15476,15 @@ def _typecheckingstub__af782e66a589643c3273915140536d8c7931cca7f2adf6a0fc45e67b9
|
|
|
14970
15476
|
"""Type checking stubs"""
|
|
14971
15477
|
pass
|
|
14972
15478
|
|
|
15479
|
+
def _typecheckingstub__ff7730984215a53f88ccb3e1915941985bedc75f6b24a06eae12d583d8f4bca9(
|
|
15480
|
+
value: typing.Optional[DeletionProtectionCheck],
|
|
15481
|
+
) -> None:
|
|
15482
|
+
"""Type checking stubs"""
|
|
15483
|
+
pass
|
|
15484
|
+
|
|
14973
15485
|
def _typecheckingstub__115deabe7a02ce295c431e7d9a99bcbe112bc017436380d80181c5db491187a1(
|
|
14974
15486
|
*,
|
|
15487
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14975
15488
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14976
15489
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14977
15490
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14980,7 +15493,7 @@ def _typecheckingstub__115deabe7a02ce295c431e7d9a99bcbe112bc017436380d80181c5db4
|
|
|
14980
15493
|
type: typing.Optional[ConfigurationType] = None,
|
|
14981
15494
|
validators: typing.Optional[typing.Sequence[IValidator]] = None,
|
|
14982
15495
|
location: ConfigurationSource,
|
|
14983
|
-
retrieval_role: typing.Optional[
|
|
15496
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
14984
15497
|
version_number: typing.Optional[builtins.str] = None,
|
|
14985
15498
|
) -> None:
|
|
14986
15499
|
"""Type checking stubs"""
|
|
@@ -14988,6 +15501,7 @@ def _typecheckingstub__115deabe7a02ce295c431e7d9a99bcbe112bc017436380d80181c5db4
|
|
|
14988
15501
|
|
|
14989
15502
|
def _typecheckingstub__d41101d1b0f699a52d44a2b86fe3e9dcd0e6f1487f088908464eb49cb3e5e12c(
|
|
14990
15503
|
*,
|
|
15504
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
14991
15505
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
14992
15506
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
14993
15507
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -14997,7 +15511,7 @@ def _typecheckingstub__d41101d1b0f699a52d44a2b86fe3e9dcd0e6f1487f088908464eb49cb
|
|
|
14997
15511
|
validators: typing.Optional[typing.Sequence[IValidator]] = None,
|
|
14998
15512
|
application: IApplication,
|
|
14999
15513
|
location: ConfigurationSource,
|
|
15000
|
-
retrieval_role: typing.Optional[
|
|
15514
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
15001
15515
|
version_number: typing.Optional[builtins.str] = None,
|
|
15002
15516
|
) -> None:
|
|
15003
15517
|
"""Type checking stubs"""
|
|
@@ -15077,6 +15591,7 @@ def _typecheckingstub__7b18310538532e3e3e53af99bb5da0c248186673a38a5175633a0149c
|
|
|
15077
15591
|
content: ConfigurationContent,
|
|
15078
15592
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
15079
15593
|
version_label: typing.Optional[builtins.str] = None,
|
|
15594
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
15080
15595
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
15081
15596
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
15082
15597
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -15092,8 +15607,9 @@ def _typecheckingstub__8c0399b30aac3a09a4a5e9f3f33f358c90afa60099a7dd6cfc1f1b40f
|
|
|
15092
15607
|
id: builtins.str,
|
|
15093
15608
|
*,
|
|
15094
15609
|
location: ConfigurationSource,
|
|
15095
|
-
retrieval_role: typing.Optional[
|
|
15610
|
+
retrieval_role: typing.Optional[_IRoleRef_8400221f] = None,
|
|
15096
15611
|
version_number: typing.Optional[builtins.str] = None,
|
|
15612
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
15097
15613
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
15098
15614
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
15099
15615
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -15575,9 +16091,11 @@ def _typecheckingstub__8e7eecc550d3d689f07534db869c7be67f00e08dcbf880bbb2656d019
|
|
|
15575
16091
|
id: builtins.str,
|
|
15576
16092
|
*,
|
|
15577
16093
|
content: ConfigurationContent,
|
|
16094
|
+
kms_key: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
15578
16095
|
latest_version_number: typing.Optional[jsii.Number] = None,
|
|
15579
16096
|
version_label: typing.Optional[builtins.str] = None,
|
|
15580
16097
|
application: IApplication,
|
|
16098
|
+
deletion_protection_check: typing.Optional[DeletionProtectionCheck] = None,
|
|
15581
16099
|
deployment_key: typing.Optional[_IKey_5f11635f] = None,
|
|
15582
16100
|
deployment_strategy: typing.Optional[IDeploymentStrategy] = None,
|
|
15583
16101
|
deploy_to: typing.Optional[typing.Sequence[IEnvironment]] = None,
|
|
@@ -15706,3 +16224,12 @@ def _typecheckingstub__27c25acd80a9bdc9870365bad92556272569854dc957ad7cdf2b6e5a2
|
|
|
15706
16224
|
) -> None:
|
|
15707
16225
|
"""Type checking stubs"""
|
|
15708
16226
|
pass
|
|
16227
|
+
|
|
16228
|
+
def _typecheckingstub__0a1e6913f9293558fa6d2222b6d11c3af6b25866b966dd6319551117306cf272(
|
|
16229
|
+
value: typing.Optional[DeletionProtectionCheck],
|
|
16230
|
+
) -> None:
|
|
16231
|
+
"""Type checking stubs"""
|
|
16232
|
+
pass
|
|
16233
|
+
|
|
16234
|
+
for cls in [IApplication, IConfiguration, IDeploymentStrategy, IEnvironment, IEventDestination, IExtensible, IExtension, IValidator]:
|
|
16235
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|