aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -70,13 +70,26 @@ from .._jsii import *
|
|
|
70
70
|
import constructs as _constructs_77d1e7e8
|
|
71
71
|
from .. import (
|
|
72
72
|
CfnResource as _CfnResource_9df397a6,
|
|
73
|
+
CfnTag as _CfnTag_f6864754,
|
|
73
74
|
IInspectable as _IInspectable_c2943556,
|
|
74
75
|
IResolvable as _IResolvable_da3f097b,
|
|
76
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
77
|
+
TagManager as _TagManager_0a598cb3,
|
|
75
78
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
76
79
|
)
|
|
80
|
+
from ..interfaces.aws_verifiedpermissions import (
|
|
81
|
+
IIdentitySourceRef as _IIdentitySourceRef_350a2caf,
|
|
82
|
+
IPolicyRef as _IPolicyRef_c6dc8a32,
|
|
83
|
+
IPolicyStoreRef as _IPolicyStoreRef_ac45e491,
|
|
84
|
+
IPolicyTemplateRef as _IPolicyTemplateRef_899f99c9,
|
|
85
|
+
IdentitySourceReference as _IdentitySourceReference_a313a3c3,
|
|
86
|
+
PolicyReference as _PolicyReference_c40df487,
|
|
87
|
+
PolicyStoreReference as _PolicyStoreReference_a5975c12,
|
|
88
|
+
PolicyTemplateReference as _PolicyTemplateReference_dcad6159,
|
|
89
|
+
)
|
|
77
90
|
|
|
78
91
|
|
|
79
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
92
|
+
@jsii.implements(_IInspectable_c2943556, _IIdentitySourceRef_350a2caf)
|
|
80
93
|
class CfnIdentitySource(
|
|
81
94
|
_CfnResource_9df397a6,
|
|
82
95
|
metaclass=jsii.JSIIMeta,
|
|
@@ -88,7 +101,7 @@ class CfnIdentitySource(
|
|
|
88
101
|
|
|
89
102
|
After you create an identity source, you can use the identities provided by the IdP as proxies for the principal in authorization queries that use the `IsAuthorizedWithToken <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html>`_ operation. These identities take the form of tokens that contain claims about the user, such as IDs, attributes and group memberships. Amazon Cognito provides both identity tokens and access tokens, and Verified Permissions can use either or both. Any combination of identity and access tokens results in the same Cedar principal. Verified Permissions automatically translates the information about the identities into the standard Cedar attributes that can be evaluated by your policies. Because the Amazon Cognito identity and access tokens can contain different information, the tokens you choose to use determine the attributes that are available to access in the Cedar principal from your policies.
|
|
90
103
|
|
|
91
|
-
Amazon Cognito Identity is not available in all of the same AWS Regions as
|
|
104
|
+
Amazon Cognito Identity is not available in all of the same AWS Regions as . Because of this, the ``AWS::VerifiedPermissions::IdentitySource`` type is not available to create from AWS CloudFormation in Regions where Amazon Cognito Identity is not currently available. Users can still create ``AWS::VerifiedPermissions::IdentitySource`` in those Regions, but only from the AWS CLI , SDK, or from the AWS console.
|
|
92
105
|
.. epigraph::
|
|
93
106
|
|
|
94
107
|
To reference a user from this identity source in your Cedar policies, use the following syntax.
|
|
@@ -155,7 +168,8 @@ class CfnIdentitySource(
|
|
|
155
168
|
policy_store_id: builtins.str,
|
|
156
169
|
principal_entity_type: typing.Optional[builtins.str] = None,
|
|
157
170
|
) -> None:
|
|
158
|
-
'''
|
|
171
|
+
'''Create a new ``AWS::VerifiedPermissions::IdentitySource``.
|
|
172
|
+
|
|
159
173
|
:param scope: Scope in which this resource is defined.
|
|
160
174
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
161
175
|
:param configuration: Contains configuration information used when creating a new identity source.
|
|
@@ -258,6 +272,12 @@ class CfnIdentitySource(
|
|
|
258
272
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
259
273
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
260
274
|
|
|
275
|
+
@builtins.property
|
|
276
|
+
@jsii.member(jsii_name="identitySourceRef")
|
|
277
|
+
def identity_source_ref(self) -> _IdentitySourceReference_a313a3c3:
|
|
278
|
+
'''A reference to a IdentitySource resource.'''
|
|
279
|
+
return typing.cast(_IdentitySourceReference_a313a3c3, jsii.get(self, "identitySourceRef"))
|
|
280
|
+
|
|
261
281
|
@builtins.property
|
|
262
282
|
@jsii.member(jsii_name="configuration")
|
|
263
283
|
def configuration(
|
|
@@ -1266,7 +1286,7 @@ class CfnIdentitySourceProps:
|
|
|
1266
1286
|
)
|
|
1267
1287
|
|
|
1268
1288
|
|
|
1269
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1289
|
+
@jsii.implements(_IInspectable_c2943556, _IPolicyRef_c6dc8a32)
|
|
1270
1290
|
class CfnPolicy(
|
|
1271
1291
|
_CfnResource_9df397a6,
|
|
1272
1292
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1340,7 +1360,8 @@ class CfnPolicy(
|
|
|
1340
1360
|
definition: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicy.PolicyDefinitionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1341
1361
|
policy_store_id: builtins.str,
|
|
1342
1362
|
) -> None:
|
|
1343
|
-
'''
|
|
1363
|
+
'''Create a new ``AWS::VerifiedPermissions::Policy``.
|
|
1364
|
+
|
|
1344
1365
|
:param scope: Scope in which this resource is defined.
|
|
1345
1366
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1346
1367
|
:param definition: Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a ``Static`` or a ``TemplateLinked`` element.
|
|
@@ -1410,6 +1431,12 @@ class CfnPolicy(
|
|
|
1410
1431
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1411
1432
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1412
1433
|
|
|
1434
|
+
@builtins.property
|
|
1435
|
+
@jsii.member(jsii_name="policyRef")
|
|
1436
|
+
def policy_ref(self) -> _PolicyReference_c40df487:
|
|
1437
|
+
'''A reference to a Policy resource.'''
|
|
1438
|
+
return typing.cast(_PolicyReference_c40df487, jsii.get(self, "policyRef"))
|
|
1439
|
+
|
|
1413
1440
|
@builtins.property
|
|
1414
1441
|
@jsii.member(jsii_name="definition")
|
|
1415
1442
|
def definition(
|
|
@@ -1895,7 +1922,7 @@ class CfnPolicyProps:
|
|
|
1895
1922
|
)
|
|
1896
1923
|
|
|
1897
1924
|
|
|
1898
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1925
|
+
@jsii.implements(_IInspectable_c2943556, _IPolicyStoreRef_ac45e491, _ITaggableV2_4e6798f8)
|
|
1899
1926
|
class CfnPolicyStore(
|
|
1900
1927
|
_CfnResource_9df397a6,
|
|
1901
1928
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1921,10 +1948,18 @@ class CfnPolicyStore(
|
|
|
1921
1948
|
),
|
|
1922
1949
|
|
|
1923
1950
|
# the properties below are optional
|
|
1951
|
+
deletion_protection=verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
1952
|
+
mode="mode"
|
|
1953
|
+
),
|
|
1924
1954
|
description="description",
|
|
1925
1955
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
1956
|
+
cedar_format="cedarFormat",
|
|
1926
1957
|
cedar_json="cedarJson"
|
|
1927
|
-
)
|
|
1958
|
+
),
|
|
1959
|
+
tags=[CfnTag(
|
|
1960
|
+
key="key",
|
|
1961
|
+
value="value"
|
|
1962
|
+
)]
|
|
1928
1963
|
)
|
|
1929
1964
|
'''
|
|
1930
1965
|
|
|
@@ -1934,15 +1969,20 @@ class CfnPolicyStore(
|
|
|
1934
1969
|
id: builtins.str,
|
|
1935
1970
|
*,
|
|
1936
1971
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.ValidationSettingsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1972
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.DeletionProtectionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1937
1973
|
description: typing.Optional[builtins.str] = None,
|
|
1938
1974
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.SchemaDefinitionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1975
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1939
1976
|
) -> None:
|
|
1940
|
-
'''
|
|
1977
|
+
'''Create a new ``AWS::VerifiedPermissions::PolicyStore``.
|
|
1978
|
+
|
|
1941
1979
|
:param scope: Scope in which this resource is defined.
|
|
1942
1980
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1943
1981
|
:param validation_settings: Specifies the validation setting for this policy store. Currently, the only valid and required value is ``Mode`` . .. epigraph:: We recommend that you turn on ``STRICT`` mode only after you define a schema. If a schema doesn't exist, then ``STRICT`` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ . Then, when you have a schema defined, use `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ again to turn validation back on.
|
|
1982
|
+
:param deletion_protection: Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. The default state is ``DISABLED`` .
|
|
1944
1983
|
:param description: Descriptive text that you can provide to help with identification of the current policy store.
|
|
1945
1984
|
:param schema: Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
|
|
1985
|
+
:param tags: The list of key-value pairs to associate with the policy store.
|
|
1946
1986
|
'''
|
|
1947
1987
|
if __debug__:
|
|
1948
1988
|
type_hints = typing.get_type_hints(_typecheckingstub__8cc0f2986096a74fa71e43f21c340737b2abb3e3f40afbfe29ca3f0bd9b39ee9)
|
|
@@ -1950,12 +1990,56 @@ class CfnPolicyStore(
|
|
|
1950
1990
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1951
1991
|
props = CfnPolicyStoreProps(
|
|
1952
1992
|
validation_settings=validation_settings,
|
|
1993
|
+
deletion_protection=deletion_protection,
|
|
1953
1994
|
description=description,
|
|
1954
1995
|
schema=schema,
|
|
1996
|
+
tags=tags,
|
|
1955
1997
|
)
|
|
1956
1998
|
|
|
1957
1999
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1958
2000
|
|
|
2001
|
+
@jsii.member(jsii_name="fromPolicyStoreArn")
|
|
2002
|
+
@builtins.classmethod
|
|
2003
|
+
def from_policy_store_arn(
|
|
2004
|
+
cls,
|
|
2005
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2006
|
+
id: builtins.str,
|
|
2007
|
+
arn: builtins.str,
|
|
2008
|
+
) -> _IPolicyStoreRef_ac45e491:
|
|
2009
|
+
'''Creates a new IPolicyStoreRef from an ARN.
|
|
2010
|
+
|
|
2011
|
+
:param scope: -
|
|
2012
|
+
:param id: -
|
|
2013
|
+
:param arn: -
|
|
2014
|
+
'''
|
|
2015
|
+
if __debug__:
|
|
2016
|
+
type_hints = typing.get_type_hints(_typecheckingstub__16b99c7dccdce2e3ceeacefaee34bcbc943bbd0e8eaa9a769f60e8db3995f9fd)
|
|
2017
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2018
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2019
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2020
|
+
return typing.cast(_IPolicyStoreRef_ac45e491, jsii.sinvoke(cls, "fromPolicyStoreArn", [scope, id, arn]))
|
|
2021
|
+
|
|
2022
|
+
@jsii.member(jsii_name="fromPolicyStoreId")
|
|
2023
|
+
@builtins.classmethod
|
|
2024
|
+
def from_policy_store_id(
|
|
2025
|
+
cls,
|
|
2026
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2027
|
+
id: builtins.str,
|
|
2028
|
+
policy_store_id: builtins.str,
|
|
2029
|
+
) -> _IPolicyStoreRef_ac45e491:
|
|
2030
|
+
'''Creates a new IPolicyStoreRef from a policyStoreId.
|
|
2031
|
+
|
|
2032
|
+
:param scope: -
|
|
2033
|
+
:param id: -
|
|
2034
|
+
:param policy_store_id: -
|
|
2035
|
+
'''
|
|
2036
|
+
if __debug__:
|
|
2037
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45b5cca57c73b13753d1aedfabb89ad909aa117845276b364d58f027f81d9263)
|
|
2038
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2039
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2040
|
+
check_type(argname="argument policy_store_id", value=policy_store_id, expected_type=type_hints["policy_store_id"])
|
|
2041
|
+
return typing.cast(_IPolicyStoreRef_ac45e491, jsii.sinvoke(cls, "fromPolicyStoreId", [scope, id, policy_store_id]))
|
|
2042
|
+
|
|
1959
2043
|
@jsii.member(jsii_name="inspect")
|
|
1960
2044
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1961
2045
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -2004,11 +2088,23 @@ class CfnPolicyStore(
|
|
|
2004
2088
|
'''
|
|
2005
2089
|
return typing.cast(builtins.str, jsii.get(self, "attrPolicyStoreId"))
|
|
2006
2090
|
|
|
2091
|
+
@builtins.property
|
|
2092
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2093
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2094
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2095
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2096
|
+
|
|
2007
2097
|
@builtins.property
|
|
2008
2098
|
@jsii.member(jsii_name="cfnProperties")
|
|
2009
2099
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2010
2100
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2011
2101
|
|
|
2102
|
+
@builtins.property
|
|
2103
|
+
@jsii.member(jsii_name="policyStoreRef")
|
|
2104
|
+
def policy_store_ref(self) -> _PolicyStoreReference_a5975c12:
|
|
2105
|
+
'''A reference to a PolicyStore resource.'''
|
|
2106
|
+
return typing.cast(_PolicyStoreReference_a5975c12, jsii.get(self, "policyStoreRef"))
|
|
2107
|
+
|
|
2012
2108
|
@builtins.property
|
|
2013
2109
|
@jsii.member(jsii_name="validationSettings")
|
|
2014
2110
|
def validation_settings(
|
|
@@ -2027,6 +2123,27 @@ class CfnPolicyStore(
|
|
|
2027
2123
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2028
2124
|
jsii.set(self, "validationSettings", value) # pyright: ignore[reportArgumentType]
|
|
2029
2125
|
|
|
2126
|
+
@builtins.property
|
|
2127
|
+
@jsii.member(jsii_name="deletionProtection")
|
|
2128
|
+
def deletion_protection(
|
|
2129
|
+
self,
|
|
2130
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]]:
|
|
2131
|
+
'''Specifies whether the policy store can be deleted.
|
|
2132
|
+
|
|
2133
|
+
If enabled, the policy store can't be deleted.
|
|
2134
|
+
'''
|
|
2135
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]], jsii.get(self, "deletionProtection"))
|
|
2136
|
+
|
|
2137
|
+
@deletion_protection.setter
|
|
2138
|
+
def deletion_protection(
|
|
2139
|
+
self,
|
|
2140
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]],
|
|
2141
|
+
) -> None:
|
|
2142
|
+
if __debug__:
|
|
2143
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57833e423b36e13e7920abdf1a2596b9080e63fa65941f6d185d155792d5ccf6)
|
|
2144
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2145
|
+
jsii.set(self, "deletionProtection", value) # pyright: ignore[reportArgumentType]
|
|
2146
|
+
|
|
2030
2147
|
@builtins.property
|
|
2031
2148
|
@jsii.member(jsii_name="description")
|
|
2032
2149
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -2058,17 +2175,92 @@ class CfnPolicyStore(
|
|
|
2058
2175
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2059
2176
|
jsii.set(self, "schema", value) # pyright: ignore[reportArgumentType]
|
|
2060
2177
|
|
|
2178
|
+
@builtins.property
|
|
2179
|
+
@jsii.member(jsii_name="tags")
|
|
2180
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2181
|
+
'''The list of key-value pairs to associate with the policy store.'''
|
|
2182
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
2183
|
+
|
|
2184
|
+
@tags.setter
|
|
2185
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
2186
|
+
if __debug__:
|
|
2187
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4e637b2595daab8d8dca7da125f3bf21d442c1f8fb59f4caefd71bced88d6b5)
|
|
2188
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2189
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
2190
|
+
|
|
2191
|
+
@jsii.data_type(
|
|
2192
|
+
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty",
|
|
2193
|
+
jsii_struct_bases=[],
|
|
2194
|
+
name_mapping={"mode": "mode"},
|
|
2195
|
+
)
|
|
2196
|
+
class DeletionProtectionProperty:
|
|
2197
|
+
def __init__(self, *, mode: builtins.str) -> None:
|
|
2198
|
+
'''Specifies whether the policy store can be deleted.
|
|
2199
|
+
|
|
2200
|
+
:param mode: Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. The default state is ``DISABLED`` . Default: - "DISABLED"
|
|
2201
|
+
|
|
2202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-deletionprotection.html
|
|
2203
|
+
:exampleMetadata: fixture=_generated
|
|
2204
|
+
|
|
2205
|
+
Example::
|
|
2206
|
+
|
|
2207
|
+
# The code below shows an example of how to instantiate this type.
|
|
2208
|
+
# The values are placeholders you should change.
|
|
2209
|
+
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
2210
|
+
|
|
2211
|
+
deletion_protection_property = verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
2212
|
+
mode="mode"
|
|
2213
|
+
)
|
|
2214
|
+
'''
|
|
2215
|
+
if __debug__:
|
|
2216
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c70b9477a0dc9dad5a293d5f268b74672d7816a3722f79105d3236fca32076a9)
|
|
2217
|
+
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
2218
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2219
|
+
"mode": mode,
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
@builtins.property
|
|
2223
|
+
def mode(self) -> builtins.str:
|
|
2224
|
+
'''Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.
|
|
2225
|
+
|
|
2226
|
+
The default state is ``DISABLED`` .
|
|
2227
|
+
|
|
2228
|
+
:default: - "DISABLED"
|
|
2229
|
+
|
|
2230
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-deletionprotection.html#cfn-verifiedpermissions-policystore-deletionprotection-mode
|
|
2231
|
+
'''
|
|
2232
|
+
result = self._values.get("mode")
|
|
2233
|
+
assert result is not None, "Required property 'mode' is missing"
|
|
2234
|
+
return typing.cast(builtins.str, result)
|
|
2235
|
+
|
|
2236
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2237
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2238
|
+
|
|
2239
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2240
|
+
return not (rhs == self)
|
|
2241
|
+
|
|
2242
|
+
def __repr__(self) -> str:
|
|
2243
|
+
return "DeletionProtectionProperty(%s)" % ", ".join(
|
|
2244
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2245
|
+
)
|
|
2246
|
+
|
|
2061
2247
|
@jsii.data_type(
|
|
2062
2248
|
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty",
|
|
2063
2249
|
jsii_struct_bases=[],
|
|
2064
|
-
name_mapping={"cedar_json": "cedarJson"},
|
|
2250
|
+
name_mapping={"cedar_format": "cedarFormat", "cedar_json": "cedarJson"},
|
|
2065
2251
|
)
|
|
2066
2252
|
class SchemaDefinitionProperty:
|
|
2067
|
-
def __init__(
|
|
2253
|
+
def __init__(
|
|
2254
|
+
self,
|
|
2255
|
+
*,
|
|
2256
|
+
cedar_format: typing.Optional[builtins.str] = None,
|
|
2257
|
+
cedar_json: typing.Optional[builtins.str] = None,
|
|
2258
|
+
) -> None:
|
|
2068
2259
|
'''Contains a list of principal types, resource types, and actions that can be specified in policies stored in the same policy store.
|
|
2069
2260
|
|
|
2070
2261
|
If the validation mode for the policy store is set to ``STRICT`` , then policies that can't be validated by this schema are rejected by Verified Permissions and can't be stored in the policy store.
|
|
2071
2262
|
|
|
2263
|
+
:param cedar_format:
|
|
2072
2264
|
:param cedar_json: A JSON string representation of the schema supported by applications that use this policy store. For more information, see `Policy store schema <https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html>`_ in the AVP User Guide.
|
|
2073
2265
|
|
|
2074
2266
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-schemadefinition.html
|
|
@@ -2081,16 +2273,28 @@ class CfnPolicyStore(
|
|
|
2081
2273
|
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
2082
2274
|
|
|
2083
2275
|
schema_definition_property = verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
2276
|
+
cedar_format="cedarFormat",
|
|
2084
2277
|
cedar_json="cedarJson"
|
|
2085
2278
|
)
|
|
2086
2279
|
'''
|
|
2087
2280
|
if __debug__:
|
|
2088
2281
|
type_hints = typing.get_type_hints(_typecheckingstub__40c95b318ee977eff43d9078495fc0215bd302506cf821187fe6998b1a04ee9f)
|
|
2282
|
+
check_type(argname="argument cedar_format", value=cedar_format, expected_type=type_hints["cedar_format"])
|
|
2089
2283
|
check_type(argname="argument cedar_json", value=cedar_json, expected_type=type_hints["cedar_json"])
|
|
2090
2284
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2285
|
+
if cedar_format is not None:
|
|
2286
|
+
self._values["cedar_format"] = cedar_format
|
|
2091
2287
|
if cedar_json is not None:
|
|
2092
2288
|
self._values["cedar_json"] = cedar_json
|
|
2093
2289
|
|
|
2290
|
+
@builtins.property
|
|
2291
|
+
def cedar_format(self) -> typing.Optional[builtins.str]:
|
|
2292
|
+
'''
|
|
2293
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-schemadefinition.html#cfn-verifiedpermissions-policystore-schemadefinition-cedarformat
|
|
2294
|
+
'''
|
|
2295
|
+
result = self._values.get("cedar_format")
|
|
2296
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2297
|
+
|
|
2094
2298
|
@builtins.property
|
|
2095
2299
|
def cedar_json(self) -> typing.Optional[builtins.str]:
|
|
2096
2300
|
'''A JSON string representation of the schema supported by applications that use this policy store.
|
|
@@ -2182,8 +2386,10 @@ class CfnPolicyStore(
|
|
|
2182
2386
|
jsii_struct_bases=[],
|
|
2183
2387
|
name_mapping={
|
|
2184
2388
|
"validation_settings": "validationSettings",
|
|
2389
|
+
"deletion_protection": "deletionProtection",
|
|
2185
2390
|
"description": "description",
|
|
2186
2391
|
"schema": "schema",
|
|
2392
|
+
"tags": "tags",
|
|
2187
2393
|
},
|
|
2188
2394
|
)
|
|
2189
2395
|
class CfnPolicyStoreProps:
|
|
@@ -2191,14 +2397,18 @@ class CfnPolicyStoreProps:
|
|
|
2191
2397
|
self,
|
|
2192
2398
|
*,
|
|
2193
2399
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2400
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2194
2401
|
description: typing.Optional[builtins.str] = None,
|
|
2195
2402
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2403
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2196
2404
|
) -> None:
|
|
2197
2405
|
'''Properties for defining a ``CfnPolicyStore``.
|
|
2198
2406
|
|
|
2199
2407
|
:param validation_settings: Specifies the validation setting for this policy store. Currently, the only valid and required value is ``Mode`` . .. epigraph:: We recommend that you turn on ``STRICT`` mode only after you define a schema. If a schema doesn't exist, then ``STRICT`` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ . Then, when you have a schema defined, use `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ again to turn validation back on.
|
|
2408
|
+
:param deletion_protection: Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. The default state is ``DISABLED`` .
|
|
2200
2409
|
:param description: Descriptive text that you can provide to help with identification of the current policy store.
|
|
2201
2410
|
:param schema: Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
|
|
2411
|
+
:param tags: The list of key-value pairs to associate with the policy store.
|
|
2202
2412
|
|
|
2203
2413
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html
|
|
2204
2414
|
:exampleMetadata: fixture=_generated
|
|
@@ -2215,24 +2425,38 @@ class CfnPolicyStoreProps:
|
|
|
2215
2425
|
),
|
|
2216
2426
|
|
|
2217
2427
|
# the properties below are optional
|
|
2428
|
+
deletion_protection=verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
2429
|
+
mode="mode"
|
|
2430
|
+
),
|
|
2218
2431
|
description="description",
|
|
2219
2432
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
2433
|
+
cedar_format="cedarFormat",
|
|
2220
2434
|
cedar_json="cedarJson"
|
|
2221
|
-
)
|
|
2435
|
+
),
|
|
2436
|
+
tags=[CfnTag(
|
|
2437
|
+
key="key",
|
|
2438
|
+
value="value"
|
|
2439
|
+
)]
|
|
2222
2440
|
)
|
|
2223
2441
|
'''
|
|
2224
2442
|
if __debug__:
|
|
2225
2443
|
type_hints = typing.get_type_hints(_typecheckingstub__0f8a612a98cf26f16f9e9de3e5b0a5faaf9ae49bfb39376380ab1ee24d31ca9f)
|
|
2226
2444
|
check_type(argname="argument validation_settings", value=validation_settings, expected_type=type_hints["validation_settings"])
|
|
2445
|
+
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
2227
2446
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2228
2447
|
check_type(argname="argument schema", value=schema, expected_type=type_hints["schema"])
|
|
2448
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2229
2449
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2230
2450
|
"validation_settings": validation_settings,
|
|
2231
2451
|
}
|
|
2452
|
+
if deletion_protection is not None:
|
|
2453
|
+
self._values["deletion_protection"] = deletion_protection
|
|
2232
2454
|
if description is not None:
|
|
2233
2455
|
self._values["description"] = description
|
|
2234
2456
|
if schema is not None:
|
|
2235
2457
|
self._values["schema"] = schema
|
|
2458
|
+
if tags is not None:
|
|
2459
|
+
self._values["tags"] = tags
|
|
2236
2460
|
|
|
2237
2461
|
@builtins.property
|
|
2238
2462
|
def validation_settings(
|
|
@@ -2251,6 +2475,19 @@ class CfnPolicyStoreProps:
|
|
|
2251
2475
|
assert result is not None, "Required property 'validation_settings' is missing"
|
|
2252
2476
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnPolicyStore.ValidationSettingsProperty], result)
|
|
2253
2477
|
|
|
2478
|
+
@builtins.property
|
|
2479
|
+
def deletion_protection(
|
|
2480
|
+
self,
|
|
2481
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]]:
|
|
2482
|
+
'''Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.
|
|
2483
|
+
|
|
2484
|
+
The default state is ``DISABLED`` .
|
|
2485
|
+
|
|
2486
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html#cfn-verifiedpermissions-policystore-deletionprotection
|
|
2487
|
+
'''
|
|
2488
|
+
result = self._values.get("deletion_protection")
|
|
2489
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]], result)
|
|
2490
|
+
|
|
2254
2491
|
@builtins.property
|
|
2255
2492
|
def description(self) -> typing.Optional[builtins.str]:
|
|
2256
2493
|
'''Descriptive text that you can provide to help with identification of the current policy store.
|
|
@@ -2273,6 +2510,15 @@ class CfnPolicyStoreProps:
|
|
|
2273
2510
|
result = self._values.get("schema")
|
|
2274
2511
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.SchemaDefinitionProperty]], result)
|
|
2275
2512
|
|
|
2513
|
+
@builtins.property
|
|
2514
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2515
|
+
'''The list of key-value pairs to associate with the policy store.
|
|
2516
|
+
|
|
2517
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html#cfn-verifiedpermissions-policystore-tags
|
|
2518
|
+
'''
|
|
2519
|
+
result = self._values.get("tags")
|
|
2520
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2521
|
+
|
|
2276
2522
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2277
2523
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2278
2524
|
|
|
@@ -2285,7 +2531,7 @@ class CfnPolicyStoreProps:
|
|
|
2285
2531
|
)
|
|
2286
2532
|
|
|
2287
2533
|
|
|
2288
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
2534
|
+
@jsii.implements(_IInspectable_c2943556, _IPolicyTemplateRef_899f99c9)
|
|
2289
2535
|
class CfnPolicyTemplate(
|
|
2290
2536
|
_CfnResource_9df397a6,
|
|
2291
2537
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2323,7 +2569,8 @@ class CfnPolicyTemplate(
|
|
|
2323
2569
|
statement: builtins.str,
|
|
2324
2570
|
description: typing.Optional[builtins.str] = None,
|
|
2325
2571
|
) -> None:
|
|
2326
|
-
'''
|
|
2572
|
+
'''Create a new ``AWS::VerifiedPermissions::PolicyTemplate``.
|
|
2573
|
+
|
|
2327
2574
|
:param scope: Scope in which this resource is defined.
|
|
2328
2575
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2329
2576
|
:param policy_store_id: The unique identifier of the policy store that contains the template.
|
|
@@ -2386,6 +2633,12 @@ class CfnPolicyTemplate(
|
|
|
2386
2633
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2387
2634
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2388
2635
|
|
|
2636
|
+
@builtins.property
|
|
2637
|
+
@jsii.member(jsii_name="policyTemplateRef")
|
|
2638
|
+
def policy_template_ref(self) -> _PolicyTemplateReference_dcad6159:
|
|
2639
|
+
'''A reference to a PolicyTemplate resource.'''
|
|
2640
|
+
return typing.cast(_PolicyTemplateReference_dcad6159, jsii.get(self, "policyTemplateRef"))
|
|
2641
|
+
|
|
2389
2642
|
@builtins.property
|
|
2390
2643
|
@jsii.member(jsii_name="policyStoreId")
|
|
2391
2644
|
def policy_store_id(self) -> builtins.str:
|
|
@@ -2738,8 +2991,26 @@ def _typecheckingstub__8cc0f2986096a74fa71e43f21c340737b2abb3e3f40afbfe29ca3f0bd
|
|
|
2738
2991
|
id: builtins.str,
|
|
2739
2992
|
*,
|
|
2740
2993
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2994
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2741
2995
|
description: typing.Optional[builtins.str] = None,
|
|
2742
2996
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2997
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2998
|
+
) -> None:
|
|
2999
|
+
"""Type checking stubs"""
|
|
3000
|
+
pass
|
|
3001
|
+
|
|
3002
|
+
def _typecheckingstub__16b99c7dccdce2e3ceeacefaee34bcbc943bbd0e8eaa9a769f60e8db3995f9fd(
|
|
3003
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3004
|
+
id: builtins.str,
|
|
3005
|
+
arn: builtins.str,
|
|
3006
|
+
) -> None:
|
|
3007
|
+
"""Type checking stubs"""
|
|
3008
|
+
pass
|
|
3009
|
+
|
|
3010
|
+
def _typecheckingstub__45b5cca57c73b13753d1aedfabb89ad909aa117845276b364d58f027f81d9263(
|
|
3011
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3012
|
+
id: builtins.str,
|
|
3013
|
+
policy_store_id: builtins.str,
|
|
2743
3014
|
) -> None:
|
|
2744
3015
|
"""Type checking stubs"""
|
|
2745
3016
|
pass
|
|
@@ -2762,6 +3033,12 @@ def _typecheckingstub__f75a45bc8d480e61f7e4827904f9e4cfad1881a595a32bf1bebfb6efb
|
|
|
2762
3033
|
"""Type checking stubs"""
|
|
2763
3034
|
pass
|
|
2764
3035
|
|
|
3036
|
+
def _typecheckingstub__57833e423b36e13e7920abdf1a2596b9080e63fa65941f6d185d155792d5ccf6(
|
|
3037
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]],
|
|
3038
|
+
) -> None:
|
|
3039
|
+
"""Type checking stubs"""
|
|
3040
|
+
pass
|
|
3041
|
+
|
|
2765
3042
|
def _typecheckingstub__fc845780a5a1510b90c3ed3b31f4edddbe3eb47e0d043f7f9f7b3f43b1788034(
|
|
2766
3043
|
value: typing.Optional[builtins.str],
|
|
2767
3044
|
) -> None:
|
|
@@ -2774,8 +3051,22 @@ def _typecheckingstub__59218b40bcf4539ad10409fa2f065ad910ceb568598b66b8276c1d884
|
|
|
2774
3051
|
"""Type checking stubs"""
|
|
2775
3052
|
pass
|
|
2776
3053
|
|
|
3054
|
+
def _typecheckingstub__a4e637b2595daab8d8dca7da125f3bf21d442c1f8fb59f4caefd71bced88d6b5(
|
|
3055
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3056
|
+
) -> None:
|
|
3057
|
+
"""Type checking stubs"""
|
|
3058
|
+
pass
|
|
3059
|
+
|
|
3060
|
+
def _typecheckingstub__c70b9477a0dc9dad5a293d5f268b74672d7816a3722f79105d3236fca32076a9(
|
|
3061
|
+
*,
|
|
3062
|
+
mode: builtins.str,
|
|
3063
|
+
) -> None:
|
|
3064
|
+
"""Type checking stubs"""
|
|
3065
|
+
pass
|
|
3066
|
+
|
|
2777
3067
|
def _typecheckingstub__40c95b318ee977eff43d9078495fc0215bd302506cf821187fe6998b1a04ee9f(
|
|
2778
3068
|
*,
|
|
3069
|
+
cedar_format: typing.Optional[builtins.str] = None,
|
|
2779
3070
|
cedar_json: typing.Optional[builtins.str] = None,
|
|
2780
3071
|
) -> None:
|
|
2781
3072
|
"""Type checking stubs"""
|
|
@@ -2791,8 +3082,10 @@ def _typecheckingstub__441c781d6c8944f199761ac7a1433da41be4b40fc2d3cbb5df9ccf860
|
|
|
2791
3082
|
def _typecheckingstub__0f8a612a98cf26f16f9e9de3e5b0a5faaf9ae49bfb39376380ab1ee24d31ca9f(
|
|
2792
3083
|
*,
|
|
2793
3084
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3085
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2794
3086
|
description: typing.Optional[builtins.str] = None,
|
|
2795
3087
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3088
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2796
3089
|
) -> None:
|
|
2797
3090
|
"""Type checking stubs"""
|
|
2798
3091
|
pass
|