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_amazonmq/__init__.py
CHANGED
|
@@ -66,19 +66,25 @@ from .. import (
|
|
|
66
66
|
TagManager as _TagManager_0a598cb3,
|
|
67
67
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
68
68
|
)
|
|
69
|
+
from ..interfaces.aws_amazonmq import (
|
|
70
|
+
BrokerReference as _BrokerReference_1d1cbbf7,
|
|
71
|
+
ConfigurationAssociationReference as _ConfigurationAssociationReference_c6685840,
|
|
72
|
+
ConfigurationReference as _ConfigurationReference_19cddfe8,
|
|
73
|
+
IBrokerRef as _IBrokerRef_bd875819,
|
|
74
|
+
IConfigurationAssociationRef as _IConfigurationAssociationRef_98fafe4d,
|
|
75
|
+
IConfigurationRef as _IConfigurationRef_769e84b9,
|
|
76
|
+
)
|
|
69
77
|
|
|
70
78
|
|
|
71
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
79
|
+
@jsii.implements(_IInspectable_c2943556, _IBrokerRef_bd875819, _ITaggable_36806126)
|
|
72
80
|
class CfnBroker(
|
|
73
81
|
_CfnResource_9df397a6,
|
|
74
82
|
metaclass=jsii.JSIIMeta,
|
|
75
83
|
jsii_type="aws-cdk-lib.aws_amazonmq.CfnBroker",
|
|
76
84
|
):
|
|
77
|
-
'''
|
|
78
|
-
|
|
79
|
-
It is the basic building block of Amazon MQ .
|
|
85
|
+
'''Creates a broker. Note: This API is asynchronous.
|
|
80
86
|
|
|
81
|
-
|
|
87
|
+
To create a broker, you must either use the ``AmazonMQFullAccess`` IAM policy or include the following EC2 permissions in your IAM policy.
|
|
82
88
|
|
|
83
89
|
- ``ec2:CreateNetworkInterface``
|
|
84
90
|
|
|
@@ -99,6 +105,8 @@ class CfnBroker(
|
|
|
99
105
|
- ``ec2:DescribeSubnets``
|
|
100
106
|
- ``ec2:DescribeVpcs``
|
|
101
107
|
|
|
108
|
+
For more information, see `Create an IAM User and Get Your AWS Credentials <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/amazon-mq-setting-up.html#create-iam-user>`_ and `Never Modify or Delete the Amazon MQ Elastic Network Interface <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/connecting-to-amazon-mq.html#never-modify-delete-elastic-network-interface>`_ in the *Amazon MQ Developer Guide* .
|
|
109
|
+
|
|
102
110
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html
|
|
103
111
|
:cloudformationResource: AWS::AmazonMQ::Broker
|
|
104
112
|
:exampleMetadata: fixture=_generated
|
|
@@ -115,16 +123,6 @@ class CfnBroker(
|
|
|
115
123
|
engine_type="engineType",
|
|
116
124
|
host_instance_type="hostInstanceType",
|
|
117
125
|
publicly_accessible=False,
|
|
118
|
-
users=[amazonmq.CfnBroker.UserProperty(
|
|
119
|
-
password="password",
|
|
120
|
-
username="username",
|
|
121
|
-
|
|
122
|
-
# the properties below are optional
|
|
123
|
-
console_access=False,
|
|
124
|
-
groups=["groups"],
|
|
125
|
-
jolokia_api_access="jolokiaApiAccess",
|
|
126
|
-
replication_user=False
|
|
127
|
-
)],
|
|
128
126
|
|
|
129
127
|
# the properties below are optional
|
|
130
128
|
authentication_strategy="authenticationStrategy",
|
|
@@ -146,7 +144,6 @@ class CfnBroker(
|
|
|
146
144
|
hosts=["hosts"],
|
|
147
145
|
role_base="roleBase",
|
|
148
146
|
role_search_matching="roleSearchMatching",
|
|
149
|
-
service_account_password="serviceAccountPassword",
|
|
150
147
|
service_account_username="serviceAccountUsername",
|
|
151
148
|
user_base="userBase",
|
|
152
149
|
user_search_matching="userSearchMatching",
|
|
@@ -154,6 +151,7 @@ class CfnBroker(
|
|
|
154
151
|
# the properties below are optional
|
|
155
152
|
role_name="roleName",
|
|
156
153
|
role_search_subtree=False,
|
|
154
|
+
service_account_password="serviceAccountPassword",
|
|
157
155
|
user_role_name="userRoleName",
|
|
158
156
|
user_search_subtree=False
|
|
159
157
|
),
|
|
@@ -172,6 +170,15 @@ class CfnBroker(
|
|
|
172
170
|
tags=[amazonmq.CfnBroker.TagsEntryProperty(
|
|
173
171
|
key="key",
|
|
174
172
|
value="value"
|
|
173
|
+
)],
|
|
174
|
+
users=[amazonmq.CfnBroker.UserProperty(
|
|
175
|
+
password="password",
|
|
176
|
+
username="username",
|
|
177
|
+
|
|
178
|
+
# the properties below are optional
|
|
179
|
+
console_access=False,
|
|
180
|
+
groups=["groups"],
|
|
181
|
+
replication_user=False
|
|
175
182
|
)]
|
|
176
183
|
)
|
|
177
184
|
'''
|
|
@@ -186,7 +193,6 @@ class CfnBroker(
|
|
|
186
193
|
engine_type: builtins.str,
|
|
187
194
|
host_instance_type: builtins.str,
|
|
188
195
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
189
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
190
196
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
191
197
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
192
198
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.ConfigurationIdProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -201,30 +207,32 @@ class CfnBroker(
|
|
|
201
207
|
storage_type: typing.Optional[builtins.str] = None,
|
|
202
208
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
203
209
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnBroker.TagsEntryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
210
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
204
211
|
) -> None:
|
|
205
|
-
'''
|
|
212
|
+
'''Create a new ``AWS::AmazonMQ::Broker``.
|
|
213
|
+
|
|
206
214
|
:param scope: Scope in which this resource is defined.
|
|
207
215
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
208
|
-
:param broker_name: The name
|
|
209
|
-
:param deployment_mode: The deployment mode
|
|
210
|
-
:param engine_type: The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
211
|
-
:param host_instance_type: The broker's instance type.
|
|
212
|
-
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
|
213
|
-
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
216
|
+
:param broker_name: Required. The broker's name. This value must be unique in your AWS account , 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters. .. epigraph:: Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other AWS services, including CloudWatch Logs . Broker names are not intended to be used for private or sensitive data.
|
|
217
|
+
:param deployment_mode: Required. The broker's deployment mode.
|
|
218
|
+
:param engine_type: Required. The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
219
|
+
:param host_instance_type: Required. The broker's instance type.
|
|
220
|
+
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to ``false`` by default, if no value is provided.
|
|
214
221
|
:param authentication_strategy: Optional. The authentication strategy used to secure the broker. The default is ``SIMPLE`` .
|
|
215
|
-
:param auto_minor_version_upgrade: Enables automatic upgrades to new
|
|
216
|
-
:param configuration: A list of information about the configuration.
|
|
222
|
+
:param auto_minor_version_upgrade: Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to ``true`` by default, if no value is specified. .. epigraph:: Must be set to ``true`` for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
|
|
223
|
+
:param configuration: A list of information about the configuration.
|
|
217
224
|
:param data_replication_mode: Defines whether this broker is a part of a data replication pair.
|
|
218
225
|
:param data_replication_primary_broker_arn: The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
|
|
219
|
-
:param encryption_options: Encryption options for the broker.
|
|
220
|
-
:param engine_version: The version
|
|
226
|
+
:param encryption_options: Encryption options for the broker.
|
|
227
|
+
:param engine_version: The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
221
228
|
:param ldap_server_metadata: Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
|
|
222
229
|
:param logs: Enables Amazon CloudWatch logging for brokers.
|
|
223
|
-
:param maintenance_window_start_time: The
|
|
230
|
+
:param maintenance_window_start_time: The parameters that determine the WeeklyStartTime.
|
|
224
231
|
:param security_groups: The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
|
225
232
|
:param storage_type: The broker's storage type.
|
|
226
|
-
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ deployment
|
|
227
|
-
:param tags:
|
|
233
|
+
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet. .. epigraph:: If you specify subnets in a `shared VPC <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html>`_ for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account .
|
|
234
|
+
:param tags: Create tags when creating the broker.
|
|
235
|
+
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console. When OAuth 2.0 is enabled, the broker accepts one or no users.
|
|
228
236
|
'''
|
|
229
237
|
if __debug__:
|
|
230
238
|
type_hints = typing.get_type_hints(_typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce87535c69cb7)
|
|
@@ -236,7 +244,6 @@ class CfnBroker(
|
|
|
236
244
|
engine_type=engine_type,
|
|
237
245
|
host_instance_type=host_instance_type,
|
|
238
246
|
publicly_accessible=publicly_accessible,
|
|
239
|
-
users=users,
|
|
240
247
|
authentication_strategy=authentication_strategy,
|
|
241
248
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
242
249
|
configuration=configuration,
|
|
@@ -251,6 +258,7 @@ class CfnBroker(
|
|
|
251
258
|
storage_type=storage_type,
|
|
252
259
|
subnet_ids=subnet_ids,
|
|
253
260
|
tags=tags,
|
|
261
|
+
users=users,
|
|
254
262
|
)
|
|
255
263
|
|
|
256
264
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -330,12 +338,28 @@ class CfnBroker(
|
|
|
330
338
|
return typing.cast(jsii.Number, jsii.get(self, "attrConfigurationRevision"))
|
|
331
339
|
|
|
332
340
|
@builtins.property
|
|
333
|
-
@jsii.member(jsii_name="
|
|
334
|
-
def
|
|
335
|
-
'''
|
|
341
|
+
@jsii.member(jsii_name="attrConsoleUrLs")
|
|
342
|
+
def attr_console_ur_ls(self) -> typing.List[builtins.str]:
|
|
343
|
+
'''
|
|
344
|
+
:cloudformationAttribute: ConsoleURLs
|
|
345
|
+
'''
|
|
346
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrConsoleUrLs"))
|
|
347
|
+
|
|
348
|
+
@builtins.property
|
|
349
|
+
@jsii.member(jsii_name="attrEngineVersionCurrent")
|
|
350
|
+
def attr_engine_version_current(self) -> builtins.str:
|
|
351
|
+
'''The version in use.
|
|
336
352
|
|
|
337
|
-
|
|
353
|
+
This may have more precision than the specified EngineVersion.
|
|
338
354
|
|
|
355
|
+
:cloudformationAttribute: EngineVersionCurrent
|
|
356
|
+
'''
|
|
357
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEngineVersionCurrent"))
|
|
358
|
+
|
|
359
|
+
@builtins.property
|
|
360
|
+
@jsii.member(jsii_name="attrId")
|
|
361
|
+
def attr_id(self) -> builtins.str:
|
|
362
|
+
'''
|
|
339
363
|
:cloudformationAttribute: Id
|
|
340
364
|
'''
|
|
341
365
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -395,6 +419,12 @@ class CfnBroker(
|
|
|
395
419
|
'''
|
|
396
420
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrWssEndpoints"))
|
|
397
421
|
|
|
422
|
+
@builtins.property
|
|
423
|
+
@jsii.member(jsii_name="brokerRef")
|
|
424
|
+
def broker_ref(self) -> _BrokerReference_1d1cbbf7:
|
|
425
|
+
'''A reference to a Broker resource.'''
|
|
426
|
+
return typing.cast(_BrokerReference_1d1cbbf7, jsii.get(self, "brokerRef"))
|
|
427
|
+
|
|
398
428
|
@builtins.property
|
|
399
429
|
@jsii.member(jsii_name="cfnProperties")
|
|
400
430
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -409,7 +439,7 @@ class CfnBroker(
|
|
|
409
439
|
@builtins.property
|
|
410
440
|
@jsii.member(jsii_name="brokerName")
|
|
411
441
|
def broker_name(self) -> builtins.str:
|
|
412
|
-
'''
|
|
442
|
+
'''Required.'''
|
|
413
443
|
return typing.cast(builtins.str, jsii.get(self, "brokerName"))
|
|
414
444
|
|
|
415
445
|
@broker_name.setter
|
|
@@ -422,10 +452,7 @@ class CfnBroker(
|
|
|
422
452
|
@builtins.property
|
|
423
453
|
@jsii.member(jsii_name="deploymentMode")
|
|
424
454
|
def deployment_mode(self) -> builtins.str:
|
|
425
|
-
'''
|
|
426
|
-
|
|
427
|
-
Available values:.
|
|
428
|
-
'''
|
|
455
|
+
'''Required.'''
|
|
429
456
|
return typing.cast(builtins.str, jsii.get(self, "deploymentMode"))
|
|
430
457
|
|
|
431
458
|
@deployment_mode.setter
|
|
@@ -438,7 +465,7 @@ class CfnBroker(
|
|
|
438
465
|
@builtins.property
|
|
439
466
|
@jsii.member(jsii_name="engineType")
|
|
440
467
|
def engine_type(self) -> builtins.str:
|
|
441
|
-
'''
|
|
468
|
+
'''Required.'''
|
|
442
469
|
return typing.cast(builtins.str, jsii.get(self, "engineType"))
|
|
443
470
|
|
|
444
471
|
@engine_type.setter
|
|
@@ -451,7 +478,7 @@ class CfnBroker(
|
|
|
451
478
|
@builtins.property
|
|
452
479
|
@jsii.member(jsii_name="hostInstanceType")
|
|
453
480
|
def host_instance_type(self) -> builtins.str:
|
|
454
|
-
'''
|
|
481
|
+
'''Required.'''
|
|
455
482
|
return typing.cast(builtins.str, jsii.get(self, "hostInstanceType"))
|
|
456
483
|
|
|
457
484
|
@host_instance_type.setter
|
|
@@ -477,24 +504,6 @@ class CfnBroker(
|
|
|
477
504
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
478
505
|
jsii.set(self, "publiclyAccessible", value) # pyright: ignore[reportArgumentType]
|
|
479
506
|
|
|
480
|
-
@builtins.property
|
|
481
|
-
@jsii.member(jsii_name="users")
|
|
482
|
-
def users(
|
|
483
|
-
self,
|
|
484
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]:
|
|
485
|
-
'''The list of broker users (persons or applications) who can access queues and topics.'''
|
|
486
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]], jsii.get(self, "users"))
|
|
487
|
-
|
|
488
|
-
@users.setter
|
|
489
|
-
def users(
|
|
490
|
-
self,
|
|
491
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]],
|
|
492
|
-
) -> None:
|
|
493
|
-
if __debug__:
|
|
494
|
-
type_hints = typing.get_type_hints(_typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b)
|
|
495
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
496
|
-
jsii.set(self, "users", value) # pyright: ignore[reportArgumentType]
|
|
497
|
-
|
|
498
507
|
@builtins.property
|
|
499
508
|
@jsii.member(jsii_name="authenticationStrategy")
|
|
500
509
|
def authentication_strategy(self) -> typing.Optional[builtins.str]:
|
|
@@ -513,7 +522,7 @@ class CfnBroker(
|
|
|
513
522
|
def auto_minor_version_upgrade(
|
|
514
523
|
self,
|
|
515
524
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
516
|
-
'''Enables automatic upgrades to new
|
|
525
|
+
'''Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ.'''
|
|
517
526
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "autoMinorVersionUpgrade"))
|
|
518
527
|
|
|
519
528
|
@auto_minor_version_upgrade.setter
|
|
@@ -594,7 +603,7 @@ class CfnBroker(
|
|
|
594
603
|
@builtins.property
|
|
595
604
|
@jsii.member(jsii_name="engineVersion")
|
|
596
605
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
597
|
-
'''The
|
|
606
|
+
'''The broker engine version.'''
|
|
598
607
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engineVersion"))
|
|
599
608
|
|
|
600
609
|
@engine_version.setter
|
|
@@ -645,7 +654,7 @@ class CfnBroker(
|
|
|
645
654
|
def maintenance_window_start_time(
|
|
646
655
|
self,
|
|
647
656
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBroker.MaintenanceWindowProperty"]]:
|
|
648
|
-
'''The
|
|
657
|
+
'''The parameters that determine the WeeklyStartTime.'''
|
|
649
658
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBroker.MaintenanceWindowProperty"]], jsii.get(self, "maintenanceWindowStartTime"))
|
|
650
659
|
|
|
651
660
|
@maintenance_window_start_time.setter
|
|
@@ -703,7 +712,7 @@ class CfnBroker(
|
|
|
703
712
|
@builtins.property
|
|
704
713
|
@jsii.member(jsii_name="tagsRaw")
|
|
705
714
|
def tags_raw(self) -> typing.Optional[typing.List["CfnBroker.TagsEntryProperty"]]:
|
|
706
|
-
'''
|
|
715
|
+
'''Create tags when creating the broker.'''
|
|
707
716
|
return typing.cast(typing.Optional[typing.List["CfnBroker.TagsEntryProperty"]], jsii.get(self, "tagsRaw"))
|
|
708
717
|
|
|
709
718
|
@tags_raw.setter
|
|
@@ -716,6 +725,24 @@ class CfnBroker(
|
|
|
716
725
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
717
726
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
718
727
|
|
|
728
|
+
@builtins.property
|
|
729
|
+
@jsii.member(jsii_name="users")
|
|
730
|
+
def users(
|
|
731
|
+
self,
|
|
732
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]]:
|
|
733
|
+
'''The list of broker users (persons or applications) who can access queues and topics.'''
|
|
734
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]], jsii.get(self, "users"))
|
|
735
|
+
|
|
736
|
+
@users.setter
|
|
737
|
+
def users(
|
|
738
|
+
self,
|
|
739
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]],
|
|
740
|
+
) -> None:
|
|
741
|
+
if __debug__:
|
|
742
|
+
type_hints = typing.get_type_hints(_typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b)
|
|
743
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
744
|
+
jsii.set(self, "users", value) # pyright: ignore[reportArgumentType]
|
|
745
|
+
|
|
719
746
|
@jsii.data_type(
|
|
720
747
|
jsii_type="aws-cdk-lib.aws_amazonmq.CfnBroker.ConfigurationIdProperty",
|
|
721
748
|
jsii_struct_bases=[],
|
|
@@ -725,11 +752,7 @@ class CfnBroker(
|
|
|
725
752
|
def __init__(self, *, id: builtins.str, revision: jsii.Number) -> None:
|
|
726
753
|
'''A list of information about the configuration.
|
|
727
754
|
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
Does not apply to RabbitMQ brokers.
|
|
731
|
-
|
|
732
|
-
:param id: The unique ID that Amazon MQ generates for the configuration.
|
|
755
|
+
:param id: Required. The unique ID that Amazon MQ generates for the configuration.
|
|
733
756
|
:param revision: The revision number of the configuration.
|
|
734
757
|
|
|
735
758
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html
|
|
@@ -757,7 +780,9 @@ class CfnBroker(
|
|
|
757
780
|
|
|
758
781
|
@builtins.property
|
|
759
782
|
def id(self) -> builtins.str:
|
|
760
|
-
'''
|
|
783
|
+
'''Required.
|
|
784
|
+
|
|
785
|
+
The unique ID that Amazon MQ generates for the configuration.
|
|
761
786
|
|
|
762
787
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html#cfn-amazonmq-broker-configurationid-id
|
|
763
788
|
'''
|
|
@@ -800,10 +825,6 @@ class CfnBroker(
|
|
|
800
825
|
) -> None:
|
|
801
826
|
'''Encryption options for the broker.
|
|
802
827
|
|
|
803
|
-
.. epigraph::
|
|
804
|
-
|
|
805
|
-
Does not apply to RabbitMQ brokers.
|
|
806
|
-
|
|
807
828
|
:param use_aws_owned_key: Enables the use of an AWS owned CMK using AWS KMS (KMS). Set to ``true`` by default, if no value is provided, for example, for RabbitMQ brokers.
|
|
808
829
|
:param kms_key_id: The customer master key (CMK) to use for the A AWS KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
|
|
809
830
|
|
|
@@ -876,12 +897,12 @@ class CfnBroker(
|
|
|
876
897
|
"hosts": "hosts",
|
|
877
898
|
"role_base": "roleBase",
|
|
878
899
|
"role_search_matching": "roleSearchMatching",
|
|
879
|
-
"service_account_password": "serviceAccountPassword",
|
|
880
900
|
"service_account_username": "serviceAccountUsername",
|
|
881
901
|
"user_base": "userBase",
|
|
882
902
|
"user_search_matching": "userSearchMatching",
|
|
883
903
|
"role_name": "roleName",
|
|
884
904
|
"role_search_subtree": "roleSearchSubtree",
|
|
905
|
+
"service_account_password": "serviceAccountPassword",
|
|
885
906
|
"user_role_name": "userRoleName",
|
|
886
907
|
"user_search_subtree": "userSearchSubtree",
|
|
887
908
|
},
|
|
@@ -893,32 +914,30 @@ class CfnBroker(
|
|
|
893
914
|
hosts: typing.Sequence[builtins.str],
|
|
894
915
|
role_base: builtins.str,
|
|
895
916
|
role_search_matching: builtins.str,
|
|
896
|
-
service_account_password: builtins.str,
|
|
897
917
|
service_account_username: builtins.str,
|
|
898
918
|
user_base: builtins.str,
|
|
899
919
|
user_search_matching: builtins.str,
|
|
900
920
|
role_name: typing.Optional[builtins.str] = None,
|
|
901
921
|
role_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
922
|
+
service_account_password: typing.Optional[builtins.str] = None,
|
|
902
923
|
user_role_name: typing.Optional[builtins.str] = None,
|
|
903
924
|
user_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
904
925
|
) -> None:
|
|
905
|
-
'''Optional.
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
:param
|
|
912
|
-
:param
|
|
913
|
-
:param
|
|
914
|
-
:param
|
|
915
|
-
:param
|
|
916
|
-
:param
|
|
917
|
-
:param
|
|
918
|
-
:param
|
|
919
|
-
:param
|
|
920
|
-
:param user_role_name: The name of the LDAP attribute in the user's directory entry for the user's group membership. In some cases, user roles may be identified by the value of an attribute in the user's directory entry. The ``UserRoleName`` option allows you to provide the name of this attribute.
|
|
921
|
-
:param user_search_subtree: The directory search scope for the user. If set to true, scope is to search the entire subtree.
|
|
926
|
+
'''Optional.
|
|
927
|
+
|
|
928
|
+
The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
|
|
929
|
+
|
|
930
|
+
:param hosts:
|
|
931
|
+
:param role_base:
|
|
932
|
+
:param role_search_matching:
|
|
933
|
+
:param service_account_username:
|
|
934
|
+
:param user_base:
|
|
935
|
+
:param user_search_matching:
|
|
936
|
+
:param role_name:
|
|
937
|
+
:param role_search_subtree:
|
|
938
|
+
:param service_account_password:
|
|
939
|
+
:param user_role_name:
|
|
940
|
+
:param user_search_subtree:
|
|
922
941
|
|
|
923
942
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html
|
|
924
943
|
:exampleMetadata: fixture=_generated
|
|
@@ -933,7 +952,6 @@ class CfnBroker(
|
|
|
933
952
|
hosts=["hosts"],
|
|
934
953
|
role_base="roleBase",
|
|
935
954
|
role_search_matching="roleSearchMatching",
|
|
936
|
-
service_account_password="serviceAccountPassword",
|
|
937
955
|
service_account_username="serviceAccountUsername",
|
|
938
956
|
user_base="userBase",
|
|
939
957
|
user_search_matching="userSearchMatching",
|
|
@@ -941,6 +959,7 @@ class CfnBroker(
|
|
|
941
959
|
# the properties below are optional
|
|
942
960
|
role_name="roleName",
|
|
943
961
|
role_search_subtree=False,
|
|
962
|
+
service_account_password="serviceAccountPassword",
|
|
944
963
|
user_role_name="userRoleName",
|
|
945
964
|
user_search_subtree=False
|
|
946
965
|
)
|
|
@@ -950,19 +969,18 @@ class CfnBroker(
|
|
|
950
969
|
check_type(argname="argument hosts", value=hosts, expected_type=type_hints["hosts"])
|
|
951
970
|
check_type(argname="argument role_base", value=role_base, expected_type=type_hints["role_base"])
|
|
952
971
|
check_type(argname="argument role_search_matching", value=role_search_matching, expected_type=type_hints["role_search_matching"])
|
|
953
|
-
check_type(argname="argument service_account_password", value=service_account_password, expected_type=type_hints["service_account_password"])
|
|
954
972
|
check_type(argname="argument service_account_username", value=service_account_username, expected_type=type_hints["service_account_username"])
|
|
955
973
|
check_type(argname="argument user_base", value=user_base, expected_type=type_hints["user_base"])
|
|
956
974
|
check_type(argname="argument user_search_matching", value=user_search_matching, expected_type=type_hints["user_search_matching"])
|
|
957
975
|
check_type(argname="argument role_name", value=role_name, expected_type=type_hints["role_name"])
|
|
958
976
|
check_type(argname="argument role_search_subtree", value=role_search_subtree, expected_type=type_hints["role_search_subtree"])
|
|
977
|
+
check_type(argname="argument service_account_password", value=service_account_password, expected_type=type_hints["service_account_password"])
|
|
959
978
|
check_type(argname="argument user_role_name", value=user_role_name, expected_type=type_hints["user_role_name"])
|
|
960
979
|
check_type(argname="argument user_search_subtree", value=user_search_subtree, expected_type=type_hints["user_search_subtree"])
|
|
961
980
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
962
981
|
"hosts": hosts,
|
|
963
982
|
"role_base": role_base,
|
|
964
983
|
"role_search_matching": role_search_matching,
|
|
965
|
-
"service_account_password": service_account_password,
|
|
966
984
|
"service_account_username": service_account_username,
|
|
967
985
|
"user_base": user_base,
|
|
968
986
|
"user_search_matching": user_search_matching,
|
|
@@ -971,6 +989,8 @@ class CfnBroker(
|
|
|
971
989
|
self._values["role_name"] = role_name
|
|
972
990
|
if role_search_subtree is not None:
|
|
973
991
|
self._values["role_search_subtree"] = role_search_subtree
|
|
992
|
+
if service_account_password is not None:
|
|
993
|
+
self._values["service_account_password"] = service_account_password
|
|
974
994
|
if user_role_name is not None:
|
|
975
995
|
self._values["user_role_name"] = user_role_name
|
|
976
996
|
if user_search_subtree is not None:
|
|
@@ -978,10 +998,7 @@ class CfnBroker(
|
|
|
978
998
|
|
|
979
999
|
@builtins.property
|
|
980
1000
|
def hosts(self) -> typing.List[builtins.str]:
|
|
981
|
-
'''
|
|
982
|
-
|
|
983
|
-
Optional failover server.
|
|
984
|
-
|
|
1001
|
+
'''
|
|
985
1002
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-hosts
|
|
986
1003
|
'''
|
|
987
1004
|
result = self._values.get("hosts")
|
|
@@ -990,10 +1007,7 @@ class CfnBroker(
|
|
|
990
1007
|
|
|
991
1008
|
@builtins.property
|
|
992
1009
|
def role_base(self) -> builtins.str:
|
|
993
|
-
'''
|
|
994
|
-
|
|
995
|
-
For example, ``ou=group`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
996
|
-
|
|
1010
|
+
'''
|
|
997
1011
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolebase
|
|
998
1012
|
'''
|
|
999
1013
|
result = self._values.get("role_base")
|
|
@@ -1002,34 +1016,16 @@ class CfnBroker(
|
|
|
1002
1016
|
|
|
1003
1017
|
@builtins.property
|
|
1004
1018
|
def role_search_matching(self) -> builtins.str:
|
|
1005
|
-
'''
|
|
1006
|
-
|
|
1007
|
-
The distinguished name of the user matched by userSearchMatching is substituted into the ``{0}`` placeholder in the search filter. The client's username is substituted into the ``{1}`` placeholder. For example, if you set this option to ``(member=uid={1})`` for the user janedoe, the search filter becomes ``(member=uid=janedoe)`` after string substitution. It matches all role entries that have a member attribute equal to ``uid=janedoe`` under the subtree selected by the ``RoleBases`` .
|
|
1008
|
-
|
|
1019
|
+
'''
|
|
1009
1020
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolesearchmatching
|
|
1010
1021
|
'''
|
|
1011
1022
|
result = self._values.get("role_search_matching")
|
|
1012
1023
|
assert result is not None, "Required property 'role_search_matching' is missing"
|
|
1013
1024
|
return typing.cast(builtins.str, result)
|
|
1014
1025
|
|
|
1015
|
-
@builtins.property
|
|
1016
|
-
def service_account_password(self) -> builtins.str:
|
|
1017
|
-
'''Service account password.
|
|
1018
|
-
|
|
1019
|
-
A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1020
|
-
|
|
1021
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountpassword
|
|
1022
|
-
'''
|
|
1023
|
-
result = self._values.get("service_account_password")
|
|
1024
|
-
assert result is not None, "Required property 'service_account_password' is missing"
|
|
1025
|
-
return typing.cast(builtins.str, result)
|
|
1026
|
-
|
|
1027
1026
|
@builtins.property
|
|
1028
1027
|
def service_account_username(self) -> builtins.str:
|
|
1029
|
-
'''
|
|
1030
|
-
|
|
1031
|
-
A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1032
|
-
|
|
1028
|
+
'''
|
|
1033
1029
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountusername
|
|
1034
1030
|
'''
|
|
1035
1031
|
result = self._values.get("service_account_username")
|
|
@@ -1038,10 +1034,7 @@ class CfnBroker(
|
|
|
1038
1034
|
|
|
1039
1035
|
@builtins.property
|
|
1040
1036
|
def user_base(self) -> builtins.str:
|
|
1041
|
-
'''
|
|
1042
|
-
|
|
1043
|
-
The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` , the search for user entries is restricted to the subtree beneath ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1044
|
-
|
|
1037
|
+
'''
|
|
1045
1038
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-userbase
|
|
1046
1039
|
'''
|
|
1047
1040
|
result = self._values.get("user_base")
|
|
@@ -1050,10 +1043,7 @@ class CfnBroker(
|
|
|
1050
1043
|
|
|
1051
1044
|
@builtins.property
|
|
1052
1045
|
def user_search_matching(self) -> builtins.str:
|
|
1053
|
-
'''
|
|
1054
|
-
|
|
1055
|
-
The client's username is substituted into the ``{0}`` placeholder in the search filter. For example, if this option is set to ``(uid={0})`` and the received username is ``janedoe`` , the search filter becomes ``(uid=janedoe)`` after string substitution. It will result in matching an entry like ``uid=janedoe`` , ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1056
|
-
|
|
1046
|
+
'''
|
|
1057
1047
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-usersearchmatching
|
|
1058
1048
|
'''
|
|
1059
1049
|
result = self._values.get("user_search_matching")
|
|
@@ -1062,10 +1052,7 @@ class CfnBroker(
|
|
|
1062
1052
|
|
|
1063
1053
|
@builtins.property
|
|
1064
1054
|
def role_name(self) -> typing.Optional[builtins.str]:
|
|
1065
|
-
'''
|
|
1066
|
-
|
|
1067
|
-
For example, you can specify ``cn`` for a group entry's common name. If authentication succeeds, then the user is assigned the the value of the ``cn`` attribute for each role entry that they are a member of.
|
|
1068
|
-
|
|
1055
|
+
'''
|
|
1069
1056
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolename
|
|
1070
1057
|
'''
|
|
1071
1058
|
result = self._values.get("role_name")
|
|
@@ -1075,21 +1062,23 @@ class CfnBroker(
|
|
|
1075
1062
|
def role_search_subtree(
|
|
1076
1063
|
self,
|
|
1077
1064
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1078
|
-
'''
|
|
1079
|
-
|
|
1080
|
-
If set to true, scope is to search the entire subtree.
|
|
1081
|
-
|
|
1065
|
+
'''
|
|
1082
1066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolesearchsubtree
|
|
1083
1067
|
'''
|
|
1084
1068
|
result = self._values.get("role_search_subtree")
|
|
1085
1069
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1086
1070
|
|
|
1087
1071
|
@builtins.property
|
|
1088
|
-
def
|
|
1089
|
-
'''
|
|
1090
|
-
|
|
1091
|
-
|
|
1072
|
+
def service_account_password(self) -> typing.Optional[builtins.str]:
|
|
1073
|
+
'''
|
|
1074
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountpassword
|
|
1075
|
+
'''
|
|
1076
|
+
result = self._values.get("service_account_password")
|
|
1077
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1092
1078
|
|
|
1079
|
+
@builtins.property
|
|
1080
|
+
def user_role_name(self) -> typing.Optional[builtins.str]:
|
|
1081
|
+
'''
|
|
1093
1082
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-userrolename
|
|
1094
1083
|
'''
|
|
1095
1084
|
result = self._values.get("user_role_name")
|
|
@@ -1099,10 +1088,7 @@ class CfnBroker(
|
|
|
1099
1088
|
def user_search_subtree(
|
|
1100
1089
|
self,
|
|
1101
1090
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1102
|
-
'''
|
|
1103
|
-
|
|
1104
|
-
If set to true, scope is to search the entire subtree.
|
|
1105
|
-
|
|
1091
|
+
'''
|
|
1106
1092
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-usersearchsubtree
|
|
1107
1093
|
'''
|
|
1108
1094
|
result = self._values.get("user_search_subtree")
|
|
@@ -1212,10 +1198,10 @@ class CfnBroker(
|
|
|
1212
1198
|
time_of_day: builtins.str,
|
|
1213
1199
|
time_zone: builtins.str,
|
|
1214
1200
|
) -> None:
|
|
1215
|
-
'''The parameters that determine the
|
|
1201
|
+
'''The parameters that determine the WeeklyStartTime.
|
|
1216
1202
|
|
|
1217
|
-
:param day_of_week: The day of the week.
|
|
1218
|
-
:param time_of_day: The time, in 24-hour format.
|
|
1203
|
+
:param day_of_week: Required. The day of the week.
|
|
1204
|
+
:param time_of_day: Required. The time, in 24-hour format.
|
|
1219
1205
|
:param time_zone: The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
|
|
1220
1206
|
|
|
1221
1207
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html
|
|
@@ -1246,7 +1232,9 @@ class CfnBroker(
|
|
|
1246
1232
|
|
|
1247
1233
|
@builtins.property
|
|
1248
1234
|
def day_of_week(self) -> builtins.str:
|
|
1249
|
-
'''
|
|
1235
|
+
'''Required.
|
|
1236
|
+
|
|
1237
|
+
The day of the week.
|
|
1250
1238
|
|
|
1251
1239
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-dayofweek
|
|
1252
1240
|
'''
|
|
@@ -1256,7 +1244,9 @@ class CfnBroker(
|
|
|
1256
1244
|
|
|
1257
1245
|
@builtins.property
|
|
1258
1246
|
def time_of_day(self) -> builtins.str:
|
|
1259
|
-
'''
|
|
1247
|
+
'''Required.
|
|
1248
|
+
|
|
1249
|
+
The time, in 24-hour format.
|
|
1260
1250
|
|
|
1261
1251
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-timeofday
|
|
1262
1252
|
'''
|
|
@@ -1292,10 +1282,10 @@ class CfnBroker(
|
|
|
1292
1282
|
)
|
|
1293
1283
|
class TagsEntryProperty:
|
|
1294
1284
|
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
1295
|
-
'''
|
|
1285
|
+
'''Create tags when creating the broker.
|
|
1296
1286
|
|
|
1297
|
-
:param key:
|
|
1298
|
-
:param value:
|
|
1287
|
+
:param key:
|
|
1288
|
+
:param value:
|
|
1299
1289
|
|
|
1300
1290
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html
|
|
1301
1291
|
:exampleMetadata: fixture=_generated
|
|
@@ -1322,8 +1312,7 @@ class CfnBroker(
|
|
|
1322
1312
|
|
|
1323
1313
|
@builtins.property
|
|
1324
1314
|
def key(self) -> builtins.str:
|
|
1325
|
-
'''
|
|
1326
|
-
|
|
1315
|
+
'''
|
|
1327
1316
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html#cfn-amazonmq-broker-tagsentry-key
|
|
1328
1317
|
'''
|
|
1329
1318
|
result = self._values.get("key")
|
|
@@ -1332,8 +1321,7 @@ class CfnBroker(
|
|
|
1332
1321
|
|
|
1333
1322
|
@builtins.property
|
|
1334
1323
|
def value(self) -> builtins.str:
|
|
1335
|
-
'''
|
|
1336
|
-
|
|
1324
|
+
'''
|
|
1337
1325
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html#cfn-amazonmq-broker-tagsentry-value
|
|
1338
1326
|
'''
|
|
1339
1327
|
result = self._values.get("value")
|
|
@@ -1359,7 +1347,6 @@ class CfnBroker(
|
|
|
1359
1347
|
"username": "username",
|
|
1360
1348
|
"console_access": "consoleAccess",
|
|
1361
1349
|
"groups": "groups",
|
|
1362
|
-
"jolokia_api_access": "jolokiaApiAccess",
|
|
1363
1350
|
"replication_user": "replicationUser",
|
|
1364
1351
|
},
|
|
1365
1352
|
)
|
|
@@ -1371,18 +1358,18 @@ class CfnBroker(
|
|
|
1371
1358
|
username: builtins.str,
|
|
1372
1359
|
console_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1373
1360
|
groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1374
|
-
jolokia_api_access: typing.Optional[builtins.str] = None,
|
|
1375
1361
|
replication_user: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1376
1362
|
) -> None:
|
|
1377
1363
|
'''The list of broker users (persons or applications) who can access queues and topics.
|
|
1378
1364
|
|
|
1379
|
-
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created
|
|
1365
|
+
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
|
|
1380
1366
|
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
:param
|
|
1367
|
+
When OAuth 2.0 is enabled, the broker accepts one or no users.
|
|
1368
|
+
|
|
1369
|
+
:param password: Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
|
|
1370
|
+
:param username: The username of the broker user. The following restrictions apply to broker usernames:. - For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. - For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using ``guest`` as a valid usename. This value must be 2-100 characters long. .. epigraph:: Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other AWS services, including CloudWatch Logs . Broker usernames are not intended to be used for private or sensitive data.
|
|
1371
|
+
:param console_access: Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
|
|
1384
1372
|
:param groups: The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.
|
|
1385
|
-
:param jolokia_api_access: Enables Jolokia access to the ActiveMQ broker for the ActiveMQ user (Does not apply to RabbitMQ brokers).
|
|
1386
1373
|
:param replication_user: Defines if this user is intended for CRDR replication purposes.
|
|
1387
1374
|
|
|
1388
1375
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html
|
|
@@ -1401,7 +1388,6 @@ class CfnBroker(
|
|
|
1401
1388
|
# the properties below are optional
|
|
1402
1389
|
console_access=False,
|
|
1403
1390
|
groups=["groups"],
|
|
1404
|
-
jolokia_api_access="jolokiaApiAccess",
|
|
1405
1391
|
replication_user=False
|
|
1406
1392
|
)
|
|
1407
1393
|
'''
|
|
@@ -1411,7 +1397,6 @@ class CfnBroker(
|
|
|
1411
1397
|
check_type(argname="argument username", value=username, expected_type=type_hints["username"])
|
|
1412
1398
|
check_type(argname="argument console_access", value=console_access, expected_type=type_hints["console_access"])
|
|
1413
1399
|
check_type(argname="argument groups", value=groups, expected_type=type_hints["groups"])
|
|
1414
|
-
check_type(argname="argument jolokia_api_access", value=jolokia_api_access, expected_type=type_hints["jolokia_api_access"])
|
|
1415
1400
|
check_type(argname="argument replication_user", value=replication_user, expected_type=type_hints["replication_user"])
|
|
1416
1401
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1417
1402
|
"password": password,
|
|
@@ -1421,16 +1406,14 @@ class CfnBroker(
|
|
|
1421
1406
|
self._values["console_access"] = console_access
|
|
1422
1407
|
if groups is not None:
|
|
1423
1408
|
self._values["groups"] = groups
|
|
1424
|
-
if jolokia_api_access is not None:
|
|
1425
|
-
self._values["jolokia_api_access"] = jolokia_api_access
|
|
1426
1409
|
if replication_user is not None:
|
|
1427
1410
|
self._values["replication_user"] = replication_user
|
|
1428
1411
|
|
|
1429
1412
|
@builtins.property
|
|
1430
1413
|
def password(self) -> builtins.str:
|
|
1431
|
-
'''
|
|
1414
|
+
'''Required.
|
|
1432
1415
|
|
|
1433
|
-
This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
|
|
1416
|
+
The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
|
|
1434
1417
|
|
|
1435
1418
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-password
|
|
1436
1419
|
'''
|
|
@@ -1440,9 +1423,11 @@ class CfnBroker(
|
|
|
1440
1423
|
|
|
1441
1424
|
@builtins.property
|
|
1442
1425
|
def username(self) -> builtins.str:
|
|
1443
|
-
'''The username of the broker user.
|
|
1426
|
+
'''The username of the broker user. The following restrictions apply to broker usernames:.
|
|
1427
|
+
|
|
1428
|
+
- For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
|
|
1429
|
+
- For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using ``guest`` as a valid usename. This value must be 2-100 characters long.
|
|
1444
1430
|
|
|
1445
|
-
For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using guest as a valid usename. This value must be 2-100 characters long.
|
|
1446
1431
|
.. epigraph::
|
|
1447
1432
|
|
|
1448
1433
|
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other AWS services, including CloudWatch Logs . Broker usernames are not intended to be used for private or sensitive data.
|
|
@@ -1457,7 +1442,7 @@ class CfnBroker(
|
|
|
1457
1442
|
def console_access(
|
|
1458
1443
|
self,
|
|
1459
1444
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1460
|
-
'''Enables access to the ActiveMQ
|
|
1445
|
+
'''Enables access to the ActiveMQ Web Console for the ActiveMQ user.
|
|
1461
1446
|
|
|
1462
1447
|
Does not apply to RabbitMQ brokers.
|
|
1463
1448
|
|
|
@@ -1477,15 +1462,6 @@ class CfnBroker(
|
|
|
1477
1462
|
result = self._values.get("groups")
|
|
1478
1463
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1479
1464
|
|
|
1480
|
-
@builtins.property
|
|
1481
|
-
def jolokia_api_access(self) -> typing.Optional[builtins.str]:
|
|
1482
|
-
'''Enables Jolokia access to the ActiveMQ broker for the ActiveMQ user (Does not apply to RabbitMQ brokers).
|
|
1483
|
-
|
|
1484
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-jolokiaapiaccess
|
|
1485
|
-
'''
|
|
1486
|
-
result = self._values.get("jolokia_api_access")
|
|
1487
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1488
|
-
|
|
1489
1465
|
@builtins.property
|
|
1490
1466
|
def replication_user(
|
|
1491
1467
|
self,
|
|
@@ -1518,7 +1494,6 @@ class CfnBroker(
|
|
|
1518
1494
|
"engine_type": "engineType",
|
|
1519
1495
|
"host_instance_type": "hostInstanceType",
|
|
1520
1496
|
"publicly_accessible": "publiclyAccessible",
|
|
1521
|
-
"users": "users",
|
|
1522
1497
|
"authentication_strategy": "authenticationStrategy",
|
|
1523
1498
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
1524
1499
|
"configuration": "configuration",
|
|
@@ -1533,6 +1508,7 @@ class CfnBroker(
|
|
|
1533
1508
|
"storage_type": "storageType",
|
|
1534
1509
|
"subnet_ids": "subnetIds",
|
|
1535
1510
|
"tags": "tags",
|
|
1511
|
+
"users": "users",
|
|
1536
1512
|
},
|
|
1537
1513
|
)
|
|
1538
1514
|
class CfnBrokerProps:
|
|
@@ -1544,7 +1520,6 @@ class CfnBrokerProps:
|
|
|
1544
1520
|
engine_type: builtins.str,
|
|
1545
1521
|
host_instance_type: builtins.str,
|
|
1546
1522
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1547
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1548
1523
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
1549
1524
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1550
1525
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.ConfigurationIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1559,29 +1534,30 @@ class CfnBrokerProps:
|
|
|
1559
1534
|
storage_type: typing.Optional[builtins.str] = None,
|
|
1560
1535
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1561
1536
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnBroker.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1537
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1562
1538
|
) -> None:
|
|
1563
1539
|
'''Properties for defining a ``CfnBroker``.
|
|
1564
1540
|
|
|
1565
|
-
:param broker_name: The name
|
|
1566
|
-
:param deployment_mode: The deployment mode
|
|
1567
|
-
:param engine_type: The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1568
|
-
:param host_instance_type: The broker's instance type.
|
|
1569
|
-
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
|
1570
|
-
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
1541
|
+
:param broker_name: Required. The broker's name. This value must be unique in your AWS account , 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters. .. epigraph:: Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other AWS services, including CloudWatch Logs . Broker names are not intended to be used for private or sensitive data.
|
|
1542
|
+
:param deployment_mode: Required. The broker's deployment mode.
|
|
1543
|
+
:param engine_type: Required. The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1544
|
+
:param host_instance_type: Required. The broker's instance type.
|
|
1545
|
+
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to ``false`` by default, if no value is provided.
|
|
1571
1546
|
:param authentication_strategy: Optional. The authentication strategy used to secure the broker. The default is ``SIMPLE`` .
|
|
1572
|
-
:param auto_minor_version_upgrade: Enables automatic upgrades to new
|
|
1573
|
-
:param configuration: A list of information about the configuration.
|
|
1547
|
+
:param auto_minor_version_upgrade: Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to ``true`` by default, if no value is specified. .. epigraph:: Must be set to ``true`` for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
|
|
1548
|
+
:param configuration: A list of information about the configuration.
|
|
1574
1549
|
:param data_replication_mode: Defines whether this broker is a part of a data replication pair.
|
|
1575
1550
|
:param data_replication_primary_broker_arn: The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
|
|
1576
|
-
:param encryption_options: Encryption options for the broker.
|
|
1577
|
-
:param engine_version: The version
|
|
1551
|
+
:param encryption_options: Encryption options for the broker.
|
|
1552
|
+
:param engine_version: The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
1578
1553
|
:param ldap_server_metadata: Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
|
|
1579
1554
|
:param logs: Enables Amazon CloudWatch logging for brokers.
|
|
1580
|
-
:param maintenance_window_start_time: The
|
|
1555
|
+
:param maintenance_window_start_time: The parameters that determine the WeeklyStartTime.
|
|
1581
1556
|
:param security_groups: The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
|
1582
1557
|
:param storage_type: The broker's storage type.
|
|
1583
|
-
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ deployment
|
|
1584
|
-
:param tags:
|
|
1558
|
+
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet. .. epigraph:: If you specify subnets in a `shared VPC <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html>`_ for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account .
|
|
1559
|
+
:param tags: Create tags when creating the broker.
|
|
1560
|
+
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console. When OAuth 2.0 is enabled, the broker accepts one or no users.
|
|
1585
1561
|
|
|
1586
1562
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html
|
|
1587
1563
|
:exampleMetadata: fixture=_generated
|
|
@@ -1598,16 +1574,6 @@ class CfnBrokerProps:
|
|
|
1598
1574
|
engine_type="engineType",
|
|
1599
1575
|
host_instance_type="hostInstanceType",
|
|
1600
1576
|
publicly_accessible=False,
|
|
1601
|
-
users=[amazonmq.CfnBroker.UserProperty(
|
|
1602
|
-
password="password",
|
|
1603
|
-
username="username",
|
|
1604
|
-
|
|
1605
|
-
# the properties below are optional
|
|
1606
|
-
console_access=False,
|
|
1607
|
-
groups=["groups"],
|
|
1608
|
-
jolokia_api_access="jolokiaApiAccess",
|
|
1609
|
-
replication_user=False
|
|
1610
|
-
)],
|
|
1611
1577
|
|
|
1612
1578
|
# the properties below are optional
|
|
1613
1579
|
authentication_strategy="authenticationStrategy",
|
|
@@ -1629,7 +1595,6 @@ class CfnBrokerProps:
|
|
|
1629
1595
|
hosts=["hosts"],
|
|
1630
1596
|
role_base="roleBase",
|
|
1631
1597
|
role_search_matching="roleSearchMatching",
|
|
1632
|
-
service_account_password="serviceAccountPassword",
|
|
1633
1598
|
service_account_username="serviceAccountUsername",
|
|
1634
1599
|
user_base="userBase",
|
|
1635
1600
|
user_search_matching="userSearchMatching",
|
|
@@ -1637,6 +1602,7 @@ class CfnBrokerProps:
|
|
|
1637
1602
|
# the properties below are optional
|
|
1638
1603
|
role_name="roleName",
|
|
1639
1604
|
role_search_subtree=False,
|
|
1605
|
+
service_account_password="serviceAccountPassword",
|
|
1640
1606
|
user_role_name="userRoleName",
|
|
1641
1607
|
user_search_subtree=False
|
|
1642
1608
|
),
|
|
@@ -1655,6 +1621,15 @@ class CfnBrokerProps:
|
|
|
1655
1621
|
tags=[amazonmq.CfnBroker.TagsEntryProperty(
|
|
1656
1622
|
key="key",
|
|
1657
1623
|
value="value"
|
|
1624
|
+
)],
|
|
1625
|
+
users=[amazonmq.CfnBroker.UserProperty(
|
|
1626
|
+
password="password",
|
|
1627
|
+
username="username",
|
|
1628
|
+
|
|
1629
|
+
# the properties below are optional
|
|
1630
|
+
console_access=False,
|
|
1631
|
+
groups=["groups"],
|
|
1632
|
+
replication_user=False
|
|
1658
1633
|
)]
|
|
1659
1634
|
)
|
|
1660
1635
|
'''
|
|
@@ -1665,7 +1640,6 @@ class CfnBrokerProps:
|
|
|
1665
1640
|
check_type(argname="argument engine_type", value=engine_type, expected_type=type_hints["engine_type"])
|
|
1666
1641
|
check_type(argname="argument host_instance_type", value=host_instance_type, expected_type=type_hints["host_instance_type"])
|
|
1667
1642
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
1668
|
-
check_type(argname="argument users", value=users, expected_type=type_hints["users"])
|
|
1669
1643
|
check_type(argname="argument authentication_strategy", value=authentication_strategy, expected_type=type_hints["authentication_strategy"])
|
|
1670
1644
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
1671
1645
|
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
@@ -1680,13 +1654,13 @@ class CfnBrokerProps:
|
|
|
1680
1654
|
check_type(argname="argument storage_type", value=storage_type, expected_type=type_hints["storage_type"])
|
|
1681
1655
|
check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
|
|
1682
1656
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1657
|
+
check_type(argname="argument users", value=users, expected_type=type_hints["users"])
|
|
1683
1658
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1684
1659
|
"broker_name": broker_name,
|
|
1685
1660
|
"deployment_mode": deployment_mode,
|
|
1686
1661
|
"engine_type": engine_type,
|
|
1687
1662
|
"host_instance_type": host_instance_type,
|
|
1688
1663
|
"publicly_accessible": publicly_accessible,
|
|
1689
|
-
"users": users,
|
|
1690
1664
|
}
|
|
1691
1665
|
if authentication_strategy is not None:
|
|
1692
1666
|
self._values["authentication_strategy"] = authentication_strategy
|
|
@@ -1716,15 +1690,17 @@ class CfnBrokerProps:
|
|
|
1716
1690
|
self._values["subnet_ids"] = subnet_ids
|
|
1717
1691
|
if tags is not None:
|
|
1718
1692
|
self._values["tags"] = tags
|
|
1693
|
+
if users is not None:
|
|
1694
|
+
self._values["users"] = users
|
|
1719
1695
|
|
|
1720
1696
|
@builtins.property
|
|
1721
1697
|
def broker_name(self) -> builtins.str:
|
|
1722
|
-
'''
|
|
1698
|
+
'''Required.
|
|
1723
1699
|
|
|
1724
|
-
This value must be unique in your AWS account , 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
|
|
1700
|
+
The broker's name. This value must be unique in your AWS account , 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
|
|
1725
1701
|
.. epigraph::
|
|
1726
1702
|
|
|
1727
|
-
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other AWS services, including
|
|
1703
|
+
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other AWS services, including CloudWatch Logs . Broker names are not intended to be used for private or sensitive data.
|
|
1728
1704
|
|
|
1729
1705
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-brokername
|
|
1730
1706
|
'''
|
|
@@ -1734,11 +1710,9 @@ class CfnBrokerProps:
|
|
|
1734
1710
|
|
|
1735
1711
|
@builtins.property
|
|
1736
1712
|
def deployment_mode(self) -> builtins.str:
|
|
1737
|
-
'''
|
|
1713
|
+
'''Required.
|
|
1738
1714
|
|
|
1739
|
-
|
|
1740
|
-
- ``ACTIVE_STANDBY_MULTI_AZ``
|
|
1741
|
-
- ``CLUSTER_MULTI_AZ``
|
|
1715
|
+
The broker's deployment mode.
|
|
1742
1716
|
|
|
1743
1717
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-deploymentmode
|
|
1744
1718
|
'''
|
|
@@ -1748,9 +1722,9 @@ class CfnBrokerProps:
|
|
|
1748
1722
|
|
|
1749
1723
|
@builtins.property
|
|
1750
1724
|
def engine_type(self) -> builtins.str:
|
|
1751
|
-
'''
|
|
1725
|
+
'''Required.
|
|
1752
1726
|
|
|
1753
|
-
Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1727
|
+
The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1754
1728
|
|
|
1755
1729
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-enginetype
|
|
1756
1730
|
'''
|
|
@@ -1760,7 +1734,9 @@ class CfnBrokerProps:
|
|
|
1760
1734
|
|
|
1761
1735
|
@builtins.property
|
|
1762
1736
|
def host_instance_type(self) -> builtins.str:
|
|
1763
|
-
'''
|
|
1737
|
+
'''Required.
|
|
1738
|
+
|
|
1739
|
+
The broker's instance type.
|
|
1764
1740
|
|
|
1765
1741
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-hostinstancetype
|
|
1766
1742
|
'''
|
|
@@ -1772,26 +1748,14 @@ class CfnBrokerProps:
|
|
|
1772
1748
|
def publicly_accessible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1773
1749
|
'''Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
|
1774
1750
|
|
|
1751
|
+
Set to ``false`` by default, if no value is provided.
|
|
1752
|
+
|
|
1775
1753
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-publiclyaccessible
|
|
1776
1754
|
'''
|
|
1777
1755
|
result = self._values.get("publicly_accessible")
|
|
1778
1756
|
assert result is not None, "Required property 'publicly_accessible' is missing"
|
|
1779
1757
|
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
1780
1758
|
|
|
1781
|
-
@builtins.property
|
|
1782
|
-
def users(
|
|
1783
|
-
self,
|
|
1784
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]]:
|
|
1785
|
-
'''The list of broker users (persons or applications) who can access queues and topics.
|
|
1786
|
-
|
|
1787
|
-
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
1788
|
-
|
|
1789
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-users
|
|
1790
|
-
'''
|
|
1791
|
-
result = self._values.get("users")
|
|
1792
|
-
assert result is not None, "Required property 'users' is missing"
|
|
1793
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]], result)
|
|
1794
|
-
|
|
1795
1759
|
@builtins.property
|
|
1796
1760
|
def authentication_strategy(self) -> typing.Optional[builtins.str]:
|
|
1797
1761
|
'''Optional.
|
|
@@ -1807,9 +1771,12 @@ class CfnBrokerProps:
|
|
|
1807
1771
|
def auto_minor_version_upgrade(
|
|
1808
1772
|
self,
|
|
1809
1773
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1810
|
-
'''Enables automatic upgrades to new
|
|
1774
|
+
'''Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ.
|
|
1775
|
+
|
|
1776
|
+
Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to ``true`` by default, if no value is specified.
|
|
1777
|
+
.. epigraph::
|
|
1811
1778
|
|
|
1812
|
-
|
|
1779
|
+
Must be set to ``true`` for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
|
|
1813
1780
|
|
|
1814
1781
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-autominorversionupgrade
|
|
1815
1782
|
'''
|
|
@@ -1822,8 +1789,6 @@ class CfnBrokerProps:
|
|
|
1822
1789
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBroker.ConfigurationIdProperty]]:
|
|
1823
1790
|
'''A list of information about the configuration.
|
|
1824
1791
|
|
|
1825
|
-
Does not apply to RabbitMQ brokers.
|
|
1826
|
-
|
|
1827
1792
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-configuration
|
|
1828
1793
|
'''
|
|
1829
1794
|
result = self._values.get("configuration")
|
|
@@ -1855,8 +1820,6 @@ class CfnBrokerProps:
|
|
|
1855
1820
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBroker.EncryptionOptionsProperty]]:
|
|
1856
1821
|
'''Encryption options for the broker.
|
|
1857
1822
|
|
|
1858
|
-
Does not apply to RabbitMQ brokers.
|
|
1859
|
-
|
|
1860
1823
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-encryptionoptions
|
|
1861
1824
|
'''
|
|
1862
1825
|
result = self._values.get("encryption_options")
|
|
@@ -1864,9 +1827,9 @@ class CfnBrokerProps:
|
|
|
1864
1827
|
|
|
1865
1828
|
@builtins.property
|
|
1866
1829
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
1867
|
-
'''The
|
|
1830
|
+
'''The broker engine version.
|
|
1868
1831
|
|
|
1869
|
-
|
|
1832
|
+
Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
1870
1833
|
|
|
1871
1834
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-engineversion
|
|
1872
1835
|
'''
|
|
@@ -1901,7 +1864,7 @@ class CfnBrokerProps:
|
|
|
1901
1864
|
def maintenance_window_start_time(
|
|
1902
1865
|
self,
|
|
1903
1866
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBroker.MaintenanceWindowProperty]]:
|
|
1904
|
-
'''The
|
|
1867
|
+
'''The parameters that determine the WeeklyStartTime.
|
|
1905
1868
|
|
|
1906
1869
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-maintenancewindowstarttime
|
|
1907
1870
|
'''
|
|
@@ -1930,10 +1893,10 @@ class CfnBrokerProps:
|
|
|
1930
1893
|
def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1931
1894
|
'''The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
|
|
1932
1895
|
|
|
1933
|
-
If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ deployment
|
|
1896
|
+
If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ deployment has no subnet requirements when deployed with public accessibility. Deployment without public accessibility requires at least one subnet.
|
|
1934
1897
|
.. epigraph::
|
|
1935
1898
|
|
|
1936
|
-
If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC
|
|
1899
|
+
If you specify subnets in a `shared VPC <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html>`_ for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC endpoints in VPCs that are not owned by your AWS account .
|
|
1937
1900
|
|
|
1938
1901
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-subnetids
|
|
1939
1902
|
'''
|
|
@@ -1942,15 +1905,28 @@ class CfnBrokerProps:
|
|
|
1942
1905
|
|
|
1943
1906
|
@builtins.property
|
|
1944
1907
|
def tags(self) -> typing.Optional[typing.List[CfnBroker.TagsEntryProperty]]:
|
|
1945
|
-
'''
|
|
1946
|
-
|
|
1947
|
-
For more information, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
|
|
1908
|
+
'''Create tags when creating the broker.
|
|
1948
1909
|
|
|
1949
1910
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-tags
|
|
1950
1911
|
'''
|
|
1951
1912
|
result = self._values.get("tags")
|
|
1952
1913
|
return typing.cast(typing.Optional[typing.List[CfnBroker.TagsEntryProperty]], result)
|
|
1953
1914
|
|
|
1915
|
+
@builtins.property
|
|
1916
|
+
def users(
|
|
1917
|
+
self,
|
|
1918
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]]]:
|
|
1919
|
+
'''The list of broker users (persons or applications) who can access queues and topics.
|
|
1920
|
+
|
|
1921
|
+
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.
|
|
1922
|
+
|
|
1923
|
+
When OAuth 2.0 is enabled, the broker accepts one or no users.
|
|
1924
|
+
|
|
1925
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-users
|
|
1926
|
+
'''
|
|
1927
|
+
result = self._values.get("users")
|
|
1928
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]]], result)
|
|
1929
|
+
|
|
1954
1930
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1955
1931
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1956
1932
|
|
|
@@ -1963,7 +1939,7 @@ class CfnBrokerProps:
|
|
|
1963
1939
|
)
|
|
1964
1940
|
|
|
1965
1941
|
|
|
1966
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1942
|
+
@jsii.implements(_IInspectable_c2943556, _IConfigurationRef_769e84b9, _ITaggable_36806126)
|
|
1967
1943
|
class CfnConfiguration(
|
|
1968
1944
|
_CfnResource_9df397a6,
|
|
1969
1945
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1972,9 +1948,6 @@ class CfnConfiguration(
|
|
|
1972
1948
|
'''Creates a new configuration for the specified configuration name.
|
|
1973
1949
|
|
|
1974
1950
|
Amazon MQ uses the default configuration (the engine type and version).
|
|
1975
|
-
.. epigraph::
|
|
1976
|
-
|
|
1977
|
-
Does not apply to RabbitMQ brokers.
|
|
1978
1951
|
|
|
1979
1952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html
|
|
1980
1953
|
:cloudformationResource: AWS::AmazonMQ::Configuration
|
|
@@ -2015,15 +1988,16 @@ class CfnConfiguration(
|
|
|
2015
1988
|
engine_version: typing.Optional[builtins.str] = None,
|
|
2016
1989
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnConfiguration.TagsEntryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2017
1990
|
) -> None:
|
|
2018
|
-
'''
|
|
1991
|
+
'''Create a new ``AWS::AmazonMQ::Configuration``.
|
|
1992
|
+
|
|
2019
1993
|
:param scope: Scope in which this resource is defined.
|
|
2020
1994
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2021
|
-
:param engine_type: The type of broker engine.
|
|
2022
|
-
:param name: The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
1995
|
+
:param engine_type: Required. The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1996
|
+
:param name: Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
2023
1997
|
:param authentication_strategy: Optional. The authentication strategy associated with the configuration. The default is ``SIMPLE`` .
|
|
2024
|
-
:param data: The base64-encoded XML configuration.
|
|
1998
|
+
:param data: Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.
|
|
2025
1999
|
:param description: The description of the configuration.
|
|
2026
|
-
:param engine_version: The version
|
|
2000
|
+
:param engine_version: The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
2027
2001
|
:param tags: Create tags when creating the configuration.
|
|
2028
2002
|
'''
|
|
2029
2003
|
if __debug__:
|
|
@@ -2042,6 +2016,48 @@ class CfnConfiguration(
|
|
|
2042
2016
|
|
|
2043
2017
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2044
2018
|
|
|
2019
|
+
@jsii.member(jsii_name="fromConfigurationArn")
|
|
2020
|
+
@builtins.classmethod
|
|
2021
|
+
def from_configuration_arn(
|
|
2022
|
+
cls,
|
|
2023
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2024
|
+
id: builtins.str,
|
|
2025
|
+
arn: builtins.str,
|
|
2026
|
+
) -> _IConfigurationRef_769e84b9:
|
|
2027
|
+
'''Creates a new IConfigurationRef from an ARN.
|
|
2028
|
+
|
|
2029
|
+
:param scope: -
|
|
2030
|
+
:param id: -
|
|
2031
|
+
:param arn: -
|
|
2032
|
+
'''
|
|
2033
|
+
if __debug__:
|
|
2034
|
+
type_hints = typing.get_type_hints(_typecheckingstub__952d6fa5f0120d9649475d290d7db9a47e3510ed333c700851b2aaa6a8ceeea1)
|
|
2035
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2036
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2037
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2038
|
+
return typing.cast(_IConfigurationRef_769e84b9, jsii.sinvoke(cls, "fromConfigurationArn", [scope, id, arn]))
|
|
2039
|
+
|
|
2040
|
+
@jsii.member(jsii_name="fromConfigurationId")
|
|
2041
|
+
@builtins.classmethod
|
|
2042
|
+
def from_configuration_id(
|
|
2043
|
+
cls,
|
|
2044
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2045
|
+
id: builtins.str,
|
|
2046
|
+
configuration_id: builtins.str,
|
|
2047
|
+
) -> _IConfigurationRef_769e84b9:
|
|
2048
|
+
'''Creates a new IConfigurationRef from a configurationId.
|
|
2049
|
+
|
|
2050
|
+
:param scope: -
|
|
2051
|
+
:param id: -
|
|
2052
|
+
:param configuration_id: -
|
|
2053
|
+
'''
|
|
2054
|
+
if __debug__:
|
|
2055
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a206d532f247ca241ebd211136e297c9461a4b800008d2c7db68e5a8ba25948)
|
|
2056
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2057
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2058
|
+
check_type(argname="argument configuration_id", value=configuration_id, expected_type=type_hints["configuration_id"])
|
|
2059
|
+
return typing.cast(_IConfigurationRef_769e84b9, jsii.sinvoke(cls, "fromConfigurationId", [scope, id, configuration_id]))
|
|
2060
|
+
|
|
2045
2061
|
@jsii.member(jsii_name="inspect")
|
|
2046
2062
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2047
2063
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -2110,6 +2126,12 @@ class CfnConfiguration(
|
|
|
2110
2126
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2111
2127
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2112
2128
|
|
|
2129
|
+
@builtins.property
|
|
2130
|
+
@jsii.member(jsii_name="configurationRef")
|
|
2131
|
+
def configuration_ref(self) -> _ConfigurationReference_19cddfe8:
|
|
2132
|
+
'''A reference to a Configuration resource.'''
|
|
2133
|
+
return typing.cast(_ConfigurationReference_19cddfe8, jsii.get(self, "configurationRef"))
|
|
2134
|
+
|
|
2113
2135
|
@builtins.property
|
|
2114
2136
|
@jsii.member(jsii_name="tags")
|
|
2115
2137
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -2119,7 +2141,7 @@ class CfnConfiguration(
|
|
|
2119
2141
|
@builtins.property
|
|
2120
2142
|
@jsii.member(jsii_name="engineType")
|
|
2121
2143
|
def engine_type(self) -> builtins.str:
|
|
2122
|
-
'''
|
|
2144
|
+
'''Required.'''
|
|
2123
2145
|
return typing.cast(builtins.str, jsii.get(self, "engineType"))
|
|
2124
2146
|
|
|
2125
2147
|
@engine_type.setter
|
|
@@ -2132,7 +2154,7 @@ class CfnConfiguration(
|
|
|
2132
2154
|
@builtins.property
|
|
2133
2155
|
@jsii.member(jsii_name="name")
|
|
2134
2156
|
def name(self) -> builtins.str:
|
|
2135
|
-
'''
|
|
2157
|
+
'''Required.'''
|
|
2136
2158
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
2137
2159
|
|
|
2138
2160
|
@name.setter
|
|
@@ -2158,7 +2180,7 @@ class CfnConfiguration(
|
|
|
2158
2180
|
@builtins.property
|
|
2159
2181
|
@jsii.member(jsii_name="data")
|
|
2160
2182
|
def data(self) -> typing.Optional[builtins.str]:
|
|
2161
|
-
'''The base64-encoded XML configuration.'''
|
|
2183
|
+
'''Amazon MQ for Active MQ: The base64-encoded XML configuration.'''
|
|
2162
2184
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "data"))
|
|
2163
2185
|
|
|
2164
2186
|
@data.setter
|
|
@@ -2184,7 +2206,7 @@ class CfnConfiguration(
|
|
|
2184
2206
|
@builtins.property
|
|
2185
2207
|
@jsii.member(jsii_name="engineVersion")
|
|
2186
2208
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
2187
|
-
'''The
|
|
2209
|
+
'''The broker engine version.'''
|
|
2188
2210
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engineVersion"))
|
|
2189
2211
|
|
|
2190
2212
|
@engine_version.setter
|
|
@@ -2219,10 +2241,10 @@ class CfnConfiguration(
|
|
|
2219
2241
|
)
|
|
2220
2242
|
class TagsEntryProperty:
|
|
2221
2243
|
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
2222
|
-
'''
|
|
2244
|
+
'''The list of all tags associated with this configuration.
|
|
2223
2245
|
|
|
2224
|
-
:param key:
|
|
2225
|
-
:param value:
|
|
2246
|
+
:param key:
|
|
2247
|
+
:param value:
|
|
2226
2248
|
|
|
2227
2249
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html
|
|
2228
2250
|
:exampleMetadata: fixture=_generated
|
|
@@ -2249,8 +2271,7 @@ class CfnConfiguration(
|
|
|
2249
2271
|
|
|
2250
2272
|
@builtins.property
|
|
2251
2273
|
def key(self) -> builtins.str:
|
|
2252
|
-
'''
|
|
2253
|
-
|
|
2274
|
+
'''
|
|
2254
2275
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html#cfn-amazonmq-configuration-tagsentry-key
|
|
2255
2276
|
'''
|
|
2256
2277
|
result = self._values.get("key")
|
|
@@ -2259,8 +2280,7 @@ class CfnConfiguration(
|
|
|
2259
2280
|
|
|
2260
2281
|
@builtins.property
|
|
2261
2282
|
def value(self) -> builtins.str:
|
|
2262
|
-
'''
|
|
2263
|
-
|
|
2283
|
+
'''
|
|
2264
2284
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html#cfn-amazonmq-configuration-tagsentry-value
|
|
2265
2285
|
'''
|
|
2266
2286
|
result = self._values.get("value")
|
|
@@ -2279,18 +2299,13 @@ class CfnConfiguration(
|
|
|
2279
2299
|
)
|
|
2280
2300
|
|
|
2281
2301
|
|
|
2282
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
2302
|
+
@jsii.implements(_IInspectable_c2943556, _IConfigurationAssociationRef_98fafe4d)
|
|
2283
2303
|
class CfnConfigurationAssociation(
|
|
2284
2304
|
_CfnResource_9df397a6,
|
|
2285
2305
|
metaclass=jsii.JSIIMeta,
|
|
2286
2306
|
jsii_type="aws-cdk-lib.aws_amazonmq.CfnConfigurationAssociation",
|
|
2287
2307
|
):
|
|
2288
|
-
'''
|
|
2289
|
-
|
|
2290
|
-
Only use one per broker, and don't use a configuration on the broker resource if you have associated a configuration with that broker.
|
|
2291
|
-
.. epigraph::
|
|
2292
|
-
|
|
2293
|
-
Does not apply to RabbitMQ brokers.
|
|
2308
|
+
'''http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html.
|
|
2294
2309
|
|
|
2295
2310
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html
|
|
2296
2311
|
:cloudformationResource: AWS::AmazonMQ::ConfigurationAssociation
|
|
@@ -2319,11 +2334,12 @@ class CfnConfigurationAssociation(
|
|
|
2319
2334
|
broker: builtins.str,
|
|
2320
2335
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConfigurationAssociation.ConfigurationIdProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2321
2336
|
) -> None:
|
|
2322
|
-
'''
|
|
2337
|
+
'''Create a new ``AWS::AmazonMQ::ConfigurationAssociation``.
|
|
2338
|
+
|
|
2323
2339
|
:param scope: Scope in which this resource is defined.
|
|
2324
2340
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2325
|
-
:param broker:
|
|
2326
|
-
:param configuration:
|
|
2341
|
+
:param broker: ID of the Broker that the configuration should be applied to.
|
|
2342
|
+
:param configuration: Returns information about all configurations.
|
|
2327
2343
|
'''
|
|
2328
2344
|
if __debug__:
|
|
2329
2345
|
type_hints = typing.get_type_hints(_typecheckingstub__7bc27c46ef5e7e06d6d69ca58cb1eeb529e57c3a1b1af3771750fe74a0e5a436)
|
|
@@ -2368,7 +2384,8 @@ class CfnConfigurationAssociation(
|
|
|
2368
2384
|
@builtins.property
|
|
2369
2385
|
@jsii.member(jsii_name="attrId")
|
|
2370
2386
|
def attr_id(self) -> builtins.str:
|
|
2371
|
-
'''
|
|
2387
|
+
'''The ID of the ConfigurationAssociation Resource.
|
|
2388
|
+
|
|
2372
2389
|
:cloudformationAttribute: Id
|
|
2373
2390
|
'''
|
|
2374
2391
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -2378,10 +2395,18 @@ class CfnConfigurationAssociation(
|
|
|
2378
2395
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2379
2396
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2380
2397
|
|
|
2398
|
+
@builtins.property
|
|
2399
|
+
@jsii.member(jsii_name="configurationAssociationRef")
|
|
2400
|
+
def configuration_association_ref(
|
|
2401
|
+
self,
|
|
2402
|
+
) -> _ConfigurationAssociationReference_c6685840:
|
|
2403
|
+
'''A reference to a ConfigurationAssociation resource.'''
|
|
2404
|
+
return typing.cast(_ConfigurationAssociationReference_c6685840, jsii.get(self, "configurationAssociationRef"))
|
|
2405
|
+
|
|
2381
2406
|
@builtins.property
|
|
2382
2407
|
@jsii.member(jsii_name="broker")
|
|
2383
2408
|
def broker(self) -> builtins.str:
|
|
2384
|
-
'''
|
|
2409
|
+
'''ID of the Broker that the configuration should be applied to.'''
|
|
2385
2410
|
return typing.cast(builtins.str, jsii.get(self, "broker"))
|
|
2386
2411
|
|
|
2387
2412
|
@broker.setter
|
|
@@ -2396,7 +2421,7 @@ class CfnConfigurationAssociation(
|
|
|
2396
2421
|
def configuration(
|
|
2397
2422
|
self,
|
|
2398
2423
|
) -> typing.Union[_IResolvable_da3f097b, "CfnConfigurationAssociation.ConfigurationIdProperty"]:
|
|
2399
|
-
'''
|
|
2424
|
+
'''Returns information about all configurations.'''
|
|
2400
2425
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConfigurationAssociation.ConfigurationIdProperty"], jsii.get(self, "configuration"))
|
|
2401
2426
|
|
|
2402
2427
|
@configuration.setter
|
|
@@ -2416,9 +2441,9 @@ class CfnConfigurationAssociation(
|
|
|
2416
2441
|
)
|
|
2417
2442
|
class ConfigurationIdProperty:
|
|
2418
2443
|
def __init__(self, *, id: builtins.str, revision: jsii.Number) -> None:
|
|
2419
|
-
'''
|
|
2444
|
+
'''A list of information about the configuration.
|
|
2420
2445
|
|
|
2421
|
-
:param id: The unique ID that Amazon MQ generates for the configuration.
|
|
2446
|
+
:param id: Required. The unique ID that Amazon MQ generates for the configuration.
|
|
2422
2447
|
:param revision: The revision number of the configuration.
|
|
2423
2448
|
|
|
2424
2449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configurationassociation-configurationid.html
|
|
@@ -2446,7 +2471,9 @@ class CfnConfigurationAssociation(
|
|
|
2446
2471
|
|
|
2447
2472
|
@builtins.property
|
|
2448
2473
|
def id(self) -> builtins.str:
|
|
2449
|
-
'''
|
|
2474
|
+
'''Required.
|
|
2475
|
+
|
|
2476
|
+
The unique ID that Amazon MQ generates for the configuration.
|
|
2450
2477
|
|
|
2451
2478
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configurationassociation-configurationid.html#cfn-amazonmq-configurationassociation-configurationid-id
|
|
2452
2479
|
'''
|
|
@@ -2490,8 +2517,8 @@ class CfnConfigurationAssociationProps:
|
|
|
2490
2517
|
) -> None:
|
|
2491
2518
|
'''Properties for defining a ``CfnConfigurationAssociation``.
|
|
2492
2519
|
|
|
2493
|
-
:param broker:
|
|
2494
|
-
:param configuration:
|
|
2520
|
+
:param broker: ID of the Broker that the configuration should be applied to.
|
|
2521
|
+
:param configuration: Returns information about all configurations.
|
|
2495
2522
|
|
|
2496
2523
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html
|
|
2497
2524
|
:exampleMetadata: fixture=_generated
|
|
@@ -2521,7 +2548,7 @@ class CfnConfigurationAssociationProps:
|
|
|
2521
2548
|
|
|
2522
2549
|
@builtins.property
|
|
2523
2550
|
def broker(self) -> builtins.str:
|
|
2524
|
-
'''
|
|
2551
|
+
'''ID of the Broker that the configuration should be applied to.
|
|
2525
2552
|
|
|
2526
2553
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html#cfn-amazonmq-configurationassociation-broker
|
|
2527
2554
|
'''
|
|
@@ -2533,7 +2560,7 @@ class CfnConfigurationAssociationProps:
|
|
|
2533
2560
|
def configuration(
|
|
2534
2561
|
self,
|
|
2535
2562
|
) -> typing.Union[_IResolvable_da3f097b, CfnConfigurationAssociation.ConfigurationIdProperty]:
|
|
2536
|
-
'''
|
|
2563
|
+
'''Returns information about all configurations.
|
|
2537
2564
|
|
|
2538
2565
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html#cfn-amazonmq-configurationassociation-configuration
|
|
2539
2566
|
'''
|
|
@@ -2580,12 +2607,12 @@ class CfnConfigurationProps:
|
|
|
2580
2607
|
) -> None:
|
|
2581
2608
|
'''Properties for defining a ``CfnConfiguration``.
|
|
2582
2609
|
|
|
2583
|
-
:param engine_type: The type of broker engine.
|
|
2584
|
-
:param name: The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
2610
|
+
:param engine_type: Required. The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
2611
|
+
:param name: Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
2585
2612
|
:param authentication_strategy: Optional. The authentication strategy associated with the configuration. The default is ``SIMPLE`` .
|
|
2586
|
-
:param data: The base64-encoded XML configuration.
|
|
2613
|
+
:param data: Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.
|
|
2587
2614
|
:param description: The description of the configuration.
|
|
2588
|
-
:param engine_version: The version
|
|
2615
|
+
:param engine_version: The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
2589
2616
|
:param tags: Create tags when creating the configuration.
|
|
2590
2617
|
|
|
2591
2618
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html
|
|
@@ -2638,9 +2665,9 @@ class CfnConfigurationProps:
|
|
|
2638
2665
|
|
|
2639
2666
|
@builtins.property
|
|
2640
2667
|
def engine_type(self) -> builtins.str:
|
|
2641
|
-
'''
|
|
2668
|
+
'''Required.
|
|
2642
2669
|
|
|
2643
|
-
|
|
2670
|
+
The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
2644
2671
|
|
|
2645
2672
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-enginetype
|
|
2646
2673
|
'''
|
|
@@ -2650,9 +2677,9 @@ class CfnConfigurationProps:
|
|
|
2650
2677
|
|
|
2651
2678
|
@builtins.property
|
|
2652
2679
|
def name(self) -> builtins.str:
|
|
2653
|
-
'''
|
|
2680
|
+
'''Required.
|
|
2654
2681
|
|
|
2655
|
-
This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
2682
|
+
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
|
|
2656
2683
|
|
|
2657
2684
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-name
|
|
2658
2685
|
'''
|
|
@@ -2673,7 +2700,9 @@ class CfnConfigurationProps:
|
|
|
2673
2700
|
|
|
2674
2701
|
@builtins.property
|
|
2675
2702
|
def data(self) -> typing.Optional[builtins.str]:
|
|
2676
|
-
'''The base64-encoded XML configuration.
|
|
2703
|
+
'''Amazon MQ for Active MQ: The base64-encoded XML configuration.
|
|
2704
|
+
|
|
2705
|
+
Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.
|
|
2677
2706
|
|
|
2678
2707
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-data
|
|
2679
2708
|
'''
|
|
@@ -2691,9 +2720,9 @@ class CfnConfigurationProps:
|
|
|
2691
2720
|
|
|
2692
2721
|
@builtins.property
|
|
2693
2722
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
2694
|
-
'''The
|
|
2723
|
+
'''The broker engine version.
|
|
2695
2724
|
|
|
2696
|
-
|
|
2725
|
+
Defaults to the latest available version for the specified broker engine type. For more information, see the `ActiveMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html>`_ and the `RabbitMQ version management <https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html>`_ sections in the Amazon MQ Developer Guide.
|
|
2697
2726
|
|
|
2698
2727
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-engineversion
|
|
2699
2728
|
'''
|
|
@@ -2741,7 +2770,6 @@ def _typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce8753
|
|
|
2741
2770
|
engine_type: builtins.str,
|
|
2742
2771
|
host_instance_type: builtins.str,
|
|
2743
2772
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2744
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2745
2773
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
2746
2774
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2747
2775
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.ConfigurationIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2756,6 +2784,7 @@ def _typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce8753
|
|
|
2756
2784
|
storage_type: typing.Optional[builtins.str] = None,
|
|
2757
2785
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2758
2786
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnBroker.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2787
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2759
2788
|
) -> None:
|
|
2760
2789
|
"""Type checking stubs"""
|
|
2761
2790
|
pass
|
|
@@ -2802,12 +2831,6 @@ def _typecheckingstub__4a82a112ececec828f3c746f7c18e6b6ce32a5aa08550a05a69d7babd
|
|
|
2802
2831
|
"""Type checking stubs"""
|
|
2803
2832
|
pass
|
|
2804
2833
|
|
|
2805
|
-
def _typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b(
|
|
2806
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]],
|
|
2807
|
-
) -> None:
|
|
2808
|
-
"""Type checking stubs"""
|
|
2809
|
-
pass
|
|
2810
|
-
|
|
2811
2834
|
def _typecheckingstub__3eab9258c47a74b1aabb4a39e66512dbb010a0f1c8838ec359338808e1f64681(
|
|
2812
2835
|
value: typing.Optional[builtins.str],
|
|
2813
2836
|
) -> None:
|
|
@@ -2892,6 +2915,12 @@ def _typecheckingstub__739d50e75e2a93ab9671710563ad1ed5176802aef44a2986de718c86a
|
|
|
2892
2915
|
"""Type checking stubs"""
|
|
2893
2916
|
pass
|
|
2894
2917
|
|
|
2918
|
+
def _typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b(
|
|
2919
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]]],
|
|
2920
|
+
) -> None:
|
|
2921
|
+
"""Type checking stubs"""
|
|
2922
|
+
pass
|
|
2923
|
+
|
|
2895
2924
|
def _typecheckingstub__f9d5131bf29ed360bf06fb2fc10b8d6ac62da622a4f41bd0e435a4436ba5511c(
|
|
2896
2925
|
*,
|
|
2897
2926
|
id: builtins.str,
|
|
@@ -2913,12 +2942,12 @@ def _typecheckingstub__282093319da5ca5716ae9202b23fde6f2380a3a720f7bac369f166119
|
|
|
2913
2942
|
hosts: typing.Sequence[builtins.str],
|
|
2914
2943
|
role_base: builtins.str,
|
|
2915
2944
|
role_search_matching: builtins.str,
|
|
2916
|
-
service_account_password: builtins.str,
|
|
2917
2945
|
service_account_username: builtins.str,
|
|
2918
2946
|
user_base: builtins.str,
|
|
2919
2947
|
user_search_matching: builtins.str,
|
|
2920
2948
|
role_name: typing.Optional[builtins.str] = None,
|
|
2921
2949
|
role_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2950
|
+
service_account_password: typing.Optional[builtins.str] = None,
|
|
2922
2951
|
user_role_name: typing.Optional[builtins.str] = None,
|
|
2923
2952
|
user_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2924
2953
|
) -> None:
|
|
@@ -2956,7 +2985,6 @@ def _typecheckingstub__8a458786a0cd0d4269adef0bf3c85862386851ab69649004d5d3dcba4
|
|
|
2956
2985
|
username: builtins.str,
|
|
2957
2986
|
console_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2958
2987
|
groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2959
|
-
jolokia_api_access: typing.Optional[builtins.str] = None,
|
|
2960
2988
|
replication_user: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2961
2989
|
) -> None:
|
|
2962
2990
|
"""Type checking stubs"""
|
|
@@ -2969,7 +2997,6 @@ def _typecheckingstub__d255f8718bac4d1453cb7e2ae3f8fb5a5ac0ed5b3551f73d52e4123fa
|
|
|
2969
2997
|
engine_type: builtins.str,
|
|
2970
2998
|
host_instance_type: builtins.str,
|
|
2971
2999
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2972
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2973
3000
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
2974
3001
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2975
3002
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.ConfigurationIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2984,6 +3011,7 @@ def _typecheckingstub__d255f8718bac4d1453cb7e2ae3f8fb5a5ac0ed5b3551f73d52e4123fa
|
|
|
2984
3011
|
storage_type: typing.Optional[builtins.str] = None,
|
|
2985
3012
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2986
3013
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnBroker.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3014
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2987
3015
|
) -> None:
|
|
2988
3016
|
"""Type checking stubs"""
|
|
2989
3017
|
pass
|
|
@@ -3003,6 +3031,22 @@ def _typecheckingstub__e5d8c71c30a8f2bd8b3e455320ae87cc2204a9546d3ee226605a95753
|
|
|
3003
3031
|
"""Type checking stubs"""
|
|
3004
3032
|
pass
|
|
3005
3033
|
|
|
3034
|
+
def _typecheckingstub__952d6fa5f0120d9649475d290d7db9a47e3510ed333c700851b2aaa6a8ceeea1(
|
|
3035
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3036
|
+
id: builtins.str,
|
|
3037
|
+
arn: builtins.str,
|
|
3038
|
+
) -> None:
|
|
3039
|
+
"""Type checking stubs"""
|
|
3040
|
+
pass
|
|
3041
|
+
|
|
3042
|
+
def _typecheckingstub__3a206d532f247ca241ebd211136e297c9461a4b800008d2c7db68e5a8ba25948(
|
|
3043
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3044
|
+
id: builtins.str,
|
|
3045
|
+
configuration_id: builtins.str,
|
|
3046
|
+
) -> None:
|
|
3047
|
+
"""Type checking stubs"""
|
|
3048
|
+
pass
|
|
3049
|
+
|
|
3006
3050
|
def _typecheckingstub__df4e9311d1aa33bca48575d715d3a7e801184dc0b0d7ccbd91d39c5dd0ca05ce(
|
|
3007
3051
|
inspector: _TreeInspector_488e0dd5,
|
|
3008
3052
|
) -> None:
|