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
|
@@ -0,0 +1,1495 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS::MPA Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_mpa as mpa
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for MPA construct libraries](https://constructs.dev/search?q=mpa)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::MPA resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MPA.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::MPA](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MPA.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
41
|
+
import abc
|
|
42
|
+
import builtins
|
|
43
|
+
import datetime
|
|
44
|
+
import enum
|
|
45
|
+
import typing
|
|
46
|
+
|
|
47
|
+
import jsii
|
|
48
|
+
import publication
|
|
49
|
+
import typing_extensions
|
|
50
|
+
|
|
51
|
+
import typeguard
|
|
52
|
+
from importlib.metadata import version as _metadata_package_version
|
|
53
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
54
|
+
|
|
55
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
56
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
57
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
58
|
+
else:
|
|
59
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
60
|
+
pass
|
|
61
|
+
else:
|
|
62
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
63
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
65
|
+
else:
|
|
66
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
67
|
+
|
|
68
|
+
from .._jsii import *
|
|
69
|
+
|
|
70
|
+
import constructs as _constructs_77d1e7e8
|
|
71
|
+
from .. import (
|
|
72
|
+
CfnResource as _CfnResource_9df397a6,
|
|
73
|
+
CfnTag as _CfnTag_f6864754,
|
|
74
|
+
IInspectable as _IInspectable_c2943556,
|
|
75
|
+
IResolvable as _IResolvable_da3f097b,
|
|
76
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
77
|
+
TagManager as _TagManager_0a598cb3,
|
|
78
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
79
|
+
)
|
|
80
|
+
from ..interfaces.aws_mpa import (
|
|
81
|
+
ApprovalTeamReference as _ApprovalTeamReference_07b042c7,
|
|
82
|
+
IApprovalTeamRef as _IApprovalTeamRef_f6d8bc35,
|
|
83
|
+
IIdentitySourceRef as _IIdentitySourceRef_9af3da94,
|
|
84
|
+
IdentitySourceReference as _IdentitySourceReference_9ce9cccf,
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
@jsii.implements(_IInspectable_c2943556, _IApprovalTeamRef_f6d8bc35, _ITaggableV2_4e6798f8)
|
|
89
|
+
class CfnApprovalTeam(
|
|
90
|
+
_CfnResource_9df397a6,
|
|
91
|
+
metaclass=jsii.JSIIMeta,
|
|
92
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeam",
|
|
93
|
+
):
|
|
94
|
+
'''Creates a new approval team.
|
|
95
|
+
|
|
96
|
+
For more information, see `Approval team <https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html>`_ in the *Multi-party approval User Guide* .
|
|
97
|
+
|
|
98
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
|
|
99
|
+
:cloudformationResource: AWS::MPA::ApprovalTeam
|
|
100
|
+
:exampleMetadata: fixture=_generated
|
|
101
|
+
|
|
102
|
+
Example::
|
|
103
|
+
|
|
104
|
+
# The code below shows an example of how to instantiate this type.
|
|
105
|
+
# The values are placeholders you should change.
|
|
106
|
+
from aws_cdk import aws_mpa as mpa
|
|
107
|
+
|
|
108
|
+
cfn_approval_team = mpa.CfnApprovalTeam(self, "MyCfnApprovalTeam",
|
|
109
|
+
approval_strategy=mpa.CfnApprovalTeam.ApprovalStrategyProperty(
|
|
110
|
+
mof_n=mpa.CfnApprovalTeam.MofNApprovalStrategyProperty(
|
|
111
|
+
min_approvals_required=123
|
|
112
|
+
)
|
|
113
|
+
),
|
|
114
|
+
approvers=[mpa.CfnApprovalTeam.ApproverProperty(
|
|
115
|
+
primary_identity_id="primaryIdentityId",
|
|
116
|
+
primary_identity_source_arn="primaryIdentitySourceArn",
|
|
117
|
+
|
|
118
|
+
# the properties below are optional
|
|
119
|
+
approver_id="approverId",
|
|
120
|
+
primary_identity_status="primaryIdentityStatus",
|
|
121
|
+
response_time="responseTime"
|
|
122
|
+
)],
|
|
123
|
+
description="description",
|
|
124
|
+
name="name",
|
|
125
|
+
policies=[mpa.CfnApprovalTeam.PolicyProperty(
|
|
126
|
+
policy_arn="policyArn"
|
|
127
|
+
)],
|
|
128
|
+
|
|
129
|
+
# the properties below are optional
|
|
130
|
+
tags=[CfnTag(
|
|
131
|
+
key="key",
|
|
132
|
+
value="value"
|
|
133
|
+
)]
|
|
134
|
+
)
|
|
135
|
+
'''
|
|
136
|
+
|
|
137
|
+
def __init__(
|
|
138
|
+
self,
|
|
139
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
140
|
+
id: builtins.str,
|
|
141
|
+
*,
|
|
142
|
+
approval_strategy: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApprovalTeam.ApprovalStrategyProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
143
|
+
approvers: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApprovalTeam.ApproverProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
144
|
+
description: builtins.str,
|
|
145
|
+
name: builtins.str,
|
|
146
|
+
policies: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApprovalTeam.PolicyProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
147
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
|
+
) -> None:
|
|
149
|
+
'''Create a new ``AWS::MPA::ApprovalTeam``.
|
|
150
|
+
|
|
151
|
+
:param scope: Scope in which this resource is defined.
|
|
152
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
153
|
+
:param approval_strategy: Contains details for how an approval team grants approval.
|
|
154
|
+
:param approvers: Contains details for an approver.
|
|
155
|
+
:param description: Description for the team.
|
|
156
|
+
:param name: Name of the team.
|
|
157
|
+
:param policies: Contains details for a policy. Policies define what operations a team that define the permissions for team resources.
|
|
158
|
+
:param tags: Tags that you have added to the specified resource.
|
|
159
|
+
'''
|
|
160
|
+
if __debug__:
|
|
161
|
+
type_hints = typing.get_type_hints(_typecheckingstub__386990d7f44b867156b4ae1be61f59dcf68b732d47a10262382c529e91f18365)
|
|
162
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
163
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
164
|
+
props = CfnApprovalTeamProps(
|
|
165
|
+
approval_strategy=approval_strategy,
|
|
166
|
+
approvers=approvers,
|
|
167
|
+
description=description,
|
|
168
|
+
name=name,
|
|
169
|
+
policies=policies,
|
|
170
|
+
tags=tags,
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
174
|
+
|
|
175
|
+
@jsii.member(jsii_name="inspect")
|
|
176
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
177
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
178
|
+
|
|
179
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
180
|
+
'''
|
|
181
|
+
if __debug__:
|
|
182
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dba069c00d1a308983f1858c860837ee043b1a2f961d8a9723e5b6ab33cc7f30)
|
|
183
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
184
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
185
|
+
|
|
186
|
+
@jsii.member(jsii_name="renderProperties")
|
|
187
|
+
def _render_properties(
|
|
188
|
+
self,
|
|
189
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
190
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
191
|
+
'''
|
|
192
|
+
:param props: -
|
|
193
|
+
'''
|
|
194
|
+
if __debug__:
|
|
195
|
+
type_hints = typing.get_type_hints(_typecheckingstub__75ba9035ba86d7cbf51b44474da24ea7dc3325fb3d54c692b9f7bd885fa89138)
|
|
196
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
197
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
198
|
+
|
|
199
|
+
@jsii.python.classproperty
|
|
200
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
201
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
202
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
203
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
204
|
+
|
|
205
|
+
@builtins.property
|
|
206
|
+
@jsii.member(jsii_name="approvalTeamRef")
|
|
207
|
+
def approval_team_ref(self) -> _ApprovalTeamReference_07b042c7:
|
|
208
|
+
'''A reference to a ApprovalTeam resource.'''
|
|
209
|
+
return typing.cast(_ApprovalTeamReference_07b042c7, jsii.get(self, "approvalTeamRef"))
|
|
210
|
+
|
|
211
|
+
@builtins.property
|
|
212
|
+
@jsii.member(jsii_name="attrArn")
|
|
213
|
+
def attr_arn(self) -> builtins.str:
|
|
214
|
+
'''Amazon Resource Name (ARN) for the team.
|
|
215
|
+
|
|
216
|
+
:cloudformationAttribute: Arn
|
|
217
|
+
'''
|
|
218
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
219
|
+
|
|
220
|
+
@builtins.property
|
|
221
|
+
@jsii.member(jsii_name="attrCreationTime")
|
|
222
|
+
def attr_creation_time(self) -> builtins.str:
|
|
223
|
+
'''Timestamp when the team was created.
|
|
224
|
+
|
|
225
|
+
:cloudformationAttribute: CreationTime
|
|
226
|
+
'''
|
|
227
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
|
|
228
|
+
|
|
229
|
+
@builtins.property
|
|
230
|
+
@jsii.member(jsii_name="attrLastUpdateTime")
|
|
231
|
+
def attr_last_update_time(self) -> builtins.str:
|
|
232
|
+
'''Timestamp when the team was last updated.
|
|
233
|
+
|
|
234
|
+
:cloudformationAttribute: LastUpdateTime
|
|
235
|
+
'''
|
|
236
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdateTime"))
|
|
237
|
+
|
|
238
|
+
@builtins.property
|
|
239
|
+
@jsii.member(jsii_name="attrNumberOfApprovers")
|
|
240
|
+
def attr_number_of_approvers(self) -> jsii.Number:
|
|
241
|
+
'''Total number of approvers in the team.
|
|
242
|
+
|
|
243
|
+
:cloudformationAttribute: NumberOfApprovers
|
|
244
|
+
'''
|
|
245
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrNumberOfApprovers"))
|
|
246
|
+
|
|
247
|
+
@builtins.property
|
|
248
|
+
@jsii.member(jsii_name="attrStatus")
|
|
249
|
+
def attr_status(self) -> builtins.str:
|
|
250
|
+
'''Status for the team.
|
|
251
|
+
|
|
252
|
+
For more information, see `Team health <https://docs.aws.amazon.com/mpa/latest/userguide/mpa-health.html>`_ in the *Multi-party approval User Guide* .
|
|
253
|
+
|
|
254
|
+
:cloudformationAttribute: Status
|
|
255
|
+
'''
|
|
256
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
257
|
+
|
|
258
|
+
@builtins.property
|
|
259
|
+
@jsii.member(jsii_name="attrStatusCode")
|
|
260
|
+
def attr_status_code(self) -> builtins.str:
|
|
261
|
+
'''Status code for the team.
|
|
262
|
+
|
|
263
|
+
For more information, see `Team health <https://docs.aws.amazon.com/mpa/latest/userguide/mpa-health.html>`_ in the *Multi-party approval User Guide* .
|
|
264
|
+
|
|
265
|
+
:cloudformationAttribute: StatusCode
|
|
266
|
+
'''
|
|
267
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusCode"))
|
|
268
|
+
|
|
269
|
+
@builtins.property
|
|
270
|
+
@jsii.member(jsii_name="attrStatusMessage")
|
|
271
|
+
def attr_status_message(self) -> builtins.str:
|
|
272
|
+
'''Message describing the status for the team.
|
|
273
|
+
|
|
274
|
+
:cloudformationAttribute: StatusMessage
|
|
275
|
+
'''
|
|
276
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusMessage"))
|
|
277
|
+
|
|
278
|
+
@builtins.property
|
|
279
|
+
@jsii.member(jsii_name="attrUpdateSessionArn")
|
|
280
|
+
def attr_update_session_arn(self) -> builtins.str:
|
|
281
|
+
'''Timestamp when the team was last updated.
|
|
282
|
+
|
|
283
|
+
:cloudformationAttribute: UpdateSessionArn
|
|
284
|
+
'''
|
|
285
|
+
return typing.cast(builtins.str, jsii.get(self, "attrUpdateSessionArn"))
|
|
286
|
+
|
|
287
|
+
@builtins.property
|
|
288
|
+
@jsii.member(jsii_name="attrVersionId")
|
|
289
|
+
def attr_version_id(self) -> builtins.str:
|
|
290
|
+
'''Version ID for the team.
|
|
291
|
+
|
|
292
|
+
:cloudformationAttribute: VersionId
|
|
293
|
+
'''
|
|
294
|
+
return typing.cast(builtins.str, jsii.get(self, "attrVersionId"))
|
|
295
|
+
|
|
296
|
+
@builtins.property
|
|
297
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
298
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
299
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
300
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
301
|
+
|
|
302
|
+
@builtins.property
|
|
303
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
304
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
305
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
306
|
+
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="approvalStrategy")
|
|
309
|
+
def approval_strategy(
|
|
310
|
+
self,
|
|
311
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApprovalStrategyProperty"]:
|
|
312
|
+
'''Contains details for how an approval team grants approval.'''
|
|
313
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApprovalStrategyProperty"], jsii.get(self, "approvalStrategy"))
|
|
314
|
+
|
|
315
|
+
@approval_strategy.setter
|
|
316
|
+
def approval_strategy(
|
|
317
|
+
self,
|
|
318
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApprovalStrategyProperty"],
|
|
319
|
+
) -> None:
|
|
320
|
+
if __debug__:
|
|
321
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ec22b692d714a3a436a85095d2cb14c5395173e9390a7d17279d7b92a0e5186)
|
|
322
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
323
|
+
jsii.set(self, "approvalStrategy", value) # pyright: ignore[reportArgumentType]
|
|
324
|
+
|
|
325
|
+
@builtins.property
|
|
326
|
+
@jsii.member(jsii_name="approvers")
|
|
327
|
+
def approvers(
|
|
328
|
+
self,
|
|
329
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApproverProperty"]]]:
|
|
330
|
+
'''Contains details for an approver.'''
|
|
331
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApproverProperty"]]], jsii.get(self, "approvers"))
|
|
332
|
+
|
|
333
|
+
@approvers.setter
|
|
334
|
+
def approvers(
|
|
335
|
+
self,
|
|
336
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.ApproverProperty"]]],
|
|
337
|
+
) -> None:
|
|
338
|
+
if __debug__:
|
|
339
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f0eaf16236f7ec9b60a4b70a3f4b6ec8d4c38b2a19b3bcfd2b71bc112aa84697)
|
|
340
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
341
|
+
jsii.set(self, "approvers", value) # pyright: ignore[reportArgumentType]
|
|
342
|
+
|
|
343
|
+
@builtins.property
|
|
344
|
+
@jsii.member(jsii_name="description")
|
|
345
|
+
def description(self) -> builtins.str:
|
|
346
|
+
'''Description for the team.'''
|
|
347
|
+
return typing.cast(builtins.str, jsii.get(self, "description"))
|
|
348
|
+
|
|
349
|
+
@description.setter
|
|
350
|
+
def description(self, value: builtins.str) -> None:
|
|
351
|
+
if __debug__:
|
|
352
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5329ac4998f7b59d7d1e54592bf7342bbee963874c6616e24205a5f906bb7c8a)
|
|
353
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
354
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
355
|
+
|
|
356
|
+
@builtins.property
|
|
357
|
+
@jsii.member(jsii_name="name")
|
|
358
|
+
def name(self) -> builtins.str:
|
|
359
|
+
'''Name of the team.'''
|
|
360
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
361
|
+
|
|
362
|
+
@name.setter
|
|
363
|
+
def name(self, value: builtins.str) -> None:
|
|
364
|
+
if __debug__:
|
|
365
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e39f33a9d3b76bbe323d54d7d73234df05c9a544c11e71f2803cfa2ba185bfde)
|
|
366
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
367
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
368
|
+
|
|
369
|
+
@builtins.property
|
|
370
|
+
@jsii.member(jsii_name="policies")
|
|
371
|
+
def policies(
|
|
372
|
+
self,
|
|
373
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.PolicyProperty"]]]:
|
|
374
|
+
'''Contains details for a policy.'''
|
|
375
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.PolicyProperty"]]], jsii.get(self, "policies"))
|
|
376
|
+
|
|
377
|
+
@policies.setter
|
|
378
|
+
def policies(
|
|
379
|
+
self,
|
|
380
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.PolicyProperty"]]],
|
|
381
|
+
) -> None:
|
|
382
|
+
if __debug__:
|
|
383
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d3a7c415cd8a7816dfb413751381ef0ef0d82b8795bc1c9d3776bc7988dc32fe)
|
|
384
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
385
|
+
jsii.set(self, "policies", value) # pyright: ignore[reportArgumentType]
|
|
386
|
+
|
|
387
|
+
@builtins.property
|
|
388
|
+
@jsii.member(jsii_name="tags")
|
|
389
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
390
|
+
'''Tags that you have added to the specified resource.'''
|
|
391
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
392
|
+
|
|
393
|
+
@tags.setter
|
|
394
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
395
|
+
if __debug__:
|
|
396
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d31b1fab5555e70c4496aadbffef5ef28d65db31b88ab4e99ebb5030f3b22bad)
|
|
397
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
398
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
399
|
+
|
|
400
|
+
@jsii.data_type(
|
|
401
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeam.ApprovalStrategyProperty",
|
|
402
|
+
jsii_struct_bases=[],
|
|
403
|
+
name_mapping={"mof_n": "mofN"},
|
|
404
|
+
)
|
|
405
|
+
class ApprovalStrategyProperty:
|
|
406
|
+
def __init__(
|
|
407
|
+
self,
|
|
408
|
+
*,
|
|
409
|
+
mof_n: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApprovalTeam.MofNApprovalStrategyProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
410
|
+
) -> None:
|
|
411
|
+
'''Strategy for how an approval team grants approval.
|
|
412
|
+
|
|
413
|
+
:param mof_n: Minimum number of approvals (M) required for a total number of approvers (N).
|
|
414
|
+
|
|
415
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approvalstrategy.html
|
|
416
|
+
:exampleMetadata: fixture=_generated
|
|
417
|
+
|
|
418
|
+
Example::
|
|
419
|
+
|
|
420
|
+
# The code below shows an example of how to instantiate this type.
|
|
421
|
+
# The values are placeholders you should change.
|
|
422
|
+
from aws_cdk import aws_mpa as mpa
|
|
423
|
+
|
|
424
|
+
approval_strategy_property = mpa.CfnApprovalTeam.ApprovalStrategyProperty(
|
|
425
|
+
mof_n=mpa.CfnApprovalTeam.MofNApprovalStrategyProperty(
|
|
426
|
+
min_approvals_required=123
|
|
427
|
+
)
|
|
428
|
+
)
|
|
429
|
+
'''
|
|
430
|
+
if __debug__:
|
|
431
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cace1306ec287bf286eedec7b306e0183888aef06e1e0a1d74cc4532b3ae145b)
|
|
432
|
+
check_type(argname="argument mof_n", value=mof_n, expected_type=type_hints["mof_n"])
|
|
433
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
434
|
+
"mof_n": mof_n,
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
@builtins.property
|
|
438
|
+
def mof_n(
|
|
439
|
+
self,
|
|
440
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.MofNApprovalStrategyProperty"]:
|
|
441
|
+
'''Minimum number of approvals (M) required for a total number of approvers (N).
|
|
442
|
+
|
|
443
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approvalstrategy.html#cfn-mpa-approvalteam-approvalstrategy-mofn
|
|
444
|
+
'''
|
|
445
|
+
result = self._values.get("mof_n")
|
|
446
|
+
assert result is not None, "Required property 'mof_n' is missing"
|
|
447
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApprovalTeam.MofNApprovalStrategyProperty"], result)
|
|
448
|
+
|
|
449
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
450
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
451
|
+
|
|
452
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
453
|
+
return not (rhs == self)
|
|
454
|
+
|
|
455
|
+
def __repr__(self) -> str:
|
|
456
|
+
return "ApprovalStrategyProperty(%s)" % ", ".join(
|
|
457
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
458
|
+
)
|
|
459
|
+
|
|
460
|
+
@jsii.data_type(
|
|
461
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeam.ApproverProperty",
|
|
462
|
+
jsii_struct_bases=[],
|
|
463
|
+
name_mapping={
|
|
464
|
+
"primary_identity_id": "primaryIdentityId",
|
|
465
|
+
"primary_identity_source_arn": "primaryIdentitySourceArn",
|
|
466
|
+
"approver_id": "approverId",
|
|
467
|
+
"primary_identity_status": "primaryIdentityStatus",
|
|
468
|
+
"response_time": "responseTime",
|
|
469
|
+
},
|
|
470
|
+
)
|
|
471
|
+
class ApproverProperty:
|
|
472
|
+
def __init__(
|
|
473
|
+
self,
|
|
474
|
+
*,
|
|
475
|
+
primary_identity_id: builtins.str,
|
|
476
|
+
primary_identity_source_arn: builtins.str,
|
|
477
|
+
approver_id: typing.Optional[builtins.str] = None,
|
|
478
|
+
primary_identity_status: typing.Optional[builtins.str] = None,
|
|
479
|
+
response_time: typing.Optional[builtins.str] = None,
|
|
480
|
+
) -> None:
|
|
481
|
+
'''Contains details for an approver.
|
|
482
|
+
|
|
483
|
+
:param primary_identity_id: ID for the user.
|
|
484
|
+
:param primary_identity_source_arn: Amazon Resource Name (ARN) for the identity source. The identity source manages the user authentication for approvers.
|
|
485
|
+
:param approver_id: ID for the approver.
|
|
486
|
+
:param primary_identity_status: Status for the identity source. For example, if an approver has accepted a team invitation with a user authentication method managed by the identity source.
|
|
487
|
+
:param response_time: Timestamp when the approver responded to an approval team invitation.
|
|
488
|
+
|
|
489
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html
|
|
490
|
+
:exampleMetadata: fixture=_generated
|
|
491
|
+
|
|
492
|
+
Example::
|
|
493
|
+
|
|
494
|
+
# The code below shows an example of how to instantiate this type.
|
|
495
|
+
# The values are placeholders you should change.
|
|
496
|
+
from aws_cdk import aws_mpa as mpa
|
|
497
|
+
|
|
498
|
+
approver_property = mpa.CfnApprovalTeam.ApproverProperty(
|
|
499
|
+
primary_identity_id="primaryIdentityId",
|
|
500
|
+
primary_identity_source_arn="primaryIdentitySourceArn",
|
|
501
|
+
|
|
502
|
+
# the properties below are optional
|
|
503
|
+
approver_id="approverId",
|
|
504
|
+
primary_identity_status="primaryIdentityStatus",
|
|
505
|
+
response_time="responseTime"
|
|
506
|
+
)
|
|
507
|
+
'''
|
|
508
|
+
if __debug__:
|
|
509
|
+
type_hints = typing.get_type_hints(_typecheckingstub__36558bdfdc85f3fc5feb84a058bedb6b2533db65993cd67119e308af416d59bd)
|
|
510
|
+
check_type(argname="argument primary_identity_id", value=primary_identity_id, expected_type=type_hints["primary_identity_id"])
|
|
511
|
+
check_type(argname="argument primary_identity_source_arn", value=primary_identity_source_arn, expected_type=type_hints["primary_identity_source_arn"])
|
|
512
|
+
check_type(argname="argument approver_id", value=approver_id, expected_type=type_hints["approver_id"])
|
|
513
|
+
check_type(argname="argument primary_identity_status", value=primary_identity_status, expected_type=type_hints["primary_identity_status"])
|
|
514
|
+
check_type(argname="argument response_time", value=response_time, expected_type=type_hints["response_time"])
|
|
515
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
516
|
+
"primary_identity_id": primary_identity_id,
|
|
517
|
+
"primary_identity_source_arn": primary_identity_source_arn,
|
|
518
|
+
}
|
|
519
|
+
if approver_id is not None:
|
|
520
|
+
self._values["approver_id"] = approver_id
|
|
521
|
+
if primary_identity_status is not None:
|
|
522
|
+
self._values["primary_identity_status"] = primary_identity_status
|
|
523
|
+
if response_time is not None:
|
|
524
|
+
self._values["response_time"] = response_time
|
|
525
|
+
|
|
526
|
+
@builtins.property
|
|
527
|
+
def primary_identity_id(self) -> builtins.str:
|
|
528
|
+
'''ID for the user.
|
|
529
|
+
|
|
530
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html#cfn-mpa-approvalteam-approver-primaryidentityid
|
|
531
|
+
'''
|
|
532
|
+
result = self._values.get("primary_identity_id")
|
|
533
|
+
assert result is not None, "Required property 'primary_identity_id' is missing"
|
|
534
|
+
return typing.cast(builtins.str, result)
|
|
535
|
+
|
|
536
|
+
@builtins.property
|
|
537
|
+
def primary_identity_source_arn(self) -> builtins.str:
|
|
538
|
+
'''Amazon Resource Name (ARN) for the identity source.
|
|
539
|
+
|
|
540
|
+
The identity source manages the user authentication for approvers.
|
|
541
|
+
|
|
542
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html#cfn-mpa-approvalteam-approver-primaryidentitysourcearn
|
|
543
|
+
'''
|
|
544
|
+
result = self._values.get("primary_identity_source_arn")
|
|
545
|
+
assert result is not None, "Required property 'primary_identity_source_arn' is missing"
|
|
546
|
+
return typing.cast(builtins.str, result)
|
|
547
|
+
|
|
548
|
+
@builtins.property
|
|
549
|
+
def approver_id(self) -> typing.Optional[builtins.str]:
|
|
550
|
+
'''ID for the approver.
|
|
551
|
+
|
|
552
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html#cfn-mpa-approvalteam-approver-approverid
|
|
553
|
+
'''
|
|
554
|
+
result = self._values.get("approver_id")
|
|
555
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
556
|
+
|
|
557
|
+
@builtins.property
|
|
558
|
+
def primary_identity_status(self) -> typing.Optional[builtins.str]:
|
|
559
|
+
'''Status for the identity source.
|
|
560
|
+
|
|
561
|
+
For example, if an approver has accepted a team invitation with a user authentication method managed by the identity source.
|
|
562
|
+
|
|
563
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html#cfn-mpa-approvalteam-approver-primaryidentitystatus
|
|
564
|
+
'''
|
|
565
|
+
result = self._values.get("primary_identity_status")
|
|
566
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
567
|
+
|
|
568
|
+
@builtins.property
|
|
569
|
+
def response_time(self) -> typing.Optional[builtins.str]:
|
|
570
|
+
'''Timestamp when the approver responded to an approval team invitation.
|
|
571
|
+
|
|
572
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-approver.html#cfn-mpa-approvalteam-approver-responsetime
|
|
573
|
+
'''
|
|
574
|
+
result = self._values.get("response_time")
|
|
575
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
576
|
+
|
|
577
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
578
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
579
|
+
|
|
580
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
581
|
+
return not (rhs == self)
|
|
582
|
+
|
|
583
|
+
def __repr__(self) -> str:
|
|
584
|
+
return "ApproverProperty(%s)" % ", ".join(
|
|
585
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
@jsii.data_type(
|
|
589
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeam.MofNApprovalStrategyProperty",
|
|
590
|
+
jsii_struct_bases=[],
|
|
591
|
+
name_mapping={"min_approvals_required": "minApprovalsRequired"},
|
|
592
|
+
)
|
|
593
|
+
class MofNApprovalStrategyProperty:
|
|
594
|
+
def __init__(self, *, min_approvals_required: jsii.Number) -> None:
|
|
595
|
+
'''Strategy for how an approval team grants approval.
|
|
596
|
+
|
|
597
|
+
:param min_approvals_required: Minimum number of approvals (M) required for a total number of approvers (N).
|
|
598
|
+
|
|
599
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-mofnapprovalstrategy.html
|
|
600
|
+
:exampleMetadata: fixture=_generated
|
|
601
|
+
|
|
602
|
+
Example::
|
|
603
|
+
|
|
604
|
+
# The code below shows an example of how to instantiate this type.
|
|
605
|
+
# The values are placeholders you should change.
|
|
606
|
+
from aws_cdk import aws_mpa as mpa
|
|
607
|
+
|
|
608
|
+
mof_nApproval_strategy_property = mpa.CfnApprovalTeam.MofNApprovalStrategyProperty(
|
|
609
|
+
min_approvals_required=123
|
|
610
|
+
)
|
|
611
|
+
'''
|
|
612
|
+
if __debug__:
|
|
613
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c9128fe21a2ecc0edffaa444518ee4e665f9c001202934e3a6ce10274d631042)
|
|
614
|
+
check_type(argname="argument min_approvals_required", value=min_approvals_required, expected_type=type_hints["min_approvals_required"])
|
|
615
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
616
|
+
"min_approvals_required": min_approvals_required,
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
@builtins.property
|
|
620
|
+
def min_approvals_required(self) -> jsii.Number:
|
|
621
|
+
'''Minimum number of approvals (M) required for a total number of approvers (N).
|
|
622
|
+
|
|
623
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-mofnapprovalstrategy.html#cfn-mpa-approvalteam-mofnapprovalstrategy-minapprovalsrequired
|
|
624
|
+
'''
|
|
625
|
+
result = self._values.get("min_approvals_required")
|
|
626
|
+
assert result is not None, "Required property 'min_approvals_required' is missing"
|
|
627
|
+
return typing.cast(jsii.Number, result)
|
|
628
|
+
|
|
629
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
630
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
631
|
+
|
|
632
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
633
|
+
return not (rhs == self)
|
|
634
|
+
|
|
635
|
+
def __repr__(self) -> str:
|
|
636
|
+
return "MofNApprovalStrategyProperty(%s)" % ", ".join(
|
|
637
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
638
|
+
)
|
|
639
|
+
|
|
640
|
+
@jsii.data_type(
|
|
641
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeam.PolicyProperty",
|
|
642
|
+
jsii_struct_bases=[],
|
|
643
|
+
name_mapping={"policy_arn": "policyArn"},
|
|
644
|
+
)
|
|
645
|
+
class PolicyProperty:
|
|
646
|
+
def __init__(self, *, policy_arn: builtins.str) -> None:
|
|
647
|
+
'''Contains details for a policy.
|
|
648
|
+
|
|
649
|
+
Policies define what operations a team that define the permissions for team resources.
|
|
650
|
+
|
|
651
|
+
:param policy_arn:
|
|
652
|
+
|
|
653
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-policy.html
|
|
654
|
+
:exampleMetadata: fixture=_generated
|
|
655
|
+
|
|
656
|
+
Example::
|
|
657
|
+
|
|
658
|
+
# The code below shows an example of how to instantiate this type.
|
|
659
|
+
# The values are placeholders you should change.
|
|
660
|
+
from aws_cdk import aws_mpa as mpa
|
|
661
|
+
|
|
662
|
+
policy_property = mpa.CfnApprovalTeam.PolicyProperty(
|
|
663
|
+
policy_arn="policyArn"
|
|
664
|
+
)
|
|
665
|
+
'''
|
|
666
|
+
if __debug__:
|
|
667
|
+
type_hints = typing.get_type_hints(_typecheckingstub__75ccc78545af23823b4f234ee8de6d1d0e7b956206086f97f9aa04f82d00b6f1)
|
|
668
|
+
check_type(argname="argument policy_arn", value=policy_arn, expected_type=type_hints["policy_arn"])
|
|
669
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
670
|
+
"policy_arn": policy_arn,
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
@builtins.property
|
|
674
|
+
def policy_arn(self) -> builtins.str:
|
|
675
|
+
'''
|
|
676
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-approvalteam-policy.html#cfn-mpa-approvalteam-policy-policyarn
|
|
677
|
+
'''
|
|
678
|
+
result = self._values.get("policy_arn")
|
|
679
|
+
assert result is not None, "Required property 'policy_arn' is missing"
|
|
680
|
+
return typing.cast(builtins.str, result)
|
|
681
|
+
|
|
682
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
683
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
684
|
+
|
|
685
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
686
|
+
return not (rhs == self)
|
|
687
|
+
|
|
688
|
+
def __repr__(self) -> str:
|
|
689
|
+
return "PolicyProperty(%s)" % ", ".join(
|
|
690
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
691
|
+
)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
@jsii.data_type(
|
|
695
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnApprovalTeamProps",
|
|
696
|
+
jsii_struct_bases=[],
|
|
697
|
+
name_mapping={
|
|
698
|
+
"approval_strategy": "approvalStrategy",
|
|
699
|
+
"approvers": "approvers",
|
|
700
|
+
"description": "description",
|
|
701
|
+
"name": "name",
|
|
702
|
+
"policies": "policies",
|
|
703
|
+
"tags": "tags",
|
|
704
|
+
},
|
|
705
|
+
)
|
|
706
|
+
class CfnApprovalTeamProps:
|
|
707
|
+
def __init__(
|
|
708
|
+
self,
|
|
709
|
+
*,
|
|
710
|
+
approval_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApprovalStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
711
|
+
approvers: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApproverProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
712
|
+
description: builtins.str,
|
|
713
|
+
name: builtins.str,
|
|
714
|
+
policies: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.PolicyProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
715
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
716
|
+
) -> None:
|
|
717
|
+
'''Properties for defining a ``CfnApprovalTeam``.
|
|
718
|
+
|
|
719
|
+
:param approval_strategy: Contains details for how an approval team grants approval.
|
|
720
|
+
:param approvers: Contains details for an approver.
|
|
721
|
+
:param description: Description for the team.
|
|
722
|
+
:param name: Name of the team.
|
|
723
|
+
:param policies: Contains details for a policy. Policies define what operations a team that define the permissions for team resources.
|
|
724
|
+
:param tags: Tags that you have added to the specified resource.
|
|
725
|
+
|
|
726
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html
|
|
727
|
+
:exampleMetadata: fixture=_generated
|
|
728
|
+
|
|
729
|
+
Example::
|
|
730
|
+
|
|
731
|
+
# The code below shows an example of how to instantiate this type.
|
|
732
|
+
# The values are placeholders you should change.
|
|
733
|
+
from aws_cdk import aws_mpa as mpa
|
|
734
|
+
|
|
735
|
+
cfn_approval_team_props = mpa.CfnApprovalTeamProps(
|
|
736
|
+
approval_strategy=mpa.CfnApprovalTeam.ApprovalStrategyProperty(
|
|
737
|
+
mof_n=mpa.CfnApprovalTeam.MofNApprovalStrategyProperty(
|
|
738
|
+
min_approvals_required=123
|
|
739
|
+
)
|
|
740
|
+
),
|
|
741
|
+
approvers=[mpa.CfnApprovalTeam.ApproverProperty(
|
|
742
|
+
primary_identity_id="primaryIdentityId",
|
|
743
|
+
primary_identity_source_arn="primaryIdentitySourceArn",
|
|
744
|
+
|
|
745
|
+
# the properties below are optional
|
|
746
|
+
approver_id="approverId",
|
|
747
|
+
primary_identity_status="primaryIdentityStatus",
|
|
748
|
+
response_time="responseTime"
|
|
749
|
+
)],
|
|
750
|
+
description="description",
|
|
751
|
+
name="name",
|
|
752
|
+
policies=[mpa.CfnApprovalTeam.PolicyProperty(
|
|
753
|
+
policy_arn="policyArn"
|
|
754
|
+
)],
|
|
755
|
+
|
|
756
|
+
# the properties below are optional
|
|
757
|
+
tags=[CfnTag(
|
|
758
|
+
key="key",
|
|
759
|
+
value="value"
|
|
760
|
+
)]
|
|
761
|
+
)
|
|
762
|
+
'''
|
|
763
|
+
if __debug__:
|
|
764
|
+
type_hints = typing.get_type_hints(_typecheckingstub__23c8b69a9c24f10b33222467e81cbea79a3fbb6feb302fe9dea7e9fc448dae98)
|
|
765
|
+
check_type(argname="argument approval_strategy", value=approval_strategy, expected_type=type_hints["approval_strategy"])
|
|
766
|
+
check_type(argname="argument approvers", value=approvers, expected_type=type_hints["approvers"])
|
|
767
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
768
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
769
|
+
check_type(argname="argument policies", value=policies, expected_type=type_hints["policies"])
|
|
770
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
771
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
772
|
+
"approval_strategy": approval_strategy,
|
|
773
|
+
"approvers": approvers,
|
|
774
|
+
"description": description,
|
|
775
|
+
"name": name,
|
|
776
|
+
"policies": policies,
|
|
777
|
+
}
|
|
778
|
+
if tags is not None:
|
|
779
|
+
self._values["tags"] = tags
|
|
780
|
+
|
|
781
|
+
@builtins.property
|
|
782
|
+
def approval_strategy(
|
|
783
|
+
self,
|
|
784
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApprovalStrategyProperty]:
|
|
785
|
+
'''Contains details for how an approval team grants approval.
|
|
786
|
+
|
|
787
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-approvalstrategy
|
|
788
|
+
'''
|
|
789
|
+
result = self._values.get("approval_strategy")
|
|
790
|
+
assert result is not None, "Required property 'approval_strategy' is missing"
|
|
791
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApprovalStrategyProperty], result)
|
|
792
|
+
|
|
793
|
+
@builtins.property
|
|
794
|
+
def approvers(
|
|
795
|
+
self,
|
|
796
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApproverProperty]]]:
|
|
797
|
+
'''Contains details for an approver.
|
|
798
|
+
|
|
799
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-approvers
|
|
800
|
+
'''
|
|
801
|
+
result = self._values.get("approvers")
|
|
802
|
+
assert result is not None, "Required property 'approvers' is missing"
|
|
803
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApproverProperty]]], result)
|
|
804
|
+
|
|
805
|
+
@builtins.property
|
|
806
|
+
def description(self) -> builtins.str:
|
|
807
|
+
'''Description for the team.
|
|
808
|
+
|
|
809
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-description
|
|
810
|
+
'''
|
|
811
|
+
result = self._values.get("description")
|
|
812
|
+
assert result is not None, "Required property 'description' is missing"
|
|
813
|
+
return typing.cast(builtins.str, result)
|
|
814
|
+
|
|
815
|
+
@builtins.property
|
|
816
|
+
def name(self) -> builtins.str:
|
|
817
|
+
'''Name of the team.
|
|
818
|
+
|
|
819
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-name
|
|
820
|
+
'''
|
|
821
|
+
result = self._values.get("name")
|
|
822
|
+
assert result is not None, "Required property 'name' is missing"
|
|
823
|
+
return typing.cast(builtins.str, result)
|
|
824
|
+
|
|
825
|
+
@builtins.property
|
|
826
|
+
def policies(
|
|
827
|
+
self,
|
|
828
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.PolicyProperty]]]:
|
|
829
|
+
'''Contains details for a policy.
|
|
830
|
+
|
|
831
|
+
Policies define what operations a team that define the permissions for team resources.
|
|
832
|
+
|
|
833
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-policies
|
|
834
|
+
'''
|
|
835
|
+
result = self._values.get("policies")
|
|
836
|
+
assert result is not None, "Required property 'policies' is missing"
|
|
837
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.PolicyProperty]]], result)
|
|
838
|
+
|
|
839
|
+
@builtins.property
|
|
840
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
841
|
+
'''Tags that you have added to the specified resource.
|
|
842
|
+
|
|
843
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-approvalteam.html#cfn-mpa-approvalteam-tags
|
|
844
|
+
'''
|
|
845
|
+
result = self._values.get("tags")
|
|
846
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
847
|
+
|
|
848
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
849
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
850
|
+
|
|
851
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
852
|
+
return not (rhs == self)
|
|
853
|
+
|
|
854
|
+
def __repr__(self) -> str:
|
|
855
|
+
return "CfnApprovalTeamProps(%s)" % ", ".join(
|
|
856
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
857
|
+
)
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
@jsii.implements(_IInspectable_c2943556, _IIdentitySourceRef_9af3da94, _ITaggableV2_4e6798f8)
|
|
861
|
+
class CfnIdentitySource(
|
|
862
|
+
_CfnResource_9df397a6,
|
|
863
|
+
metaclass=jsii.JSIIMeta,
|
|
864
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnIdentitySource",
|
|
865
|
+
):
|
|
866
|
+
'''Creates a new identity source.
|
|
867
|
+
|
|
868
|
+
For more information, see `Identity Source <https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html>`_ in the *Multi-party approval User Guide* .
|
|
869
|
+
|
|
870
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-identitysource.html
|
|
871
|
+
:cloudformationResource: AWS::MPA::IdentitySource
|
|
872
|
+
:exampleMetadata: fixture=_generated
|
|
873
|
+
|
|
874
|
+
Example::
|
|
875
|
+
|
|
876
|
+
# The code below shows an example of how to instantiate this type.
|
|
877
|
+
# The values are placeholders you should change.
|
|
878
|
+
from aws_cdk import aws_mpa as mpa
|
|
879
|
+
|
|
880
|
+
cfn_identity_source = mpa.CfnIdentitySource(self, "MyCfnIdentitySource",
|
|
881
|
+
identity_source_parameters=mpa.CfnIdentitySource.IdentitySourceParametersProperty(
|
|
882
|
+
iam_identity_center=mpa.CfnIdentitySource.IamIdentityCenterProperty(
|
|
883
|
+
instance_arn="instanceArn",
|
|
884
|
+
region="region",
|
|
885
|
+
|
|
886
|
+
# the properties below are optional
|
|
887
|
+
approval_portal_url="approvalPortalUrl"
|
|
888
|
+
)
|
|
889
|
+
),
|
|
890
|
+
|
|
891
|
+
# the properties below are optional
|
|
892
|
+
tags=[CfnTag(
|
|
893
|
+
key="key",
|
|
894
|
+
value="value"
|
|
895
|
+
)]
|
|
896
|
+
)
|
|
897
|
+
'''
|
|
898
|
+
|
|
899
|
+
def __init__(
|
|
900
|
+
self,
|
|
901
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
902
|
+
id: builtins.str,
|
|
903
|
+
*,
|
|
904
|
+
identity_source_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdentitySource.IdentitySourceParametersProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
905
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
906
|
+
) -> None:
|
|
907
|
+
'''Create a new ``AWS::MPA::IdentitySource``.
|
|
908
|
+
|
|
909
|
+
:param scope: Scope in which this resource is defined.
|
|
910
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
911
|
+
:param identity_source_parameters: A ``IdentitySourceParameters`` object. Contains details for the resource that provides identities to the identity source. For example, an IAM Identity Center instance.
|
|
912
|
+
:param tags: Tags that you have added to the specified resource.
|
|
913
|
+
'''
|
|
914
|
+
if __debug__:
|
|
915
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ccadabc10958f9b34637bf63683a7ae402b738916eaae8b4554005edd9a7f4e)
|
|
916
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
917
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
918
|
+
props = CfnIdentitySourceProps(
|
|
919
|
+
identity_source_parameters=identity_source_parameters, tags=tags
|
|
920
|
+
)
|
|
921
|
+
|
|
922
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
923
|
+
|
|
924
|
+
@jsii.member(jsii_name="inspect")
|
|
925
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
926
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
927
|
+
|
|
928
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
929
|
+
'''
|
|
930
|
+
if __debug__:
|
|
931
|
+
type_hints = typing.get_type_hints(_typecheckingstub__958a95f31b67e8f309896314f9522aadfa2c69a0264848ce97b3ad043e59f942)
|
|
932
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
933
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
934
|
+
|
|
935
|
+
@jsii.member(jsii_name="renderProperties")
|
|
936
|
+
def _render_properties(
|
|
937
|
+
self,
|
|
938
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
939
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
940
|
+
'''
|
|
941
|
+
:param props: -
|
|
942
|
+
'''
|
|
943
|
+
if __debug__:
|
|
944
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c387c3be49c9c1559f9200673f4589cb8729c2ec8c7770beb57a1e5e35378256)
|
|
945
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
946
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
947
|
+
|
|
948
|
+
@jsii.python.classproperty
|
|
949
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
950
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
951
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
952
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
953
|
+
|
|
954
|
+
@builtins.property
|
|
955
|
+
@jsii.member(jsii_name="attrCreationTime")
|
|
956
|
+
def attr_creation_time(self) -> builtins.str:
|
|
957
|
+
'''Timestamp when the identity source was created.
|
|
958
|
+
|
|
959
|
+
:cloudformationAttribute: CreationTime
|
|
960
|
+
'''
|
|
961
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
|
|
962
|
+
|
|
963
|
+
@builtins.property
|
|
964
|
+
@jsii.member(jsii_name="attrIdentitySourceArn")
|
|
965
|
+
def attr_identity_source_arn(self) -> builtins.str:
|
|
966
|
+
'''Amazon Resource Name (ARN) for the identity source.
|
|
967
|
+
|
|
968
|
+
:cloudformationAttribute: IdentitySourceArn
|
|
969
|
+
'''
|
|
970
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentitySourceArn"))
|
|
971
|
+
|
|
972
|
+
@builtins.property
|
|
973
|
+
@jsii.member(jsii_name="attrIdentitySourceParametersIamIdentityCenterApprovalPortalUrl")
|
|
974
|
+
def attr_identity_source_parameters_iam_identity_center_approval_portal_url(
|
|
975
|
+
self,
|
|
976
|
+
) -> builtins.str:
|
|
977
|
+
'''URL for the approval portal associated with the IAM Identity Center instance.
|
|
978
|
+
|
|
979
|
+
:cloudformationAttribute: IdentitySourceParameters.IamIdentityCenter.ApprovalPortalUrl
|
|
980
|
+
'''
|
|
981
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentitySourceParametersIamIdentityCenterApprovalPortalUrl"))
|
|
982
|
+
|
|
983
|
+
@builtins.property
|
|
984
|
+
@jsii.member(jsii_name="attrIdentitySourceType")
|
|
985
|
+
def attr_identity_source_type(self) -> builtins.str:
|
|
986
|
+
'''The type of resource that provided identities to the identity source.
|
|
987
|
+
|
|
988
|
+
For example, an IAM Identity Center instance.
|
|
989
|
+
|
|
990
|
+
:cloudformationAttribute: IdentitySourceType
|
|
991
|
+
'''
|
|
992
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentitySourceType"))
|
|
993
|
+
|
|
994
|
+
@builtins.property
|
|
995
|
+
@jsii.member(jsii_name="attrStatus")
|
|
996
|
+
def attr_status(self) -> builtins.str:
|
|
997
|
+
'''Status for the identity source.
|
|
998
|
+
|
|
999
|
+
For example, if the identity source is ``ACTIVE`` .
|
|
1000
|
+
|
|
1001
|
+
:cloudformationAttribute: Status
|
|
1002
|
+
'''
|
|
1003
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1004
|
+
|
|
1005
|
+
@builtins.property
|
|
1006
|
+
@jsii.member(jsii_name="attrStatusCode")
|
|
1007
|
+
def attr_status_code(self) -> builtins.str:
|
|
1008
|
+
'''Status code of the identity source.
|
|
1009
|
+
|
|
1010
|
+
:cloudformationAttribute: StatusCode
|
|
1011
|
+
'''
|
|
1012
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusCode"))
|
|
1013
|
+
|
|
1014
|
+
@builtins.property
|
|
1015
|
+
@jsii.member(jsii_name="attrStatusMessage")
|
|
1016
|
+
def attr_status_message(self) -> builtins.str:
|
|
1017
|
+
'''Message describing the status for the identity source.
|
|
1018
|
+
|
|
1019
|
+
:cloudformationAttribute: StatusMessage
|
|
1020
|
+
'''
|
|
1021
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusMessage"))
|
|
1022
|
+
|
|
1023
|
+
@builtins.property
|
|
1024
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1025
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1026
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1027
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1028
|
+
|
|
1029
|
+
@builtins.property
|
|
1030
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1031
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1032
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1033
|
+
|
|
1034
|
+
@builtins.property
|
|
1035
|
+
@jsii.member(jsii_name="identitySourceRef")
|
|
1036
|
+
def identity_source_ref(self) -> _IdentitySourceReference_9ce9cccf:
|
|
1037
|
+
'''A reference to a IdentitySource resource.'''
|
|
1038
|
+
return typing.cast(_IdentitySourceReference_9ce9cccf, jsii.get(self, "identitySourceRef"))
|
|
1039
|
+
|
|
1040
|
+
@builtins.property
|
|
1041
|
+
@jsii.member(jsii_name="identitySourceParameters")
|
|
1042
|
+
def identity_source_parameters(
|
|
1043
|
+
self,
|
|
1044
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IdentitySourceParametersProperty"]:
|
|
1045
|
+
'''A ``IdentitySourceParameters`` object.'''
|
|
1046
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IdentitySourceParametersProperty"], jsii.get(self, "identitySourceParameters"))
|
|
1047
|
+
|
|
1048
|
+
@identity_source_parameters.setter
|
|
1049
|
+
def identity_source_parameters(
|
|
1050
|
+
self,
|
|
1051
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IdentitySourceParametersProperty"],
|
|
1052
|
+
) -> None:
|
|
1053
|
+
if __debug__:
|
|
1054
|
+
type_hints = typing.get_type_hints(_typecheckingstub__edf6a9866153061ef7d7e82b292ccb765e9c0faa36bd2f2b5fbe62010c82e44f)
|
|
1055
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1056
|
+
jsii.set(self, "identitySourceParameters", value) # pyright: ignore[reportArgumentType]
|
|
1057
|
+
|
|
1058
|
+
@builtins.property
|
|
1059
|
+
@jsii.member(jsii_name="tags")
|
|
1060
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1061
|
+
'''Tags that you have added to the specified resource.'''
|
|
1062
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1063
|
+
|
|
1064
|
+
@tags.setter
|
|
1065
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1066
|
+
if __debug__:
|
|
1067
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2348313ff968eefe1739ee64d5e35820f3cb200528d000a5072b402def990d94)
|
|
1068
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1069
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1070
|
+
|
|
1071
|
+
@jsii.data_type(
|
|
1072
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnIdentitySource.IamIdentityCenterProperty",
|
|
1073
|
+
jsii_struct_bases=[],
|
|
1074
|
+
name_mapping={
|
|
1075
|
+
"instance_arn": "instanceArn",
|
|
1076
|
+
"region": "region",
|
|
1077
|
+
"approval_portal_url": "approvalPortalUrl",
|
|
1078
|
+
},
|
|
1079
|
+
)
|
|
1080
|
+
class IamIdentityCenterProperty:
|
|
1081
|
+
def __init__(
|
|
1082
|
+
self,
|
|
1083
|
+
*,
|
|
1084
|
+
instance_arn: builtins.str,
|
|
1085
|
+
region: builtins.str,
|
|
1086
|
+
approval_portal_url: typing.Optional[builtins.str] = None,
|
|
1087
|
+
) -> None:
|
|
1088
|
+
'''AWS IAM Identity Center credentials.
|
|
1089
|
+
|
|
1090
|
+
For more information see, `AWS IAM Identity Center <https://docs.aws.amazon.com/identity-center/>`_ .
|
|
1091
|
+
|
|
1092
|
+
:param instance_arn: Amazon Resource Name (ARN) for the IAM Identity Center instance.
|
|
1093
|
+
:param region: AWS Region where the IAM Identity Center instance is located.
|
|
1094
|
+
:param approval_portal_url: URL for the approval portal associated with the IAM Identity Center instance.
|
|
1095
|
+
|
|
1096
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html
|
|
1097
|
+
:exampleMetadata: fixture=_generated
|
|
1098
|
+
|
|
1099
|
+
Example::
|
|
1100
|
+
|
|
1101
|
+
# The code below shows an example of how to instantiate this type.
|
|
1102
|
+
# The values are placeholders you should change.
|
|
1103
|
+
from aws_cdk import aws_mpa as mpa
|
|
1104
|
+
|
|
1105
|
+
iam_identity_center_property = mpa.CfnIdentitySource.IamIdentityCenterProperty(
|
|
1106
|
+
instance_arn="instanceArn",
|
|
1107
|
+
region="region",
|
|
1108
|
+
|
|
1109
|
+
# the properties below are optional
|
|
1110
|
+
approval_portal_url="approvalPortalUrl"
|
|
1111
|
+
)
|
|
1112
|
+
'''
|
|
1113
|
+
if __debug__:
|
|
1114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad03e7c03292e16adba0239cd21aae5665927b223a3d024fb5b1e7a0e5d618f0)
|
|
1115
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
1116
|
+
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
1117
|
+
check_type(argname="argument approval_portal_url", value=approval_portal_url, expected_type=type_hints["approval_portal_url"])
|
|
1118
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1119
|
+
"instance_arn": instance_arn,
|
|
1120
|
+
"region": region,
|
|
1121
|
+
}
|
|
1122
|
+
if approval_portal_url is not None:
|
|
1123
|
+
self._values["approval_portal_url"] = approval_portal_url
|
|
1124
|
+
|
|
1125
|
+
@builtins.property
|
|
1126
|
+
def instance_arn(self) -> builtins.str:
|
|
1127
|
+
'''Amazon Resource Name (ARN) for the IAM Identity Center instance.
|
|
1128
|
+
|
|
1129
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-instancearn
|
|
1130
|
+
'''
|
|
1131
|
+
result = self._values.get("instance_arn")
|
|
1132
|
+
assert result is not None, "Required property 'instance_arn' is missing"
|
|
1133
|
+
return typing.cast(builtins.str, result)
|
|
1134
|
+
|
|
1135
|
+
@builtins.property
|
|
1136
|
+
def region(self) -> builtins.str:
|
|
1137
|
+
'''AWS Region where the IAM Identity Center instance is located.
|
|
1138
|
+
|
|
1139
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-region
|
|
1140
|
+
'''
|
|
1141
|
+
result = self._values.get("region")
|
|
1142
|
+
assert result is not None, "Required property 'region' is missing"
|
|
1143
|
+
return typing.cast(builtins.str, result)
|
|
1144
|
+
|
|
1145
|
+
@builtins.property
|
|
1146
|
+
def approval_portal_url(self) -> typing.Optional[builtins.str]:
|
|
1147
|
+
'''URL for the approval portal associated with the IAM Identity Center instance.
|
|
1148
|
+
|
|
1149
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-iamidentitycenter.html#cfn-mpa-identitysource-iamidentitycenter-approvalportalurl
|
|
1150
|
+
'''
|
|
1151
|
+
result = self._values.get("approval_portal_url")
|
|
1152
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1153
|
+
|
|
1154
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1155
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1156
|
+
|
|
1157
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1158
|
+
return not (rhs == self)
|
|
1159
|
+
|
|
1160
|
+
def __repr__(self) -> str:
|
|
1161
|
+
return "IamIdentityCenterProperty(%s)" % ", ".join(
|
|
1162
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1163
|
+
)
|
|
1164
|
+
|
|
1165
|
+
@jsii.data_type(
|
|
1166
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnIdentitySource.IdentitySourceParametersProperty",
|
|
1167
|
+
jsii_struct_bases=[],
|
|
1168
|
+
name_mapping={"iam_identity_center": "iamIdentityCenter"},
|
|
1169
|
+
)
|
|
1170
|
+
class IdentitySourceParametersProperty:
|
|
1171
|
+
def __init__(
|
|
1172
|
+
self,
|
|
1173
|
+
*,
|
|
1174
|
+
iam_identity_center: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdentitySource.IamIdentityCenterProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1175
|
+
) -> None:
|
|
1176
|
+
'''Contains details for the resource that provides identities to the identity source.
|
|
1177
|
+
|
|
1178
|
+
For example, an IAM Identity Center instance.
|
|
1179
|
+
|
|
1180
|
+
:param iam_identity_center: AWS IAM Identity Center credentials.
|
|
1181
|
+
|
|
1182
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-identitysourceparameters.html
|
|
1183
|
+
:exampleMetadata: fixture=_generated
|
|
1184
|
+
|
|
1185
|
+
Example::
|
|
1186
|
+
|
|
1187
|
+
# The code below shows an example of how to instantiate this type.
|
|
1188
|
+
# The values are placeholders you should change.
|
|
1189
|
+
from aws_cdk import aws_mpa as mpa
|
|
1190
|
+
|
|
1191
|
+
identity_source_parameters_property = mpa.CfnIdentitySource.IdentitySourceParametersProperty(
|
|
1192
|
+
iam_identity_center=mpa.CfnIdentitySource.IamIdentityCenterProperty(
|
|
1193
|
+
instance_arn="instanceArn",
|
|
1194
|
+
region="region",
|
|
1195
|
+
|
|
1196
|
+
# the properties below are optional
|
|
1197
|
+
approval_portal_url="approvalPortalUrl"
|
|
1198
|
+
)
|
|
1199
|
+
)
|
|
1200
|
+
'''
|
|
1201
|
+
if __debug__:
|
|
1202
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cdb131b4f18fdc2f28197cd3ec3c8e53cc57a860dfad6d92280cc24753500fc2)
|
|
1203
|
+
check_type(argname="argument iam_identity_center", value=iam_identity_center, expected_type=type_hints["iam_identity_center"])
|
|
1204
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1205
|
+
"iam_identity_center": iam_identity_center,
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
@builtins.property
|
|
1209
|
+
def iam_identity_center(
|
|
1210
|
+
self,
|
|
1211
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IamIdentityCenterProperty"]:
|
|
1212
|
+
'''AWS IAM Identity Center credentials.
|
|
1213
|
+
|
|
1214
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mpa-identitysource-identitysourceparameters.html#cfn-mpa-identitysource-identitysourceparameters-iamidentitycenter
|
|
1215
|
+
'''
|
|
1216
|
+
result = self._values.get("iam_identity_center")
|
|
1217
|
+
assert result is not None, "Required property 'iam_identity_center' is missing"
|
|
1218
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnIdentitySource.IamIdentityCenterProperty"], result)
|
|
1219
|
+
|
|
1220
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1221
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1222
|
+
|
|
1223
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1224
|
+
return not (rhs == self)
|
|
1225
|
+
|
|
1226
|
+
def __repr__(self) -> str:
|
|
1227
|
+
return "IdentitySourceParametersProperty(%s)" % ", ".join(
|
|
1228
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1229
|
+
)
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
@jsii.data_type(
|
|
1233
|
+
jsii_type="aws-cdk-lib.aws_mpa.CfnIdentitySourceProps",
|
|
1234
|
+
jsii_struct_bases=[],
|
|
1235
|
+
name_mapping={
|
|
1236
|
+
"identity_source_parameters": "identitySourceParameters",
|
|
1237
|
+
"tags": "tags",
|
|
1238
|
+
},
|
|
1239
|
+
)
|
|
1240
|
+
class CfnIdentitySourceProps:
|
|
1241
|
+
def __init__(
|
|
1242
|
+
self,
|
|
1243
|
+
*,
|
|
1244
|
+
identity_source_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1245
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1246
|
+
) -> None:
|
|
1247
|
+
'''Properties for defining a ``CfnIdentitySource``.
|
|
1248
|
+
|
|
1249
|
+
:param identity_source_parameters: A ``IdentitySourceParameters`` object. Contains details for the resource that provides identities to the identity source. For example, an IAM Identity Center instance.
|
|
1250
|
+
:param tags: Tags that you have added to the specified resource.
|
|
1251
|
+
|
|
1252
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-identitysource.html
|
|
1253
|
+
:exampleMetadata: fixture=_generated
|
|
1254
|
+
|
|
1255
|
+
Example::
|
|
1256
|
+
|
|
1257
|
+
# The code below shows an example of how to instantiate this type.
|
|
1258
|
+
# The values are placeholders you should change.
|
|
1259
|
+
from aws_cdk import aws_mpa as mpa
|
|
1260
|
+
|
|
1261
|
+
cfn_identity_source_props = mpa.CfnIdentitySourceProps(
|
|
1262
|
+
identity_source_parameters=mpa.CfnIdentitySource.IdentitySourceParametersProperty(
|
|
1263
|
+
iam_identity_center=mpa.CfnIdentitySource.IamIdentityCenterProperty(
|
|
1264
|
+
instance_arn="instanceArn",
|
|
1265
|
+
region="region",
|
|
1266
|
+
|
|
1267
|
+
# the properties below are optional
|
|
1268
|
+
approval_portal_url="approvalPortalUrl"
|
|
1269
|
+
)
|
|
1270
|
+
),
|
|
1271
|
+
|
|
1272
|
+
# the properties below are optional
|
|
1273
|
+
tags=[CfnTag(
|
|
1274
|
+
key="key",
|
|
1275
|
+
value="value"
|
|
1276
|
+
)]
|
|
1277
|
+
)
|
|
1278
|
+
'''
|
|
1279
|
+
if __debug__:
|
|
1280
|
+
type_hints = typing.get_type_hints(_typecheckingstub__acb62a986f58f3a0fe81121a9d10976dc06320f2f60c079b3562b20316f0e79b)
|
|
1281
|
+
check_type(argname="argument identity_source_parameters", value=identity_source_parameters, expected_type=type_hints["identity_source_parameters"])
|
|
1282
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1283
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1284
|
+
"identity_source_parameters": identity_source_parameters,
|
|
1285
|
+
}
|
|
1286
|
+
if tags is not None:
|
|
1287
|
+
self._values["tags"] = tags
|
|
1288
|
+
|
|
1289
|
+
@builtins.property
|
|
1290
|
+
def identity_source_parameters(
|
|
1291
|
+
self,
|
|
1292
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnIdentitySource.IdentitySourceParametersProperty]:
|
|
1293
|
+
'''A ``IdentitySourceParameters`` object.
|
|
1294
|
+
|
|
1295
|
+
Contains details for the resource that provides identities to the identity source. For example, an IAM Identity Center instance.
|
|
1296
|
+
|
|
1297
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-identitysource.html#cfn-mpa-identitysource-identitysourceparameters
|
|
1298
|
+
'''
|
|
1299
|
+
result = self._values.get("identity_source_parameters")
|
|
1300
|
+
assert result is not None, "Required property 'identity_source_parameters' is missing"
|
|
1301
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnIdentitySource.IdentitySourceParametersProperty], result)
|
|
1302
|
+
|
|
1303
|
+
@builtins.property
|
|
1304
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1305
|
+
'''Tags that you have added to the specified resource.
|
|
1306
|
+
|
|
1307
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mpa-identitysource.html#cfn-mpa-identitysource-tags
|
|
1308
|
+
'''
|
|
1309
|
+
result = self._values.get("tags")
|
|
1310
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1311
|
+
|
|
1312
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1313
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1314
|
+
|
|
1315
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1316
|
+
return not (rhs == self)
|
|
1317
|
+
|
|
1318
|
+
def __repr__(self) -> str:
|
|
1319
|
+
return "CfnIdentitySourceProps(%s)" % ", ".join(
|
|
1320
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1321
|
+
)
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
__all__ = [
|
|
1325
|
+
"CfnApprovalTeam",
|
|
1326
|
+
"CfnApprovalTeamProps",
|
|
1327
|
+
"CfnIdentitySource",
|
|
1328
|
+
"CfnIdentitySourceProps",
|
|
1329
|
+
]
|
|
1330
|
+
|
|
1331
|
+
publication.publish()
|
|
1332
|
+
|
|
1333
|
+
def _typecheckingstub__386990d7f44b867156b4ae1be61f59dcf68b732d47a10262382c529e91f18365(
|
|
1334
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1335
|
+
id: builtins.str,
|
|
1336
|
+
*,
|
|
1337
|
+
approval_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApprovalStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1338
|
+
approvers: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApproverProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1339
|
+
description: builtins.str,
|
|
1340
|
+
name: builtins.str,
|
|
1341
|
+
policies: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.PolicyProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1342
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1343
|
+
) -> None:
|
|
1344
|
+
"""Type checking stubs"""
|
|
1345
|
+
pass
|
|
1346
|
+
|
|
1347
|
+
def _typecheckingstub__dba069c00d1a308983f1858c860837ee043b1a2f961d8a9723e5b6ab33cc7f30(
|
|
1348
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1349
|
+
) -> None:
|
|
1350
|
+
"""Type checking stubs"""
|
|
1351
|
+
pass
|
|
1352
|
+
|
|
1353
|
+
def _typecheckingstub__75ba9035ba86d7cbf51b44474da24ea7dc3325fb3d54c692b9f7bd885fa89138(
|
|
1354
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1355
|
+
) -> None:
|
|
1356
|
+
"""Type checking stubs"""
|
|
1357
|
+
pass
|
|
1358
|
+
|
|
1359
|
+
def _typecheckingstub__4ec22b692d714a3a436a85095d2cb14c5395173e9390a7d17279d7b92a0e5186(
|
|
1360
|
+
value: typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApprovalStrategyProperty],
|
|
1361
|
+
) -> None:
|
|
1362
|
+
"""Type checking stubs"""
|
|
1363
|
+
pass
|
|
1364
|
+
|
|
1365
|
+
def _typecheckingstub__f0eaf16236f7ec9b60a4b70a3f4b6ec8d4c38b2a19b3bcfd2b71bc112aa84697(
|
|
1366
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.ApproverProperty]]],
|
|
1367
|
+
) -> None:
|
|
1368
|
+
"""Type checking stubs"""
|
|
1369
|
+
pass
|
|
1370
|
+
|
|
1371
|
+
def _typecheckingstub__5329ac4998f7b59d7d1e54592bf7342bbee963874c6616e24205a5f906bb7c8a(
|
|
1372
|
+
value: builtins.str,
|
|
1373
|
+
) -> None:
|
|
1374
|
+
"""Type checking stubs"""
|
|
1375
|
+
pass
|
|
1376
|
+
|
|
1377
|
+
def _typecheckingstub__e39f33a9d3b76bbe323d54d7d73234df05c9a544c11e71f2803cfa2ba185bfde(
|
|
1378
|
+
value: builtins.str,
|
|
1379
|
+
) -> None:
|
|
1380
|
+
"""Type checking stubs"""
|
|
1381
|
+
pass
|
|
1382
|
+
|
|
1383
|
+
def _typecheckingstub__d3a7c415cd8a7816dfb413751381ef0ef0d82b8795bc1c9d3776bc7988dc32fe(
|
|
1384
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApprovalTeam.PolicyProperty]]],
|
|
1385
|
+
) -> None:
|
|
1386
|
+
"""Type checking stubs"""
|
|
1387
|
+
pass
|
|
1388
|
+
|
|
1389
|
+
def _typecheckingstub__d31b1fab5555e70c4496aadbffef5ef28d65db31b88ab4e99ebb5030f3b22bad(
|
|
1390
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1391
|
+
) -> None:
|
|
1392
|
+
"""Type checking stubs"""
|
|
1393
|
+
pass
|
|
1394
|
+
|
|
1395
|
+
def _typecheckingstub__cace1306ec287bf286eedec7b306e0183888aef06e1e0a1d74cc4532b3ae145b(
|
|
1396
|
+
*,
|
|
1397
|
+
mof_n: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.MofNApprovalStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1398
|
+
) -> None:
|
|
1399
|
+
"""Type checking stubs"""
|
|
1400
|
+
pass
|
|
1401
|
+
|
|
1402
|
+
def _typecheckingstub__36558bdfdc85f3fc5feb84a058bedb6b2533db65993cd67119e308af416d59bd(
|
|
1403
|
+
*,
|
|
1404
|
+
primary_identity_id: builtins.str,
|
|
1405
|
+
primary_identity_source_arn: builtins.str,
|
|
1406
|
+
approver_id: typing.Optional[builtins.str] = None,
|
|
1407
|
+
primary_identity_status: typing.Optional[builtins.str] = None,
|
|
1408
|
+
response_time: typing.Optional[builtins.str] = None,
|
|
1409
|
+
) -> None:
|
|
1410
|
+
"""Type checking stubs"""
|
|
1411
|
+
pass
|
|
1412
|
+
|
|
1413
|
+
def _typecheckingstub__c9128fe21a2ecc0edffaa444518ee4e665f9c001202934e3a6ce10274d631042(
|
|
1414
|
+
*,
|
|
1415
|
+
min_approvals_required: jsii.Number,
|
|
1416
|
+
) -> None:
|
|
1417
|
+
"""Type checking stubs"""
|
|
1418
|
+
pass
|
|
1419
|
+
|
|
1420
|
+
def _typecheckingstub__75ccc78545af23823b4f234ee8de6d1d0e7b956206086f97f9aa04f82d00b6f1(
|
|
1421
|
+
*,
|
|
1422
|
+
policy_arn: builtins.str,
|
|
1423
|
+
) -> None:
|
|
1424
|
+
"""Type checking stubs"""
|
|
1425
|
+
pass
|
|
1426
|
+
|
|
1427
|
+
def _typecheckingstub__23c8b69a9c24f10b33222467e81cbea79a3fbb6feb302fe9dea7e9fc448dae98(
|
|
1428
|
+
*,
|
|
1429
|
+
approval_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApprovalStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1430
|
+
approvers: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.ApproverProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1431
|
+
description: builtins.str,
|
|
1432
|
+
name: builtins.str,
|
|
1433
|
+
policies: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApprovalTeam.PolicyProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1434
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1435
|
+
) -> None:
|
|
1436
|
+
"""Type checking stubs"""
|
|
1437
|
+
pass
|
|
1438
|
+
|
|
1439
|
+
def _typecheckingstub__4ccadabc10958f9b34637bf63683a7ae402b738916eaae8b4554005edd9a7f4e(
|
|
1440
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1441
|
+
id: builtins.str,
|
|
1442
|
+
*,
|
|
1443
|
+
identity_source_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1444
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1445
|
+
) -> None:
|
|
1446
|
+
"""Type checking stubs"""
|
|
1447
|
+
pass
|
|
1448
|
+
|
|
1449
|
+
def _typecheckingstub__958a95f31b67e8f309896314f9522aadfa2c69a0264848ce97b3ad043e59f942(
|
|
1450
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1451
|
+
) -> None:
|
|
1452
|
+
"""Type checking stubs"""
|
|
1453
|
+
pass
|
|
1454
|
+
|
|
1455
|
+
def _typecheckingstub__c387c3be49c9c1559f9200673f4589cb8729c2ec8c7770beb57a1e5e35378256(
|
|
1456
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1457
|
+
) -> None:
|
|
1458
|
+
"""Type checking stubs"""
|
|
1459
|
+
pass
|
|
1460
|
+
|
|
1461
|
+
def _typecheckingstub__edf6a9866153061ef7d7e82b292ccb765e9c0faa36bd2f2b5fbe62010c82e44f(
|
|
1462
|
+
value: typing.Union[_IResolvable_da3f097b, CfnIdentitySource.IdentitySourceParametersProperty],
|
|
1463
|
+
) -> None:
|
|
1464
|
+
"""Type checking stubs"""
|
|
1465
|
+
pass
|
|
1466
|
+
|
|
1467
|
+
def _typecheckingstub__2348313ff968eefe1739ee64d5e35820f3cb200528d000a5072b402def990d94(
|
|
1468
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1469
|
+
) -> None:
|
|
1470
|
+
"""Type checking stubs"""
|
|
1471
|
+
pass
|
|
1472
|
+
|
|
1473
|
+
def _typecheckingstub__ad03e7c03292e16adba0239cd21aae5665927b223a3d024fb5b1e7a0e5d618f0(
|
|
1474
|
+
*,
|
|
1475
|
+
instance_arn: builtins.str,
|
|
1476
|
+
region: builtins.str,
|
|
1477
|
+
approval_portal_url: typing.Optional[builtins.str] = None,
|
|
1478
|
+
) -> None:
|
|
1479
|
+
"""Type checking stubs"""
|
|
1480
|
+
pass
|
|
1481
|
+
|
|
1482
|
+
def _typecheckingstub__cdb131b4f18fdc2f28197cd3ec3c8e53cc57a860dfad6d92280cc24753500fc2(
|
|
1483
|
+
*,
|
|
1484
|
+
iam_identity_center: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IamIdentityCenterProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1485
|
+
) -> None:
|
|
1486
|
+
"""Type checking stubs"""
|
|
1487
|
+
pass
|
|
1488
|
+
|
|
1489
|
+
def _typecheckingstub__acb62a986f58f3a0fe81121a9d10976dc06320f2f60c079b3562b20316f0e79b(
|
|
1490
|
+
*,
|
|
1491
|
+
identity_source_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1492
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1493
|
+
) -> None:
|
|
1494
|
+
"""Type checking stubs"""
|
|
1495
|
+
pass
|