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
|
@@ -109,13 +109,13 @@ class ArtifactManifest:
|
|
|
109
109
|
display_name: typing.Optional[builtins.str] = None,
|
|
110
110
|
environment: typing.Optional[builtins.str] = None,
|
|
111
111
|
metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union["MetadataEntry", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
112
|
-
properties: typing.Optional[typing.Union[typing.Union["AwsCloudFormationStackProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["AssetManifestProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["TreeArtifactProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["NestedCloudAssemblyProperties", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
112
|
+
properties: typing.Optional[typing.Union[typing.Union["AwsCloudFormationStackProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["AssetManifestProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["TreeArtifactProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["NestedCloudAssemblyProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["FeatureFlagReportProperties", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
113
113
|
) -> None:
|
|
114
114
|
'''A manifest for a single artifact within the cloud assembly.
|
|
115
115
|
|
|
116
116
|
:param type: The type of artifact.
|
|
117
117
|
:param dependencies: IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.
|
|
118
|
-
:param display_name: A string that
|
|
118
|
+
:param display_name: A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name "display name" doesn't imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name
|
|
119
119
|
:param environment: The environment into which this artifact is deployed. Default: - no envrionment.
|
|
120
120
|
:param metadata: Associated metadata. Default: - no metadata.
|
|
121
121
|
:param properties: The set of properties for this artifact (depends on type). Default: - no properties.
|
|
@@ -223,9 +223,12 @@ class ArtifactManifest:
|
|
|
223
223
|
|
|
224
224
|
@builtins.property
|
|
225
225
|
def display_name(self) -> typing.Optional[builtins.str]:
|
|
226
|
-
'''A string that
|
|
226
|
+
'''A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree.
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
Is used by the CLI to present a list of stacks to the user in a way that
|
|
229
|
+
makes sense to them. Even though the property name "display name" doesn't
|
|
230
|
+
imply it, this field is used to select stacks as well, so all stacks should
|
|
231
|
+
have a unique display name.
|
|
229
232
|
|
|
230
233
|
:default: - no display name
|
|
231
234
|
'''
|
|
@@ -255,13 +258,13 @@ class ArtifactManifest:
|
|
|
255
258
|
@builtins.property
|
|
256
259
|
def properties(
|
|
257
260
|
self,
|
|
258
|
-
) -> typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties"]]:
|
|
261
|
+
) -> typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties", "FeatureFlagReportProperties"]]:
|
|
259
262
|
'''The set of properties for this artifact (depends on type).
|
|
260
263
|
|
|
261
264
|
:default: - no properties.
|
|
262
265
|
'''
|
|
263
266
|
result = self._values.get("properties")
|
|
264
|
-
return typing.cast(typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties"]], result)
|
|
267
|
+
return typing.cast(typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties", "FeatureFlagReportProperties"]], result)
|
|
265
268
|
|
|
266
269
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
267
270
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -291,6 +294,8 @@ class ArtifactMetadataEntryType(enum.Enum):
|
|
|
291
294
|
'''Represents the CloudFormation logical ID of a resource at a certain path.'''
|
|
292
295
|
STACK_TAGS = "STACK_TAGS"
|
|
293
296
|
'''Represents tags of a stack.'''
|
|
297
|
+
DO_NOT_REFACTOR = "DO_NOT_REFACTOR"
|
|
298
|
+
'''Whether the resource should be excluded during refactoring.'''
|
|
294
299
|
|
|
295
300
|
|
|
296
301
|
@jsii.enum(jsii_type="aws-cdk-lib.cloud_assembly_schema.ArtifactType")
|
|
@@ -307,6 +312,8 @@ class ArtifactType(enum.Enum):
|
|
|
307
312
|
'''Manifest for all assets in the Cloud Assembly.'''
|
|
308
313
|
NESTED_CLOUD_ASSEMBLY = "NESTED_CLOUD_ASSEMBLY"
|
|
309
314
|
'''Nested Cloud Assembly.'''
|
|
315
|
+
FEATURE_FLAG_REPORT = "FEATURE_FLAG_REPORT"
|
|
316
|
+
'''Feature flag report.'''
|
|
310
317
|
|
|
311
318
|
|
|
312
319
|
@jsii.data_type(
|
|
@@ -4852,6 +4859,206 @@ class EndpointServiceAvailabilityZonesContextQuery(ContextLookupRoleOptions):
|
|
|
4852
4859
|
)
|
|
4853
4860
|
|
|
4854
4861
|
|
|
4862
|
+
@jsii.data_type(
|
|
4863
|
+
jsii_type="aws-cdk-lib.cloud_assembly_schema.FeatureFlag",
|
|
4864
|
+
jsii_struct_bases=[],
|
|
4865
|
+
name_mapping={
|
|
4866
|
+
"explanation": "explanation",
|
|
4867
|
+
"recommended_value": "recommendedValue",
|
|
4868
|
+
"unconfigured_behaves_like": "unconfiguredBehavesLike",
|
|
4869
|
+
"user_value": "userValue",
|
|
4870
|
+
},
|
|
4871
|
+
)
|
|
4872
|
+
class FeatureFlag:
|
|
4873
|
+
def __init__(
|
|
4874
|
+
self,
|
|
4875
|
+
*,
|
|
4876
|
+
explanation: typing.Optional[builtins.str] = None,
|
|
4877
|
+
recommended_value: typing.Any = None,
|
|
4878
|
+
unconfigured_behaves_like: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
4879
|
+
user_value: typing.Any = None,
|
|
4880
|
+
) -> None:
|
|
4881
|
+
'''A single feature flag.
|
|
4882
|
+
|
|
4883
|
+
:param explanation: Explanation about the purpose of this flag that can be shown to the user. Default: - No description
|
|
4884
|
+
:param recommended_value: The library-recommended value for this flag, if any. It is possible that there is no recommended value. Default: - No recommended value.
|
|
4885
|
+
:param unconfigured_behaves_like: The value of the flag if it is unconfigured. Default: - No value
|
|
4886
|
+
:param user_value: The value configured by the user. This is the value configured at the root of the tree. Users may also have configured values at specific locations in the tree; we don't report on those. Default: - Not configured by the user
|
|
4887
|
+
|
|
4888
|
+
:exampleMetadata: fixture=_generated
|
|
4889
|
+
|
|
4890
|
+
Example::
|
|
4891
|
+
|
|
4892
|
+
# The code below shows an example of how to instantiate this type.
|
|
4893
|
+
# The values are placeholders you should change.
|
|
4894
|
+
from aws_cdk import cloud_assembly_schema
|
|
4895
|
+
|
|
4896
|
+
# recommended_value: Any
|
|
4897
|
+
# unconfigured_behaves_like: Any
|
|
4898
|
+
# user_value: Any
|
|
4899
|
+
|
|
4900
|
+
feature_flag = FeatureFlag(
|
|
4901
|
+
explanation="explanation",
|
|
4902
|
+
recommended_value=recommended_value,
|
|
4903
|
+
unconfigured_behaves_like={
|
|
4904
|
+
"unconfigured_behaves_like_key": unconfigured_behaves_like
|
|
4905
|
+
},
|
|
4906
|
+
user_value=user_value
|
|
4907
|
+
)
|
|
4908
|
+
'''
|
|
4909
|
+
if __debug__:
|
|
4910
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7ccfacd89aa44cd30dd2b6b40d937da9546cf5f11f13266ca45710d4e373233)
|
|
4911
|
+
check_type(argname="argument explanation", value=explanation, expected_type=type_hints["explanation"])
|
|
4912
|
+
check_type(argname="argument recommended_value", value=recommended_value, expected_type=type_hints["recommended_value"])
|
|
4913
|
+
check_type(argname="argument unconfigured_behaves_like", value=unconfigured_behaves_like, expected_type=type_hints["unconfigured_behaves_like"])
|
|
4914
|
+
check_type(argname="argument user_value", value=user_value, expected_type=type_hints["user_value"])
|
|
4915
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4916
|
+
if explanation is not None:
|
|
4917
|
+
self._values["explanation"] = explanation
|
|
4918
|
+
if recommended_value is not None:
|
|
4919
|
+
self._values["recommended_value"] = recommended_value
|
|
4920
|
+
if unconfigured_behaves_like is not None:
|
|
4921
|
+
self._values["unconfigured_behaves_like"] = unconfigured_behaves_like
|
|
4922
|
+
if user_value is not None:
|
|
4923
|
+
self._values["user_value"] = user_value
|
|
4924
|
+
|
|
4925
|
+
@builtins.property
|
|
4926
|
+
def explanation(self) -> typing.Optional[builtins.str]:
|
|
4927
|
+
'''Explanation about the purpose of this flag that can be shown to the user.
|
|
4928
|
+
|
|
4929
|
+
:default: - No description
|
|
4930
|
+
'''
|
|
4931
|
+
result = self._values.get("explanation")
|
|
4932
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4933
|
+
|
|
4934
|
+
@builtins.property
|
|
4935
|
+
def recommended_value(self) -> typing.Any:
|
|
4936
|
+
'''The library-recommended value for this flag, if any.
|
|
4937
|
+
|
|
4938
|
+
It is possible that there is no recommended value.
|
|
4939
|
+
|
|
4940
|
+
:default: - No recommended value.
|
|
4941
|
+
'''
|
|
4942
|
+
result = self._values.get("recommended_value")
|
|
4943
|
+
return typing.cast(typing.Any, result)
|
|
4944
|
+
|
|
4945
|
+
@builtins.property
|
|
4946
|
+
def unconfigured_behaves_like(
|
|
4947
|
+
self,
|
|
4948
|
+
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
4949
|
+
'''The value of the flag if it is unconfigured.
|
|
4950
|
+
|
|
4951
|
+
:default: - No value
|
|
4952
|
+
'''
|
|
4953
|
+
result = self._values.get("unconfigured_behaves_like")
|
|
4954
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
4955
|
+
|
|
4956
|
+
@builtins.property
|
|
4957
|
+
def user_value(self) -> typing.Any:
|
|
4958
|
+
'''The value configured by the user.
|
|
4959
|
+
|
|
4960
|
+
This is the value configured at the root of the tree. Users may also have
|
|
4961
|
+
configured values at specific locations in the tree; we don't report on
|
|
4962
|
+
those.
|
|
4963
|
+
|
|
4964
|
+
:default: - Not configured by the user
|
|
4965
|
+
'''
|
|
4966
|
+
result = self._values.get("user_value")
|
|
4967
|
+
return typing.cast(typing.Any, result)
|
|
4968
|
+
|
|
4969
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4970
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4971
|
+
|
|
4972
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4973
|
+
return not (rhs == self)
|
|
4974
|
+
|
|
4975
|
+
def __repr__(self) -> str:
|
|
4976
|
+
return "FeatureFlag(%s)" % ", ".join(
|
|
4977
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4978
|
+
)
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
@jsii.data_type(
|
|
4982
|
+
jsii_type="aws-cdk-lib.cloud_assembly_schema.FeatureFlagReportProperties",
|
|
4983
|
+
jsii_struct_bases=[],
|
|
4984
|
+
name_mapping={"flags": "flags", "module": "module"},
|
|
4985
|
+
)
|
|
4986
|
+
class FeatureFlagReportProperties:
|
|
4987
|
+
def __init__(
|
|
4988
|
+
self,
|
|
4989
|
+
*,
|
|
4990
|
+
flags: typing.Mapping[builtins.str, typing.Union[FeatureFlag, typing.Dict[builtins.str, typing.Any]]],
|
|
4991
|
+
module: builtins.str,
|
|
4992
|
+
) -> None:
|
|
4993
|
+
'''Artifact properties for a feature flag report.
|
|
4994
|
+
|
|
4995
|
+
A feature flag report is small enough that all the properties can be inlined
|
|
4996
|
+
here, and doesn't need an additional file.
|
|
4997
|
+
|
|
4998
|
+
:param flags: Information about every feature flag supported by this library.
|
|
4999
|
+
:param module: The library that this feature flag report applies to.
|
|
5000
|
+
|
|
5001
|
+
:exampleMetadata: fixture=_generated
|
|
5002
|
+
|
|
5003
|
+
Example::
|
|
5004
|
+
|
|
5005
|
+
# The code below shows an example of how to instantiate this type.
|
|
5006
|
+
# The values are placeholders you should change.
|
|
5007
|
+
from aws_cdk import cloud_assembly_schema
|
|
5008
|
+
|
|
5009
|
+
# recommended_value: Any
|
|
5010
|
+
# unconfigured_behaves_like: Any
|
|
5011
|
+
# user_value: Any
|
|
5012
|
+
|
|
5013
|
+
feature_flag_report_properties = FeatureFlagReportProperties(
|
|
5014
|
+
flags={
|
|
5015
|
+
"flags_key": FeatureFlag(
|
|
5016
|
+
explanation="explanation",
|
|
5017
|
+
recommended_value=recommended_value,
|
|
5018
|
+
unconfigured_behaves_like={
|
|
5019
|
+
"unconfigured_behaves_like_key": unconfigured_behaves_like
|
|
5020
|
+
},
|
|
5021
|
+
user_value=user_value
|
|
5022
|
+
)
|
|
5023
|
+
},
|
|
5024
|
+
module="module"
|
|
5025
|
+
)
|
|
5026
|
+
'''
|
|
5027
|
+
if __debug__:
|
|
5028
|
+
type_hints = typing.get_type_hints(_typecheckingstub__028d9005a883d2bec5fe9dc6270df8f73f5150cc394cf0043b71cf90072d2ce5)
|
|
5029
|
+
check_type(argname="argument flags", value=flags, expected_type=type_hints["flags"])
|
|
5030
|
+
check_type(argname="argument module", value=module, expected_type=type_hints["module"])
|
|
5031
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5032
|
+
"flags": flags,
|
|
5033
|
+
"module": module,
|
|
5034
|
+
}
|
|
5035
|
+
|
|
5036
|
+
@builtins.property
|
|
5037
|
+
def flags(self) -> typing.Mapping[builtins.str, FeatureFlag]:
|
|
5038
|
+
'''Information about every feature flag supported by this library.'''
|
|
5039
|
+
result = self._values.get("flags")
|
|
5040
|
+
assert result is not None, "Required property 'flags' is missing"
|
|
5041
|
+
return typing.cast(typing.Mapping[builtins.str, FeatureFlag], result)
|
|
5042
|
+
|
|
5043
|
+
@builtins.property
|
|
5044
|
+
def module(self) -> builtins.str:
|
|
5045
|
+
'''The library that this feature flag report applies to.'''
|
|
5046
|
+
result = self._values.get("module")
|
|
5047
|
+
assert result is not None, "Required property 'module' is missing"
|
|
5048
|
+
return typing.cast(builtins.str, result)
|
|
5049
|
+
|
|
5050
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5051
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5052
|
+
|
|
5053
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5054
|
+
return not (rhs == self)
|
|
5055
|
+
|
|
5056
|
+
def __repr__(self) -> str:
|
|
5057
|
+
return "FeatureFlagReportProperties(%s)" % ", ".join(
|
|
5058
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5059
|
+
)
|
|
5060
|
+
|
|
5061
|
+
|
|
4855
5062
|
@jsii.data_type(
|
|
4856
5063
|
jsii_type="aws-cdk-lib.cloud_assembly_schema.FileAsset",
|
|
4857
5064
|
jsii_struct_bases=[],
|
|
@@ -5694,7 +5901,7 @@ class IntegManifest:
|
|
|
5694
5901
|
|
|
5695
5902
|
:param test_cases: test cases.
|
|
5696
5903
|
:param version: Version of the manifest.
|
|
5697
|
-
:param enable_lookups: Enable lookups for this test. If lookups are enabled then ``stackUpdateWorkflow`` must be set to false. Lookups should only be enabled when you are
|
|
5904
|
+
:param enable_lookups: Enable lookups for this test. If lookups are enabled then ``stackUpdateWorkflow`` must be set to false. Lookups should only be enabled when you are explicitly testing lookups. Default: false
|
|
5698
5905
|
:param synth_context: Additional context to use when performing a synth. Any context provided here will override any default context Default: - no additional context
|
|
5699
5906
|
|
|
5700
5907
|
:exampleMetadata: fixture=_generated
|
|
@@ -5853,7 +6060,7 @@ class IntegManifest:
|
|
|
5853
6060
|
|
|
5854
6061
|
If lookups are enabled
|
|
5855
6062
|
then ``stackUpdateWorkflow`` must be set to false.
|
|
5856
|
-
Lookups should only be enabled when you are
|
|
6063
|
+
Lookups should only be enabled when you are explicitly testing
|
|
5857
6064
|
lookups.
|
|
5858
6065
|
|
|
5859
6066
|
:default: false
|
|
@@ -8238,7 +8445,10 @@ class AvailabilityZonesContextQuery(ContextLookupRoleOptions):
|
|
|
8238
8445
|
"lookup_role_external_id": "lookupRoleExternalId",
|
|
8239
8446
|
"properties_to_return": "propertiesToReturn",
|
|
8240
8447
|
"type_name": "typeName",
|
|
8448
|
+
"dummy_value": "dummyValue",
|
|
8241
8449
|
"exact_identifier": "exactIdentifier",
|
|
8450
|
+
"expected_match_count": "expectedMatchCount",
|
|
8451
|
+
"ignore_error_on_missing_context": "ignoreErrorOnMissingContext",
|
|
8242
8452
|
"property_match": "propertyMatch",
|
|
8243
8453
|
},
|
|
8244
8454
|
)
|
|
@@ -8253,48 +8463,43 @@ class CcApiContextQuery(ContextLookupRoleOptions):
|
|
|
8253
8463
|
lookup_role_external_id: typing.Optional[builtins.str] = None,
|
|
8254
8464
|
properties_to_return: typing.Sequence[builtins.str],
|
|
8255
8465
|
type_name: builtins.str,
|
|
8466
|
+
dummy_value: typing.Any = None,
|
|
8256
8467
|
exact_identifier: typing.Optional[builtins.str] = None,
|
|
8468
|
+
expected_match_count: typing.Optional[builtins.str] = None,
|
|
8469
|
+
ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
|
|
8257
8470
|
property_match: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
8258
8471
|
) -> None:
|
|
8259
|
-
'''Query input for lookup up
|
|
8472
|
+
'''Query input for lookup up CloudFormation resources using CC API.
|
|
8473
|
+
|
|
8474
|
+
The example below is required to successfully compile CDK (otherwise,
|
|
8475
|
+
the CDK build will generate a synthetic example for the below, but it
|
|
8476
|
+
doesn't have enough type information about the literal string union
|
|
8477
|
+
to generate a validly compiling example).
|
|
8260
8478
|
|
|
8261
8479
|
:param account: Query account.
|
|
8262
8480
|
:param region: Query region.
|
|
8263
8481
|
:param assume_role_additional_options: Additional options to pass to STS when assuming the lookup role. - ``RoleArn`` should not be used. Use the dedicated ``lookupRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``lookupRoleExternalId`` instead. Default: - No additional options.
|
|
8264
8482
|
:param lookup_role_arn: The ARN of the role that should be used to look up the missing values. Default: - None
|
|
8265
8483
|
:param lookup_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
|
|
8266
|
-
:param properties_to_return: This is a set of properties returned from CC API that we want to return from ContextQuery.
|
|
8267
|
-
:param type_name: The
|
|
8268
|
-
:param
|
|
8269
|
-
:param
|
|
8270
|
-
|
|
8271
|
-
:
|
|
8484
|
+
:param properties_to_return: This is a set of properties returned from CC API that we want to return from ContextQuery. If any properties listed here are absent from the target resource, an error will be thrown. The returned object will always include the key ``Identifier`` with the CC-API returned field ``Identifier``. Notes on property completeness CloudControl API's ``ListResources`` may return fewer properties than ``GetResource`` would, depending on the resource implementation. The returned properties here are *currently* selected from the response object that CloudControl API returns to the CDK CLI. However, if we find there is need to do so, we may decide to change this behavior in the future: we might change it to perform an additional ``GetResource`` call for resources matched by ``propertyMatch``.
|
|
8485
|
+
:param type_name: The CloudFormation resource type. See https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/supported-resources.html
|
|
8486
|
+
:param dummy_value: The value to return if the resource was not found and ``ignoreErrorOnMissingContext`` is true. If supplied, ``dummyValue`` should be an array of objects. ``dummyValue`` does not have to have elements, and it may have objects with different properties than the properties in ``propertiesToReturn``, but it will be easiest for downstream code if the ``dummyValue`` conforms to the expected response shape. Default: - No dummy value available
|
|
8487
|
+
:param exact_identifier: Identifier of the resource to look up using ``GetResource``. Specifying exactIdentifier will return exactly one result, or throw an error unless ``ignoreErrorOnMissingContext`` is set. Default: - Either exactIdentifier or propertyMatch should be specified.
|
|
8488
|
+
:param expected_match_count: Expected count of results if ``propertyMatch`` is specified. If the expected result count does not match the actual count, by default an error is produced and the result is not committed to cached context, and the user can correct the situation and try again without having to manually clear out the context key using ``cdk context --remove`` If the value of * ``ignoreErrorOnMissingContext`` is ``true``, the value of ``expectedMatchCount`` is ``at-least-one | exactly-one`` and the number of found resources is 0, ``dummyValue`` is returned and committed to context instead. Default: 'any'
|
|
8489
|
+
:param ignore_error_on_missing_context: Ignore an error and return the ``dummyValue`` instead if the resource was not found. - In case of an ``exactIdentifier`` lookup, return the ``dummyValue`` if the resource with that identifier was not found. - In case of a ``propertyMatch`` lookup, return the ``dummyValue`` if ``expectedMatchCount`` is ``at-least-one | exactly-one`` and the number of resources found was 0. if ``ignoreErrorOnMissingContext`` is set, ``dummyValue`` should be set and be an array. Default: false
|
|
8490
|
+
:param property_match: Returns any resources matching these properties, using ``ListResources``. By default, specifying propertyMatch will successfully return 0 or more results. To throw an error if the number of results is unexpected (and prevent the query results from being committed to context), specify ``expectedMatchCount``. Notes on property completeness CloudControl API's ``ListResources`` may return fewer properties than ``GetResource`` would, depending on the resource implementation. The resources that ``propertyMatch`` matches against will *only ever* be the properties returned by the ``ListResources`` call. Default: - Either exactIdentifier or propertyMatch should be specified.
|
|
8272
8491
|
|
|
8273
8492
|
Example::
|
|
8274
8493
|
|
|
8275
|
-
|
|
8276
|
-
# The values are placeholders you should change.
|
|
8277
|
-
from aws_cdk import cloud_assembly_schema
|
|
8278
|
-
|
|
8279
|
-
# assume_role_additional_options: Any
|
|
8280
|
-
# property_match: Any
|
|
8494
|
+
from aws_cdk.cloud_assembly_schema import CcApiContextQuery
|
|
8281
8495
|
|
|
8282
|
-
cc_api_context_query = CcApiContextQuery(
|
|
8283
|
-
account="account",
|
|
8284
|
-
properties_to_return=["propertiesToReturn"],
|
|
8285
|
-
region="region",
|
|
8286
|
-
type_name="typeName",
|
|
8287
8496
|
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
lookup_role_external_id="lookupRoleExternalId",
|
|
8295
|
-
property_match={
|
|
8296
|
-
"property_match_key": property_match
|
|
8297
|
-
}
|
|
8497
|
+
x = CcApiContextQuery(
|
|
8498
|
+
type_name="AWS::Some::Type",
|
|
8499
|
+
expected_match_count="exactly-one",
|
|
8500
|
+
properties_to_return=["SomeProp"],
|
|
8501
|
+
account="11111111111",
|
|
8502
|
+
region="us-east-1"
|
|
8298
8503
|
)
|
|
8299
8504
|
'''
|
|
8300
8505
|
if __debug__:
|
|
@@ -8306,7 +8511,10 @@ class CcApiContextQuery(ContextLookupRoleOptions):
|
|
|
8306
8511
|
check_type(argname="argument lookup_role_external_id", value=lookup_role_external_id, expected_type=type_hints["lookup_role_external_id"])
|
|
8307
8512
|
check_type(argname="argument properties_to_return", value=properties_to_return, expected_type=type_hints["properties_to_return"])
|
|
8308
8513
|
check_type(argname="argument type_name", value=type_name, expected_type=type_hints["type_name"])
|
|
8514
|
+
check_type(argname="argument dummy_value", value=dummy_value, expected_type=type_hints["dummy_value"])
|
|
8309
8515
|
check_type(argname="argument exact_identifier", value=exact_identifier, expected_type=type_hints["exact_identifier"])
|
|
8516
|
+
check_type(argname="argument expected_match_count", value=expected_match_count, expected_type=type_hints["expected_match_count"])
|
|
8517
|
+
check_type(argname="argument ignore_error_on_missing_context", value=ignore_error_on_missing_context, expected_type=type_hints["ignore_error_on_missing_context"])
|
|
8310
8518
|
check_type(argname="argument property_match", value=property_match, expected_type=type_hints["property_match"])
|
|
8311
8519
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8312
8520
|
"account": account,
|
|
@@ -8320,8 +8528,14 @@ class CcApiContextQuery(ContextLookupRoleOptions):
|
|
|
8320
8528
|
self._values["lookup_role_arn"] = lookup_role_arn
|
|
8321
8529
|
if lookup_role_external_id is not None:
|
|
8322
8530
|
self._values["lookup_role_external_id"] = lookup_role_external_id
|
|
8531
|
+
if dummy_value is not None:
|
|
8532
|
+
self._values["dummy_value"] = dummy_value
|
|
8323
8533
|
if exact_identifier is not None:
|
|
8324
8534
|
self._values["exact_identifier"] = exact_identifier
|
|
8535
|
+
if expected_match_count is not None:
|
|
8536
|
+
self._values["expected_match_count"] = expected_match_count
|
|
8537
|
+
if ignore_error_on_missing_context is not None:
|
|
8538
|
+
self._values["ignore_error_on_missing_context"] = ignore_error_on_missing_context
|
|
8325
8539
|
if property_match is not None:
|
|
8326
8540
|
self._values["property_match"] = property_match
|
|
8327
8541
|
|
|
@@ -8375,14 +8589,33 @@ class CcApiContextQuery(ContextLookupRoleOptions):
|
|
|
8375
8589
|
|
|
8376
8590
|
@builtins.property
|
|
8377
8591
|
def properties_to_return(self) -> typing.List[builtins.str]:
|
|
8378
|
-
'''This is a set of properties returned from CC API that we want to return from ContextQuery.
|
|
8592
|
+
'''This is a set of properties returned from CC API that we want to return from ContextQuery.
|
|
8593
|
+
|
|
8594
|
+
If any properties listed here are absent from the target resource, an error will be thrown.
|
|
8595
|
+
|
|
8596
|
+
The returned object will always include the key ``Identifier`` with the CC-API returned
|
|
8597
|
+
field ``Identifier``.
|
|
8598
|
+
|
|
8599
|
+
|
|
8600
|
+
Notes on property completeness
|
|
8601
|
+
|
|
8602
|
+
CloudControl API's ``ListResources`` may return fewer properties than
|
|
8603
|
+
``GetResource`` would, depending on the resource implementation.
|
|
8604
|
+
|
|
8605
|
+
The returned properties here are *currently* selected from the response
|
|
8606
|
+
object that CloudControl API returns to the CDK CLI.
|
|
8607
|
+
|
|
8608
|
+
However, if we find there is need to do so, we may decide to change this
|
|
8609
|
+
behavior in the future: we might change it to perform an additional
|
|
8610
|
+
``GetResource`` call for resources matched by ``propertyMatch``.
|
|
8611
|
+
'''
|
|
8379
8612
|
result = self._values.get("properties_to_return")
|
|
8380
8613
|
assert result is not None, "Required property 'properties_to_return' is missing"
|
|
8381
8614
|
return typing.cast(typing.List[builtins.str], result)
|
|
8382
8615
|
|
|
8383
8616
|
@builtins.property
|
|
8384
8617
|
def type_name(self) -> builtins.str:
|
|
8385
|
-
'''The
|
|
8618
|
+
'''The CloudFormation resource type.
|
|
8386
8619
|
|
|
8387
8620
|
See https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/supported-resources.html
|
|
8388
8621
|
'''
|
|
@@ -8390,29 +8623,90 @@ class CcApiContextQuery(ContextLookupRoleOptions):
|
|
|
8390
8623
|
assert result is not None, "Required property 'type_name' is missing"
|
|
8391
8624
|
return typing.cast(builtins.str, result)
|
|
8392
8625
|
|
|
8626
|
+
@builtins.property
|
|
8627
|
+
def dummy_value(self) -> typing.Any:
|
|
8628
|
+
'''The value to return if the resource was not found and ``ignoreErrorOnMissingContext`` is true.
|
|
8629
|
+
|
|
8630
|
+
If supplied, ``dummyValue`` should be an array of objects.
|
|
8631
|
+
|
|
8632
|
+
``dummyValue`` does not have to have elements, and it may have objects with
|
|
8633
|
+
different properties than the properties in ``propertiesToReturn``, but it
|
|
8634
|
+
will be easiest for downstream code if the ``dummyValue`` conforms to
|
|
8635
|
+
the expected response shape.
|
|
8636
|
+
|
|
8637
|
+
:default: - No dummy value available
|
|
8638
|
+
'''
|
|
8639
|
+
result = self._values.get("dummy_value")
|
|
8640
|
+
return typing.cast(typing.Any, result)
|
|
8641
|
+
|
|
8393
8642
|
@builtins.property
|
|
8394
8643
|
def exact_identifier(self) -> typing.Optional[builtins.str]:
|
|
8395
|
-
'''
|
|
8644
|
+
'''Identifier of the resource to look up using ``GetResource``.
|
|
8396
8645
|
|
|
8397
|
-
Specifying exactIdentifier will return
|
|
8398
|
-
|
|
8646
|
+
Specifying exactIdentifier will return exactly one result, or throw an error
|
|
8647
|
+
unless ``ignoreErrorOnMissingContext`` is set.
|
|
8399
8648
|
|
|
8400
|
-
:default: -
|
|
8649
|
+
:default: - Either exactIdentifier or propertyMatch should be specified.
|
|
8401
8650
|
'''
|
|
8402
8651
|
result = self._values.get("exact_identifier")
|
|
8403
8652
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
8404
8653
|
|
|
8654
|
+
@builtins.property
|
|
8655
|
+
def expected_match_count(self) -> typing.Optional[builtins.str]:
|
|
8656
|
+
'''Expected count of results if ``propertyMatch`` is specified.
|
|
8657
|
+
|
|
8658
|
+
If the expected result count does not match the actual count,
|
|
8659
|
+
by default an error is produced and the result is not committed to cached
|
|
8660
|
+
context, and the user can correct the situation and try again without
|
|
8661
|
+
having to manually clear out the context key using ``cdk context --remove``
|
|
8662
|
+
|
|
8663
|
+
If the value of * ``ignoreErrorOnMissingContext`` is ``true``, the value of
|
|
8664
|
+
``expectedMatchCount`` is ``at-least-one | exactly-one`` and the number
|
|
8665
|
+
of found resources is 0, ``dummyValue`` is returned and committed to context
|
|
8666
|
+
instead.
|
|
8667
|
+
|
|
8668
|
+
:default: 'any'
|
|
8669
|
+
'''
|
|
8670
|
+
result = self._values.get("expected_match_count")
|
|
8671
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8672
|
+
|
|
8673
|
+
@builtins.property
|
|
8674
|
+
def ignore_error_on_missing_context(self) -> typing.Optional[builtins.bool]:
|
|
8675
|
+
'''Ignore an error and return the ``dummyValue`` instead if the resource was not found.
|
|
8676
|
+
|
|
8677
|
+
- In case of an ``exactIdentifier`` lookup, return the ``dummyValue`` if the resource with
|
|
8678
|
+
that identifier was not found.
|
|
8679
|
+
- In case of a ``propertyMatch`` lookup, return the ``dummyValue`` if ``expectedMatchCount``
|
|
8680
|
+
is ``at-least-one | exactly-one`` and the number of resources found was 0.
|
|
8681
|
+
|
|
8682
|
+
if ``ignoreErrorOnMissingContext`` is set, ``dummyValue`` should be set and be an array.
|
|
8683
|
+
|
|
8684
|
+
:default: false
|
|
8685
|
+
'''
|
|
8686
|
+
result = self._values.get("ignore_error_on_missing_context")
|
|
8687
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8688
|
+
|
|
8405
8689
|
@builtins.property
|
|
8406
8690
|
def property_match(
|
|
8407
8691
|
self,
|
|
8408
8692
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
8409
|
-
'''
|
|
8693
|
+
'''Returns any resources matching these properties, using ``ListResources``.
|
|
8410
8694
|
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8695
|
+
By default, specifying propertyMatch will successfully return 0 or more
|
|
8696
|
+
results. To throw an error if the number of results is unexpected (and
|
|
8697
|
+
prevent the query results from being committed to context), specify
|
|
8698
|
+
``expectedMatchCount``.
|
|
8414
8699
|
|
|
8415
|
-
|
|
8700
|
+
|
|
8701
|
+
Notes on property completeness
|
|
8702
|
+
|
|
8703
|
+
CloudControl API's ``ListResources`` may return fewer properties than
|
|
8704
|
+
``GetResource`` would, depending on the resource implementation.
|
|
8705
|
+
|
|
8706
|
+
The resources that ``propertyMatch`` matches against will *only ever* be the
|
|
8707
|
+
properties returned by the ``ListResources`` call.
|
|
8708
|
+
|
|
8709
|
+
:default: - Either exactIdentifier or propertyMatch should be specified.
|
|
8416
8710
|
'''
|
|
8417
8711
|
result = self._values.get("property_match")
|
|
8418
8712
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
@@ -8927,6 +9221,8 @@ __all__ = [
|
|
|
8927
9221
|
"DockerImageDestination",
|
|
8928
9222
|
"DockerImageSource",
|
|
8929
9223
|
"EndpointServiceAvailabilityZonesContextQuery",
|
|
9224
|
+
"FeatureFlag",
|
|
9225
|
+
"FeatureFlagReportProperties",
|
|
8930
9226
|
"FileAsset",
|
|
8931
9227
|
"FileAssetMetadataEntry",
|
|
8932
9228
|
"FileAssetPackaging",
|
|
@@ -8968,7 +9264,7 @@ def _typecheckingstub__c0fe0dea35f8750630dc6eb16d5f979ef40079f01dc4afec1b7ebf62d
|
|
|
8968
9264
|
display_name: typing.Optional[builtins.str] = None,
|
|
8969
9265
|
environment: typing.Optional[builtins.str] = None,
|
|
8970
9266
|
metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
8971
|
-
properties: typing.Optional[typing.Union[typing.Union[AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9267
|
+
properties: typing.Optional[typing.Union[typing.Union[AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8972
9268
|
) -> None:
|
|
8973
9269
|
"""Type checking stubs"""
|
|
8974
9270
|
pass
|
|
@@ -9294,6 +9590,24 @@ def _typecheckingstub__b028a59a345f6074485bae83f874fa7eca8081fea4616b491a43cfb78
|
|
|
9294
9590
|
"""Type checking stubs"""
|
|
9295
9591
|
pass
|
|
9296
9592
|
|
|
9593
|
+
def _typecheckingstub__d7ccfacd89aa44cd30dd2b6b40d937da9546cf5f11f13266ca45710d4e373233(
|
|
9594
|
+
*,
|
|
9595
|
+
explanation: typing.Optional[builtins.str] = None,
|
|
9596
|
+
recommended_value: typing.Any = None,
|
|
9597
|
+
unconfigured_behaves_like: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9598
|
+
user_value: typing.Any = None,
|
|
9599
|
+
) -> None:
|
|
9600
|
+
"""Type checking stubs"""
|
|
9601
|
+
pass
|
|
9602
|
+
|
|
9603
|
+
def _typecheckingstub__028d9005a883d2bec5fe9dc6270df8f73f5150cc394cf0043b71cf90072d2ce5(
|
|
9604
|
+
*,
|
|
9605
|
+
flags: typing.Mapping[builtins.str, typing.Union[FeatureFlag, typing.Dict[builtins.str, typing.Any]]],
|
|
9606
|
+
module: builtins.str,
|
|
9607
|
+
) -> None:
|
|
9608
|
+
"""Type checking stubs"""
|
|
9609
|
+
pass
|
|
9610
|
+
|
|
9297
9611
|
def _typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566bc96c3d8(
|
|
9298
9612
|
*,
|
|
9299
9613
|
destinations: typing.Mapping[builtins.str, typing.Union[FileDestination, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -9607,7 +9921,10 @@ def _typecheckingstub__cdf6a33d88e10af638d11c3322b9291978a474ed65f1a2ab37cdecc88
|
|
|
9607
9921
|
lookup_role_external_id: typing.Optional[builtins.str] = None,
|
|
9608
9922
|
properties_to_return: typing.Sequence[builtins.str],
|
|
9609
9923
|
type_name: builtins.str,
|
|
9924
|
+
dummy_value: typing.Any = None,
|
|
9610
9925
|
exact_identifier: typing.Optional[builtins.str] = None,
|
|
9926
|
+
expected_match_count: typing.Optional[builtins.str] = None,
|
|
9927
|
+
ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
|
|
9611
9928
|
property_match: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9612
9929
|
) -> None:
|
|
9613
9930
|
"""Type checking stubs"""
|
|
@@ -9641,3 +9958,6 @@ def _typecheckingstub__db3fe7ed770cad2fbb895987d45a3a52df9ebdb3b3e8652039785a299
|
|
|
9641
9958
|
) -> None:
|
|
9642
9959
|
"""Type checking stubs"""
|
|
9643
9960
|
pass
|
|
9961
|
+
|
|
9962
|
+
for cls in [ICloudAssembly]:
|
|
9963
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|