aws-cdk-lib 2.200.2__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 +1349 -373
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.2.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 +1017 -155
- aws_cdk/aws_apigatewayv2/__init__.py +2796 -379
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +298 -43
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +29 -6
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +94 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +227 -53
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +1875 -132
- 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 +135 -55
- 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 +317 -28
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1405 -178
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +6747 -627
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +42 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +237 -32
- aws_cdk/aws_chatbot/__init__.py +70 -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 +345 -166
- aws_cdk/aws_cloudfront/__init__.py +2101 -680
- aws_cdk/aws_cloudfront/experimental/__init__.py +108 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +614 -73
- aws_cdk/aws_cloudtrail/__init__.py +301 -17
- aws_cdk/aws_cloudwatch/__init__.py +1414 -153
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1103 -118
- aws_cdk/aws_codecommit/__init__.py +23 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +67 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +74 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +127 -64
- aws_cdk/aws_codepipeline_actions/__init__.py +749 -0
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +16 -2
- aws_cdk/aws_cognito/__init__.py +814 -80
- aws_cdk/aws_cognito_identitypool/__init__.py +17 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +191 -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 +723 -203
- aws_cdk/aws_datazone/__init__.py +4425 -608
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +321 -32
- 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 +323 -46
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +340 -12
- aws_cdk/aws_dynamodb/__init__.py +1463 -166
- aws_cdk/aws_ec2/__init__.py +9636 -1120
- aws_cdk/aws_ecr/__init__.py +631 -43
- aws_cdk/aws_ecr_assets/__init__.py +4 -0
- aws_cdk/aws_ecs/__init__.py +6524 -497
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_efs/__init__.py +264 -24
- aws_cdk/aws_eks/__init__.py +1050 -218
- aws_cdk/aws_elasticache/__init__.py +373 -20
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1670 -106
- aws_cdk/aws_elasticsearch/__init__.py +282 -9
- aws_cdk/aws_emr/__init__.py +187 -20
- 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 +969 -124
- aws_cdk/aws_events_targets/__init__.py +310 -54
- 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 +1236 -142
- aws_cdk/aws_gamelift/__init__.py +653 -78
- aws_cdk/aws_gameliftstreams/__init__.py +38 -16
- aws_cdk/aws_globalaccelerator/__init__.py +55 -14
- aws_cdk/aws_glue/__init__.py +1368 -320
- 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 +480 -140
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1433 -183
- aws_cdk/aws_inspector/__init__.py +38 -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 +1730 -86
- 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 +622 -22
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -94
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +201 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +3077 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +188 -41
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2101 -252
- 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 +871 -8
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2159 -975
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +5904 -956
- 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 +1239 -35
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1607 -225
- 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 +104 -18
- 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 +1289 -273
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +75 -8
- 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 +2495 -529
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +495 -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 +151 -6
- 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 +387 -68
- 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 +3345 -512
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +692 -4
- 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 +180 -6
- aws_cdk/aws_route53/__init__.py +3273 -1442
- 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 +226 -36
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1291 -158
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +147 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +266 -8
- 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 +6617 -363
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +237 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +170 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +405 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +140 -47
- aws_cdk/aws_ses/__init__.py +1231 -140
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +245 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +211 -14
- aws_cdk/aws_ssm/__init__.py +401 -58
- aws_cdk/aws_ssmcontacts/__init__.py +46 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +13 -2
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +383 -6
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +615 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +781 -144
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +861 -75
- 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 +145 -17
- aws_cdk/aws_voiceid/__init__.py +41 -2
- aws_cdk/aws_vpclattice/__init__.py +376 -30
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1179 -60
- aws_cdk/aws_wisdom/__init__.py +1401 -90
- aws_cdk/aws_workspaces/__init__.py +93 -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 +231 -6
- aws_cdk/custom_resources/__init__.py +40 -12
- aws_cdk/cx_api/__init__.py +85 -14
- 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/pipelines/__init__.py +192 -42
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +60 -18
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +338 -16
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.200.2.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -64,12 +64,21 @@ from .. import (
|
|
|
64
64
|
IInspectable as _IInspectable_c2943556,
|
|
65
65
|
IResolvable as _IResolvable_da3f097b,
|
|
66
66
|
ITaggable as _ITaggable_36806126,
|
|
67
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
67
68
|
TagManager as _TagManager_0a598cb3,
|
|
68
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
69
70
|
)
|
|
71
|
+
from ..interfaces.aws_redshiftserverless import (
|
|
72
|
+
INamespaceRef as _INamespaceRef_27c83e14,
|
|
73
|
+
ISnapshotRef as _ISnapshotRef_a98f862c,
|
|
74
|
+
IWorkgroupRef as _IWorkgroupRef_77473ce9,
|
|
75
|
+
NamespaceReference as _NamespaceReference_a5200d5b,
|
|
76
|
+
SnapshotReference as _SnapshotReference_6998b115,
|
|
77
|
+
WorkgroupReference as _WorkgroupReference_f6e6b05f,
|
|
78
|
+
)
|
|
70
79
|
|
|
71
80
|
|
|
72
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
81
|
+
@jsii.implements(_IInspectable_c2943556, _INamespaceRef_27c83e14, _ITaggable_36806126)
|
|
73
82
|
class CfnNamespace(
|
|
74
83
|
_CfnResource_9df397a6,
|
|
75
84
|
metaclass=jsii.JSIIMeta,
|
|
@@ -142,7 +151,8 @@ class CfnNamespace(
|
|
|
142
151
|
snapshot_copy_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnNamespace.SnapshotCopyConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
143
152
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
144
153
|
) -> None:
|
|
145
|
-
'''
|
|
154
|
+
'''Create a new ``AWS::RedshiftServerless::Namespace``.
|
|
155
|
+
|
|
146
156
|
:param scope: Scope in which this resource is defined.
|
|
147
157
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
148
158
|
:param namespace_name: The name of the namespace. Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com//redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
|
|
@@ -333,6 +343,12 @@ class CfnNamespace(
|
|
|
333
343
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
334
344
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
335
345
|
|
|
346
|
+
@builtins.property
|
|
347
|
+
@jsii.member(jsii_name="namespaceRef")
|
|
348
|
+
def namespace_ref(self) -> _NamespaceReference_a5200d5b:
|
|
349
|
+
'''A reference to a Namespace resource.'''
|
|
350
|
+
return typing.cast(_NamespaceReference_a5200d5b, jsii.get(self, "namespaceRef"))
|
|
351
|
+
|
|
336
352
|
@builtins.property
|
|
337
353
|
@jsii.member(jsii_name="tags")
|
|
338
354
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -1236,7 +1252,596 @@ class CfnNamespaceProps:
|
|
|
1236
1252
|
)
|
|
1237
1253
|
|
|
1238
1254
|
|
|
1239
|
-
@jsii.implements(_IInspectable_c2943556,
|
|
1255
|
+
@jsii.implements(_IInspectable_c2943556, _ISnapshotRef_a98f862c, _ITaggableV2_4e6798f8)
|
|
1256
|
+
class CfnSnapshot(
|
|
1257
|
+
_CfnResource_9df397a6,
|
|
1258
|
+
metaclass=jsii.JSIIMeta,
|
|
1259
|
+
jsii_type="aws-cdk-lib.aws_redshiftserverless.CfnSnapshot",
|
|
1260
|
+
):
|
|
1261
|
+
'''A snapshot object that contains databases.
|
|
1262
|
+
|
|
1263
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html
|
|
1264
|
+
:cloudformationResource: AWS::RedshiftServerless::Snapshot
|
|
1265
|
+
:exampleMetadata: fixture=_generated
|
|
1266
|
+
|
|
1267
|
+
Example::
|
|
1268
|
+
|
|
1269
|
+
# The code below shows an example of how to instantiate this type.
|
|
1270
|
+
# The values are placeholders you should change.
|
|
1271
|
+
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
1272
|
+
|
|
1273
|
+
cfn_snapshot = redshiftserverless.CfnSnapshot(self, "MyCfnSnapshot",
|
|
1274
|
+
snapshot_name="snapshotName",
|
|
1275
|
+
|
|
1276
|
+
# the properties below are optional
|
|
1277
|
+
namespace_name="namespaceName",
|
|
1278
|
+
retention_period=123,
|
|
1279
|
+
tags=[CfnTag(
|
|
1280
|
+
key="key",
|
|
1281
|
+
value="value"
|
|
1282
|
+
)]
|
|
1283
|
+
)
|
|
1284
|
+
'''
|
|
1285
|
+
|
|
1286
|
+
def __init__(
|
|
1287
|
+
self,
|
|
1288
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1289
|
+
id: builtins.str,
|
|
1290
|
+
*,
|
|
1291
|
+
snapshot_name: builtins.str,
|
|
1292
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
1293
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
1294
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1295
|
+
) -> None:
|
|
1296
|
+
'''Create a new ``AWS::RedshiftServerless::Snapshot``.
|
|
1297
|
+
|
|
1298
|
+
:param scope: Scope in which this resource is defined.
|
|
1299
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1300
|
+
:param snapshot_name: The name of the snapshot.
|
|
1301
|
+
:param namespace_name: The name of the namepsace.
|
|
1302
|
+
:param retention_period: The retention period of the snapshot created by the scheduled action.
|
|
1303
|
+
:param tags: An array of `Tag objects <https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html>`_ to associate with the snapshot.
|
|
1304
|
+
'''
|
|
1305
|
+
if __debug__:
|
|
1306
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a1e2b5eeadcf14eaf0be75cda550b6bcef2aa009af0fe87d6f5e9e856ad0ef43)
|
|
1307
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1308
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1309
|
+
props = CfnSnapshotProps(
|
|
1310
|
+
snapshot_name=snapshot_name,
|
|
1311
|
+
namespace_name=namespace_name,
|
|
1312
|
+
retention_period=retention_period,
|
|
1313
|
+
tags=tags,
|
|
1314
|
+
)
|
|
1315
|
+
|
|
1316
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1317
|
+
|
|
1318
|
+
@jsii.member(jsii_name="inspect")
|
|
1319
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1320
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1321
|
+
|
|
1322
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1323
|
+
'''
|
|
1324
|
+
if __debug__:
|
|
1325
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5ddc470fc115016c807de39b9ff4325d249ff8657e32f92eefbcb4bac9e79eb0)
|
|
1326
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1327
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1328
|
+
|
|
1329
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1330
|
+
def _render_properties(
|
|
1331
|
+
self,
|
|
1332
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1333
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1334
|
+
'''
|
|
1335
|
+
:param props: -
|
|
1336
|
+
'''
|
|
1337
|
+
if __debug__:
|
|
1338
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4bdbe6940b32b0a05793c97cd18c6f2009d35937c086b1b342b276e310c97129)
|
|
1339
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1340
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1341
|
+
|
|
1342
|
+
@jsii.python.classproperty
|
|
1343
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1344
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1345
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1346
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1347
|
+
|
|
1348
|
+
@builtins.property
|
|
1349
|
+
@jsii.member(jsii_name="attrOwnerAccount")
|
|
1350
|
+
def attr_owner_account(self) -> builtins.str:
|
|
1351
|
+
'''The owner AWS ;
|
|
1352
|
+
|
|
1353
|
+
account of the snapshot.
|
|
1354
|
+
|
|
1355
|
+
:cloudformationAttribute: OwnerAccount
|
|
1356
|
+
'''
|
|
1357
|
+
return typing.cast(builtins.str, jsii.get(self, "attrOwnerAccount"))
|
|
1358
|
+
|
|
1359
|
+
@builtins.property
|
|
1360
|
+
@jsii.member(jsii_name="attrSnapshot")
|
|
1361
|
+
def attr_snapshot(self) -> _IResolvable_da3f097b:
|
|
1362
|
+
'''
|
|
1363
|
+
:cloudformationAttribute: Snapshot
|
|
1364
|
+
'''
|
|
1365
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrSnapshot"))
|
|
1366
|
+
|
|
1367
|
+
@builtins.property
|
|
1368
|
+
@jsii.member(jsii_name="attrSnapshotAdminUsername")
|
|
1369
|
+
def attr_snapshot_admin_username(self) -> builtins.str:
|
|
1370
|
+
'''The username of the database within a snapshot.
|
|
1371
|
+
|
|
1372
|
+
:cloudformationAttribute: Snapshot.AdminUsername
|
|
1373
|
+
'''
|
|
1374
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotAdminUsername"))
|
|
1375
|
+
|
|
1376
|
+
@builtins.property
|
|
1377
|
+
@jsii.member(jsii_name="attrSnapshotKmsKeyId")
|
|
1378
|
+
def attr_snapshot_kms_key_id(self) -> builtins.str:
|
|
1379
|
+
'''The unique identifier of the KMS key used to encrypt the snapshot.
|
|
1380
|
+
|
|
1381
|
+
:cloudformationAttribute: Snapshot.KmsKeyId
|
|
1382
|
+
'''
|
|
1383
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotKmsKeyId"))
|
|
1384
|
+
|
|
1385
|
+
@builtins.property
|
|
1386
|
+
@jsii.member(jsii_name="attrSnapshotNamespaceArn")
|
|
1387
|
+
def attr_snapshot_namespace_arn(self) -> builtins.str:
|
|
1388
|
+
'''The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
|
|
1389
|
+
|
|
1390
|
+
:cloudformationAttribute: Snapshot.NamespaceArn
|
|
1391
|
+
'''
|
|
1392
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotNamespaceArn"))
|
|
1393
|
+
|
|
1394
|
+
@builtins.property
|
|
1395
|
+
@jsii.member(jsii_name="attrSnapshotNamespaceName")
|
|
1396
|
+
def attr_snapshot_namespace_name(self) -> builtins.str:
|
|
1397
|
+
'''The name of the namepsace.
|
|
1398
|
+
|
|
1399
|
+
:cloudformationAttribute: Snapshot.NamespaceName
|
|
1400
|
+
'''
|
|
1401
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotNamespaceName"))
|
|
1402
|
+
|
|
1403
|
+
@builtins.property
|
|
1404
|
+
@jsii.member(jsii_name="attrSnapshotOwnerAccount")
|
|
1405
|
+
def attr_snapshot_owner_account(self) -> builtins.str:
|
|
1406
|
+
'''The owner AWS ;
|
|
1407
|
+
|
|
1408
|
+
account of the snapshot.
|
|
1409
|
+
|
|
1410
|
+
:cloudformationAttribute: Snapshot.OwnerAccount
|
|
1411
|
+
'''
|
|
1412
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotOwnerAccount"))
|
|
1413
|
+
|
|
1414
|
+
@builtins.property
|
|
1415
|
+
@jsii.member(jsii_name="attrSnapshotRetentionPeriod")
|
|
1416
|
+
def attr_snapshot_retention_period(self) -> jsii.Number:
|
|
1417
|
+
'''The retention period of the snapshot created by the scheduled action.
|
|
1418
|
+
|
|
1419
|
+
:cloudformationAttribute: Snapshot.RetentionPeriod
|
|
1420
|
+
'''
|
|
1421
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrSnapshotRetentionPeriod"))
|
|
1422
|
+
|
|
1423
|
+
@builtins.property
|
|
1424
|
+
@jsii.member(jsii_name="attrSnapshotSnapshotArn")
|
|
1425
|
+
def attr_snapshot_snapshot_arn(self) -> builtins.str:
|
|
1426
|
+
'''The Amazon Resource Name (ARN) of the snapshot.
|
|
1427
|
+
|
|
1428
|
+
:cloudformationAttribute: Snapshot.SnapshotArn
|
|
1429
|
+
'''
|
|
1430
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotSnapshotArn"))
|
|
1431
|
+
|
|
1432
|
+
@builtins.property
|
|
1433
|
+
@jsii.member(jsii_name="attrSnapshotSnapshotCreateTime")
|
|
1434
|
+
def attr_snapshot_snapshot_create_time(self) -> builtins.str:
|
|
1435
|
+
'''The timestamp of when the snapshot was created.
|
|
1436
|
+
|
|
1437
|
+
:cloudformationAttribute: Snapshot.SnapshotCreateTime
|
|
1438
|
+
'''
|
|
1439
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotSnapshotCreateTime"))
|
|
1440
|
+
|
|
1441
|
+
@builtins.property
|
|
1442
|
+
@jsii.member(jsii_name="attrSnapshotSnapshotName")
|
|
1443
|
+
def attr_snapshot_snapshot_name(self) -> builtins.str:
|
|
1444
|
+
'''The name of the snapshot.
|
|
1445
|
+
|
|
1446
|
+
:cloudformationAttribute: Snapshot.SnapshotName
|
|
1447
|
+
'''
|
|
1448
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotSnapshotName"))
|
|
1449
|
+
|
|
1450
|
+
@builtins.property
|
|
1451
|
+
@jsii.member(jsii_name="attrSnapshotStatus")
|
|
1452
|
+
def attr_snapshot_status(self) -> builtins.str:
|
|
1453
|
+
'''The status of the snapshot.
|
|
1454
|
+
|
|
1455
|
+
:cloudformationAttribute: Snapshot.Status
|
|
1456
|
+
'''
|
|
1457
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSnapshotStatus"))
|
|
1458
|
+
|
|
1459
|
+
@builtins.property
|
|
1460
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1461
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1462
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1463
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1464
|
+
|
|
1465
|
+
@builtins.property
|
|
1466
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1467
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1468
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1469
|
+
|
|
1470
|
+
@builtins.property
|
|
1471
|
+
@jsii.member(jsii_name="snapshotRef")
|
|
1472
|
+
def snapshot_ref(self) -> _SnapshotReference_6998b115:
|
|
1473
|
+
'''A reference to a Snapshot resource.'''
|
|
1474
|
+
return typing.cast(_SnapshotReference_6998b115, jsii.get(self, "snapshotRef"))
|
|
1475
|
+
|
|
1476
|
+
@builtins.property
|
|
1477
|
+
@jsii.member(jsii_name="snapshotName")
|
|
1478
|
+
def snapshot_name(self) -> builtins.str:
|
|
1479
|
+
'''The name of the snapshot.'''
|
|
1480
|
+
return typing.cast(builtins.str, jsii.get(self, "snapshotName"))
|
|
1481
|
+
|
|
1482
|
+
@snapshot_name.setter
|
|
1483
|
+
def snapshot_name(self, value: builtins.str) -> None:
|
|
1484
|
+
if __debug__:
|
|
1485
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f64f97556142b340a4fd0b74522c68b85e2157f2a27ece8203bd18185cfe3ce6)
|
|
1486
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1487
|
+
jsii.set(self, "snapshotName", value) # pyright: ignore[reportArgumentType]
|
|
1488
|
+
|
|
1489
|
+
@builtins.property
|
|
1490
|
+
@jsii.member(jsii_name="namespaceName")
|
|
1491
|
+
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
1492
|
+
'''The name of the namepsace.'''
|
|
1493
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "namespaceName"))
|
|
1494
|
+
|
|
1495
|
+
@namespace_name.setter
|
|
1496
|
+
def namespace_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1497
|
+
if __debug__:
|
|
1498
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5f6a30dd9c5c0b8045b8d36ef14977ccb4361c843f7dcb8ac7322f8fa349468d)
|
|
1499
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1500
|
+
jsii.set(self, "namespaceName", value) # pyright: ignore[reportArgumentType]
|
|
1501
|
+
|
|
1502
|
+
@builtins.property
|
|
1503
|
+
@jsii.member(jsii_name="retentionPeriod")
|
|
1504
|
+
def retention_period(self) -> typing.Optional[jsii.Number]:
|
|
1505
|
+
'''The retention period of the snapshot created by the scheduled action.'''
|
|
1506
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "retentionPeriod"))
|
|
1507
|
+
|
|
1508
|
+
@retention_period.setter
|
|
1509
|
+
def retention_period(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1510
|
+
if __debug__:
|
|
1511
|
+
type_hints = typing.get_type_hints(_typecheckingstub__521c1c8ca437327e56c1b9a24896fa19595912e045202fbf656a893304dd3c04)
|
|
1512
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1513
|
+
jsii.set(self, "retentionPeriod", value) # pyright: ignore[reportArgumentType]
|
|
1514
|
+
|
|
1515
|
+
@builtins.property
|
|
1516
|
+
@jsii.member(jsii_name="tags")
|
|
1517
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1518
|
+
'''An array of `Tag objects <https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html>`_ to associate with the snapshot.'''
|
|
1519
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1520
|
+
|
|
1521
|
+
@tags.setter
|
|
1522
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1523
|
+
if __debug__:
|
|
1524
|
+
type_hints = typing.get_type_hints(_typecheckingstub__77534803a2fb41b5883d0c89334777e664cec59572dd7a376bbe5dbc41ff64ef)
|
|
1525
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1526
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1527
|
+
|
|
1528
|
+
@jsii.data_type(
|
|
1529
|
+
jsii_type="aws-cdk-lib.aws_redshiftserverless.CfnSnapshot.SnapshotProperty",
|
|
1530
|
+
jsii_struct_bases=[],
|
|
1531
|
+
name_mapping={
|
|
1532
|
+
"admin_username": "adminUsername",
|
|
1533
|
+
"kms_key_id": "kmsKeyId",
|
|
1534
|
+
"namespace_arn": "namespaceArn",
|
|
1535
|
+
"namespace_name": "namespaceName",
|
|
1536
|
+
"owner_account": "ownerAccount",
|
|
1537
|
+
"retention_period": "retentionPeriod",
|
|
1538
|
+
"snapshot_arn": "snapshotArn",
|
|
1539
|
+
"snapshot_create_time": "snapshotCreateTime",
|
|
1540
|
+
"snapshot_name": "snapshotName",
|
|
1541
|
+
"status": "status",
|
|
1542
|
+
},
|
|
1543
|
+
)
|
|
1544
|
+
class SnapshotProperty:
|
|
1545
|
+
def __init__(
|
|
1546
|
+
self,
|
|
1547
|
+
*,
|
|
1548
|
+
admin_username: typing.Optional[builtins.str] = None,
|
|
1549
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1550
|
+
namespace_arn: typing.Optional[builtins.str] = None,
|
|
1551
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
1552
|
+
owner_account: typing.Optional[builtins.str] = None,
|
|
1553
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
1554
|
+
snapshot_arn: typing.Optional[builtins.str] = None,
|
|
1555
|
+
snapshot_create_time: typing.Optional[builtins.str] = None,
|
|
1556
|
+
snapshot_name: typing.Optional[builtins.str] = None,
|
|
1557
|
+
status: typing.Optional[builtins.str] = None,
|
|
1558
|
+
) -> None:
|
|
1559
|
+
'''A snapshot object that contains databases.
|
|
1560
|
+
|
|
1561
|
+
:param admin_username: The username of the database within a snapshot.
|
|
1562
|
+
:param kms_key_id: The unique identifier of the KMS key used to encrypt the snapshot.
|
|
1563
|
+
:param namespace_arn: The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
|
|
1564
|
+
:param namespace_name: The name of the namepsace.
|
|
1565
|
+
:param owner_account: The owner AWS ; account of the snapshot.
|
|
1566
|
+
:param retention_period: The retention period of the snapshot created by the scheduled action.
|
|
1567
|
+
:param snapshot_arn: The Amazon Resource Name (ARN) of the snapshot.
|
|
1568
|
+
:param snapshot_create_time: The timestamp of when the snapshot was created.
|
|
1569
|
+
:param snapshot_name: The name of the snapshot.
|
|
1570
|
+
:param status: The status of the snapshot.
|
|
1571
|
+
|
|
1572
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html
|
|
1573
|
+
:exampleMetadata: fixture=_generated
|
|
1574
|
+
|
|
1575
|
+
Example::
|
|
1576
|
+
|
|
1577
|
+
# The code below shows an example of how to instantiate this type.
|
|
1578
|
+
# The values are placeholders you should change.
|
|
1579
|
+
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
1580
|
+
|
|
1581
|
+
snapshot_property = redshiftserverless.CfnSnapshot.SnapshotProperty(
|
|
1582
|
+
admin_username="adminUsername",
|
|
1583
|
+
kms_key_id="kmsKeyId",
|
|
1584
|
+
namespace_arn="namespaceArn",
|
|
1585
|
+
namespace_name="namespaceName",
|
|
1586
|
+
owner_account="ownerAccount",
|
|
1587
|
+
retention_period=123,
|
|
1588
|
+
snapshot_arn="snapshotArn",
|
|
1589
|
+
snapshot_create_time="snapshotCreateTime",
|
|
1590
|
+
snapshot_name="snapshotName",
|
|
1591
|
+
status="status"
|
|
1592
|
+
)
|
|
1593
|
+
'''
|
|
1594
|
+
if __debug__:
|
|
1595
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d32a77292254bff347197e3bdcc04e2fea309ebb7baea20e5fee3f5714159ffa)
|
|
1596
|
+
check_type(argname="argument admin_username", value=admin_username, expected_type=type_hints["admin_username"])
|
|
1597
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
1598
|
+
check_type(argname="argument namespace_arn", value=namespace_arn, expected_type=type_hints["namespace_arn"])
|
|
1599
|
+
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
1600
|
+
check_type(argname="argument owner_account", value=owner_account, expected_type=type_hints["owner_account"])
|
|
1601
|
+
check_type(argname="argument retention_period", value=retention_period, expected_type=type_hints["retention_period"])
|
|
1602
|
+
check_type(argname="argument snapshot_arn", value=snapshot_arn, expected_type=type_hints["snapshot_arn"])
|
|
1603
|
+
check_type(argname="argument snapshot_create_time", value=snapshot_create_time, expected_type=type_hints["snapshot_create_time"])
|
|
1604
|
+
check_type(argname="argument snapshot_name", value=snapshot_name, expected_type=type_hints["snapshot_name"])
|
|
1605
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
1606
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1607
|
+
if admin_username is not None:
|
|
1608
|
+
self._values["admin_username"] = admin_username
|
|
1609
|
+
if kms_key_id is not None:
|
|
1610
|
+
self._values["kms_key_id"] = kms_key_id
|
|
1611
|
+
if namespace_arn is not None:
|
|
1612
|
+
self._values["namespace_arn"] = namespace_arn
|
|
1613
|
+
if namespace_name is not None:
|
|
1614
|
+
self._values["namespace_name"] = namespace_name
|
|
1615
|
+
if owner_account is not None:
|
|
1616
|
+
self._values["owner_account"] = owner_account
|
|
1617
|
+
if retention_period is not None:
|
|
1618
|
+
self._values["retention_period"] = retention_period
|
|
1619
|
+
if snapshot_arn is not None:
|
|
1620
|
+
self._values["snapshot_arn"] = snapshot_arn
|
|
1621
|
+
if snapshot_create_time is not None:
|
|
1622
|
+
self._values["snapshot_create_time"] = snapshot_create_time
|
|
1623
|
+
if snapshot_name is not None:
|
|
1624
|
+
self._values["snapshot_name"] = snapshot_name
|
|
1625
|
+
if status is not None:
|
|
1626
|
+
self._values["status"] = status
|
|
1627
|
+
|
|
1628
|
+
@builtins.property
|
|
1629
|
+
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
1630
|
+
'''The username of the database within a snapshot.
|
|
1631
|
+
|
|
1632
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-adminusername
|
|
1633
|
+
'''
|
|
1634
|
+
result = self._values.get("admin_username")
|
|
1635
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1636
|
+
|
|
1637
|
+
@builtins.property
|
|
1638
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
1639
|
+
'''The unique identifier of the KMS key used to encrypt the snapshot.
|
|
1640
|
+
|
|
1641
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-kmskeyid
|
|
1642
|
+
'''
|
|
1643
|
+
result = self._values.get("kms_key_id")
|
|
1644
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1645
|
+
|
|
1646
|
+
@builtins.property
|
|
1647
|
+
def namespace_arn(self) -> typing.Optional[builtins.str]:
|
|
1648
|
+
'''The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
|
|
1649
|
+
|
|
1650
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-namespacearn
|
|
1651
|
+
'''
|
|
1652
|
+
result = self._values.get("namespace_arn")
|
|
1653
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1654
|
+
|
|
1655
|
+
@builtins.property
|
|
1656
|
+
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
1657
|
+
'''The name of the namepsace.
|
|
1658
|
+
|
|
1659
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-namespacename
|
|
1660
|
+
'''
|
|
1661
|
+
result = self._values.get("namespace_name")
|
|
1662
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1663
|
+
|
|
1664
|
+
@builtins.property
|
|
1665
|
+
def owner_account(self) -> typing.Optional[builtins.str]:
|
|
1666
|
+
'''The owner AWS ;
|
|
1667
|
+
|
|
1668
|
+
account of the snapshot.
|
|
1669
|
+
|
|
1670
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-owneraccount
|
|
1671
|
+
'''
|
|
1672
|
+
result = self._values.get("owner_account")
|
|
1673
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1674
|
+
|
|
1675
|
+
@builtins.property
|
|
1676
|
+
def retention_period(self) -> typing.Optional[jsii.Number]:
|
|
1677
|
+
'''The retention period of the snapshot created by the scheduled action.
|
|
1678
|
+
|
|
1679
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-retentionperiod
|
|
1680
|
+
'''
|
|
1681
|
+
result = self._values.get("retention_period")
|
|
1682
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1683
|
+
|
|
1684
|
+
@builtins.property
|
|
1685
|
+
def snapshot_arn(self) -> typing.Optional[builtins.str]:
|
|
1686
|
+
'''The Amazon Resource Name (ARN) of the snapshot.
|
|
1687
|
+
|
|
1688
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-snapshotarn
|
|
1689
|
+
'''
|
|
1690
|
+
result = self._values.get("snapshot_arn")
|
|
1691
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1692
|
+
|
|
1693
|
+
@builtins.property
|
|
1694
|
+
def snapshot_create_time(self) -> typing.Optional[builtins.str]:
|
|
1695
|
+
'''The timestamp of when the snapshot was created.
|
|
1696
|
+
|
|
1697
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-snapshotcreatetime
|
|
1698
|
+
'''
|
|
1699
|
+
result = self._values.get("snapshot_create_time")
|
|
1700
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1701
|
+
|
|
1702
|
+
@builtins.property
|
|
1703
|
+
def snapshot_name(self) -> typing.Optional[builtins.str]:
|
|
1704
|
+
'''The name of the snapshot.
|
|
1705
|
+
|
|
1706
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-snapshotname
|
|
1707
|
+
'''
|
|
1708
|
+
result = self._values.get("snapshot_name")
|
|
1709
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1710
|
+
|
|
1711
|
+
@builtins.property
|
|
1712
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
1713
|
+
'''The status of the snapshot.
|
|
1714
|
+
|
|
1715
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshot.html#cfn-redshiftserverless-snapshot-snapshot-status
|
|
1716
|
+
'''
|
|
1717
|
+
result = self._values.get("status")
|
|
1718
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1719
|
+
|
|
1720
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1721
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1722
|
+
|
|
1723
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1724
|
+
return not (rhs == self)
|
|
1725
|
+
|
|
1726
|
+
def __repr__(self) -> str:
|
|
1727
|
+
return "SnapshotProperty(%s)" % ", ".join(
|
|
1728
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1729
|
+
)
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
@jsii.data_type(
|
|
1733
|
+
jsii_type="aws-cdk-lib.aws_redshiftserverless.CfnSnapshotProps",
|
|
1734
|
+
jsii_struct_bases=[],
|
|
1735
|
+
name_mapping={
|
|
1736
|
+
"snapshot_name": "snapshotName",
|
|
1737
|
+
"namespace_name": "namespaceName",
|
|
1738
|
+
"retention_period": "retentionPeriod",
|
|
1739
|
+
"tags": "tags",
|
|
1740
|
+
},
|
|
1741
|
+
)
|
|
1742
|
+
class CfnSnapshotProps:
|
|
1743
|
+
def __init__(
|
|
1744
|
+
self,
|
|
1745
|
+
*,
|
|
1746
|
+
snapshot_name: builtins.str,
|
|
1747
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
1748
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
1749
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1750
|
+
) -> None:
|
|
1751
|
+
'''Properties for defining a ``CfnSnapshot``.
|
|
1752
|
+
|
|
1753
|
+
:param snapshot_name: The name of the snapshot.
|
|
1754
|
+
:param namespace_name: The name of the namepsace.
|
|
1755
|
+
:param retention_period: The retention period of the snapshot created by the scheduled action.
|
|
1756
|
+
:param tags: An array of `Tag objects <https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html>`_ to associate with the snapshot.
|
|
1757
|
+
|
|
1758
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html
|
|
1759
|
+
:exampleMetadata: fixture=_generated
|
|
1760
|
+
|
|
1761
|
+
Example::
|
|
1762
|
+
|
|
1763
|
+
# The code below shows an example of how to instantiate this type.
|
|
1764
|
+
# The values are placeholders you should change.
|
|
1765
|
+
from aws_cdk import aws_redshiftserverless as redshiftserverless
|
|
1766
|
+
|
|
1767
|
+
cfn_snapshot_props = redshiftserverless.CfnSnapshotProps(
|
|
1768
|
+
snapshot_name="snapshotName",
|
|
1769
|
+
|
|
1770
|
+
# the properties below are optional
|
|
1771
|
+
namespace_name="namespaceName",
|
|
1772
|
+
retention_period=123,
|
|
1773
|
+
tags=[CfnTag(
|
|
1774
|
+
key="key",
|
|
1775
|
+
value="value"
|
|
1776
|
+
)]
|
|
1777
|
+
)
|
|
1778
|
+
'''
|
|
1779
|
+
if __debug__:
|
|
1780
|
+
type_hints = typing.get_type_hints(_typecheckingstub__38cd0d09fc150d83197b13fb0e10ea82ffa589e88452cdfecbd53994ae2ced5b)
|
|
1781
|
+
check_type(argname="argument snapshot_name", value=snapshot_name, expected_type=type_hints["snapshot_name"])
|
|
1782
|
+
check_type(argname="argument namespace_name", value=namespace_name, expected_type=type_hints["namespace_name"])
|
|
1783
|
+
check_type(argname="argument retention_period", value=retention_period, expected_type=type_hints["retention_period"])
|
|
1784
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1785
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1786
|
+
"snapshot_name": snapshot_name,
|
|
1787
|
+
}
|
|
1788
|
+
if namespace_name is not None:
|
|
1789
|
+
self._values["namespace_name"] = namespace_name
|
|
1790
|
+
if retention_period is not None:
|
|
1791
|
+
self._values["retention_period"] = retention_period
|
|
1792
|
+
if tags is not None:
|
|
1793
|
+
self._values["tags"] = tags
|
|
1794
|
+
|
|
1795
|
+
@builtins.property
|
|
1796
|
+
def snapshot_name(self) -> builtins.str:
|
|
1797
|
+
'''The name of the snapshot.
|
|
1798
|
+
|
|
1799
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html#cfn-redshiftserverless-snapshot-snapshotname
|
|
1800
|
+
'''
|
|
1801
|
+
result = self._values.get("snapshot_name")
|
|
1802
|
+
assert result is not None, "Required property 'snapshot_name' is missing"
|
|
1803
|
+
return typing.cast(builtins.str, result)
|
|
1804
|
+
|
|
1805
|
+
@builtins.property
|
|
1806
|
+
def namespace_name(self) -> typing.Optional[builtins.str]:
|
|
1807
|
+
'''The name of the namepsace.
|
|
1808
|
+
|
|
1809
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html#cfn-redshiftserverless-snapshot-namespacename
|
|
1810
|
+
'''
|
|
1811
|
+
result = self._values.get("namespace_name")
|
|
1812
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1813
|
+
|
|
1814
|
+
@builtins.property
|
|
1815
|
+
def retention_period(self) -> typing.Optional[jsii.Number]:
|
|
1816
|
+
'''The retention period of the snapshot created by the scheduled action.
|
|
1817
|
+
|
|
1818
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html#cfn-redshiftserverless-snapshot-retentionperiod
|
|
1819
|
+
'''
|
|
1820
|
+
result = self._values.get("retention_period")
|
|
1821
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1822
|
+
|
|
1823
|
+
@builtins.property
|
|
1824
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1825
|
+
'''An array of `Tag objects <https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html>`_ to associate with the snapshot.
|
|
1826
|
+
|
|
1827
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html#cfn-redshiftserverless-snapshot-tags
|
|
1828
|
+
'''
|
|
1829
|
+
result = self._values.get("tags")
|
|
1830
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1831
|
+
|
|
1832
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1833
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1834
|
+
|
|
1835
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1836
|
+
return not (rhs == self)
|
|
1837
|
+
|
|
1838
|
+
def __repr__(self) -> str:
|
|
1839
|
+
return "CfnSnapshotProps(%s)" % ", ".join(
|
|
1840
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1841
|
+
)
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
@jsii.implements(_IInspectable_c2943556, _IWorkgroupRef_77473ce9, _ITaggable_36806126)
|
|
1240
1845
|
class CfnWorkgroup(
|
|
1241
1846
|
_CfnResource_9df397a6,
|
|
1242
1847
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1347,7 +1952,8 @@ class CfnWorkgroup(
|
|
|
1347
1952
|
track_name: typing.Optional[builtins.str] = None,
|
|
1348
1953
|
workgroup: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkgroup.WorkgroupProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1349
1954
|
) -> None:
|
|
1350
|
-
'''
|
|
1955
|
+
'''Create a new ``AWS::RedshiftServerless::Workgroup``.
|
|
1956
|
+
|
|
1351
1957
|
:param scope: Scope in which this resource is defined.
|
|
1352
1958
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1353
1959
|
:param workgroup_name: The name of the workgroup.
|
|
@@ -1608,6 +2214,12 @@ class CfnWorkgroup(
|
|
|
1608
2214
|
'''Tag Manager which manages the tags for this resource.'''
|
|
1609
2215
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
1610
2216
|
|
|
2217
|
+
@builtins.property
|
|
2218
|
+
@jsii.member(jsii_name="workgroupRef")
|
|
2219
|
+
def workgroup_ref(self) -> _WorkgroupReference_f6e6b05f:
|
|
2220
|
+
'''A reference to a Workgroup resource.'''
|
|
2221
|
+
return typing.cast(_WorkgroupReference_f6e6b05f, jsii.get(self, "workgroupRef"))
|
|
2222
|
+
|
|
1611
2223
|
@builtins.property
|
|
1612
2224
|
@jsii.member(jsii_name="workgroupName")
|
|
1613
2225
|
def workgroup_name(self) -> builtins.str:
|
|
@@ -3054,6 +3666,8 @@ class CfnWorkgroupProps:
|
|
|
3054
3666
|
__all__ = [
|
|
3055
3667
|
"CfnNamespace",
|
|
3056
3668
|
"CfnNamespaceProps",
|
|
3669
|
+
"CfnSnapshot",
|
|
3670
|
+
"CfnSnapshotProps",
|
|
3057
3671
|
"CfnWorkgroup",
|
|
3058
3672
|
"CfnWorkgroupProps",
|
|
3059
3673
|
]
|
|
@@ -3242,6 +3856,80 @@ def _typecheckingstub__5964a5da555f62a5d9615a6e07cd0d1128cdf904fd5aa3c5be9fd5e53
|
|
|
3242
3856
|
"""Type checking stubs"""
|
|
3243
3857
|
pass
|
|
3244
3858
|
|
|
3859
|
+
def _typecheckingstub__a1e2b5eeadcf14eaf0be75cda550b6bcef2aa009af0fe87d6f5e9e856ad0ef43(
|
|
3860
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3861
|
+
id: builtins.str,
|
|
3862
|
+
*,
|
|
3863
|
+
snapshot_name: builtins.str,
|
|
3864
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
3865
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
3866
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3867
|
+
) -> None:
|
|
3868
|
+
"""Type checking stubs"""
|
|
3869
|
+
pass
|
|
3870
|
+
|
|
3871
|
+
def _typecheckingstub__5ddc470fc115016c807de39b9ff4325d249ff8657e32f92eefbcb4bac9e79eb0(
|
|
3872
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3873
|
+
) -> None:
|
|
3874
|
+
"""Type checking stubs"""
|
|
3875
|
+
pass
|
|
3876
|
+
|
|
3877
|
+
def _typecheckingstub__4bdbe6940b32b0a05793c97cd18c6f2009d35937c086b1b342b276e310c97129(
|
|
3878
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3879
|
+
) -> None:
|
|
3880
|
+
"""Type checking stubs"""
|
|
3881
|
+
pass
|
|
3882
|
+
|
|
3883
|
+
def _typecheckingstub__f64f97556142b340a4fd0b74522c68b85e2157f2a27ece8203bd18185cfe3ce6(
|
|
3884
|
+
value: builtins.str,
|
|
3885
|
+
) -> None:
|
|
3886
|
+
"""Type checking stubs"""
|
|
3887
|
+
pass
|
|
3888
|
+
|
|
3889
|
+
def _typecheckingstub__5f6a30dd9c5c0b8045b8d36ef14977ccb4361c843f7dcb8ac7322f8fa349468d(
|
|
3890
|
+
value: typing.Optional[builtins.str],
|
|
3891
|
+
) -> None:
|
|
3892
|
+
"""Type checking stubs"""
|
|
3893
|
+
pass
|
|
3894
|
+
|
|
3895
|
+
def _typecheckingstub__521c1c8ca437327e56c1b9a24896fa19595912e045202fbf656a893304dd3c04(
|
|
3896
|
+
value: typing.Optional[jsii.Number],
|
|
3897
|
+
) -> None:
|
|
3898
|
+
"""Type checking stubs"""
|
|
3899
|
+
pass
|
|
3900
|
+
|
|
3901
|
+
def _typecheckingstub__77534803a2fb41b5883d0c89334777e664cec59572dd7a376bbe5dbc41ff64ef(
|
|
3902
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3903
|
+
) -> None:
|
|
3904
|
+
"""Type checking stubs"""
|
|
3905
|
+
pass
|
|
3906
|
+
|
|
3907
|
+
def _typecheckingstub__d32a77292254bff347197e3bdcc04e2fea309ebb7baea20e5fee3f5714159ffa(
|
|
3908
|
+
*,
|
|
3909
|
+
admin_username: typing.Optional[builtins.str] = None,
|
|
3910
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
3911
|
+
namespace_arn: typing.Optional[builtins.str] = None,
|
|
3912
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
3913
|
+
owner_account: typing.Optional[builtins.str] = None,
|
|
3914
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
3915
|
+
snapshot_arn: typing.Optional[builtins.str] = None,
|
|
3916
|
+
snapshot_create_time: typing.Optional[builtins.str] = None,
|
|
3917
|
+
snapshot_name: typing.Optional[builtins.str] = None,
|
|
3918
|
+
status: typing.Optional[builtins.str] = None,
|
|
3919
|
+
) -> None:
|
|
3920
|
+
"""Type checking stubs"""
|
|
3921
|
+
pass
|
|
3922
|
+
|
|
3923
|
+
def _typecheckingstub__38cd0d09fc150d83197b13fb0e10ea82ffa589e88452cdfecbd53994ae2ced5b(
|
|
3924
|
+
*,
|
|
3925
|
+
snapshot_name: builtins.str,
|
|
3926
|
+
namespace_name: typing.Optional[builtins.str] = None,
|
|
3927
|
+
retention_period: typing.Optional[jsii.Number] = None,
|
|
3928
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3929
|
+
) -> None:
|
|
3930
|
+
"""Type checking stubs"""
|
|
3931
|
+
pass
|
|
3932
|
+
|
|
3245
3933
|
def _typecheckingstub__61a1b6ebbdacc577619f4e17ddabdaa553ffe5fe072b72e14ddf7d9c3f7e1a04(
|
|
3246
3934
|
scope: _constructs_77d1e7e8.Construct,
|
|
3247
3935
|
id: builtins.str,
|