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_opsworks/__init__.py
CHANGED
|
@@ -67,9 +67,25 @@ from .. import (
|
|
|
67
67
|
TagManager as _TagManager_0a598cb3,
|
|
68
68
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
69
69
|
)
|
|
70
|
+
from ..interfaces.aws_opsworks import (
|
|
71
|
+
AppReference as _AppReference_a581ee2c,
|
|
72
|
+
ElasticLoadBalancerAttachmentReference as _ElasticLoadBalancerAttachmentReference_1524b89b,
|
|
73
|
+
IAppRef as _IAppRef_f0efd87f,
|
|
74
|
+
IElasticLoadBalancerAttachmentRef as _IElasticLoadBalancerAttachmentRef_df57354e,
|
|
75
|
+
IInstanceRef as _IInstanceRef_84680566,
|
|
76
|
+
ILayerRef as _ILayerRef_6583e45f,
|
|
77
|
+
IStackRef as _IStackRef_2db8adee,
|
|
78
|
+
IUserProfileRef as _IUserProfileRef_e46d4314,
|
|
79
|
+
IVolumeRef as _IVolumeRef_2ada0a69,
|
|
80
|
+
InstanceReference as _InstanceReference_b90fe411,
|
|
81
|
+
LayerReference as _LayerReference_a6340078,
|
|
82
|
+
StackReference as _StackReference_a7b46089,
|
|
83
|
+
UserProfileReference as _UserProfileReference_1302fa6f,
|
|
84
|
+
VolumeReference as _VolumeReference_7ca25fdc,
|
|
85
|
+
)
|
|
70
86
|
|
|
71
87
|
|
|
72
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
88
|
+
@jsii.implements(_IInspectable_c2943556, _IAppRef_f0efd87f)
|
|
73
89
|
class CfnApp(
|
|
74
90
|
_CfnResource_9df397a6,
|
|
75
91
|
metaclass=jsii.JSIIMeta,
|
|
@@ -146,12 +162,13 @@ class CfnApp(
|
|
|
146
162
|
shortname: typing.Optional[builtins.str] = None,
|
|
147
163
|
ssl_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.SslConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
164
|
) -> None:
|
|
149
|
-
'''
|
|
165
|
+
'''Create a new ``AWS::OpsWorks::App``.
|
|
166
|
+
|
|
150
167
|
:param scope: Scope in which this resource is defined.
|
|
151
168
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
152
169
|
:param name: The app name.
|
|
153
170
|
:param stack_id: The stack ID.
|
|
154
|
-
:param type: The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer.
|
|
171
|
+
:param type: The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify ``other`` .
|
|
155
172
|
:param app_source: A ``Source`` object that specifies the app repository.
|
|
156
173
|
:param attributes: One or more user-defined key/value pairs to be added to the stack attributes.
|
|
157
174
|
:param data_sources: The app's data source.
|
|
@@ -213,6 +230,12 @@ class CfnApp(
|
|
|
213
230
|
'''The CloudFormation resource type name for this resource class.'''
|
|
214
231
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
215
232
|
|
|
233
|
+
@builtins.property
|
|
234
|
+
@jsii.member(jsii_name="appRef")
|
|
235
|
+
def app_ref(self) -> _AppReference_a581ee2c:
|
|
236
|
+
'''A reference to a App resource.'''
|
|
237
|
+
return typing.cast(_AppReference_a581ee2c, jsii.get(self, "appRef"))
|
|
238
|
+
|
|
216
239
|
@builtins.property
|
|
217
240
|
@jsii.member(jsii_name="attrId")
|
|
218
241
|
def attr_id(self) -> builtins.str:
|
|
@@ -615,9 +638,9 @@ class CfnApp(
|
|
|
615
638
|
username: typing.Optional[builtins.str] = None,
|
|
616
639
|
) -> None:
|
|
617
640
|
'''
|
|
618
|
-
:param password: When included in a request, the parameter depends on the repository type. - For Amazon S3 bundles, set ``Password`` to the appropriate IAM secret access key. - For HTTP bundles and Subversion repositories, set ``Password`` to the password. For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ . In responses,
|
|
619
|
-
:param revision: The application's version.
|
|
620
|
-
:param ssh_key: In requests, the repository's SSH key. In responses,
|
|
641
|
+
:param password: When included in a request, the parameter depends on the repository type. - For Amazon S3 bundles, set ``Password`` to the appropriate IAM secret access key. - For HTTP bundles and Subversion repositories, set ``Password`` to the password. For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ . In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
642
|
+
:param revision: The application's version. OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
|
|
643
|
+
:param ssh_key: In requests, the repository's SSH key. In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
621
644
|
:param type: The repository type.
|
|
622
645
|
:param url: The source URL. The following is an example of an Amazon S3 source URL: ``https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz`` .
|
|
623
646
|
:param username: This parameter depends on the repository type. - For Amazon S3 bundles, set ``Username`` to the appropriate IAM access key ID. - For HTTP bundles, Git repositories, and Subversion repositories, set ``Username`` to the user name.
|
|
@@ -671,7 +694,7 @@ class CfnApp(
|
|
|
671
694
|
|
|
672
695
|
For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ .
|
|
673
696
|
|
|
674
|
-
In responses,
|
|
697
|
+
In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
675
698
|
|
|
676
699
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-password
|
|
677
700
|
'''
|
|
@@ -682,7 +705,7 @@ class CfnApp(
|
|
|
682
705
|
def revision(self) -> typing.Optional[builtins.str]:
|
|
683
706
|
'''The application's version.
|
|
684
707
|
|
|
685
|
-
|
|
708
|
+
OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
|
|
686
709
|
|
|
687
710
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-revision
|
|
688
711
|
'''
|
|
@@ -693,7 +716,7 @@ class CfnApp(
|
|
|
693
716
|
def ssh_key(self) -> typing.Optional[builtins.str]:
|
|
694
717
|
'''In requests, the repository's SSH key.
|
|
695
718
|
|
|
696
|
-
In responses,
|
|
719
|
+
In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
697
720
|
|
|
698
721
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-source.html#cfn-opsworks-app-source-sshkey
|
|
699
722
|
'''
|
|
@@ -875,7 +898,7 @@ class CfnAppProps:
|
|
|
875
898
|
|
|
876
899
|
:param name: The app name.
|
|
877
900
|
:param stack_id: The stack ID.
|
|
878
|
-
:param type: The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer.
|
|
901
|
+
:param type: The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify ``other`` .
|
|
879
902
|
:param app_source: A ``Source`` object that specifies the app repository.
|
|
880
903
|
:param attributes: One or more user-defined key/value pairs to be added to the stack attributes.
|
|
881
904
|
:param data_sources: The app's data source.
|
|
@@ -997,7 +1020,7 @@ class CfnAppProps:
|
|
|
997
1020
|
def type(self) -> builtins.str:
|
|
998
1021
|
'''The app type.
|
|
999
1022
|
|
|
1000
|
-
Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer.
|
|
1023
|
+
Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify ``other`` .
|
|
1001
1024
|
|
|
1002
1025
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-type
|
|
1003
1026
|
'''
|
|
@@ -1119,7 +1142,7 @@ class CfnAppProps:
|
|
|
1119
1142
|
)
|
|
1120
1143
|
|
|
1121
1144
|
|
|
1122
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1145
|
+
@jsii.implements(_IInspectable_c2943556, _IElasticLoadBalancerAttachmentRef_df57354e)
|
|
1123
1146
|
class CfnElasticLoadBalancerAttachment(
|
|
1124
1147
|
_CfnResource_9df397a6,
|
|
1125
1148
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1151,11 +1174,12 @@ class CfnElasticLoadBalancerAttachment(
|
|
|
1151
1174
|
elastic_load_balancer_name: builtins.str,
|
|
1152
1175
|
layer_id: builtins.str,
|
|
1153
1176
|
) -> None:
|
|
1154
|
-
'''
|
|
1177
|
+
'''Create a new ``AWS::OpsWorks::ElasticLoadBalancerAttachment``.
|
|
1178
|
+
|
|
1155
1179
|
:param scope: Scope in which this resource is defined.
|
|
1156
1180
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1157
1181
|
:param elastic_load_balancer_name: The Elastic Load Balancing instance name.
|
|
1158
|
-
:param layer_id: The
|
|
1182
|
+
:param layer_id: The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.
|
|
1159
1183
|
'''
|
|
1160
1184
|
if __debug__:
|
|
1161
1185
|
type_hints = typing.get_type_hints(_typecheckingstub__486f7e1e8e8052927626441be8be1b13d2a9ce484c4915a83fb32a7def2f835d)
|
|
@@ -1210,6 +1234,14 @@ class CfnElasticLoadBalancerAttachment(
|
|
|
1210
1234
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1211
1235
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1212
1236
|
|
|
1237
|
+
@builtins.property
|
|
1238
|
+
@jsii.member(jsii_name="elasticLoadBalancerAttachmentRef")
|
|
1239
|
+
def elastic_load_balancer_attachment_ref(
|
|
1240
|
+
self,
|
|
1241
|
+
) -> _ElasticLoadBalancerAttachmentReference_1524b89b:
|
|
1242
|
+
'''A reference to a ElasticLoadBalancerAttachment resource.'''
|
|
1243
|
+
return typing.cast(_ElasticLoadBalancerAttachmentReference_1524b89b, jsii.get(self, "elasticLoadBalancerAttachmentRef"))
|
|
1244
|
+
|
|
1213
1245
|
@builtins.property
|
|
1214
1246
|
@jsii.member(jsii_name="elasticLoadBalancerName")
|
|
1215
1247
|
def elastic_load_balancer_name(self) -> builtins.str:
|
|
@@ -1226,7 +1258,7 @@ class CfnElasticLoadBalancerAttachment(
|
|
|
1226
1258
|
@builtins.property
|
|
1227
1259
|
@jsii.member(jsii_name="layerId")
|
|
1228
1260
|
def layer_id(self) -> builtins.str:
|
|
1229
|
-
'''The
|
|
1261
|
+
'''The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.'''
|
|
1230
1262
|
return typing.cast(builtins.str, jsii.get(self, "layerId"))
|
|
1231
1263
|
|
|
1232
1264
|
@layer_id.setter
|
|
@@ -1255,7 +1287,7 @@ class CfnElasticLoadBalancerAttachmentProps:
|
|
|
1255
1287
|
'''Properties for defining a ``CfnElasticLoadBalancerAttachment``.
|
|
1256
1288
|
|
|
1257
1289
|
:param elastic_load_balancer_name: The Elastic Load Balancing instance name.
|
|
1258
|
-
:param layer_id: The
|
|
1290
|
+
:param layer_id: The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.
|
|
1259
1291
|
|
|
1260
1292
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elasticloadbalancerattachment.html
|
|
1261
1293
|
:exampleMetadata: fixture=_generated
|
|
@@ -1292,7 +1324,7 @@ class CfnElasticLoadBalancerAttachmentProps:
|
|
|
1292
1324
|
|
|
1293
1325
|
@builtins.property
|
|
1294
1326
|
def layer_id(self) -> builtins.str:
|
|
1295
|
-
'''The
|
|
1327
|
+
'''The OpsWorks layer ID to which the Elastic Load Balancing load balancer is attached.
|
|
1296
1328
|
|
|
1297
1329
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elasticloadbalancerattachment.html#cfn-opsworks-elasticloadbalancerattachment-layerid
|
|
1298
1330
|
'''
|
|
@@ -1312,7 +1344,7 @@ class CfnElasticLoadBalancerAttachmentProps:
|
|
|
1312
1344
|
)
|
|
1313
1345
|
|
|
1314
1346
|
|
|
1315
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1347
|
+
@jsii.implements(_IInspectable_c2943556, _IInstanceRef_84680566)
|
|
1316
1348
|
class CfnInstance(
|
|
1317
1349
|
_CfnResource_9df397a6,
|
|
1318
1350
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1417,30 +1449,31 @@ class CfnInstance(
|
|
|
1417
1449
|
virtualization_type: typing.Optional[builtins.str] = None,
|
|
1418
1450
|
volumes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1419
1451
|
) -> None:
|
|
1420
|
-
'''
|
|
1452
|
+
'''Create a new ``AWS::OpsWorks::Instance``.
|
|
1453
|
+
|
|
1421
1454
|
:param scope: Scope in which this resource is defined.
|
|
1422
1455
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1423
1456
|
:param instance_type: The instance type, such as ``t2.micro`` . For a list of supported instance types, open the stack in the console, choose *Instances* , and choose *+ Instance* . The *Size* list contains the currently supported types. For more information, see `Instance Families and Types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ . The parameter values that you use to specify the various types are in the *API Name* column of the *Available Instance Types* table.
|
|
1424
1457
|
:param layer_ids: An array that contains the instance's layer IDs.
|
|
1425
1458
|
:param stack_id: The stack ID.
|
|
1426
|
-
:param agent_version: The default
|
|
1459
|
+
:param agent_version: The default OpsWorks Stacks agent version. You have the following options:. - ``INHERIT`` - Use the stack's default agent version setting. - *version_number* - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version. OpsWorks Stacks installs that version on the instance. The default setting is ``INHERIT`` . To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2.
|
|
1427
1460
|
:param ami_id: A custom AMI ID to be used to create the instance. The AMI should be based on one of the supported operating systems. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . .. epigraph:: If you specify a custom AMI, you must set ``Os`` to ``Custom`` .
|
|
1428
1461
|
:param architecture: The instance architecture. The default option is ``x86_64`` . Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see `Instance Families and Types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ .
|
|
1429
1462
|
:param auto_scaling_type: For load-based or time-based instances, the type. Windows stacks can use only time-based instances.
|
|
1430
|
-
:param availability_zone: The Availability Zone of the
|
|
1463
|
+
:param availability_zone: The Availability Zone of the OpsWorks instance, such as ``us-east-2a`` .
|
|
1431
1464
|
:param block_device_mappings: An array of ``BlockDeviceMapping`` objects that specify the instance's block devices. For more information, see `Block Device Mapping <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ . Note that block device mappings are not supported for custom AMIs.
|
|
1432
1465
|
:param ebs_optimized: Whether to create an Amazon EBS-optimized instance.
|
|
1433
1466
|
:param elastic_ips: A list of Elastic IP addresses to associate with the instance.
|
|
1434
1467
|
:param hostname: The instance host name. The following are character limits for instance host names. - Linux-based instances: 63 characters - Windows-based instances: 15 characters
|
|
1435
1468
|
:param install_updates_on_boot: Whether to install operating system and package updates when the instance boots. The default value is ``true`` . To control when updates are installed, set this value to ``false`` . You must then update your instances manually by using ``CreateDeployment`` to run the ``update_dependencies`` stack command or by manually running ``yum`` (Amazon Linux) or ``apt-get`` (Ubuntu) on the instances. .. epigraph:: We strongly recommend using the default value of ``true`` to ensure that your instances have the latest security updates.
|
|
1436
|
-
:param os: The instance's operating system, which must be set to one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `
|
|
1469
|
+
:param os: The instance's operating system, which must be set to one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ . The default option is the current Amazon Linux version. If you set this parameter to ``Custom`` , you must use the ``CreateInstance`` action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is ``Custom`` . For more information about how to use custom AMIs with OpsWorks Stacks, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ .
|
|
1437
1470
|
:param root_device_type: The instance root device type. For more information, see `Storage for the Root Device <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device>`_ .
|
|
1438
1471
|
:param ssh_key_name: The instance's Amazon EC2 key-pair name.
|
|
1439
|
-
:param subnet_id: The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct
|
|
1472
|
+
:param subnet_id: The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct OpsWorks Stacks to launch the instance in a different subnet.
|
|
1440
1473
|
:param tenancy: The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: ``dedicated`` , ``default`` , or ``host`` . Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see `Dedicated Hosts Overview <https://docs.aws.amazon.com/ec2/dedicated-hosts/>`_ and `Amazon EC2 Dedicated Hosts <https://docs.aws.amazon.com/ec2/dedicated-hosts/>`_ . For more information about dedicated instances, see `Dedicated Instances <https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html>`_ and `Amazon EC2 Dedicated Instances <https://docs.aws.amazon.com/ec2/purchasing-options/dedicated-instances/>`_ .
|
|
1441
1474
|
:param time_based_auto_scaling: The time-based scaling configuration for the instance.
|
|
1442
1475
|
:param virtualization_type: The instance's virtualization type, ``paravirtual`` or ``hvm`` .
|
|
1443
|
-
:param volumes: A list of
|
|
1476
|
+
:param volumes: A list of OpsWorks volume IDs to associate with the instance. For more information, see ```AWS::OpsWorks::Volume`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html>`_ .
|
|
1444
1477
|
'''
|
|
1445
1478
|
if __debug__:
|
|
1446
1479
|
type_hints = typing.get_type_hints(_typecheckingstub__c8b34de3ee05594312f14cce61c717304294b3891e9f25d66dd351119744660a)
|
|
@@ -1505,7 +1538,7 @@ class CfnInstance(
|
|
|
1505
1538
|
@builtins.property
|
|
1506
1539
|
@jsii.member(jsii_name="attrAvailabilityZone")
|
|
1507
1540
|
def attr_availability_zone(self) -> builtins.str:
|
|
1508
|
-
'''The Availability Zone of the
|
|
1541
|
+
'''The Availability Zone of the OpsWorks instance, such as ``us-east-2a`` .
|
|
1509
1542
|
|
|
1510
1543
|
:cloudformationAttribute: AvailabilityZone
|
|
1511
1544
|
'''
|
|
@@ -1522,7 +1555,7 @@ class CfnInstance(
|
|
|
1522
1555
|
@builtins.property
|
|
1523
1556
|
@jsii.member(jsii_name="attrPrivateDnsName")
|
|
1524
1557
|
def attr_private_dns_name(self) -> builtins.str:
|
|
1525
|
-
'''The private DNS name of the
|
|
1558
|
+
'''The private DNS name of the OpsWorks instance.
|
|
1526
1559
|
|
|
1527
1560
|
:cloudformationAttribute: PrivateDnsName
|
|
1528
1561
|
'''
|
|
@@ -1531,7 +1564,7 @@ class CfnInstance(
|
|
|
1531
1564
|
@builtins.property
|
|
1532
1565
|
@jsii.member(jsii_name="attrPrivateIp")
|
|
1533
1566
|
def attr_private_ip(self) -> builtins.str:
|
|
1534
|
-
'''The private IP address of the
|
|
1567
|
+
'''The private IP address of the OpsWorks instance, such as ``192.0.2.0`` .
|
|
1535
1568
|
|
|
1536
1569
|
:cloudformationAttribute: PrivateIp
|
|
1537
1570
|
'''
|
|
@@ -1540,7 +1573,7 @@ class CfnInstance(
|
|
|
1540
1573
|
@builtins.property
|
|
1541
1574
|
@jsii.member(jsii_name="attrPublicDnsName")
|
|
1542
1575
|
def attr_public_dns_name(self) -> builtins.str:
|
|
1543
|
-
'''The public DNS name of the
|
|
1576
|
+
'''The public DNS name of the OpsWorks instance.
|
|
1544
1577
|
|
|
1545
1578
|
:cloudformationAttribute: PublicDnsName
|
|
1546
1579
|
'''
|
|
@@ -1549,11 +1582,11 @@ class CfnInstance(
|
|
|
1549
1582
|
@builtins.property
|
|
1550
1583
|
@jsii.member(jsii_name="attrPublicIp")
|
|
1551
1584
|
def attr_public_ip(self) -> builtins.str:
|
|
1552
|
-
'''The public IP address of the
|
|
1585
|
+
'''The public IP address of the OpsWorks instance, such as ``192.0.2.0`` .
|
|
1553
1586
|
|
|
1554
1587
|
.. epigraph::
|
|
1555
1588
|
|
|
1556
|
-
Use this attribute only when the
|
|
1589
|
+
Use this attribute only when the OpsWorks instance is in an OpsWorks layer that auto-assigns public IP addresses.
|
|
1557
1590
|
|
|
1558
1591
|
:cloudformationAttribute: PublicIp
|
|
1559
1592
|
'''
|
|
@@ -1564,6 +1597,12 @@ class CfnInstance(
|
|
|
1564
1597
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1565
1598
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1566
1599
|
|
|
1600
|
+
@builtins.property
|
|
1601
|
+
@jsii.member(jsii_name="instanceRef")
|
|
1602
|
+
def instance_ref(self) -> _InstanceReference_b90fe411:
|
|
1603
|
+
'''A reference to a Instance resource.'''
|
|
1604
|
+
return typing.cast(_InstanceReference_b90fe411, jsii.get(self, "instanceRef"))
|
|
1605
|
+
|
|
1567
1606
|
@builtins.property
|
|
1568
1607
|
@jsii.member(jsii_name="instanceType")
|
|
1569
1608
|
def instance_type(self) -> builtins.str:
|
|
@@ -1606,7 +1645,7 @@ class CfnInstance(
|
|
|
1606
1645
|
@builtins.property
|
|
1607
1646
|
@jsii.member(jsii_name="agentVersion")
|
|
1608
1647
|
def agent_version(self) -> typing.Optional[builtins.str]:
|
|
1609
|
-
'''The default
|
|
1648
|
+
'''The default OpsWorks Stacks agent version.
|
|
1610
1649
|
|
|
1611
1650
|
You have the following options:.
|
|
1612
1651
|
'''
|
|
@@ -1661,7 +1700,7 @@ class CfnInstance(
|
|
|
1661
1700
|
@builtins.property
|
|
1662
1701
|
@jsii.member(jsii_name="availabilityZone")
|
|
1663
1702
|
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
1664
|
-
'''The Availability Zone of the
|
|
1703
|
+
'''The Availability Zone of the OpsWorks instance, such as ``us-east-2a`` .'''
|
|
1665
1704
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "availabilityZone"))
|
|
1666
1705
|
|
|
1667
1706
|
@availability_zone.setter
|
|
@@ -1853,7 +1892,7 @@ class CfnInstance(
|
|
|
1853
1892
|
@builtins.property
|
|
1854
1893
|
@jsii.member(jsii_name="volumes")
|
|
1855
1894
|
def volumes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1856
|
-
'''A list of
|
|
1895
|
+
'''A list of OpsWorks volume IDs to associate with the instance.'''
|
|
1857
1896
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "volumes"))
|
|
1858
1897
|
|
|
1859
1898
|
@volumes.setter
|
|
@@ -1883,7 +1922,7 @@ class CfnInstance(
|
|
|
1883
1922
|
virtual_name: typing.Optional[builtins.str] = None,
|
|
1884
1923
|
) -> None:
|
|
1885
1924
|
'''
|
|
1886
|
-
:param device_name: The device name that is exposed to the instance, such as ``/dev/sdh`` . For the root device, you can use the explicit device name or you can set this parameter to ``ROOT_DEVICE`` and
|
|
1925
|
+
:param device_name: The device name that is exposed to the instance, such as ``/dev/sdh`` . For the root device, you can use the explicit device name or you can set this parameter to ``ROOT_DEVICE`` and OpsWorks Stacks will provide the correct device name.
|
|
1887
1926
|
:param ebs: An ``EBSBlockDevice`` that defines how to configure an Amazon EBS volume when the instance is launched. You can specify either the ``VirtualName`` or ``Ebs`` , but not both.
|
|
1888
1927
|
:param no_device: Suppresses the specified device included in the AMI's block device mapping.
|
|
1889
1928
|
:param virtual_name: The virtual device name. For more information, see `BlockDeviceMapping <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html>`_ . You can specify either the ``VirtualName`` or ``Ebs`` , but not both.
|
|
@@ -1930,7 +1969,7 @@ class CfnInstance(
|
|
|
1930
1969
|
def device_name(self) -> typing.Optional[builtins.str]:
|
|
1931
1970
|
'''The device name that is exposed to the instance, such as ``/dev/sdh`` .
|
|
1932
1971
|
|
|
1933
|
-
For the root device, you can use the explicit device name or you can set this parameter to ``ROOT_DEVICE`` and
|
|
1972
|
+
For the root device, you can use the explicit device name or you can set this parameter to ``ROOT_DEVICE`` and OpsWorks Stacks will provide the correct device name.
|
|
1934
1973
|
|
|
1935
1974
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-devicename
|
|
1936
1975
|
'''
|
|
@@ -2350,24 +2389,24 @@ class CfnInstanceProps:
|
|
|
2350
2389
|
:param instance_type: The instance type, such as ``t2.micro`` . For a list of supported instance types, open the stack in the console, choose *Instances* , and choose *+ Instance* . The *Size* list contains the currently supported types. For more information, see `Instance Families and Types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ . The parameter values that you use to specify the various types are in the *API Name* column of the *Available Instance Types* table.
|
|
2351
2390
|
:param layer_ids: An array that contains the instance's layer IDs.
|
|
2352
2391
|
:param stack_id: The stack ID.
|
|
2353
|
-
:param agent_version: The default
|
|
2392
|
+
:param agent_version: The default OpsWorks Stacks agent version. You have the following options:. - ``INHERIT`` - Use the stack's default agent version setting. - *version_number* - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version. OpsWorks Stacks installs that version on the instance. The default setting is ``INHERIT`` . To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2.
|
|
2354
2393
|
:param ami_id: A custom AMI ID to be used to create the instance. The AMI should be based on one of the supported operating systems. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . .. epigraph:: If you specify a custom AMI, you must set ``Os`` to ``Custom`` .
|
|
2355
2394
|
:param architecture: The instance architecture. The default option is ``x86_64`` . Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see `Instance Families and Types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ .
|
|
2356
2395
|
:param auto_scaling_type: For load-based or time-based instances, the type. Windows stacks can use only time-based instances.
|
|
2357
|
-
:param availability_zone: The Availability Zone of the
|
|
2396
|
+
:param availability_zone: The Availability Zone of the OpsWorks instance, such as ``us-east-2a`` .
|
|
2358
2397
|
:param block_device_mappings: An array of ``BlockDeviceMapping`` objects that specify the instance's block devices. For more information, see `Block Device Mapping <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ . Note that block device mappings are not supported for custom AMIs.
|
|
2359
2398
|
:param ebs_optimized: Whether to create an Amazon EBS-optimized instance.
|
|
2360
2399
|
:param elastic_ips: A list of Elastic IP addresses to associate with the instance.
|
|
2361
2400
|
:param hostname: The instance host name. The following are character limits for instance host names. - Linux-based instances: 63 characters - Windows-based instances: 15 characters
|
|
2362
2401
|
:param install_updates_on_boot: Whether to install operating system and package updates when the instance boots. The default value is ``true`` . To control when updates are installed, set this value to ``false`` . You must then update your instances manually by using ``CreateDeployment`` to run the ``update_dependencies`` stack command or by manually running ``yum`` (Amazon Linux) or ``apt-get`` (Ubuntu) on the instances. .. epigraph:: We strongly recommend using the default value of ``true`` to ensure that your instances have the latest security updates.
|
|
2363
|
-
:param os: The instance's operating system, which must be set to one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `
|
|
2402
|
+
:param os: The instance's operating system, which must be set to one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ . The default option is the current Amazon Linux version. If you set this parameter to ``Custom`` , you must use the ``CreateInstance`` action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is ``Custom`` . For more information about how to use custom AMIs with OpsWorks Stacks, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ .
|
|
2364
2403
|
:param root_device_type: The instance root device type. For more information, see `Storage for the Root Device <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device>`_ .
|
|
2365
2404
|
:param ssh_key_name: The instance's Amazon EC2 key-pair name.
|
|
2366
|
-
:param subnet_id: The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct
|
|
2405
|
+
:param subnet_id: The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct OpsWorks Stacks to launch the instance in a different subnet.
|
|
2367
2406
|
:param tenancy: The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: ``dedicated`` , ``default`` , or ``host`` . Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see `Dedicated Hosts Overview <https://docs.aws.amazon.com/ec2/dedicated-hosts/>`_ and `Amazon EC2 Dedicated Hosts <https://docs.aws.amazon.com/ec2/dedicated-hosts/>`_ . For more information about dedicated instances, see `Dedicated Instances <https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html>`_ and `Amazon EC2 Dedicated Instances <https://docs.aws.amazon.com/ec2/purchasing-options/dedicated-instances/>`_ .
|
|
2368
2407
|
:param time_based_auto_scaling: The time-based scaling configuration for the instance.
|
|
2369
2408
|
:param virtualization_type: The instance's virtualization type, ``paravirtual`` or ``hvm`` .
|
|
2370
|
-
:param volumes: A list of
|
|
2409
|
+
:param volumes: A list of OpsWorks volume IDs to associate with the instance. For more information, see ```AWS::OpsWorks::Volume`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html>`_ .
|
|
2371
2410
|
|
|
2372
2411
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html
|
|
2373
2412
|
:exampleMetadata: fixture=_generated
|
|
@@ -2534,10 +2573,10 @@ class CfnInstanceProps:
|
|
|
2534
2573
|
|
|
2535
2574
|
@builtins.property
|
|
2536
2575
|
def agent_version(self) -> typing.Optional[builtins.str]:
|
|
2537
|
-
'''The default
|
|
2576
|
+
'''The default OpsWorks Stacks agent version. You have the following options:.
|
|
2538
2577
|
|
|
2539
2578
|
- ``INHERIT`` - Use the stack's default agent version setting.
|
|
2540
|
-
- *version_number* - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version.
|
|
2579
|
+
- *version_number* - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version. OpsWorks Stacks installs that version on the instance.
|
|
2541
2580
|
|
|
2542
2581
|
The default setting is ``INHERIT`` . To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2.
|
|
2543
2582
|
|
|
@@ -2584,7 +2623,7 @@ class CfnInstanceProps:
|
|
|
2584
2623
|
|
|
2585
2624
|
@builtins.property
|
|
2586
2625
|
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
2587
|
-
'''The Availability Zone of the
|
|
2626
|
+
'''The Availability Zone of the OpsWorks instance, such as ``us-east-2a`` .
|
|
2588
2627
|
|
|
2589
2628
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-availabilityzone
|
|
2590
2629
|
'''
|
|
@@ -2663,9 +2702,9 @@ class CfnInstanceProps:
|
|
|
2663
2702
|
- A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` .
|
|
2664
2703
|
- A custom AMI: ``Custom`` .
|
|
2665
2704
|
|
|
2666
|
-
Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `
|
|
2705
|
+
Not all operating systems are supported with all versions of Chef. For more information about the supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ .
|
|
2667
2706
|
|
|
2668
|
-
The default option is the current Amazon Linux version. If you set this parameter to ``Custom`` , you must use the ``CreateInstance`` action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is ``Custom`` . For more information about how to use custom AMIs with
|
|
2707
|
+
The default option is the current Amazon Linux version. If you set this parameter to ``Custom`` , you must use the ``CreateInstance`` action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is ``Custom`` . For more information about how to use custom AMIs with OpsWorks Stacks, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ .
|
|
2669
2708
|
|
|
2670
2709
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-os
|
|
2671
2710
|
'''
|
|
@@ -2696,7 +2735,7 @@ class CfnInstanceProps:
|
|
|
2696
2735
|
def subnet_id(self) -> typing.Optional[builtins.str]:
|
|
2697
2736
|
'''The ID of the instance's subnet.
|
|
2698
2737
|
|
|
2699
|
-
If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct
|
|
2738
|
+
If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct OpsWorks Stacks to launch the instance in a different subnet.
|
|
2700
2739
|
|
|
2701
2740
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-subnetid
|
|
2702
2741
|
'''
|
|
@@ -2736,7 +2775,7 @@ class CfnInstanceProps:
|
|
|
2736
2775
|
|
|
2737
2776
|
@builtins.property
|
|
2738
2777
|
def volumes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2739
|
-
'''A list of
|
|
2778
|
+
'''A list of OpsWorks volume IDs to associate with the instance.
|
|
2740
2779
|
|
|
2741
2780
|
For more information, see ```AWS::OpsWorks::Volume`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html>`_ .
|
|
2742
2781
|
|
|
@@ -2757,7 +2796,7 @@ class CfnInstanceProps:
|
|
|
2757
2796
|
)
|
|
2758
2797
|
|
|
2759
2798
|
|
|
2760
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
2799
|
+
@jsii.implements(_IInspectable_c2943556, _ILayerRef_6583e45f, _ITaggable_36806126)
|
|
2761
2800
|
class CfnLayer(
|
|
2762
2801
|
_CfnResource_9df397a6,
|
|
2763
2802
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2869,14 +2908,15 @@ class CfnLayer(
|
|
|
2869
2908
|
use_ebs_optimized_instances: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2870
2909
|
volume_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLayer.VolumeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2871
2910
|
) -> None:
|
|
2872
|
-
'''
|
|
2911
|
+
'''Create a new ``AWS::OpsWorks::Layer``.
|
|
2912
|
+
|
|
2873
2913
|
:param scope: Scope in which this resource is defined.
|
|
2874
2914
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2875
2915
|
:param auto_assign_elastic_ips: Whether to automatically assign an `Elastic IP address <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html>`_ to the layer's instances. For more information, see `How to Edit a Layer <https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html>`_ .
|
|
2876
2916
|
:param auto_assign_public_ips: For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see `How to Edit a Layer <https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html>`_ .
|
|
2877
2917
|
:param enable_auto_healing: Whether to disable auto healing for the layer.
|
|
2878
2918
|
:param name: The layer name, which is used by the console. Layer names can be a maximum of 32 characters.
|
|
2879
|
-
:param shortname: For custom layers only, use this parameter to specify the layer's short name, which is used internally by
|
|
2919
|
+
:param shortname: For custom layers only, use this parameter to specify the layer's short name, which is used internally by OpsWorks Stacks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 32 characters, which are limited to the alphanumeric characters, '-', '_', and '.'. Built-in layer short names are defined by OpsWorks Stacks. For more information, see the `Layer Reference <https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html>`_ .
|
|
2880
2920
|
:param stack_id: The layer stack ID.
|
|
2881
2921
|
:param type: The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks.
|
|
2882
2922
|
:param attributes: One or more user-defined key-value pairs to be added to the stack attributes. To create a cluster layer, set the ``EcsClusterArn`` attribute to the cluster's ARN.
|
|
@@ -2886,9 +2926,9 @@ class CfnLayer(
|
|
|
2886
2926
|
:param custom_security_group_ids: An array containing the layer custom security group IDs.
|
|
2887
2927
|
:param install_updates_on_boot: Whether to install operating system and package updates when the instance boots. The default value is ``true`` . To control when updates are installed, set this value to ``false`` . You must then update your instances manually by using ``CreateDeployment`` to run the ``update_dependencies`` stack command or by manually running ``yum`` (Amazon Linux) or ``apt-get`` (Ubuntu) on the instances. .. epigraph:: To ensure that your instances have the latest security updates, we strongly recommend using the default value of ``true`` .
|
|
2888
2928
|
:param lifecycle_event_configuration: A ``LifeCycleEventConfiguration`` object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining.
|
|
2889
|
-
:param load_based_auto_scaling: The load-based scaling configuration for the
|
|
2929
|
+
:param load_based_auto_scaling: The load-based scaling configuration for the OpsWorks layer.
|
|
2890
2930
|
:param packages: An array of ``Package`` objects that describes the layer packages.
|
|
2891
|
-
:param tags: Specifies one or more sets of tags (key–value pairs) to associate with this
|
|
2931
|
+
:param tags: Specifies one or more sets of tags (key–value pairs) to associate with this OpsWorks layer. Use tags to manage your resources.
|
|
2892
2932
|
:param use_ebs_optimized_instances: Whether to use Amazon EBS-optimized instances.
|
|
2893
2933
|
:param volume_configurations: A ``VolumeConfigurations`` object that describes the layer's Amazon EBS volumes.
|
|
2894
2934
|
'''
|
|
@@ -2963,6 +3003,12 @@ class CfnLayer(
|
|
|
2963
3003
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2964
3004
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2965
3005
|
|
|
3006
|
+
@builtins.property
|
|
3007
|
+
@jsii.member(jsii_name="layerRef")
|
|
3008
|
+
def layer_ref(self) -> _LayerReference_a6340078:
|
|
3009
|
+
'''A reference to a Layer resource.'''
|
|
3010
|
+
return typing.cast(_LayerReference_a6340078, jsii.get(self, "layerRef"))
|
|
3011
|
+
|
|
2966
3012
|
@builtins.property
|
|
2967
3013
|
@jsii.member(jsii_name="tags")
|
|
2968
3014
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -3037,7 +3083,7 @@ class CfnLayer(
|
|
|
3037
3083
|
@builtins.property
|
|
3038
3084
|
@jsii.member(jsii_name="shortname")
|
|
3039
3085
|
def shortname(self) -> builtins.str:
|
|
3040
|
-
'''For custom layers only, use this parameter to specify the layer's short name, which is used internally by
|
|
3086
|
+
'''For custom layers only, use this parameter to specify the layer's short name, which is used internally by OpsWorks Stacks and by Chef recipes.'''
|
|
3041
3087
|
return typing.cast(builtins.str, jsii.get(self, "shortname"))
|
|
3042
3088
|
|
|
3043
3089
|
@shortname.setter
|
|
@@ -3192,7 +3238,7 @@ class CfnLayer(
|
|
|
3192
3238
|
def load_based_auto_scaling(
|
|
3193
3239
|
self,
|
|
3194
3240
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLayer.LoadBasedAutoScalingProperty"]]:
|
|
3195
|
-
'''The load-based scaling configuration for the
|
|
3241
|
+
'''The load-based scaling configuration for the OpsWorks layer.'''
|
|
3196
3242
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLayer.LoadBasedAutoScalingProperty"]], jsii.get(self, "loadBasedAutoScaling"))
|
|
3197
3243
|
|
|
3198
3244
|
@load_based_auto_scaling.setter
|
|
@@ -3221,7 +3267,7 @@ class CfnLayer(
|
|
|
3221
3267
|
@builtins.property
|
|
3222
3268
|
@jsii.member(jsii_name="tagsRaw")
|
|
3223
3269
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
3224
|
-
'''Specifies one or more sets of tags (key–value pairs) to associate with this
|
|
3270
|
+
'''Specifies one or more sets of tags (key–value pairs) to associate with this OpsWorks layer.'''
|
|
3225
3271
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
3226
3272
|
|
|
3227
3273
|
@tags_raw.setter
|
|
@@ -3292,7 +3338,7 @@ class CfnLayer(
|
|
|
3292
3338
|
) -> None:
|
|
3293
3339
|
'''
|
|
3294
3340
|
:param cpu_threshold: The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
|
|
3295
|
-
:param ignore_metrics_time: The amount of time (in minutes) after a scaling event occurs that
|
|
3341
|
+
:param ignore_metrics_time: The amount of time (in minutes) after a scaling event occurs that OpsWorks Stacks should ignore metrics and suppress additional scaling events. For example, OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. ``IgnoreMetricsTime`` allows you to direct OpsWorks Stacks to suppress scaling events long enough to get the new instances online.
|
|
3296
3342
|
:param instance_count: The number of instances to add or remove when the load exceeds a threshold.
|
|
3297
3343
|
:param load_threshold: The load threshold. A value of -1 disables the threshold. For more information about how load is computed, see `Load (computing) <https://docs.aws.amazon.com/http://en.wikipedia.org/wiki/Load_%28computing%29>`_ .
|
|
3298
3344
|
:param memory_threshold: The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
|
|
@@ -3351,9 +3397,9 @@ class CfnLayer(
|
|
|
3351
3397
|
|
|
3352
3398
|
@builtins.property
|
|
3353
3399
|
def ignore_metrics_time(self) -> typing.Optional[jsii.Number]:
|
|
3354
|
-
'''The amount of time (in minutes) after a scaling event occurs that
|
|
3400
|
+
'''The amount of time (in minutes) after a scaling event occurs that OpsWorks Stacks should ignore metrics and suppress additional scaling events.
|
|
3355
3401
|
|
|
3356
|
-
For example,
|
|
3402
|
+
For example, OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. ``IgnoreMetricsTime`` allows you to direct OpsWorks Stacks to suppress scaling events long enough to get the new instances online.
|
|
3357
3403
|
|
|
3358
3404
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-autoscalingthresholds.html#cfn-opsworks-layer-autoscalingthresholds-ignoremetricstime
|
|
3359
3405
|
'''
|
|
@@ -3488,9 +3534,9 @@ class CfnLayer(
|
|
|
3488
3534
|
up_scaling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLayer.AutoScalingThresholdsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3489
3535
|
) -> None:
|
|
3490
3536
|
'''
|
|
3491
|
-
:param down_scaling: An ``AutoScalingThresholds`` object that describes the downscaling configuration, which defines how and when
|
|
3537
|
+
:param down_scaling: An ``AutoScalingThresholds`` object that describes the downscaling configuration, which defines how and when OpsWorks Stacks reduces the number of instances.
|
|
3492
3538
|
:param enable: Whether load-based auto scaling is enabled for the layer.
|
|
3493
|
-
:param up_scaling: An ``AutoScalingThresholds`` object that describes the upscaling configuration, which defines how and when
|
|
3539
|
+
:param up_scaling: An ``AutoScalingThresholds`` object that describes the upscaling configuration, which defines how and when OpsWorks Stacks increases the number of instances.
|
|
3494
3540
|
|
|
3495
3541
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html
|
|
3496
3542
|
:exampleMetadata: fixture=_generated
|
|
@@ -3538,7 +3584,7 @@ class CfnLayer(
|
|
|
3538
3584
|
def down_scaling(
|
|
3539
3585
|
self,
|
|
3540
3586
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLayer.AutoScalingThresholdsProperty"]]:
|
|
3541
|
-
'''An ``AutoScalingThresholds`` object that describes the downscaling configuration, which defines how and when
|
|
3587
|
+
'''An ``AutoScalingThresholds`` object that describes the downscaling configuration, which defines how and when OpsWorks Stacks reduces the number of instances.
|
|
3542
3588
|
|
|
3543
3589
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-downscaling
|
|
3544
3590
|
'''
|
|
@@ -3560,7 +3606,7 @@ class CfnLayer(
|
|
|
3560
3606
|
def up_scaling(
|
|
3561
3607
|
self,
|
|
3562
3608
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLayer.AutoScalingThresholdsProperty"]]:
|
|
3563
|
-
'''An ``AutoScalingThresholds`` object that describes the upscaling configuration, which defines how and when
|
|
3609
|
+
'''An ``AutoScalingThresholds`` object that describes the upscaling configuration, which defines how and when OpsWorks Stacks increases the number of instances.
|
|
3564
3610
|
|
|
3565
3611
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-upscaling
|
|
3566
3612
|
'''
|
|
@@ -3715,7 +3761,7 @@ class CfnLayer(
|
|
|
3715
3761
|
) -> None:
|
|
3716
3762
|
'''
|
|
3717
3763
|
:param delay_until_elb_connections_drained: Whether to enable Elastic Load Balancing connection draining. For more information, see `Connection Draining <https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain>`_
|
|
3718
|
-
:param execution_timeout: The time, in seconds, that
|
|
3764
|
+
:param execution_timeout: The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
|
|
3719
3765
|
|
|
3720
3766
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-shutdowneventconfiguration.html
|
|
3721
3767
|
:exampleMetadata: fixture=_generated
|
|
@@ -3756,7 +3802,7 @@ class CfnLayer(
|
|
|
3756
3802
|
|
|
3757
3803
|
@builtins.property
|
|
3758
3804
|
def execution_timeout(self) -> typing.Optional[jsii.Number]:
|
|
3759
|
-
'''The time, in seconds, that
|
|
3805
|
+
'''The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
|
|
3760
3806
|
|
|
3761
3807
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-shutdowneventconfiguration.html#cfn-opsworks-layer-shutdowneventconfiguration-executiontimeout
|
|
3762
3808
|
'''
|
|
@@ -3998,7 +4044,7 @@ class CfnLayerProps:
|
|
|
3998
4044
|
:param auto_assign_public_ips: For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see `How to Edit a Layer <https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html>`_ .
|
|
3999
4045
|
:param enable_auto_healing: Whether to disable auto healing for the layer.
|
|
4000
4046
|
:param name: The layer name, which is used by the console. Layer names can be a maximum of 32 characters.
|
|
4001
|
-
:param shortname: For custom layers only, use this parameter to specify the layer's short name, which is used internally by
|
|
4047
|
+
:param shortname: For custom layers only, use this parameter to specify the layer's short name, which is used internally by OpsWorks Stacks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 32 characters, which are limited to the alphanumeric characters, '-', '_', and '.'. Built-in layer short names are defined by OpsWorks Stacks. For more information, see the `Layer Reference <https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html>`_ .
|
|
4002
4048
|
:param stack_id: The layer stack ID.
|
|
4003
4049
|
:param type: The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks.
|
|
4004
4050
|
:param attributes: One or more user-defined key-value pairs to be added to the stack attributes. To create a cluster layer, set the ``EcsClusterArn`` attribute to the cluster's ARN.
|
|
@@ -4008,9 +4054,9 @@ class CfnLayerProps:
|
|
|
4008
4054
|
:param custom_security_group_ids: An array containing the layer custom security group IDs.
|
|
4009
4055
|
:param install_updates_on_boot: Whether to install operating system and package updates when the instance boots. The default value is ``true`` . To control when updates are installed, set this value to ``false`` . You must then update your instances manually by using ``CreateDeployment`` to run the ``update_dependencies`` stack command or by manually running ``yum`` (Amazon Linux) or ``apt-get`` (Ubuntu) on the instances. .. epigraph:: To ensure that your instances have the latest security updates, we strongly recommend using the default value of ``true`` .
|
|
4010
4056
|
:param lifecycle_event_configuration: A ``LifeCycleEventConfiguration`` object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining.
|
|
4011
|
-
:param load_based_auto_scaling: The load-based scaling configuration for the
|
|
4057
|
+
:param load_based_auto_scaling: The load-based scaling configuration for the OpsWorks layer.
|
|
4012
4058
|
:param packages: An array of ``Package`` objects that describes the layer packages.
|
|
4013
|
-
:param tags: Specifies one or more sets of tags (key–value pairs) to associate with this
|
|
4059
|
+
:param tags: Specifies one or more sets of tags (key–value pairs) to associate with this OpsWorks layer. Use tags to manage your resources.
|
|
4014
4060
|
:param use_ebs_optimized_instances: Whether to use Amazon EBS-optimized instances.
|
|
4015
4061
|
:param volume_configurations: A ``VolumeConfigurations`` object that describes the layer's Amazon EBS volumes.
|
|
4016
4062
|
|
|
@@ -4196,11 +4242,11 @@ class CfnLayerProps:
|
|
|
4196
4242
|
|
|
4197
4243
|
@builtins.property
|
|
4198
4244
|
def shortname(self) -> builtins.str:
|
|
4199
|
-
'''For custom layers only, use this parameter to specify the layer's short name, which is used internally by
|
|
4245
|
+
'''For custom layers only, use this parameter to specify the layer's short name, which is used internally by OpsWorks Stacks and by Chef recipes.
|
|
4200
4246
|
|
|
4201
4247
|
The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 32 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.
|
|
4202
4248
|
|
|
4203
|
-
Built-in layer short names are defined by
|
|
4249
|
+
Built-in layer short names are defined by OpsWorks Stacks. For more information, see the `Layer Reference <https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html>`_ .
|
|
4204
4250
|
|
|
4205
4251
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-shortname
|
|
4206
4252
|
'''
|
|
@@ -4316,7 +4362,7 @@ class CfnLayerProps:
|
|
|
4316
4362
|
def load_based_auto_scaling(
|
|
4317
4363
|
self,
|
|
4318
4364
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnLayer.LoadBasedAutoScalingProperty]]:
|
|
4319
|
-
'''The load-based scaling configuration for the
|
|
4365
|
+
'''The load-based scaling configuration for the OpsWorks layer.
|
|
4320
4366
|
|
|
4321
4367
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-loadbasedautoscaling
|
|
4322
4368
|
'''
|
|
@@ -4334,7 +4380,7 @@ class CfnLayerProps:
|
|
|
4334
4380
|
|
|
4335
4381
|
@builtins.property
|
|
4336
4382
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4337
|
-
'''Specifies one or more sets of tags (key–value pairs) to associate with this
|
|
4383
|
+
'''Specifies one or more sets of tags (key–value pairs) to associate with this OpsWorks layer.
|
|
4338
4384
|
|
|
4339
4385
|
Use tags to manage your resources.
|
|
4340
4386
|
|
|
@@ -4377,7 +4423,7 @@ class CfnLayerProps:
|
|
|
4377
4423
|
)
|
|
4378
4424
|
|
|
4379
4425
|
|
|
4380
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
4426
|
+
@jsii.implements(_IInspectable_c2943556, _IStackRef_2db8adee, _ITaggable_36806126)
|
|
4381
4427
|
class CfnStack(
|
|
4382
4428
|
_CfnResource_9df397a6,
|
|
4383
4429
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4486,34 +4532,35 @@ class CfnStack(
|
|
|
4486
4532
|
use_opsworks_security_groups: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4487
4533
|
vpc_id: typing.Optional[builtins.str] = None,
|
|
4488
4534
|
) -> None:
|
|
4489
|
-
'''
|
|
4535
|
+
'''Create a new ``AWS::OpsWorks::Stack``.
|
|
4536
|
+
|
|
4490
4537
|
:param scope: Scope in which this resource is defined.
|
|
4491
4538
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4492
4539
|
:param default_instance_profile_arn: The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see `Using Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ .
|
|
4493
4540
|
:param name: The stack name. Stack names can be a maximum of 64 characters.
|
|
4494
|
-
:param service_role_arn: The stack's IAM role, which allows
|
|
4495
|
-
:param agent_version: The default
|
|
4541
|
+
:param service_role_arn: The stack's IAM role, which allows OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see `Using Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ .
|
|
4542
|
+
:param agent_version: The default OpsWorks Stacks agent version. You have the following options:. - Auto-update - Set this parameter to ``LATEST`` . OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. - Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. OpsWorks Stacks installs that version on the stack's instances. The default setting is the most recent release of the agent. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2. .. epigraph:: You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
|
|
4496
4543
|
:param attributes: One or more user-defined key-value pairs to be added to the stack attributes.
|
|
4497
4544
|
:param chef_configuration: A ``ChefConfiguration`` object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see `Create a New Stack <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html>`_ .
|
|
4498
|
-
:param clone_app_ids: If you're cloning an
|
|
4499
|
-
:param clone_permissions: If you're cloning an
|
|
4545
|
+
:param clone_app_ids: If you're cloning an OpsWorks stack, a list of OpsWorks application stack IDs from the source stack to include in the cloned stack.
|
|
4546
|
+
:param clone_permissions: If you're cloning an OpsWorks stack, indicates whether to clone the source stack's permissions.
|
|
4500
4547
|
:param configuration_manager: The configuration manager. When you create a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
|
|
4501
4548
|
:param custom_cookbooks_source: Contains the information required to retrieve an app or cookbook from a repository. For more information, see `Adding Apps <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html>`_ or `Cookbooks and Recipes <https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html>`_ .
|
|
4502
4549
|
:param custom_json: A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: ``"{\\"key1\\": \\"value1\\", \\"key2\\": \\"value2\\",...}"`` For more information about custom JSON, see `Use Custom JSON to Modify the Stack Configuration Attributes <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html>`_ .
|
|
4503
4550
|
:param default_availability_zone: The stack's default Availability Zone, which must be in the specified region. For more information, see `Regions and Endpoints <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ . If you also specify a value for ``DefaultSubnetId`` , the subnet must be in the same zone. For more information, see the ``VpcId`` parameter description.
|
|
4504
|
-
:param default_os: The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . You specify the custom AMI you want to use when you create instances. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `
|
|
4551
|
+
:param default_os: The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . You specify the custom AMI you want to use when you create instances. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ .
|
|
4505
4552
|
:param default_root_device_type: The default root device type. This value is the default for all instances in the stack, but you can override it when you create an instance. The default option is ``instance-store`` . For more information, see `Storage for the Root Device <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device>`_ .
|
|
4506
|
-
:param default_ssh_key_name: A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name,
|
|
4553
|
+
:param default_ssh_key_name: A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see `Using SSH to Communicate with an Instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html>`_ and `Managing SSH Access <https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html>`_ . You can override this setting by specifying a different key pair, or no key pair, when you `create an instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html>`_ .
|
|
4507
4554
|
:param default_subnet_id: The stack's default subnet ID. All instances are launched into this subnet unless you specify another subnet ID when you create the instance. This parameter is required if you specify a value for the ``VpcId`` parameter. If you also specify a value for ``DefaultAvailabilityZone`` , the subnet must be in that zone.
|
|
4508
|
-
:param ecs_cluster_arn: The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the
|
|
4509
|
-
:param elastic_ips: A list of Elastic IP addresses to register with the
|
|
4555
|
+
:param ecs_cluster_arn: The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the OpsWorks stack. .. epigraph:: If you specify a cluster that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the cluster.
|
|
4556
|
+
:param elastic_ips: A list of Elastic IP addresses to register with the OpsWorks stack. .. epigraph:: If you specify an IP address that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the IP address.
|
|
4510
4557
|
:param hostname_theme: The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, ``HostnameTheme`` is set to ``Layer_Dependent`` , which creates host names by appending integers to the layer's short name. The other themes are: - ``Baked_Goods`` - ``Clouds`` - ``Europe_Cities`` - ``Fruits`` - ``Greek_Deities_and_Titans`` - ``Legendary_creatures_from_Japan`` - ``Planets_and_Moons`` - ``Roman_Deities`` - ``Scottish_Islands`` - ``US_Cities`` - ``Wild_Cats`` To obtain a generated host name, call ``GetHostNameSuggestion`` , which returns a host name based on the current theme.
|
|
4511
|
-
:param rds_db_instances: The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the
|
|
4512
|
-
:param source_stack_id: If you're cloning an
|
|
4558
|
+
:param rds_db_instances: The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the OpsWorks stack. .. epigraph:: If you specify a database instance that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the database instance.
|
|
4559
|
+
:param source_stack_id: If you're cloning an OpsWorks stack, the stack ID of the source OpsWorks stack to clone.
|
|
4513
4560
|
:param tags: A map that contains tag keys and tag values that are attached to a stack or layer. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: ``+ - = . _ : /`` - The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: ``+ - = . _ : /`` - Leading and trailing white spaces are trimmed from both the key and value. - A maximum of 40 tags is allowed for any resource.
|
|
4514
4561
|
:param use_custom_cookbooks: Whether the stack uses custom cookbooks.
|
|
4515
|
-
:param use_opsworks_security_groups: Whether to associate the
|
|
4516
|
-
:param vpc_id: The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. - If your account supports EC2-Classic, the default value is ``no VPC`` . - If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only,
|
|
4562
|
+
:param use_opsworks_security_groups: Whether to associate the OpsWorks Stacks built-in security groups with the stack's layers. OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With ``UseOpsworksSecurityGroups`` you can instead provide your own custom security groups. ``UseOpsworksSecurityGroups`` has the following settings: - True - OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. - False - OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see `Create a New Stack <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html>`_ .
|
|
4563
|
+
:param vpc_id: The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. - If your account supports EC2-Classic, the default value is ``no VPC`` . - If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only, OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: - It must belong to a VPC in your account that is in the specified region. - You must specify a value for ``DefaultSubnetId`` . For more information about how to use OpsWorks Stacks with a VPC, see `Running a Stack in a VPC <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html>`_ . For more information about default VPC and EC2-Classic, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
|
|
4517
4564
|
'''
|
|
4518
4565
|
if __debug__:
|
|
4519
4566
|
type_hints = typing.get_type_hints(_typecheckingstub__6bf36f6bd552e246cec8163081581d4887e2e1838c2af0dfdfec5a94265183ed)
|
|
@@ -4549,6 +4596,27 @@ class CfnStack(
|
|
|
4549
4596
|
|
|
4550
4597
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4551
4598
|
|
|
4599
|
+
@jsii.member(jsii_name="fromStackId")
|
|
4600
|
+
@builtins.classmethod
|
|
4601
|
+
def from_stack_id(
|
|
4602
|
+
cls,
|
|
4603
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4604
|
+
id: builtins.str,
|
|
4605
|
+
stack_id: builtins.str,
|
|
4606
|
+
) -> _IStackRef_2db8adee:
|
|
4607
|
+
'''Creates a new IStackRef from a stackId.
|
|
4608
|
+
|
|
4609
|
+
:param scope: -
|
|
4610
|
+
:param id: -
|
|
4611
|
+
:param stack_id: -
|
|
4612
|
+
'''
|
|
4613
|
+
if __debug__:
|
|
4614
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a08e6effaea9838394d050971701d6c3eddd4c0f475e2848dc4ad9837e87246)
|
|
4615
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4616
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4617
|
+
check_type(argname="argument stack_id", value=stack_id, expected_type=type_hints["stack_id"])
|
|
4618
|
+
return typing.cast(_IStackRef_2db8adee, jsii.sinvoke(cls, "fromStackId", [scope, id, stack_id]))
|
|
4619
|
+
|
|
4552
4620
|
@jsii.member(jsii_name="inspect")
|
|
4553
4621
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4554
4622
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4592,6 +4660,12 @@ class CfnStack(
|
|
|
4592
4660
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4593
4661
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4594
4662
|
|
|
4663
|
+
@builtins.property
|
|
4664
|
+
@jsii.member(jsii_name="stackRef")
|
|
4665
|
+
def stack_ref(self) -> _StackReference_a7b46089:
|
|
4666
|
+
'''A reference to a Stack resource.'''
|
|
4667
|
+
return typing.cast(_StackReference_a7b46089, jsii.get(self, "stackRef"))
|
|
4668
|
+
|
|
4595
4669
|
@builtins.property
|
|
4596
4670
|
@jsii.member(jsii_name="tags")
|
|
4597
4671
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -4627,7 +4701,7 @@ class CfnStack(
|
|
|
4627
4701
|
@builtins.property
|
|
4628
4702
|
@jsii.member(jsii_name="serviceRoleArn")
|
|
4629
4703
|
def service_role_arn(self) -> builtins.str:
|
|
4630
|
-
'''The stack's IAM role, which allows
|
|
4704
|
+
'''The stack's IAM role, which allows OpsWorks Stacks to work with AWS resources on your behalf.'''
|
|
4631
4705
|
return typing.cast(builtins.str, jsii.get(self, "serviceRoleArn"))
|
|
4632
4706
|
|
|
4633
4707
|
@service_role_arn.setter
|
|
@@ -4640,7 +4714,7 @@ class CfnStack(
|
|
|
4640
4714
|
@builtins.property
|
|
4641
4715
|
@jsii.member(jsii_name="agentVersion")
|
|
4642
4716
|
def agent_version(self) -> typing.Optional[builtins.str]:
|
|
4643
|
-
'''The default
|
|
4717
|
+
'''The default OpsWorks Stacks agent version.
|
|
4644
4718
|
|
|
4645
4719
|
You have the following options:.
|
|
4646
4720
|
'''
|
|
@@ -4692,7 +4766,7 @@ class CfnStack(
|
|
|
4692
4766
|
@builtins.property
|
|
4693
4767
|
@jsii.member(jsii_name="cloneAppIds")
|
|
4694
4768
|
def clone_app_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4695
|
-
'''If you're cloning an
|
|
4769
|
+
'''If you're cloning an OpsWorks stack, a list of OpsWorks application stack IDs from the source stack to include in the cloned stack.'''
|
|
4696
4770
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "cloneAppIds"))
|
|
4697
4771
|
|
|
4698
4772
|
@clone_app_ids.setter
|
|
@@ -4707,7 +4781,7 @@ class CfnStack(
|
|
|
4707
4781
|
def clone_permissions(
|
|
4708
4782
|
self,
|
|
4709
4783
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4710
|
-
'''If you're cloning an
|
|
4784
|
+
'''If you're cloning an OpsWorks stack, indicates whether to clone the source stack's permissions.'''
|
|
4711
4785
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "clonePermissions"))
|
|
4712
4786
|
|
|
4713
4787
|
@clone_permissions.setter
|
|
@@ -4837,7 +4911,7 @@ class CfnStack(
|
|
|
4837
4911
|
@builtins.property
|
|
4838
4912
|
@jsii.member(jsii_name="ecsClusterArn")
|
|
4839
4913
|
def ecs_cluster_arn(self) -> typing.Optional[builtins.str]:
|
|
4840
|
-
'''The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the
|
|
4914
|
+
'''The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the OpsWorks stack.'''
|
|
4841
4915
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ecsClusterArn"))
|
|
4842
4916
|
|
|
4843
4917
|
@ecs_cluster_arn.setter
|
|
@@ -4852,7 +4926,7 @@ class CfnStack(
|
|
|
4852
4926
|
def elastic_ips(
|
|
4853
4927
|
self,
|
|
4854
4928
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStack.ElasticIpProperty"]]]]:
|
|
4855
|
-
'''A list of Elastic IP addresses to register with the
|
|
4929
|
+
'''A list of Elastic IP addresses to register with the OpsWorks stack.'''
|
|
4856
4930
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStack.ElasticIpProperty"]]]], jsii.get(self, "elasticIps"))
|
|
4857
4931
|
|
|
4858
4932
|
@elastic_ips.setter
|
|
@@ -4883,7 +4957,7 @@ class CfnStack(
|
|
|
4883
4957
|
def rds_db_instances(
|
|
4884
4958
|
self,
|
|
4885
4959
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStack.RdsDbInstanceProperty"]]]]:
|
|
4886
|
-
'''The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the
|
|
4960
|
+
'''The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the OpsWorks stack.'''
|
|
4887
4961
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStack.RdsDbInstanceProperty"]]]], jsii.get(self, "rdsDbInstances"))
|
|
4888
4962
|
|
|
4889
4963
|
@rds_db_instances.setter
|
|
@@ -4899,7 +4973,7 @@ class CfnStack(
|
|
|
4899
4973
|
@builtins.property
|
|
4900
4974
|
@jsii.member(jsii_name="sourceStackId")
|
|
4901
4975
|
def source_stack_id(self) -> typing.Optional[builtins.str]:
|
|
4902
|
-
'''If you're cloning an
|
|
4976
|
+
'''If you're cloning an OpsWorks stack, the stack ID of the source OpsWorks stack to clone.'''
|
|
4903
4977
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceStackId"))
|
|
4904
4978
|
|
|
4905
4979
|
@source_stack_id.setter
|
|
@@ -4945,7 +5019,7 @@ class CfnStack(
|
|
|
4945
5019
|
def use_opsworks_security_groups(
|
|
4946
5020
|
self,
|
|
4947
5021
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4948
|
-
'''Whether to associate the
|
|
5022
|
+
'''Whether to associate the OpsWorks Stacks built-in security groups with the stack's layers.'''
|
|
4949
5023
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "useOpsworksSecurityGroups"))
|
|
4950
5024
|
|
|
4951
5025
|
@use_opsworks_security_groups.setter
|
|
@@ -5135,7 +5209,7 @@ class CfnStack(
|
|
|
5135
5209
|
rds_db_instance_arn: builtins.str,
|
|
5136
5210
|
) -> None:
|
|
5137
5211
|
'''
|
|
5138
|
-
:param db_password:
|
|
5212
|
+
:param db_password: OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
5139
5213
|
:param db_user: The master user name.
|
|
5140
5214
|
:param rds_db_instance_arn: The instance's ARN.
|
|
5141
5215
|
|
|
@@ -5167,7 +5241,7 @@ class CfnStack(
|
|
|
5167
5241
|
|
|
5168
5242
|
@builtins.property
|
|
5169
5243
|
def db_password(self) -> builtins.str:
|
|
5170
|
-
'''
|
|
5244
|
+
'''OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
5171
5245
|
|
|
5172
5246
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-dbpassword
|
|
5173
5247
|
'''
|
|
@@ -5230,9 +5304,9 @@ class CfnStack(
|
|
|
5230
5304
|
username: typing.Optional[builtins.str] = None,
|
|
5231
5305
|
) -> None:
|
|
5232
5306
|
'''
|
|
5233
|
-
:param password: When included in a request, the parameter depends on the repository type. - For Amazon S3 bundles, set ``Password`` to the appropriate IAM secret access key. - For HTTP bundles and Subversion repositories, set ``Password`` to the password. For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ . In responses,
|
|
5234
|
-
:param revision: The application's version.
|
|
5235
|
-
:param ssh_key: The repository's SSH key. For more information, see `Using Git Repository SSH Keys <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploykeys.html>`_ in the *
|
|
5307
|
+
:param password: When included in a request, the parameter depends on the repository type. - For Amazon S3 bundles, set ``Password`` to the appropriate IAM secret access key. - For HTTP bundles and Subversion repositories, set ``Password`` to the password. For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ . In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
5308
|
+
:param revision: The application's version. OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
|
|
5309
|
+
:param ssh_key: The repository's SSH key. For more information, see `Using Git Repository SSH Keys <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploykeys.html>`_ in the *OpsWorks User Guide* . To pass in an SSH key as a parameter, see the following example: ``"Parameters" : { "GitSSHKey" : { "Description" : "Change SSH key newlines to commas.", "Type" : "CommaDelimitedList", "NoEcho" : "true" }, ... "CustomCookbooksSource": { "Revision" : { "Ref": "GitRevision"}, "SshKey" : { "Fn::Join" : [ "\\n", { "Ref": "GitSSHKey"} ] }, "Type": "git", "Url": { "Ref": "GitURL"} } ...``
|
|
5236
5310
|
:param type: The repository type.
|
|
5237
5311
|
:param url: The source URL. The following is an example of an Amazon S3 source URL: ``https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz`` .
|
|
5238
5312
|
:param username: This parameter depends on the repository type. - For Amazon S3 bundles, set ``Username`` to the appropriate IAM access key ID. - For HTTP bundles, Git repositories, and Subversion repositories, set ``Username`` to the user name.
|
|
@@ -5286,7 +5360,7 @@ class CfnStack(
|
|
|
5286
5360
|
|
|
5287
5361
|
For more information on how to safely handle IAM credentials, see ` <https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html>`_ .
|
|
5288
5362
|
|
|
5289
|
-
In responses,
|
|
5363
|
+
In responses, OpsWorks Stacks returns ``*****FILTERED*****`` instead of the actual value.
|
|
5290
5364
|
|
|
5291
5365
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-stack-source-password
|
|
5292
5366
|
'''
|
|
@@ -5297,7 +5371,7 @@ class CfnStack(
|
|
|
5297
5371
|
def revision(self) -> typing.Optional[builtins.str]:
|
|
5298
5372
|
'''The application's version.
|
|
5299
5373
|
|
|
5300
|
-
|
|
5374
|
+
OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
|
|
5301
5375
|
|
|
5302
5376
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-stack-source-revision
|
|
5303
5377
|
'''
|
|
@@ -5308,7 +5382,7 @@ class CfnStack(
|
|
|
5308
5382
|
def ssh_key(self) -> typing.Optional[builtins.str]:
|
|
5309
5383
|
'''The repository's SSH key.
|
|
5310
5384
|
|
|
5311
|
-
For more information, see `Using Git Repository SSH Keys <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploykeys.html>`_ in the *
|
|
5385
|
+
For more information, see `Using Git Repository SSH Keys <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploykeys.html>`_ in the *OpsWorks User Guide* . To pass in an SSH key as a parameter, see the following example:
|
|
5312
5386
|
|
|
5313
5387
|
``"Parameters" : { "GitSSHKey" : { "Description" : "Change SSH key newlines to commas.", "Type" : "CommaDelimitedList", "NoEcho" : "true" }, ... "CustomCookbooksSource": { "Revision" : { "Ref": "GitRevision"}, "SshKey" : { "Fn::Join" : [ "\\n", { "Ref": "GitSSHKey"} ] }, "Type": "git", "Url": { "Ref": "GitURL"} } ...``
|
|
5314
5388
|
|
|
@@ -5499,29 +5573,29 @@ class CfnStackProps:
|
|
|
5499
5573
|
|
|
5500
5574
|
:param default_instance_profile_arn: The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see `Using Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ .
|
|
5501
5575
|
:param name: The stack name. Stack names can be a maximum of 64 characters.
|
|
5502
|
-
:param service_role_arn: The stack's IAM role, which allows
|
|
5503
|
-
:param agent_version: The default
|
|
5576
|
+
:param service_role_arn: The stack's IAM role, which allows OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see `Using Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ .
|
|
5577
|
+
:param agent_version: The default OpsWorks Stacks agent version. You have the following options:. - Auto-update - Set this parameter to ``LATEST`` . OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. - Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. OpsWorks Stacks installs that version on the stack's instances. The default setting is the most recent release of the agent. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2. .. epigraph:: You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
|
|
5504
5578
|
:param attributes: One or more user-defined key-value pairs to be added to the stack attributes.
|
|
5505
5579
|
:param chef_configuration: A ``ChefConfiguration`` object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see `Create a New Stack <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html>`_ .
|
|
5506
|
-
:param clone_app_ids: If you're cloning an
|
|
5507
|
-
:param clone_permissions: If you're cloning an
|
|
5580
|
+
:param clone_app_ids: If you're cloning an OpsWorks stack, a list of OpsWorks application stack IDs from the source stack to include in the cloned stack.
|
|
5581
|
+
:param clone_permissions: If you're cloning an OpsWorks stack, indicates whether to clone the source stack's permissions.
|
|
5508
5582
|
:param configuration_manager: The configuration manager. When you create a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
|
|
5509
5583
|
:param custom_cookbooks_source: Contains the information required to retrieve an app or cookbook from a repository. For more information, see `Adding Apps <https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html>`_ or `Cookbooks and Recipes <https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html>`_ .
|
|
5510
5584
|
:param custom_json: A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: ``"{\\"key1\\": \\"value1\\", \\"key2\\": \\"value2\\",...}"`` For more information about custom JSON, see `Use Custom JSON to Modify the Stack Configuration Attributes <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html>`_ .
|
|
5511
5585
|
:param default_availability_zone: The stack's default Availability Zone, which must be in the specified region. For more information, see `Regions and Endpoints <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ . If you also specify a value for ``DefaultSubnetId`` , the subnet must be in the same zone. For more information, see the ``VpcId`` parameter description.
|
|
5512
|
-
:param default_os: The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . You specify the custom AMI you want to use when you create instances. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `
|
|
5586
|
+
:param default_os: The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. - A supported Linux operating system: An Amazon Linux version, such as ``Amazon Linux 2`` , ``Amazon Linux 2018.03`` , ``Amazon Linux 2017.09`` , ``Amazon Linux 2017.03`` , ``Amazon Linux 2016.09`` , ``Amazon Linux 2016.03`` , ``Amazon Linux 2015.09`` , or ``Amazon Linux 2015.03`` . - A supported Ubuntu operating system, such as ``Ubuntu 18.04 LTS`` , ``Ubuntu 16.04 LTS`` , ``Ubuntu 14.04 LTS`` , or ``Ubuntu 12.04 LTS`` . - ``CentOS Linux 7`` - ``Red Hat Enterprise Linux 7`` - A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` . - A custom AMI: ``Custom`` . You specify the custom AMI you want to use when you create instances. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ . The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ .
|
|
5513
5587
|
:param default_root_device_type: The default root device type. This value is the default for all instances in the stack, but you can override it when you create an instance. The default option is ``instance-store`` . For more information, see `Storage for the Root Device <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device>`_ .
|
|
5514
|
-
:param default_ssh_key_name: A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name,
|
|
5588
|
+
:param default_ssh_key_name: A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see `Using SSH to Communicate with an Instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html>`_ and `Managing SSH Access <https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html>`_ . You can override this setting by specifying a different key pair, or no key pair, when you `create an instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html>`_ .
|
|
5515
5589
|
:param default_subnet_id: The stack's default subnet ID. All instances are launched into this subnet unless you specify another subnet ID when you create the instance. This parameter is required if you specify a value for the ``VpcId`` parameter. If you also specify a value for ``DefaultAvailabilityZone`` , the subnet must be in that zone.
|
|
5516
|
-
:param ecs_cluster_arn: The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the
|
|
5517
|
-
:param elastic_ips: A list of Elastic IP addresses to register with the
|
|
5590
|
+
:param ecs_cluster_arn: The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the OpsWorks stack. .. epigraph:: If you specify a cluster that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the cluster.
|
|
5591
|
+
:param elastic_ips: A list of Elastic IP addresses to register with the OpsWorks stack. .. epigraph:: If you specify an IP address that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the IP address.
|
|
5518
5592
|
:param hostname_theme: The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, ``HostnameTheme`` is set to ``Layer_Dependent`` , which creates host names by appending integers to the layer's short name. The other themes are: - ``Baked_Goods`` - ``Clouds`` - ``Europe_Cities`` - ``Fruits`` - ``Greek_Deities_and_Titans`` - ``Legendary_creatures_from_Japan`` - ``Planets_and_Moons`` - ``Roman_Deities`` - ``Scottish_Islands`` - ``US_Cities`` - ``Wild_Cats`` To obtain a generated host name, call ``GetHostNameSuggestion`` , which returns a host name based on the current theme.
|
|
5519
|
-
:param rds_db_instances: The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the
|
|
5520
|
-
:param source_stack_id: If you're cloning an
|
|
5593
|
+
:param rds_db_instances: The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the OpsWorks stack. .. epigraph:: If you specify a database instance that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the database instance.
|
|
5594
|
+
:param source_stack_id: If you're cloning an OpsWorks stack, the stack ID of the source OpsWorks stack to clone.
|
|
5521
5595
|
:param tags: A map that contains tag keys and tag values that are attached to a stack or layer. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: ``+ - = . _ : /`` - The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: ``+ - = . _ : /`` - Leading and trailing white spaces are trimmed from both the key and value. - A maximum of 40 tags is allowed for any resource.
|
|
5522
5596
|
:param use_custom_cookbooks: Whether the stack uses custom cookbooks.
|
|
5523
|
-
:param use_opsworks_security_groups: Whether to associate the
|
|
5524
|
-
:param vpc_id: The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. - If your account supports EC2-Classic, the default value is ``no VPC`` . - If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only,
|
|
5597
|
+
:param use_opsworks_security_groups: Whether to associate the OpsWorks Stacks built-in security groups with the stack's layers. OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With ``UseOpsworksSecurityGroups`` you can instead provide your own custom security groups. ``UseOpsworksSecurityGroups`` has the following settings: - True - OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. - False - OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see `Create a New Stack <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html>`_ .
|
|
5598
|
+
:param vpc_id: The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. - If your account supports EC2-Classic, the default value is ``no VPC`` . - If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only, OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: - It must belong to a VPC in your account that is in the specified region. - You must specify a value for ``DefaultSubnetId`` . For more information about how to use OpsWorks Stacks with a VPC, see `Running a Stack in a VPC <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html>`_ . For more information about default VPC and EC2-Classic, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
|
|
5525
5599
|
|
|
5526
5600
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html
|
|
5527
5601
|
:exampleMetadata: fixture=_generated
|
|
@@ -5694,7 +5768,7 @@ class CfnStackProps:
|
|
|
5694
5768
|
|
|
5695
5769
|
@builtins.property
|
|
5696
5770
|
def service_role_arn(self) -> builtins.str:
|
|
5697
|
-
'''The stack's IAM role, which allows
|
|
5771
|
+
'''The stack's IAM role, which allows OpsWorks Stacks to work with AWS resources on your behalf.
|
|
5698
5772
|
|
|
5699
5773
|
You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see `Using Identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ .
|
|
5700
5774
|
|
|
@@ -5706,10 +5780,10 @@ class CfnStackProps:
|
|
|
5706
5780
|
|
|
5707
5781
|
@builtins.property
|
|
5708
5782
|
def agent_version(self) -> typing.Optional[builtins.str]:
|
|
5709
|
-
'''The default
|
|
5783
|
+
'''The default OpsWorks Stacks agent version. You have the following options:.
|
|
5710
5784
|
|
|
5711
|
-
- Auto-update - Set this parameter to ``LATEST`` .
|
|
5712
|
-
- Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version.
|
|
5785
|
+
- Auto-update - Set this parameter to ``LATEST`` . OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available.
|
|
5786
|
+
- Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. OpsWorks Stacks installs that version on the stack's instances.
|
|
5713
5787
|
|
|
5714
5788
|
The default setting is the most recent release of the agent. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call ``DescribeAgentVersions`` . AgentVersion cannot be set to Chef 12.2.
|
|
5715
5789
|
.. epigraph::
|
|
@@ -5745,7 +5819,7 @@ class CfnStackProps:
|
|
|
5745
5819
|
|
|
5746
5820
|
@builtins.property
|
|
5747
5821
|
def clone_app_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5748
|
-
'''If you're cloning an
|
|
5822
|
+
'''If you're cloning an OpsWorks stack, a list of OpsWorks application stack IDs from the source stack to include in the cloned stack.
|
|
5749
5823
|
|
|
5750
5824
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-cloneappids
|
|
5751
5825
|
'''
|
|
@@ -5756,7 +5830,7 @@ class CfnStackProps:
|
|
|
5756
5830
|
def clone_permissions(
|
|
5757
5831
|
self,
|
|
5758
5832
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
5759
|
-
'''If you're cloning an
|
|
5833
|
+
'''If you're cloning an OpsWorks stack, indicates whether to clone the source stack's permissions.
|
|
5760
5834
|
|
|
5761
5835
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-clonepermissions
|
|
5762
5836
|
'''
|
|
@@ -5828,7 +5902,7 @@ class CfnStackProps:
|
|
|
5828
5902
|
- A supported Windows operating system, such as ``Microsoft Windows Server 2012 R2 Base`` , ``Microsoft Windows Server 2012 R2 with SQL Server Express`` , ``Microsoft Windows Server 2012 R2 with SQL Server Standard`` , or ``Microsoft Windows Server 2012 R2 with SQL Server Web`` .
|
|
5829
5903
|
- A custom AMI: ``Custom`` . You specify the custom AMI you want to use when you create instances. For more information, see `Using Custom AMIs <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html>`_ .
|
|
5830
5904
|
|
|
5831
|
-
The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `
|
|
5905
|
+
The default option is the current Amazon Linux version. Not all operating systems are supported with all versions of Chef. For more information about supported operating systems, see `OpsWorks Stacks Operating Systems <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html>`_ .
|
|
5832
5906
|
|
|
5833
5907
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultos
|
|
5834
5908
|
'''
|
|
@@ -5850,7 +5924,7 @@ class CfnStackProps:
|
|
|
5850
5924
|
def default_ssh_key_name(self) -> typing.Optional[builtins.str]:
|
|
5851
5925
|
'''A default Amazon EC2 key pair name.
|
|
5852
5926
|
|
|
5853
|
-
The default value is none. If you specify a key pair name,
|
|
5927
|
+
The default value is none. If you specify a key pair name, OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see `Using SSH to Communicate with an Instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html>`_ and `Managing SSH Access <https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html>`_ . You can override this setting by specifying a different key pair, or no key pair, when you `create an instance <https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html>`_ .
|
|
5854
5928
|
|
|
5855
5929
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultsshkeyname
|
|
5856
5930
|
'''
|
|
@@ -5870,11 +5944,11 @@ class CfnStackProps:
|
|
|
5870
5944
|
|
|
5871
5945
|
@builtins.property
|
|
5872
5946
|
def ecs_cluster_arn(self) -> typing.Optional[builtins.str]:
|
|
5873
|
-
'''The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the
|
|
5947
|
+
'''The Amazon Resource Name (ARN) of the Amazon Elastic Container Service ( Amazon ECS ) cluster to register with the OpsWorks stack.
|
|
5874
5948
|
|
|
5875
5949
|
.. epigraph::
|
|
5876
5950
|
|
|
5877
|
-
If you specify a cluster that's registered with another
|
|
5951
|
+
If you specify a cluster that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the cluster.
|
|
5878
5952
|
|
|
5879
5953
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-ecsclusterarn
|
|
5880
5954
|
'''
|
|
@@ -5885,11 +5959,11 @@ class CfnStackProps:
|
|
|
5885
5959
|
def elastic_ips(
|
|
5886
5960
|
self,
|
|
5887
5961
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnStack.ElasticIpProperty]]]]:
|
|
5888
|
-
'''A list of Elastic IP addresses to register with the
|
|
5962
|
+
'''A list of Elastic IP addresses to register with the OpsWorks stack.
|
|
5889
5963
|
|
|
5890
5964
|
.. epigraph::
|
|
5891
5965
|
|
|
5892
|
-
If you specify an IP address that's registered with another
|
|
5966
|
+
If you specify an IP address that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the IP address.
|
|
5893
5967
|
|
|
5894
5968
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-elasticips
|
|
5895
5969
|
'''
|
|
@@ -5925,11 +5999,11 @@ class CfnStackProps:
|
|
|
5925
5999
|
def rds_db_instances(
|
|
5926
6000
|
self,
|
|
5927
6001
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnStack.RdsDbInstanceProperty]]]]:
|
|
5928
|
-
'''The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the
|
|
6002
|
+
'''The Amazon Relational Database Service ( Amazon RDS ) database instance to register with the OpsWorks stack.
|
|
5929
6003
|
|
|
5930
6004
|
.. epigraph::
|
|
5931
6005
|
|
|
5932
|
-
If you specify a database instance that's registered with another
|
|
6006
|
+
If you specify a database instance that's registered with another OpsWorks stack, AWS CloudFormation deregisters the existing association before registering the database instance.
|
|
5933
6007
|
|
|
5934
6008
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-rdsdbinstances
|
|
5935
6009
|
'''
|
|
@@ -5938,7 +6012,7 @@ class CfnStackProps:
|
|
|
5938
6012
|
|
|
5939
6013
|
@builtins.property
|
|
5940
6014
|
def source_stack_id(self) -> typing.Optional[builtins.str]:
|
|
5941
|
-
'''If you're cloning an
|
|
6015
|
+
'''If you're cloning an OpsWorks stack, the stack ID of the source OpsWorks stack to clone.
|
|
5942
6016
|
|
|
5943
6017
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-sourcestackid
|
|
5944
6018
|
'''
|
|
@@ -5975,12 +6049,12 @@ class CfnStackProps:
|
|
|
5975
6049
|
def use_opsworks_security_groups(
|
|
5976
6050
|
self,
|
|
5977
6051
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
5978
|
-
'''Whether to associate the
|
|
6052
|
+
'''Whether to associate the OpsWorks Stacks built-in security groups with the stack's layers.
|
|
5979
6053
|
|
|
5980
|
-
|
|
6054
|
+
OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With ``UseOpsworksSecurityGroups`` you can instead provide your own custom security groups. ``UseOpsworksSecurityGroups`` has the following settings:
|
|
5981
6055
|
|
|
5982
|
-
- True -
|
|
5983
|
-
- False -
|
|
6056
|
+
- True - OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group.
|
|
6057
|
+
- False - OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.
|
|
5984
6058
|
|
|
5985
6059
|
For more information, see `Create a New Stack <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html>`_ .
|
|
5986
6060
|
|
|
@@ -5998,14 +6072,14 @@ class CfnStackProps:
|
|
|
5998
6072
|
- If your account supports EC2-Classic, the default value is ``no VPC`` .
|
|
5999
6073
|
- If your account does not support EC2-Classic, the default value is the default VPC for the specified region.
|
|
6000
6074
|
|
|
6001
|
-
If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only,
|
|
6075
|
+
If the VPC ID corresponds to a default VPC and you have specified either the ``DefaultAvailabilityZone`` or the ``DefaultSubnetId`` parameter only, OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively.
|
|
6002
6076
|
|
|
6003
6077
|
If you specify a nondefault VPC ID, note the following:
|
|
6004
6078
|
|
|
6005
6079
|
- It must belong to a VPC in your account that is in the specified region.
|
|
6006
6080
|
- You must specify a value for ``DefaultSubnetId`` .
|
|
6007
6081
|
|
|
6008
|
-
For more information about how to use
|
|
6082
|
+
For more information about how to use OpsWorks Stacks with a VPC, see `Running a Stack in a VPC <https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html>`_ . For more information about default VPC and EC2-Classic, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
|
|
6009
6083
|
|
|
6010
6084
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-vpcid
|
|
6011
6085
|
'''
|
|
@@ -6024,7 +6098,7 @@ class CfnStackProps:
|
|
|
6024
6098
|
)
|
|
6025
6099
|
|
|
6026
6100
|
|
|
6027
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
6101
|
+
@jsii.implements(_IInspectable_c2943556, _IUserProfileRef_e46d4314)
|
|
6028
6102
|
class CfnUserProfile(
|
|
6029
6103
|
_CfnResource_9df397a6,
|
|
6030
6104
|
metaclass=jsii.JSIIMeta,
|
|
@@ -6062,7 +6136,8 @@ class CfnUserProfile(
|
|
|
6062
6136
|
ssh_public_key: typing.Optional[builtins.str] = None,
|
|
6063
6137
|
ssh_username: typing.Optional[builtins.str] = None,
|
|
6064
6138
|
) -> None:
|
|
6065
|
-
'''
|
|
6139
|
+
'''Create a new ``AWS::OpsWorks::UserProfile``.
|
|
6140
|
+
|
|
6066
6141
|
:param scope: Scope in which this resource is defined.
|
|
6067
6142
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
6068
6143
|
:param iam_user_arn: The user's IAM ARN.
|
|
@@ -6135,6 +6210,12 @@ class CfnUserProfile(
|
|
|
6135
6210
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6136
6211
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6137
6212
|
|
|
6213
|
+
@builtins.property
|
|
6214
|
+
@jsii.member(jsii_name="userProfileRef")
|
|
6215
|
+
def user_profile_ref(self) -> _UserProfileReference_1302fa6f:
|
|
6216
|
+
'''A reference to a UserProfile resource.'''
|
|
6217
|
+
return typing.cast(_UserProfileReference_1302fa6f, jsii.get(self, "userProfileRef"))
|
|
6218
|
+
|
|
6138
6219
|
@builtins.property
|
|
6139
6220
|
@jsii.member(jsii_name="iamUserArn")
|
|
6140
6221
|
def iam_user_arn(self) -> builtins.str:
|
|
@@ -6306,7 +6387,7 @@ class CfnUserProfileProps:
|
|
|
6306
6387
|
)
|
|
6307
6388
|
|
|
6308
6389
|
|
|
6309
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
6390
|
+
@jsii.implements(_IInspectable_c2943556, _IVolumeRef_2ada0a69)
|
|
6310
6391
|
class CfnVolume(
|
|
6311
6392
|
_CfnResource_9df397a6,
|
|
6312
6393
|
metaclass=jsii.JSIIMeta,
|
|
@@ -6344,7 +6425,8 @@ class CfnVolume(
|
|
|
6344
6425
|
mount_point: typing.Optional[builtins.str] = None,
|
|
6345
6426
|
name: typing.Optional[builtins.str] = None,
|
|
6346
6427
|
) -> None:
|
|
6347
|
-
'''
|
|
6428
|
+
'''Create a new ``AWS::OpsWorks::Volume``.
|
|
6429
|
+
|
|
6348
6430
|
:param scope: Scope in which this resource is defined.
|
|
6349
6431
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
6350
6432
|
:param ec2_volume_id: The Amazon EC2 volume ID.
|
|
@@ -6408,6 +6490,12 @@ class CfnVolume(
|
|
|
6408
6490
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6409
6491
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6410
6492
|
|
|
6493
|
+
@builtins.property
|
|
6494
|
+
@jsii.member(jsii_name="volumeRef")
|
|
6495
|
+
def volume_ref(self) -> _VolumeReference_7ca25fdc:
|
|
6496
|
+
'''A reference to a Volume resource.'''
|
|
6497
|
+
return typing.cast(_VolumeReference_7ca25fdc, jsii.get(self, "volumeRef"))
|
|
6498
|
+
|
|
6411
6499
|
@builtins.property
|
|
6412
6500
|
@jsii.member(jsii_name="ec2VolumeId")
|
|
6413
6501
|
def ec2_volume_id(self) -> builtins.str:
|
|
@@ -7295,6 +7383,14 @@ def _typecheckingstub__6bf36f6bd552e246cec8163081581d4887e2e1838c2af0dfdfec5a942
|
|
|
7295
7383
|
"""Type checking stubs"""
|
|
7296
7384
|
pass
|
|
7297
7385
|
|
|
7386
|
+
def _typecheckingstub__3a08e6effaea9838394d050971701d6c3eddd4c0f475e2848dc4ad9837e87246(
|
|
7387
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7388
|
+
id: builtins.str,
|
|
7389
|
+
stack_id: builtins.str,
|
|
7390
|
+
) -> None:
|
|
7391
|
+
"""Type checking stubs"""
|
|
7392
|
+
pass
|
|
7393
|
+
|
|
7298
7394
|
def _typecheckingstub__b361ad0a6f0d9dfac35a11da0b66f08aa9b0147967d3f53cd273d313b99dd78c(
|
|
7299
7395
|
inspector: _TreeInspector_488e0dd5,
|
|
7300
7396
|
) -> None:
|