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
aws_cdk/aws_athena/__init__.py
CHANGED
|
@@ -68,9 +68,21 @@ from .. import (
|
|
|
68
68
|
TagManager as _TagManager_0a598cb3,
|
|
69
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
70
70
|
)
|
|
71
|
+
from ..interfaces.aws_athena import (
|
|
72
|
+
CapacityReservationReference as _CapacityReservationReference_b0153440,
|
|
73
|
+
DataCatalogReference as _DataCatalogReference_623bd693,
|
|
74
|
+
ICapacityReservationRef as _ICapacityReservationRef_b5ac8483,
|
|
75
|
+
IDataCatalogRef as _IDataCatalogRef_a1e1d9b1,
|
|
76
|
+
INamedQueryRef as _INamedQueryRef_a21e9848,
|
|
77
|
+
IPreparedStatementRef as _IPreparedStatementRef_12e21245,
|
|
78
|
+
IWorkGroupRef as _IWorkGroupRef_ee1f32da,
|
|
79
|
+
NamedQueryReference as _NamedQueryReference_fe58156f,
|
|
80
|
+
PreparedStatementReference as _PreparedStatementReference_7194fb5a,
|
|
81
|
+
WorkGroupReference as _WorkGroupReference_21c92b3e,
|
|
82
|
+
)
|
|
71
83
|
|
|
72
84
|
|
|
73
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
85
|
+
@jsii.implements(_IInspectable_c2943556, _ICapacityReservationRef_b5ac8483, _ITaggableV2_4e6798f8)
|
|
74
86
|
class CfnCapacityReservation(
|
|
75
87
|
_CfnResource_9df397a6,
|
|
76
88
|
metaclass=jsii.JSIIMeta,
|
|
@@ -115,7 +127,8 @@ class CfnCapacityReservation(
|
|
|
115
127
|
capacity_assignment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCapacityReservation.CapacityAssignmentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
116
128
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
117
129
|
) -> None:
|
|
118
|
-
'''
|
|
130
|
+
'''Create a new ``AWS::Athena::CapacityReservation``.
|
|
131
|
+
|
|
119
132
|
:param scope: Scope in which this resource is defined.
|
|
120
133
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
121
134
|
:param name: The name of the capacity reservation.
|
|
@@ -211,6 +224,12 @@ class CfnCapacityReservation(
|
|
|
211
224
|
'''
|
|
212
225
|
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
213
226
|
|
|
227
|
+
@builtins.property
|
|
228
|
+
@jsii.member(jsii_name="capacityReservationRef")
|
|
229
|
+
def capacity_reservation_ref(self) -> _CapacityReservationReference_b0153440:
|
|
230
|
+
'''A reference to a CapacityReservation resource.'''
|
|
231
|
+
return typing.cast(_CapacityReservationReference_b0153440, jsii.get(self, "capacityReservationRef"))
|
|
232
|
+
|
|
214
233
|
@builtins.property
|
|
215
234
|
@jsii.member(jsii_name="cdkTagManager")
|
|
216
235
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -516,7 +535,7 @@ class CfnCapacityReservationProps:
|
|
|
516
535
|
)
|
|
517
536
|
|
|
518
537
|
|
|
519
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
538
|
+
@jsii.implements(_IInspectable_c2943556, _IDataCatalogRef_a1e1d9b1, _ITaggable_36806126)
|
|
520
539
|
class CfnDataCatalog(
|
|
521
540
|
_CfnResource_9df397a6,
|
|
522
541
|
metaclass=jsii.JSIIMeta,
|
|
@@ -569,7 +588,8 @@ class CfnDataCatalog(
|
|
|
569
588
|
status: typing.Optional[builtins.str] = None,
|
|
570
589
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
571
590
|
) -> None:
|
|
572
|
-
'''
|
|
591
|
+
'''Create a new ``AWS::Athena::DataCatalog``.
|
|
592
|
+
|
|
573
593
|
:param scope: Scope in which this resource is defined.
|
|
574
594
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
575
595
|
:param name: The name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
|
|
@@ -577,7 +597,7 @@ class CfnDataCatalog(
|
|
|
577
597
|
:param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
|
|
578
598
|
:param description: A description of the data catalog.
|
|
579
599
|
:param error: Text of the error that occurred during data catalog creation or deletion.
|
|
580
|
-
:param parameters: Specifies the Lambda function or functions to use for the data catalog.
|
|
600
|
+
:param parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both. - If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify. - The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection. - ``connection-arn: *<glue_connection_arn_to_reuse>*`` - ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created. - ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "`` For *``<json_string>``* , use escaped JSON text, as in the following example. ``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
|
|
581
601
|
:param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
|
|
582
602
|
:param tags: The tags (key-value pairs) to associate with this resource.
|
|
583
603
|
'''
|
|
@@ -598,6 +618,27 @@ class CfnDataCatalog(
|
|
|
598
618
|
|
|
599
619
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
600
620
|
|
|
621
|
+
@jsii.member(jsii_name="fromDataCatalogName")
|
|
622
|
+
@builtins.classmethod
|
|
623
|
+
def from_data_catalog_name(
|
|
624
|
+
cls,
|
|
625
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
626
|
+
id: builtins.str,
|
|
627
|
+
data_catalog_name: builtins.str,
|
|
628
|
+
) -> _IDataCatalogRef_a1e1d9b1:
|
|
629
|
+
'''Creates a new IDataCatalogRef from a dataCatalogName.
|
|
630
|
+
|
|
631
|
+
:param scope: -
|
|
632
|
+
:param id: -
|
|
633
|
+
:param data_catalog_name: -
|
|
634
|
+
'''
|
|
635
|
+
if __debug__:
|
|
636
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d5d2a0246fafbbc6a693f337ada29b85155f59962e79d7c642084d44652d0f2e)
|
|
637
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
638
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
639
|
+
check_type(argname="argument data_catalog_name", value=data_catalog_name, expected_type=type_hints["data_catalog_name"])
|
|
640
|
+
return typing.cast(_IDataCatalogRef_a1e1d9b1, jsii.sinvoke(cls, "fromDataCatalogName", [scope, id, data_catalog_name]))
|
|
641
|
+
|
|
601
642
|
@jsii.member(jsii_name="inspect")
|
|
602
643
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
603
644
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -633,6 +674,12 @@ class CfnDataCatalog(
|
|
|
633
674
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
634
675
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
635
676
|
|
|
677
|
+
@builtins.property
|
|
678
|
+
@jsii.member(jsii_name="dataCatalogRef")
|
|
679
|
+
def data_catalog_ref(self) -> _DataCatalogReference_623bd693:
|
|
680
|
+
'''A reference to a DataCatalog resource.'''
|
|
681
|
+
return typing.cast(_DataCatalogReference_623bd693, jsii.get(self, "dataCatalogRef"))
|
|
682
|
+
|
|
636
683
|
@builtins.property
|
|
637
684
|
@jsii.member(jsii_name="tags")
|
|
638
685
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -709,7 +756,7 @@ class CfnDataCatalog(
|
|
|
709
756
|
def parameters(
|
|
710
757
|
self,
|
|
711
758
|
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
712
|
-
'''Specifies the Lambda function or functions to use for the data catalog.'''
|
|
759
|
+
'''Specifies the Lambda function or functions to use for creating the data catalog.'''
|
|
713
760
|
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "parameters"))
|
|
714
761
|
|
|
715
762
|
@parameters.setter
|
|
@@ -783,7 +830,7 @@ class CfnDataCatalogProps:
|
|
|
783
830
|
:param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
|
|
784
831
|
:param description: A description of the data catalog.
|
|
785
832
|
:param error: Text of the error that occurred during data catalog creation or deletion.
|
|
786
|
-
:param parameters: Specifies the Lambda function or functions to use for the data catalog.
|
|
833
|
+
:param parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both. - If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify. - The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection. - ``connection-arn: *<glue_connection_arn_to_reuse>*`` - ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created. - ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "`` For *``<json_string>``* , use escaped JSON text, as in the following example. ``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
|
|
787
834
|
:param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
|
|
788
835
|
:param tags: The tags (key-value pairs) to associate with this resource.
|
|
789
836
|
|
|
@@ -896,28 +943,36 @@ class CfnDataCatalogProps:
|
|
|
896
943
|
def parameters(
|
|
897
944
|
self,
|
|
898
945
|
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
899
|
-
'''Specifies the Lambda function or functions to use for the data catalog.
|
|
946
|
+
'''Specifies the Lambda function or functions to use for creating the data catalog.
|
|
900
947
|
|
|
901
|
-
|
|
948
|
+
This is a mapping whose values depend on the catalog type.
|
|
902
949
|
|
|
903
|
-
-
|
|
950
|
+
- For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version.
|
|
904
951
|
|
|
905
952
|
``metadata-function= *lambda_arn* , sdk-version= *version_number*``
|
|
906
953
|
|
|
907
|
-
-
|
|
908
|
-
-
|
|
954
|
+
- For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both.
|
|
955
|
+
- If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
|
|
909
956
|
|
|
910
957
|
``metadata-function= *lambda_arn* , record-function= *lambda_arn*``
|
|
911
958
|
|
|
912
|
-
-
|
|
959
|
+
- If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
|
|
913
960
|
|
|
914
961
|
``function= *lambda_arn*``
|
|
915
962
|
|
|
916
|
-
- The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue
|
|
963
|
+
- The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs.
|
|
917
964
|
|
|
918
965
|
``catalog-id= *catalog_id*``
|
|
919
966
|
|
|
920
967
|
- The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
|
|
968
|
+
- The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection.
|
|
969
|
+
- ``connection-arn: *<glue_connection_arn_to_reuse>*``
|
|
970
|
+
- ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created.
|
|
971
|
+
- ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "``
|
|
972
|
+
|
|
973
|
+
For *``<json_string>``* , use escaped JSON text, as in the following example.
|
|
974
|
+
|
|
975
|
+
``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
|
|
921
976
|
|
|
922
977
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-parameters
|
|
923
978
|
'''
|
|
@@ -972,7 +1027,7 @@ class CfnDataCatalogProps:
|
|
|
972
1027
|
)
|
|
973
1028
|
|
|
974
1029
|
|
|
975
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1030
|
+
@jsii.implements(_IInspectable_c2943556, _INamedQueryRef_a21e9848)
|
|
976
1031
|
class CfnNamedQuery(
|
|
977
1032
|
_CfnResource_9df397a6,
|
|
978
1033
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1012,7 +1067,8 @@ class CfnNamedQuery(
|
|
|
1012
1067
|
name: typing.Optional[builtins.str] = None,
|
|
1013
1068
|
work_group: typing.Optional[builtins.str] = None,
|
|
1014
1069
|
) -> None:
|
|
1015
|
-
'''
|
|
1070
|
+
'''Create a new ``AWS::Athena::NamedQuery``.
|
|
1071
|
+
|
|
1016
1072
|
:param scope: Scope in which this resource is defined.
|
|
1017
1073
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1018
1074
|
:param database: The database to which the query belongs.
|
|
@@ -1079,6 +1135,12 @@ class CfnNamedQuery(
|
|
|
1079
1135
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1080
1136
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1081
1137
|
|
|
1138
|
+
@builtins.property
|
|
1139
|
+
@jsii.member(jsii_name="namedQueryRef")
|
|
1140
|
+
def named_query_ref(self) -> _NamedQueryReference_fe58156f:
|
|
1141
|
+
'''A reference to a NamedQuery resource.'''
|
|
1142
|
+
return typing.cast(_NamedQueryReference_fe58156f, jsii.get(self, "namedQueryRef"))
|
|
1143
|
+
|
|
1082
1144
|
@builtins.property
|
|
1083
1145
|
@jsii.member(jsii_name="database")
|
|
1084
1146
|
def database(self) -> builtins.str:
|
|
@@ -1270,7 +1332,7 @@ class CfnNamedQueryProps:
|
|
|
1270
1332
|
)
|
|
1271
1333
|
|
|
1272
1334
|
|
|
1273
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1335
|
+
@jsii.implements(_IInspectable_c2943556, _IPreparedStatementRef_12e21245)
|
|
1274
1336
|
class CfnPreparedStatement(
|
|
1275
1337
|
_CfnResource_9df397a6,
|
|
1276
1338
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1308,7 +1370,8 @@ class CfnPreparedStatement(
|
|
|
1308
1370
|
work_group: builtins.str,
|
|
1309
1371
|
description: typing.Optional[builtins.str] = None,
|
|
1310
1372
|
) -> None:
|
|
1311
|
-
'''
|
|
1373
|
+
'''Create a new ``AWS::Athena::PreparedStatement``.
|
|
1374
|
+
|
|
1312
1375
|
:param scope: Scope in which this resource is defined.
|
|
1313
1376
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1314
1377
|
:param query_statement: The query string for the prepared statement.
|
|
@@ -1364,6 +1427,12 @@ class CfnPreparedStatement(
|
|
|
1364
1427
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1365
1428
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1366
1429
|
|
|
1430
|
+
@builtins.property
|
|
1431
|
+
@jsii.member(jsii_name="preparedStatementRef")
|
|
1432
|
+
def prepared_statement_ref(self) -> _PreparedStatementReference_7194fb5a:
|
|
1433
|
+
'''A reference to a PreparedStatement resource.'''
|
|
1434
|
+
return typing.cast(_PreparedStatementReference_7194fb5a, jsii.get(self, "preparedStatementRef"))
|
|
1435
|
+
|
|
1367
1436
|
@builtins.property
|
|
1368
1437
|
@jsii.member(jsii_name="queryStatement")
|
|
1369
1438
|
def query_statement(self) -> builtins.str:
|
|
@@ -1526,7 +1595,7 @@ class CfnPreparedStatementProps:
|
|
|
1526
1595
|
)
|
|
1527
1596
|
|
|
1528
1597
|
|
|
1529
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1598
|
+
@jsii.implements(_IInspectable_c2943556, _IWorkGroupRef_ee1f32da, _ITaggable_36806126)
|
|
1530
1599
|
class CfnWorkGroup(
|
|
1531
1600
|
_CfnResource_9df397a6,
|
|
1532
1601
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1569,6 +1638,12 @@ class CfnWorkGroup(
|
|
|
1569
1638
|
selected_engine_version="selectedEngineVersion"
|
|
1570
1639
|
),
|
|
1571
1640
|
execution_role="executionRole",
|
|
1641
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
1642
|
+
enabled=False,
|
|
1643
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
1644
|
+
kms_key="kmsKey"
|
|
1645
|
+
)
|
|
1646
|
+
),
|
|
1572
1647
|
publish_cloud_watch_metrics_enabled=False,
|
|
1573
1648
|
requester_pays_enabled=False,
|
|
1574
1649
|
result_configuration=athena.CfnWorkGroup.ResultConfigurationProperty(
|
|
@@ -1597,6 +1672,12 @@ class CfnWorkGroup(
|
|
|
1597
1672
|
selected_engine_version="selectedEngineVersion"
|
|
1598
1673
|
),
|
|
1599
1674
|
execution_role="executionRole",
|
|
1675
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
1676
|
+
enabled=False,
|
|
1677
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
1678
|
+
kms_key="kmsKey"
|
|
1679
|
+
)
|
|
1680
|
+
),
|
|
1600
1681
|
publish_cloud_watch_metrics_enabled=False,
|
|
1601
1682
|
remove_bytes_scanned_cutoff_per_query=False,
|
|
1602
1683
|
remove_customer_content_encryption_configuration=False,
|
|
@@ -1635,7 +1716,8 @@ class CfnWorkGroup(
|
|
|
1635
1716
|
work_group_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.WorkGroupConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1636
1717
|
work_group_configuration_updates: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.WorkGroupConfigurationUpdatesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1637
1718
|
) -> None:
|
|
1638
|
-
'''
|
|
1719
|
+
'''Create a new ``AWS::Athena::WorkGroup``.
|
|
1720
|
+
|
|
1639
1721
|
:param scope: Scope in which this resource is defined.
|
|
1640
1722
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1641
1723
|
:param name: The workgroup name.
|
|
@@ -1662,6 +1744,27 @@ class CfnWorkGroup(
|
|
|
1662
1744
|
|
|
1663
1745
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1664
1746
|
|
|
1747
|
+
@jsii.member(jsii_name="fromWorkGroupName")
|
|
1748
|
+
@builtins.classmethod
|
|
1749
|
+
def from_work_group_name(
|
|
1750
|
+
cls,
|
|
1751
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1752
|
+
id: builtins.str,
|
|
1753
|
+
work_group_name: builtins.str,
|
|
1754
|
+
) -> _IWorkGroupRef_ee1f32da:
|
|
1755
|
+
'''Creates a new IWorkGroupRef from a workGroupName.
|
|
1756
|
+
|
|
1757
|
+
:param scope: -
|
|
1758
|
+
:param id: -
|
|
1759
|
+
:param work_group_name: -
|
|
1760
|
+
'''
|
|
1761
|
+
if __debug__:
|
|
1762
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be43a8d87adff5435c9f23ab60a2b7d950366fdde534d2500f7e413d6b588f9f)
|
|
1763
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1764
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1765
|
+
check_type(argname="argument work_group_name", value=work_group_name, expected_type=type_hints["work_group_name"])
|
|
1766
|
+
return typing.cast(_IWorkGroupRef_ee1f32da, jsii.sinvoke(cls, "fromWorkGroupName", [scope, id, work_group_name]))
|
|
1767
|
+
|
|
1665
1768
|
@jsii.member(jsii_name="inspect")
|
|
1666
1769
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1667
1770
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1740,6 +1843,12 @@ class CfnWorkGroup(
|
|
|
1740
1843
|
'''Tag Manager which manages the tags for this resource.'''
|
|
1741
1844
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
1742
1845
|
|
|
1846
|
+
@builtins.property
|
|
1847
|
+
@jsii.member(jsii_name="workGroupRef")
|
|
1848
|
+
def work_group_ref(self) -> _WorkGroupReference_21c92b3e:
|
|
1849
|
+
'''A reference to a WorkGroup resource.'''
|
|
1850
|
+
return typing.cast(_WorkGroupReference_21c92b3e, jsii.get(self, "workGroupRef"))
|
|
1851
|
+
|
|
1743
1852
|
@builtins.property
|
|
1744
1853
|
@jsii.member(jsii_name="name")
|
|
1745
1854
|
def name(self) -> builtins.str:
|
|
@@ -2113,6 +2222,142 @@ class CfnWorkGroup(
|
|
|
2113
2222
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2114
2223
|
)
|
|
2115
2224
|
|
|
2225
|
+
@jsii.data_type(
|
|
2226
|
+
jsii_type="aws-cdk-lib.aws_athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty",
|
|
2227
|
+
jsii_struct_bases=[],
|
|
2228
|
+
name_mapping={
|
|
2229
|
+
"enabled": "enabled",
|
|
2230
|
+
"encryption_configuration": "encryptionConfiguration",
|
|
2231
|
+
},
|
|
2232
|
+
)
|
|
2233
|
+
class ManagedQueryResultsConfigurationProperty:
|
|
2234
|
+
def __init__(
|
|
2235
|
+
self,
|
|
2236
|
+
*,
|
|
2237
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2238
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2239
|
+
) -> None:
|
|
2240
|
+
'''The configuration for storing results in Athena owned storage, which includes whether this feature is enabled;
|
|
2241
|
+
|
|
2242
|
+
whether encryption configuration, if any, is used for encrypting query results.
|
|
2243
|
+
|
|
2244
|
+
:param enabled: If set to true, allows you to store query results in Athena owned storage. If set to false, workgroup member stores query results in location specified under ``ResultConfiguration$OutputLocation`` . The default is false. A workgroup cannot have the ``ResultConfiguration$OutputLocation`` parameter when you set this field to true.
|
|
2245
|
+
:param encryption_configuration: If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.
|
|
2246
|
+
|
|
2247
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html
|
|
2248
|
+
:exampleMetadata: fixture=_generated
|
|
2249
|
+
|
|
2250
|
+
Example::
|
|
2251
|
+
|
|
2252
|
+
# The code below shows an example of how to instantiate this type.
|
|
2253
|
+
# The values are placeholders you should change.
|
|
2254
|
+
from aws_cdk import aws_athena as athena
|
|
2255
|
+
|
|
2256
|
+
managed_query_results_configuration_property = athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
2257
|
+
enabled=False,
|
|
2258
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
2259
|
+
kms_key="kmsKey"
|
|
2260
|
+
)
|
|
2261
|
+
)
|
|
2262
|
+
'''
|
|
2263
|
+
if __debug__:
|
|
2264
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f6c4d2e9be468cb69e158be7cc0f67bd537760da2f65bdfea130a3adceb65198)
|
|
2265
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
2266
|
+
check_type(argname="argument encryption_configuration", value=encryption_configuration, expected_type=type_hints["encryption_configuration"])
|
|
2267
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2268
|
+
if enabled is not None:
|
|
2269
|
+
self._values["enabled"] = enabled
|
|
2270
|
+
if encryption_configuration is not None:
|
|
2271
|
+
self._values["encryption_configuration"] = encryption_configuration
|
|
2272
|
+
|
|
2273
|
+
@builtins.property
|
|
2274
|
+
def enabled(
|
|
2275
|
+
self,
|
|
2276
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2277
|
+
'''If set to true, allows you to store query results in Athena owned storage.
|
|
2278
|
+
|
|
2279
|
+
If set to false, workgroup member stores query results in location specified under ``ResultConfiguration$OutputLocation`` . The default is false. A workgroup cannot have the ``ResultConfiguration$OutputLocation`` parameter when you set this field to true.
|
|
2280
|
+
|
|
2281
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html#cfn-athena-workgroup-managedqueryresultsconfiguration-enabled
|
|
2282
|
+
'''
|
|
2283
|
+
result = self._values.get("enabled")
|
|
2284
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2285
|
+
|
|
2286
|
+
@builtins.property
|
|
2287
|
+
def encryption_configuration(
|
|
2288
|
+
self,
|
|
2289
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty"]]:
|
|
2290
|
+
'''If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.
|
|
2291
|
+
|
|
2292
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html#cfn-athena-workgroup-managedqueryresultsconfiguration-encryptionconfiguration
|
|
2293
|
+
'''
|
|
2294
|
+
result = self._values.get("encryption_configuration")
|
|
2295
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty"]], result)
|
|
2296
|
+
|
|
2297
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2298
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2299
|
+
|
|
2300
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2301
|
+
return not (rhs == self)
|
|
2302
|
+
|
|
2303
|
+
def __repr__(self) -> str:
|
|
2304
|
+
return "ManagedQueryResultsConfigurationProperty(%s)" % ", ".join(
|
|
2305
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2306
|
+
)
|
|
2307
|
+
|
|
2308
|
+
@jsii.data_type(
|
|
2309
|
+
jsii_type="aws-cdk-lib.aws_athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty",
|
|
2310
|
+
jsii_struct_bases=[],
|
|
2311
|
+
name_mapping={"kms_key": "kmsKey"},
|
|
2312
|
+
)
|
|
2313
|
+
class ManagedStorageEncryptionConfigurationProperty:
|
|
2314
|
+
def __init__(self, *, kms_key: typing.Optional[builtins.str] = None) -> None:
|
|
2315
|
+
'''Indicates the encryption configuration for Athena Managed Storage.
|
|
2316
|
+
|
|
2317
|
+
If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key
|
|
2318
|
+
|
|
2319
|
+
:param kms_key: For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
|
|
2320
|
+
|
|
2321
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedstorageencryptionconfiguration.html
|
|
2322
|
+
:exampleMetadata: fixture=_generated
|
|
2323
|
+
|
|
2324
|
+
Example::
|
|
2325
|
+
|
|
2326
|
+
# The code below shows an example of how to instantiate this type.
|
|
2327
|
+
# The values are placeholders you should change.
|
|
2328
|
+
from aws_cdk import aws_athena as athena
|
|
2329
|
+
|
|
2330
|
+
managed_storage_encryption_configuration_property = athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
2331
|
+
kms_key="kmsKey"
|
|
2332
|
+
)
|
|
2333
|
+
'''
|
|
2334
|
+
if __debug__:
|
|
2335
|
+
type_hints = typing.get_type_hints(_typecheckingstub__53549459074bb1d23e4ee2a6fd045c500008070dfc2015833edc260380222a02)
|
|
2336
|
+
check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
|
|
2337
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2338
|
+
if kms_key is not None:
|
|
2339
|
+
self._values["kms_key"] = kms_key
|
|
2340
|
+
|
|
2341
|
+
@builtins.property
|
|
2342
|
+
def kms_key(self) -> typing.Optional[builtins.str]:
|
|
2343
|
+
'''For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
|
|
2344
|
+
|
|
2345
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedstorageencryptionconfiguration.html#cfn-athena-workgroup-managedstorageencryptionconfiguration-kmskey
|
|
2346
|
+
'''
|
|
2347
|
+
result = self._values.get("kms_key")
|
|
2348
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2349
|
+
|
|
2350
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2351
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2352
|
+
|
|
2353
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2354
|
+
return not (rhs == self)
|
|
2355
|
+
|
|
2356
|
+
def __repr__(self) -> str:
|
|
2357
|
+
return "ManagedStorageEncryptionConfigurationProperty(%s)" % ", ".join(
|
|
2358
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2359
|
+
)
|
|
2360
|
+
|
|
2116
2361
|
@jsii.data_type(
|
|
2117
2362
|
jsii_type="aws-cdk-lib.aws_athena.CfnWorkGroup.ResultConfigurationProperty",
|
|
2118
2363
|
jsii_struct_bases=[],
|
|
@@ -2272,11 +2517,11 @@ class CfnWorkGroup(
|
|
|
2272
2517
|
|
|
2273
2518
|
:param acl_configuration: The ACL configuration for the query results.
|
|
2274
2519
|
:param encryption_configuration: The encryption configuration for the query results.
|
|
2275
|
-
:param expected_bucket_owner: The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by
|
|
2520
|
+
:param expected_bucket_owner: The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation>`_ . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration>`_ and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2276
2521
|
:param output_location: The location in Amazon S3 where your query results are stored, such as ``s3://path/to/query/bucket/`` . For more information, see `Query Results <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See ``EnforceWorkGroupConfiguration`` .
|
|
2277
2522
|
:param remove_acl_configuration: If set to ``true`` , indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to ``false`` or not set, and a value is present in the ``AclConfiguration`` of ``ResultConfigurationUpdates`` , the ``AclConfiguration`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2278
2523
|
:param remove_encryption_configuration: If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see `Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2279
|
-
:param remove_expected_bucket_owner: If set to "true", removes the AWS account ID previously specified for
|
|
2524
|
+
:param remove_expected_bucket_owner: If set to "true", removes the AWS account ID previously specified for ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-expectedbucketowner>`_ . If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2280
2525
|
:param remove_output_location: If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see `Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2281
2526
|
|
|
2282
2527
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html
|
|
@@ -2358,11 +2603,9 @@ class CfnWorkGroup(
|
|
|
2358
2603
|
|
|
2359
2604
|
@builtins.property
|
|
2360
2605
|
def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
|
|
2361
|
-
'''The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ``
|
|
2362
|
-
|
|
2363
|
-
If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
|
|
2606
|
+
'''The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation>`_ . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
|
|
2364
2607
|
|
|
2365
|
-
If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See
|
|
2608
|
+
If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration>`_ and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2366
2609
|
|
|
2367
2610
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-expectedbucketowner
|
|
2368
2611
|
'''
|
|
@@ -2410,9 +2653,7 @@ class CfnWorkGroup(
|
|
|
2410
2653
|
def remove_expected_bucket_owner(
|
|
2411
2654
|
self,
|
|
2412
2655
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2413
|
-
'''If set to "true", removes the AWS account ID previously specified for ``
|
|
2414
|
-
|
|
2415
|
-
If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2656
|
+
'''If set to "true", removes the AWS account ID previously specified for ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-expectedbucketowner>`_ . If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2416
2657
|
|
|
2417
2658
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeexpectedbucketowner
|
|
2418
2659
|
'''
|
|
@@ -2453,6 +2694,7 @@ class CfnWorkGroup(
|
|
|
2453
2694
|
"enforce_work_group_configuration": "enforceWorkGroupConfiguration",
|
|
2454
2695
|
"engine_version": "engineVersion",
|
|
2455
2696
|
"execution_role": "executionRole",
|
|
2697
|
+
"managed_query_results_configuration": "managedQueryResultsConfiguration",
|
|
2456
2698
|
"publish_cloud_watch_metrics_enabled": "publishCloudWatchMetricsEnabled",
|
|
2457
2699
|
"requester_pays_enabled": "requesterPaysEnabled",
|
|
2458
2700
|
"result_configuration": "resultConfiguration",
|
|
@@ -2468,6 +2710,7 @@ class CfnWorkGroup(
|
|
|
2468
2710
|
enforce_work_group_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2469
2711
|
engine_version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.EngineVersionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2470
2712
|
execution_role: typing.Optional[builtins.str] = None,
|
|
2713
|
+
managed_query_results_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.ManagedQueryResultsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2471
2714
|
publish_cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2472
2715
|
requester_pays_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2473
2716
|
result_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.ResultConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2482,6 +2725,7 @@ class CfnWorkGroup(
|
|
|
2482
2725
|
:param enforce_work_group_configuration: If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see `Override client-side settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
|
|
2483
2726
|
:param engine_version: The engine version that all queries running on the workgroup use.
|
|
2484
2727
|
:param execution_role: Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
|
|
2728
|
+
:param managed_query_results_configuration: The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results.
|
|
2485
2729
|
:param publish_cloud_watch_metrics_enabled: Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
|
2486
2730
|
:param requester_pays_enabled: If set to ``true`` , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to ``false`` , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is ``false`` . For more information about Requester Pays buckets, see `Requester Pays Buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html>`_ in the *Amazon Simple Storage Service Developer Guide* .
|
|
2487
2731
|
:param result_configuration: Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see `Work with query results and recent queries <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ .
|
|
@@ -2507,6 +2751,12 @@ class CfnWorkGroup(
|
|
|
2507
2751
|
selected_engine_version="selectedEngineVersion"
|
|
2508
2752
|
),
|
|
2509
2753
|
execution_role="executionRole",
|
|
2754
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
2755
|
+
enabled=False,
|
|
2756
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
2757
|
+
kms_key="kmsKey"
|
|
2758
|
+
)
|
|
2759
|
+
),
|
|
2510
2760
|
publish_cloud_watch_metrics_enabled=False,
|
|
2511
2761
|
requester_pays_enabled=False,
|
|
2512
2762
|
result_configuration=athena.CfnWorkGroup.ResultConfigurationProperty(
|
|
@@ -2532,6 +2782,7 @@ class CfnWorkGroup(
|
|
|
2532
2782
|
check_type(argname="argument enforce_work_group_configuration", value=enforce_work_group_configuration, expected_type=type_hints["enforce_work_group_configuration"])
|
|
2533
2783
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
2534
2784
|
check_type(argname="argument execution_role", value=execution_role, expected_type=type_hints["execution_role"])
|
|
2785
|
+
check_type(argname="argument managed_query_results_configuration", value=managed_query_results_configuration, expected_type=type_hints["managed_query_results_configuration"])
|
|
2535
2786
|
check_type(argname="argument publish_cloud_watch_metrics_enabled", value=publish_cloud_watch_metrics_enabled, expected_type=type_hints["publish_cloud_watch_metrics_enabled"])
|
|
2536
2787
|
check_type(argname="argument requester_pays_enabled", value=requester_pays_enabled, expected_type=type_hints["requester_pays_enabled"])
|
|
2537
2788
|
check_type(argname="argument result_configuration", value=result_configuration, expected_type=type_hints["result_configuration"])
|
|
@@ -2548,6 +2799,8 @@ class CfnWorkGroup(
|
|
|
2548
2799
|
self._values["engine_version"] = engine_version
|
|
2549
2800
|
if execution_role is not None:
|
|
2550
2801
|
self._values["execution_role"] = execution_role
|
|
2802
|
+
if managed_query_results_configuration is not None:
|
|
2803
|
+
self._values["managed_query_results_configuration"] = managed_query_results_configuration
|
|
2551
2804
|
if publish_cloud_watch_metrics_enabled is not None:
|
|
2552
2805
|
self._values["publish_cloud_watch_metrics_enabled"] = publish_cloud_watch_metrics_enabled
|
|
2553
2806
|
if requester_pays_enabled is not None:
|
|
@@ -2626,6 +2879,19 @@ class CfnWorkGroup(
|
|
|
2626
2879
|
result = self._values.get("execution_role")
|
|
2627
2880
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2628
2881
|
|
|
2882
|
+
@builtins.property
|
|
2883
|
+
def managed_query_results_configuration(
|
|
2884
|
+
self,
|
|
2885
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedQueryResultsConfigurationProperty"]]:
|
|
2886
|
+
'''The configuration for storing results in Athena owned storage, which includes whether this feature is enabled;
|
|
2887
|
+
|
|
2888
|
+
whether encryption configuration, if any, is used for encrypting query results.
|
|
2889
|
+
|
|
2890
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-managedqueryresultsconfiguration
|
|
2891
|
+
'''
|
|
2892
|
+
result = self._values.get("managed_query_results_configuration")
|
|
2893
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedQueryResultsConfigurationProperty"]], result)
|
|
2894
|
+
|
|
2629
2895
|
@builtins.property
|
|
2630
2896
|
def publish_cloud_watch_metrics_enabled(
|
|
2631
2897
|
self,
|
|
@@ -2684,6 +2950,7 @@ class CfnWorkGroup(
|
|
|
2684
2950
|
"enforce_work_group_configuration": "enforceWorkGroupConfiguration",
|
|
2685
2951
|
"engine_version": "engineVersion",
|
|
2686
2952
|
"execution_role": "executionRole",
|
|
2953
|
+
"managed_query_results_configuration": "managedQueryResultsConfiguration",
|
|
2687
2954
|
"publish_cloud_watch_metrics_enabled": "publishCloudWatchMetricsEnabled",
|
|
2688
2955
|
"remove_bytes_scanned_cutoff_per_query": "removeBytesScannedCutoffPerQuery",
|
|
2689
2956
|
"remove_customer_content_encryption_configuration": "removeCustomerContentEncryptionConfiguration",
|
|
@@ -2701,6 +2968,7 @@ class CfnWorkGroup(
|
|
|
2701
2968
|
enforce_work_group_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2702
2969
|
engine_version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.EngineVersionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2703
2970
|
execution_role: typing.Optional[builtins.str] = None,
|
|
2971
|
+
managed_query_results_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.ManagedQueryResultsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2704
2972
|
publish_cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2705
2973
|
remove_bytes_scanned_cutoff_per_query: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2706
2974
|
remove_customer_content_encryption_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -2715,6 +2983,7 @@ class CfnWorkGroup(
|
|
|
2715
2983
|
:param enforce_work_group_configuration: If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used
|
|
2716
2984
|
:param engine_version: The Athena engine version for running queries.
|
|
2717
2985
|
:param execution_role: Execution Role ARN required to run Athena Spark Calculations.
|
|
2986
|
+
:param managed_query_results_configuration: The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
|
|
2718
2987
|
:param publish_cloud_watch_metrics_enabled: Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
|
2719
2988
|
:param remove_bytes_scanned_cutoff_per_query: Indicates that the data usage control limit per query is removed.
|
|
2720
2989
|
:param remove_customer_content_encryption_configuration:
|
|
@@ -2742,6 +3011,12 @@ class CfnWorkGroup(
|
|
|
2742
3011
|
selected_engine_version="selectedEngineVersion"
|
|
2743
3012
|
),
|
|
2744
3013
|
execution_role="executionRole",
|
|
3014
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
3015
|
+
enabled=False,
|
|
3016
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
3017
|
+
kms_key="kmsKey"
|
|
3018
|
+
)
|
|
3019
|
+
),
|
|
2745
3020
|
publish_cloud_watch_metrics_enabled=False,
|
|
2746
3021
|
remove_bytes_scanned_cutoff_per_query=False,
|
|
2747
3022
|
remove_customer_content_encryption_configuration=False,
|
|
@@ -2773,6 +3048,7 @@ class CfnWorkGroup(
|
|
|
2773
3048
|
check_type(argname="argument enforce_work_group_configuration", value=enforce_work_group_configuration, expected_type=type_hints["enforce_work_group_configuration"])
|
|
2774
3049
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
2775
3050
|
check_type(argname="argument execution_role", value=execution_role, expected_type=type_hints["execution_role"])
|
|
3051
|
+
check_type(argname="argument managed_query_results_configuration", value=managed_query_results_configuration, expected_type=type_hints["managed_query_results_configuration"])
|
|
2776
3052
|
check_type(argname="argument publish_cloud_watch_metrics_enabled", value=publish_cloud_watch_metrics_enabled, expected_type=type_hints["publish_cloud_watch_metrics_enabled"])
|
|
2777
3053
|
check_type(argname="argument remove_bytes_scanned_cutoff_per_query", value=remove_bytes_scanned_cutoff_per_query, expected_type=type_hints["remove_bytes_scanned_cutoff_per_query"])
|
|
2778
3054
|
check_type(argname="argument remove_customer_content_encryption_configuration", value=remove_customer_content_encryption_configuration, expected_type=type_hints["remove_customer_content_encryption_configuration"])
|
|
@@ -2791,6 +3067,8 @@ class CfnWorkGroup(
|
|
|
2791
3067
|
self._values["engine_version"] = engine_version
|
|
2792
3068
|
if execution_role is not None:
|
|
2793
3069
|
self._values["execution_role"] = execution_role
|
|
3070
|
+
if managed_query_results_configuration is not None:
|
|
3071
|
+
self._values["managed_query_results_configuration"] = managed_query_results_configuration
|
|
2794
3072
|
if publish_cloud_watch_metrics_enabled is not None:
|
|
2795
3073
|
self._values["publish_cloud_watch_metrics_enabled"] = publish_cloud_watch_metrics_enabled
|
|
2796
3074
|
if remove_bytes_scanned_cutoff_per_query is not None:
|
|
@@ -2864,6 +3142,19 @@ class CfnWorkGroup(
|
|
|
2864
3142
|
result = self._values.get("execution_role")
|
|
2865
3143
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2866
3144
|
|
|
3145
|
+
@builtins.property
|
|
3146
|
+
def managed_query_results_configuration(
|
|
3147
|
+
self,
|
|
3148
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedQueryResultsConfigurationProperty"]]:
|
|
3149
|
+
'''The configuration for the managed query results and encryption option.
|
|
3150
|
+
|
|
3151
|
+
ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
|
|
3152
|
+
|
|
3153
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-managedqueryresultsconfiguration
|
|
3154
|
+
'''
|
|
3155
|
+
result = self._values.get("managed_query_results_configuration")
|
|
3156
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedQueryResultsConfigurationProperty"]], result)
|
|
3157
|
+
|
|
2867
3158
|
@builtins.property
|
|
2868
3159
|
def publish_cloud_watch_metrics_enabled(
|
|
2869
3160
|
self,
|
|
@@ -3001,6 +3292,12 @@ class CfnWorkGroupProps:
|
|
|
3001
3292
|
selected_engine_version="selectedEngineVersion"
|
|
3002
3293
|
),
|
|
3003
3294
|
execution_role="executionRole",
|
|
3295
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
3296
|
+
enabled=False,
|
|
3297
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
3298
|
+
kms_key="kmsKey"
|
|
3299
|
+
)
|
|
3300
|
+
),
|
|
3004
3301
|
publish_cloud_watch_metrics_enabled=False,
|
|
3005
3302
|
requester_pays_enabled=False,
|
|
3006
3303
|
result_configuration=athena.CfnWorkGroup.ResultConfigurationProperty(
|
|
@@ -3029,6 +3326,12 @@ class CfnWorkGroupProps:
|
|
|
3029
3326
|
selected_engine_version="selectedEngineVersion"
|
|
3030
3327
|
),
|
|
3031
3328
|
execution_role="executionRole",
|
|
3329
|
+
managed_query_results_configuration=athena.CfnWorkGroup.ManagedQueryResultsConfigurationProperty(
|
|
3330
|
+
enabled=False,
|
|
3331
|
+
encryption_configuration=athena.CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty(
|
|
3332
|
+
kms_key="kmsKey"
|
|
3333
|
+
)
|
|
3334
|
+
),
|
|
3032
3335
|
publish_cloud_watch_metrics_enabled=False,
|
|
3033
3336
|
remove_bytes_scanned_cutoff_per_query=False,
|
|
3034
3337
|
remove_customer_content_encryption_configuration=False,
|
|
@@ -3270,6 +3573,14 @@ def _typecheckingstub__05023d61a95576869568bc095d9889b971a9d8c061cba5833a71f4423
|
|
|
3270
3573
|
"""Type checking stubs"""
|
|
3271
3574
|
pass
|
|
3272
3575
|
|
|
3576
|
+
def _typecheckingstub__d5d2a0246fafbbc6a693f337ada29b85155f59962e79d7c642084d44652d0f2e(
|
|
3577
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3578
|
+
id: builtins.str,
|
|
3579
|
+
data_catalog_name: builtins.str,
|
|
3580
|
+
) -> None:
|
|
3581
|
+
"""Type checking stubs"""
|
|
3582
|
+
pass
|
|
3583
|
+
|
|
3273
3584
|
def _typecheckingstub__70484df33f57719ba2197f7ae86dd846651ec89bd9dc9853fbc4fff3bb342b5e(
|
|
3274
3585
|
inspector: _TreeInspector_488e0dd5,
|
|
3275
3586
|
) -> None:
|
|
@@ -3483,6 +3794,14 @@ def _typecheckingstub__be0f7d9e26f77f516ae56dabfd6aae7d4d7e7404767cea86eb51dbe5a
|
|
|
3483
3794
|
"""Type checking stubs"""
|
|
3484
3795
|
pass
|
|
3485
3796
|
|
|
3797
|
+
def _typecheckingstub__be43a8d87adff5435c9f23ab60a2b7d950366fdde534d2500f7e413d6b588f9f(
|
|
3798
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3799
|
+
id: builtins.str,
|
|
3800
|
+
work_group_name: builtins.str,
|
|
3801
|
+
) -> None:
|
|
3802
|
+
"""Type checking stubs"""
|
|
3803
|
+
pass
|
|
3804
|
+
|
|
3486
3805
|
def _typecheckingstub__a89351b058fb473aa673ca436e54b399faeed90f862768d495efb059a3875b1c(
|
|
3487
3806
|
inspector: _TreeInspector_488e0dd5,
|
|
3488
3807
|
) -> None:
|
|
@@ -3567,6 +3886,21 @@ def _typecheckingstub__89f0b78a82f24ece8384b490252230129c42a711fdb038b4ecd645d32
|
|
|
3567
3886
|
"""Type checking stubs"""
|
|
3568
3887
|
pass
|
|
3569
3888
|
|
|
3889
|
+
def _typecheckingstub__f6c4d2e9be468cb69e158be7cc0f67bd537760da2f65bdfea130a3adceb65198(
|
|
3890
|
+
*,
|
|
3891
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3892
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3893
|
+
) -> None:
|
|
3894
|
+
"""Type checking stubs"""
|
|
3895
|
+
pass
|
|
3896
|
+
|
|
3897
|
+
def _typecheckingstub__53549459074bb1d23e4ee2a6fd045c500008070dfc2015833edc260380222a02(
|
|
3898
|
+
*,
|
|
3899
|
+
kms_key: typing.Optional[builtins.str] = None,
|
|
3900
|
+
) -> None:
|
|
3901
|
+
"""Type checking stubs"""
|
|
3902
|
+
pass
|
|
3903
|
+
|
|
3570
3904
|
def _typecheckingstub__86d94b0afb15160d6ec72666a7574c95b2d16afd21c5ca80a9f352f319f2f46c(
|
|
3571
3905
|
*,
|
|
3572
3906
|
acl_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.AclConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3599,6 +3933,7 @@ def _typecheckingstub__5bc58a8f7fc071c8f6e3cf6044079ec303e9ba8521ef96ca98c62cfdd
|
|
|
3599
3933
|
enforce_work_group_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3600
3934
|
engine_version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.EngineVersionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3601
3935
|
execution_role: typing.Optional[builtins.str] = None,
|
|
3936
|
+
managed_query_results_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.ManagedQueryResultsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3602
3937
|
publish_cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3603
3938
|
requester_pays_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3604
3939
|
result_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.ResultConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3614,6 +3949,7 @@ def _typecheckingstub__6d600654f5aa48cb49fd4baf2a677e5f7725dcfa1249836427c1d9f65
|
|
|
3614
3949
|
enforce_work_group_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3615
3950
|
engine_version: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.EngineVersionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3616
3951
|
execution_role: typing.Optional[builtins.str] = None,
|
|
3952
|
+
managed_query_results_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkGroup.ManagedQueryResultsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3617
3953
|
publish_cloud_watch_metrics_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3618
3954
|
remove_bytes_scanned_cutoff_per_query: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3619
3955
|
remove_customer_content_encryption_configuration: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|