aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -540,7 +540,7 @@ about allowing connections between resources backed by instances.
|
|
|
540
540
|
## Max Instance Lifetime
|
|
541
541
|
|
|
542
542
|
To enable the max instance lifetime support, specify `maxInstanceLifetime` property
|
|
543
|
-
for the `AutoscalingGroup` resource. The value must be between
|
|
543
|
+
for the `AutoscalingGroup` resource. The value must be between 1 and 365 days(inclusive).
|
|
544
544
|
To clear a previously set value, leave this property undefined.
|
|
545
545
|
|
|
546
546
|
## Instance Monitoring
|
|
@@ -931,6 +931,20 @@ from ..aws_iam import (
|
|
|
931
931
|
PolicyStatement as _PolicyStatement_0fe33853,
|
|
932
932
|
)
|
|
933
933
|
from ..aws_sns import ITopic as _ITopic_9eca4852
|
|
934
|
+
from ..interfaces.aws_autoscaling import (
|
|
935
|
+
AutoScalingGroupReference as _AutoScalingGroupReference_6a7b8e35,
|
|
936
|
+
IAutoScalingGroupRef as _IAutoScalingGroupRef_2f9e9183,
|
|
937
|
+
ILaunchConfigurationRef as _ILaunchConfigurationRef_9c2fc9c2,
|
|
938
|
+
ILifecycleHookRef as _ILifecycleHookRef_bb190400,
|
|
939
|
+
IScalingPolicyRef as _IScalingPolicyRef_fcca0de5,
|
|
940
|
+
IScheduledActionRef as _IScheduledActionRef_33aa837e,
|
|
941
|
+
IWarmPoolRef as _IWarmPoolRef_3adfa724,
|
|
942
|
+
LaunchConfigurationReference as _LaunchConfigurationReference_e5f9c425,
|
|
943
|
+
LifecycleHookReference as _LifecycleHookReference_9dbdb57d,
|
|
944
|
+
ScalingPolicyReference as _ScalingPolicyReference_2748026a,
|
|
945
|
+
ScheduledActionReference as _ScheduledActionReference_554a95fb,
|
|
946
|
+
WarmPoolReference as _WarmPoolReference_d06989e8,
|
|
947
|
+
)
|
|
934
948
|
|
|
935
949
|
|
|
936
950
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_autoscaling.AdditionalHealthCheckType")
|
|
@@ -1061,7 +1075,7 @@ class AdjustmentTier:
|
|
|
1061
1075
|
) -> None:
|
|
1062
1076
|
'''An adjustment.
|
|
1063
1077
|
|
|
1064
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
1078
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
1065
1079
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
1066
1080
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
1067
1081
|
|
|
@@ -1098,7 +1112,7 @@ class AdjustmentTier:
|
|
|
1098
1112
|
def adjustment(self) -> jsii.Number:
|
|
1099
1113
|
'''What number to adjust the capacity with.
|
|
1100
1114
|
|
|
1101
|
-
The number is
|
|
1115
|
+
The number is interpreted as an added capacity, a new fixed capacity or an
|
|
1102
1116
|
added percentage depending on the AdjustmentType value of the
|
|
1103
1117
|
StepScalingPolicy.
|
|
1104
1118
|
|
|
@@ -2547,7 +2561,7 @@ class CapacityDistributionStrategy(enum.Enum):
|
|
|
2547
2561
|
'''If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.'''
|
|
2548
2562
|
|
|
2549
2563
|
|
|
2550
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
2564
|
+
@jsii.implements(_IInspectable_c2943556, _IAutoScalingGroupRef_2f9e9183, _ITaggable_36806126)
|
|
2551
2565
|
class CfnAutoScalingGroup(
|
|
2552
2566
|
_CfnResource_9df397a6,
|
|
2553
2567
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2803,7 +2817,8 @@ class CfnAutoScalingGroup(
|
|
|
2803
2817
|
traffic_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.TrafficSourceIdentifierProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2804
2818
|
vpc_zone_identifier: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2805
2819
|
) -> None:
|
|
2806
|
-
'''
|
|
2820
|
+
'''Create a new ``AWS::AutoScaling::AutoScalingGroup``.
|
|
2821
|
+
|
|
2807
2822
|
:param scope: Scope in which this resource is defined.
|
|
2808
2823
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2809
2824
|
:param max_size: The maximum size of the group. .. epigraph:: With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above ``MaxSize`` to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above ``MaxSize`` by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).
|
|
@@ -2833,7 +2848,7 @@ class CfnAutoScalingGroup(
|
|
|
2833
2848
|
:param new_instances_protected_from_scale_in: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see `Use instance scale-in protection <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
2834
2849
|
:param notification_configuration: (deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Configure Amazon EC2 Auto Scaling resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
2835
2850
|
:param notification_configurations: Configures an Auto Scaling group to send notifications when specified events take place.
|
|
2836
|
-
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide
|
|
2851
|
+
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide* . .. epigraph:: A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
|
|
2837
2852
|
:param service_linked_role_arn: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named ``AWSServiceRoleForAutoScaling`` , which it creates if it does not exist. For more information, see `Service-linked roles <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
2838
2853
|
:param skip_zonal_shift_validation:
|
|
2839
2854
|
:param tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see `Tag Auto Scaling groups and instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
@@ -2919,11 +2934,18 @@ class CfnAutoScalingGroup(
|
|
|
2919
2934
|
@builtins.property
|
|
2920
2935
|
@jsii.member(jsii_name="attrAutoScalingGroupArn")
|
|
2921
2936
|
def attr_auto_scaling_group_arn(self) -> builtins.str:
|
|
2922
|
-
'''
|
|
2937
|
+
'''The Amazon Resource Name (ARN) of the Auto Scaling group.
|
|
2938
|
+
|
|
2923
2939
|
:cloudformationAttribute: AutoScalingGroupARN
|
|
2924
2940
|
'''
|
|
2925
2941
|
return typing.cast(builtins.str, jsii.get(self, "attrAutoScalingGroupArn"))
|
|
2926
2942
|
|
|
2943
|
+
@builtins.property
|
|
2944
|
+
@jsii.member(jsii_name="autoScalingGroupRef")
|
|
2945
|
+
def auto_scaling_group_ref(self) -> _AutoScalingGroupReference_6a7b8e35:
|
|
2946
|
+
'''A reference to a AutoScalingGroup resource.'''
|
|
2947
|
+
return typing.cast(_AutoScalingGroupReference_6a7b8e35, jsii.get(self, "autoScalingGroupRef"))
|
|
2948
|
+
|
|
2927
2949
|
@builtins.property
|
|
2928
2950
|
@jsii.member(jsii_name="cfnProperties")
|
|
2929
2951
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -4303,13 +4325,13 @@ class CfnAutoScalingGroup(
|
|
|
4303
4325
|
:param accelerator_types: Lists the accelerator types that must be on an instance type. - For instance types with GPU accelerators, specify ``gpu`` . - For instance types with FPGA accelerators, specify ``fpga`` . - For instance types with inference accelerators, specify ``inference`` . Default: Any accelerator type
|
|
4304
4326
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` , Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
4305
4327
|
:param bare_metal: Indicates whether bare metal instance types are included, excluded, or required. Default: ``excluded``
|
|
4306
|
-
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide
|
|
4328
|
+
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . Default: No minimum or maximum limits
|
|
4307
4329
|
:param baseline_performance_factors: The baseline performance factors for the instance requirements.
|
|
4308
|
-
:param burstable_performance: Indicates whether burstable performance instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ in the *Amazon EC2 User Guide
|
|
4309
|
-
:param cpu_manufacturers: Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . .. epigraph:: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
4330
|
+
:param burstable_performance: Indicates whether burstable performance instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ in the *Amazon EC2 User Guide* . Default: ``excluded``
|
|
4331
|
+
:param cpu_manufacturers: Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . - For instance types with Apple CPUs, specify ``apple`` . .. epigraph:: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
4310
4332
|
:param excluded_instance_types: The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` , you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``ExcludedInstanceTypes`` , you can't specify ``AllowedInstanceTypes`` . Default: No excluded instance types
|
|
4311
|
-
:param instance_generations: Indicates whether current or previous generation instance types are included. - For current generation instance types, specify ``current`` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide
|
|
4312
|
-
:param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide
|
|
4333
|
+
:param instance_generations: Indicates whether current or previous generation instance types are included. - For current generation instance types, specify ``current`` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* . - For previous generation instance types, specify ``previous`` . Default: Any current or previous generation
|
|
4334
|
+
:param local_storage: Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide* . Default: ``included``
|
|
4313
4335
|
:param local_storage_types: Indicates the type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify ``hdd`` . - For instance types with solid state drive (SSD) storage, specify ``ssd`` . Default: Any local storage type
|
|
4314
4336
|
:param max_spot_price_as_percentage_of_optimal_on_demand_price: [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib`` , the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. .. epigraph:: Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999`` .
|
|
4315
4337
|
:param memory_gib_per_v_cpu: The minimum and maximum amount of memory per vCPU for an instance type, in GiB. Default: No minimum or maximum limits
|
|
@@ -4563,7 +4585,7 @@ class CfnAutoScalingGroup(
|
|
|
4563
4585
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.BaselineEbsBandwidthMbpsRequestProperty"]]:
|
|
4564
4586
|
'''The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
|
|
4565
4587
|
|
|
4566
|
-
For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide
|
|
4588
|
+
For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* .
|
|
4567
4589
|
|
|
4568
4590
|
Default: No minimum or maximum limits
|
|
4569
4591
|
|
|
@@ -4587,7 +4609,7 @@ class CfnAutoScalingGroup(
|
|
|
4587
4609
|
def burstable_performance(self) -> typing.Optional[builtins.str]:
|
|
4588
4610
|
'''Indicates whether burstable performance instance types are included, excluded, or required.
|
|
4589
4611
|
|
|
4590
|
-
For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ in the *Amazon EC2 User Guide
|
|
4612
|
+
For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ in the *Amazon EC2 User Guide* .
|
|
4591
4613
|
|
|
4592
4614
|
Default: ``excluded``
|
|
4593
4615
|
|
|
@@ -4603,6 +4625,7 @@ class CfnAutoScalingGroup(
|
|
|
4603
4625
|
- For instance types with Intel CPUs, specify ``intel`` .
|
|
4604
4626
|
- For instance types with AMD CPUs, specify ``amd`` .
|
|
4605
4627
|
- For instance types with AWS CPUs, specify ``amazon-web-services`` .
|
|
4628
|
+
- For instance types with Apple CPUs, specify ``apple`` .
|
|
4606
4629
|
|
|
4607
4630
|
.. epigraph::
|
|
4608
4631
|
|
|
@@ -4637,7 +4660,7 @@ class CfnAutoScalingGroup(
|
|
|
4637
4660
|
def instance_generations(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4638
4661
|
'''Indicates whether current or previous generation instance types are included.
|
|
4639
4662
|
|
|
4640
|
-
- For current generation instance types, specify ``current`` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide
|
|
4663
|
+
- For current generation instance types, specify ``current`` . The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
4641
4664
|
- For previous generation instance types, specify ``previous`` .
|
|
4642
4665
|
|
|
4643
4666
|
Default: Any current or previous generation
|
|
@@ -4651,7 +4674,7 @@ class CfnAutoScalingGroup(
|
|
|
4651
4674
|
def local_storage(self) -> typing.Optional[builtins.str]:
|
|
4652
4675
|
'''Indicates whether instance types with instance store volumes are included, excluded, or required.
|
|
4653
4676
|
|
|
4654
|
-
For more information, see `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide
|
|
4677
|
+
For more information, see `Amazon EC2 instance store <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html>`_ in the *Amazon EC2 User Guide* .
|
|
4655
4678
|
|
|
4656
4679
|
Default: ``included``
|
|
4657
4680
|
|
|
@@ -5027,7 +5050,7 @@ class CfnAutoScalingGroup(
|
|
|
5027
5050
|
``LaunchTemplateOverrides`` is a property of the `AWS::AutoScaling::AutoScalingGroup LaunchTemplate <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html>`_ property type.
|
|
5028
5051
|
|
|
5029
5052
|
:param instance_requirements: The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. .. epigraph:: If you specify ``InstanceRequirements`` , you can't specify ``InstanceType`` .
|
|
5030
|
-
:param instance_type: The instance type, such as ``m3.xlarge`` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide
|
|
5053
|
+
:param instance_type: The instance type, such as ``m3.xlarge`` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* . You can specify up to 40 instance types per Auto Scaling group.
|
|
5031
5054
|
:param launch_template_specification: Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the ``LaunchTemplate`` definition. For more information, see `Specifying a different launch template for an instance type <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the ``LaunchTemplate`` definition count towards this limit.
|
|
5032
5055
|
:param weighted_capacity: If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a ``WeightedCapacity`` of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see `Configure instance weighting for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Value must be in the range of 1-999. If you specify a value for ``WeightedCapacity`` for one instance type, you must specify a value for ``WeightedCapacity`` for all of them. .. epigraph:: Every Auto Scaling group has three size parameters ( ``DesiredCapacity`` , ``MaxSize`` , and ``MinSize`` ). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
|
|
5033
5056
|
|
|
@@ -5150,7 +5173,7 @@ class CfnAutoScalingGroup(
|
|
|
5150
5173
|
|
|
5151
5174
|
@builtins.property
|
|
5152
5175
|
def instance_type(self) -> typing.Optional[builtins.str]:
|
|
5153
|
-
'''The instance type, such as ``m3.xlarge`` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide
|
|
5176
|
+
'''The instance type, such as ``m3.xlarge`` . You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
5154
5177
|
|
|
5155
5178
|
You can specify up to 40 instance types per Auto Scaling group.
|
|
5156
5179
|
|
|
@@ -6823,7 +6846,7 @@ class CfnAutoScalingGroupProps:
|
|
|
6823
6846
|
:param new_instances_protected_from_scale_in: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see `Use instance scale-in protection <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
6824
6847
|
:param notification_configuration: (deprecated) A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the `AWS::AutoScaling::AutoScalingGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html>`_ resource. For an example template snippet, see `Configure Amazon EC2 Auto Scaling resources <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html>`_. For more information, see `Get Amazon SNS notifications when your Auto Scaling group scales <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html>`_ in the *Amazon EC2 Auto Scaling User Guide*.
|
|
6825
6848
|
:param notification_configurations: Configures an Auto Scaling group to send notifications when specified events take place.
|
|
6826
|
-
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide
|
|
6849
|
+
:param placement_group: The name of the placement group into which to launch your instances. For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide* . .. epigraph:: A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
|
|
6827
6850
|
:param service_linked_role_arn: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named ``AWSServiceRoleForAutoScaling`` , which it creates if it does not exist. For more information, see `Service-linked roles <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
6828
6851
|
:param skip_zonal_shift_validation:
|
|
6829
6852
|
:param tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see `Tag Auto Scaling groups and instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
@@ -7482,7 +7505,7 @@ class CfnAutoScalingGroupProps:
|
|
|
7482
7505
|
def placement_group(self) -> typing.Optional[builtins.str]:
|
|
7483
7506
|
'''The name of the placement group into which to launch your instances.
|
|
7484
7507
|
|
|
7485
|
-
For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide
|
|
7508
|
+
For more information, see `Placement groups <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html>`_ in the *Amazon EC2 User Guide* .
|
|
7486
7509
|
.. epigraph::
|
|
7487
7510
|
|
|
7488
7511
|
A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.
|
|
@@ -7589,7 +7612,7 @@ class CfnAutoScalingGroupProps:
|
|
|
7589
7612
|
)
|
|
7590
7613
|
|
|
7591
7614
|
|
|
7592
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
7615
|
+
@jsii.implements(_IInspectable_c2943556, _ILaunchConfigurationRef_9c2fc9c2)
|
|
7593
7616
|
class CfnLaunchConfiguration(
|
|
7594
7617
|
_CfnResource_9df397a6,
|
|
7595
7618
|
metaclass=jsii.JSIIMeta,
|
|
@@ -7683,25 +7706,26 @@ class CfnLaunchConfiguration(
|
|
|
7683
7706
|
spot_price: typing.Optional[builtins.str] = None,
|
|
7684
7707
|
user_data: typing.Optional[builtins.str] = None,
|
|
7685
7708
|
) -> None:
|
|
7686
|
-
'''
|
|
7709
|
+
'''Create a new ``AWS::AutoScaling::LaunchConfiguration``.
|
|
7710
|
+
|
|
7687
7711
|
:param scope: Scope in which this resource is defined.
|
|
7688
7712
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
7689
|
-
:param image_id: The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide
|
|
7690
|
-
:param instance_type: Specifies the instance type of the EC2 instance. For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide
|
|
7713
|
+
:param image_id: The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide* . If you specify ``InstanceId`` , an ``ImageId`` is not required.
|
|
7714
|
+
:param instance_type: Specifies the instance type of the EC2 instance. For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide* . If you specify ``InstanceId`` , an ``InstanceType`` is not required.
|
|
7691
7715
|
:param associate_public_ip_address: Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. If you specify ``true`` , each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see `Provide network connectivity for your Auto Scaling instances using Amazon VPC <https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . If you specify this property, you must specify at least one subnet for ``VPCZoneIdentifier`` when you create your group.
|
|
7692
|
-
:param block_device_mappings: The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide
|
|
7716
|
+
:param block_device_mappings: The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide* .
|
|
7693
7717
|
:param classic_link_vpc_id: Available for backward compatibility.
|
|
7694
7718
|
:param classic_link_vpc_security_groups: Available for backward compatibility.
|
|
7695
|
-
:param ebs_optimized: Specifies whether the launch configuration is optimized for EBS I/O ( ``true`` ) or not ( ``false`` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide
|
|
7719
|
+
:param ebs_optimized: Specifies whether the launch configuration is optimized for EBS I/O ( ``true`` ) or not ( ``false`` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . The default value is ``false`` .
|
|
7696
7720
|
:param iam_instance_profile: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see `IAM role for applications that run on Amazon EC2 instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
7697
7721
|
:param instance_id: The ID of the Amazon EC2 instance to use to create the launch configuration. When you use an instance to create a launch configuration, all properties are derived from the instance with the exception of ``BlockDeviceMapping`` and ``AssociatePublicIpAddress`` . You can override any properties from the instance by specifying them in the launch configuration.
|
|
7698
7722
|
:param instance_monitoring: Controls whether instances in this group are launched with detailed ( ``true`` ) or basic ( ``false`` ) monitoring. The default value is ``true`` (enabled). .. epigraph:: When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see `Configure monitoring for Auto Scaling instances <https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
7699
|
-
:param kernel_id: The ID of the kernel associated with the AMI. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
7700
|
-
:param key_name: The name of the key pair. For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide
|
|
7723
|
+
:param kernel_id: The ID of the kernel associated with the AMI. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
7724
|
+
:param key_name: The name of the key pair. For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide* .
|
|
7701
7725
|
:param launch_configuration_name: The name of the launch configuration. This name must be unique per Region per account.
|
|
7702
7726
|
:param metadata_options: The metadata options for the instances. For more information, see `Configure the instance metadata options <https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
7703
7727
|
:param placement_tenancy: The tenancy of the instance, either ``default`` or ``dedicated`` . An instance with ``dedicated`` tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to ``default`` ), you must set the value of this property to ``dedicated`` . If you specify ``PlacementTenancy`` , you must specify at least one subnet for ``VPCZoneIdentifier`` when you create your group. Valid values: ``default`` | ``dedicated``
|
|
7704
|
-
:param ram_disk_id: The ID of the RAM disk to select. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
7728
|
+
:param ram_disk_id: The ID of the RAM disk to select. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
7705
7729
|
:param security_groups: A list that contains the security groups to assign to the instances in the Auto Scaling group. The list can contain both the IDs of existing security groups and references to `SecurityGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html>`_ resources created in the template. For more information, see `Control traffic to resources using security groups <https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
7706
7730
|
:param spot_price: The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see `Request Spot Instances for fault-tolerant and flexible applications <https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Valid Range: Minimum value of 0.001 .. epigraph:: When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price.
|
|
7707
7731
|
:param user_data: The Base64-encoded user data to make available to the launched EC2 instances. For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`_ in the *Amazon EC2 User Guide for Linux Instances* .
|
|
@@ -7769,6 +7793,12 @@ class CfnLaunchConfiguration(
|
|
|
7769
7793
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
7770
7794
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
7771
7795
|
|
|
7796
|
+
@builtins.property
|
|
7797
|
+
@jsii.member(jsii_name="launchConfigurationRef")
|
|
7798
|
+
def launch_configuration_ref(self) -> _LaunchConfigurationReference_e5f9c425:
|
|
7799
|
+
'''A reference to a LaunchConfiguration resource.'''
|
|
7800
|
+
return typing.cast(_LaunchConfigurationReference_e5f9c425, jsii.get(self, "launchConfigurationRef"))
|
|
7801
|
+
|
|
7772
7802
|
@builtins.property
|
|
7773
7803
|
@jsii.member(jsii_name="imageId")
|
|
7774
7804
|
def image_id(self) -> builtins.str:
|
|
@@ -8074,7 +8104,7 @@ class CfnLaunchConfiguration(
|
|
|
8074
8104
|
|
|
8075
8105
|
For more information, see `Example block device mapping <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#block-device-mapping-ex>`_ in the *Amazon EC2 User Guide for Linux Instances* .
|
|
8076
8106
|
|
|
8077
|
-
:param device_name: The device name assigned to the volume (for example, ``/dev/sdh`` or ``xvdh`` ). For more information, see `Device naming on Linux instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html>`_ in the *Amazon EC2 User Guide
|
|
8107
|
+
:param device_name: The device name assigned to the volume (for example, ``/dev/sdh`` or ``xvdh`` ). For more information, see `Device naming on Linux instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html>`_ in the *Amazon EC2 User Guide* . .. epigraph:: To define a block device mapping, set the device name and exactly one of the following properties: ``Ebs`` , ``NoDevice`` , or ``VirtualName`` .
|
|
8078
8108
|
:param ebs: Information to attach an EBS volume to an instance at launch.
|
|
8079
8109
|
:param no_device: Setting this value to ``true`` prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch. If ``NoDevice`` is ``true`` for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
|
|
8080
8110
|
:param virtual_name: The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeral *X* where *X* is a number starting from zero (0), for example, ``ephemeral0`` .
|
|
@@ -8125,7 +8155,7 @@ class CfnLaunchConfiguration(
|
|
|
8125
8155
|
def device_name(self) -> builtins.str:
|
|
8126
8156
|
'''The device name assigned to the volume (for example, ``/dev/sdh`` or ``xvdh`` ).
|
|
8127
8157
|
|
|
8128
|
-
For more information, see `Device naming on Linux instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html>`_ in the *Amazon EC2 User Guide
|
|
8158
|
+
For more information, see `Device naming on Linux instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html>`_ in the *Amazon EC2 User Guide* .
|
|
8129
8159
|
.. epigraph::
|
|
8130
8160
|
|
|
8131
8161
|
To define a block device mapping, set the device name and exactly one of the following properties: ``Ebs`` , ``NoDevice`` , or ``VirtualName`` .
|
|
@@ -8530,22 +8560,22 @@ class CfnLaunchConfigurationProps:
|
|
|
8530
8560
|
) -> None:
|
|
8531
8561
|
'''Properties for defining a ``CfnLaunchConfiguration``.
|
|
8532
8562
|
|
|
8533
|
-
:param image_id: The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide
|
|
8534
|
-
:param instance_type: Specifies the instance type of the EC2 instance. For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide
|
|
8563
|
+
:param image_id: The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide* . If you specify ``InstanceId`` , an ``ImageId`` is not required.
|
|
8564
|
+
:param instance_type: Specifies the instance type of the EC2 instance. For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide* . If you specify ``InstanceId`` , an ``InstanceType`` is not required.
|
|
8535
8565
|
:param associate_public_ip_address: Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. If you specify ``true`` , each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see `Provide network connectivity for your Auto Scaling instances using Amazon VPC <https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . If you specify this property, you must specify at least one subnet for ``VPCZoneIdentifier`` when you create your group.
|
|
8536
|
-
:param block_device_mappings: The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide
|
|
8566
|
+
:param block_device_mappings: The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide* .
|
|
8537
8567
|
:param classic_link_vpc_id: Available for backward compatibility.
|
|
8538
8568
|
:param classic_link_vpc_security_groups: Available for backward compatibility.
|
|
8539
|
-
:param ebs_optimized: Specifies whether the launch configuration is optimized for EBS I/O ( ``true`` ) or not ( ``false`` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide
|
|
8569
|
+
:param ebs_optimized: Specifies whether the launch configuration is optimized for EBS I/O ( ``true`` ) or not ( ``false`` ). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* . The default value is ``false`` .
|
|
8540
8570
|
:param iam_instance_profile: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see `IAM role for applications that run on Amazon EC2 instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
8541
8571
|
:param instance_id: The ID of the Amazon EC2 instance to use to create the launch configuration. When you use an instance to create a launch configuration, all properties are derived from the instance with the exception of ``BlockDeviceMapping`` and ``AssociatePublicIpAddress`` . You can override any properties from the instance by specifying them in the launch configuration.
|
|
8542
8572
|
:param instance_monitoring: Controls whether instances in this group are launched with detailed ( ``true`` ) or basic ( ``false`` ) monitoring. The default value is ``true`` (enabled). .. epigraph:: When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see `Configure monitoring for Auto Scaling instances <https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
8543
|
-
:param kernel_id: The ID of the kernel associated with the AMI. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
8544
|
-
:param key_name: The name of the key pair. For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide
|
|
8573
|
+
:param kernel_id: The ID of the kernel associated with the AMI. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
8574
|
+
:param key_name: The name of the key pair. For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide* .
|
|
8545
8575
|
:param launch_configuration_name: The name of the launch configuration. This name must be unique per Region per account.
|
|
8546
8576
|
:param metadata_options: The metadata options for the instances. For more information, see `Configure the instance metadata options <https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds>`_ in the *Amazon EC2 Auto Scaling User Guide* .
|
|
8547
8577
|
:param placement_tenancy: The tenancy of the instance, either ``default`` or ``dedicated`` . An instance with ``dedicated`` tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to ``default`` ), you must set the value of this property to ``dedicated`` . If you specify ``PlacementTenancy`` , you must specify at least one subnet for ``VPCZoneIdentifier`` when you create your group. Valid values: ``default`` | ``dedicated``
|
|
8548
|
-
:param ram_disk_id: The ID of the RAM disk to select. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
8578
|
+
:param ram_disk_id: The ID of the RAM disk to select. .. epigraph:: We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
8549
8579
|
:param security_groups: A list that contains the security groups to assign to the instances in the Auto Scaling group. The list can contain both the IDs of existing security groups and references to `SecurityGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html>`_ resources created in the template. For more information, see `Control traffic to resources using security groups <https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html>`_ in the *Amazon Virtual Private Cloud User Guide* .
|
|
8550
8580
|
:param spot_price: The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see `Request Spot Instances for fault-tolerant and flexible applications <https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Valid Range: Minimum value of 0.001 .. epigraph:: When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price.
|
|
8551
8581
|
:param user_data: The Base64-encoded user data to make available to the launched EC2 instances. For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`_ in the *Amazon EC2 User Guide for Linux Instances* .
|
|
@@ -8666,7 +8696,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8666
8696
|
def image_id(self) -> builtins.str:
|
|
8667
8697
|
'''The ID of the Amazon Machine Image (AMI) that was assigned during registration.
|
|
8668
8698
|
|
|
8669
|
-
For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide
|
|
8699
|
+
For more information, see `Find a Linux AMI <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html>`_ in the *Amazon EC2 User Guide* .
|
|
8670
8700
|
|
|
8671
8701
|
If you specify ``InstanceId`` , an ``ImageId`` is not required.
|
|
8672
8702
|
|
|
@@ -8680,7 +8710,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8680
8710
|
def instance_type(self) -> builtins.str:
|
|
8681
8711
|
'''Specifies the instance type of the EC2 instance.
|
|
8682
8712
|
|
|
8683
|
-
For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide
|
|
8713
|
+
For information about available instance types, see `Available instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes>`_ in the *Amazon EC2 User Guide* .
|
|
8684
8714
|
|
|
8685
8715
|
If you specify ``InstanceId`` , an ``InstanceType`` is not required.
|
|
8686
8716
|
|
|
@@ -8713,7 +8743,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8713
8743
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLaunchConfiguration.BlockDeviceMappingProperty]]]]:
|
|
8714
8744
|
'''The block device mapping entries that define the block devices to attach to the instances at launch.
|
|
8715
8745
|
|
|
8716
|
-
By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide
|
|
8746
|
+
By default, the block devices specified in the block device mapping for the AMI are used. For more information, see `Block device mappings <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html>`_ in the *Amazon EC2 User Guide* .
|
|
8717
8747
|
|
|
8718
8748
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-blockdevicemappings
|
|
8719
8749
|
'''
|
|
@@ -8746,7 +8776,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8746
8776
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8747
8777
|
'''Specifies whether the launch configuration is optimized for EBS I/O ( ``true`` ) or not ( ``false`` ).
|
|
8748
8778
|
|
|
8749
|
-
The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide
|
|
8779
|
+
The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see `Amazon EBS-optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide* .
|
|
8750
8780
|
|
|
8751
8781
|
The default value is ``false`` .
|
|
8752
8782
|
|
|
@@ -8799,7 +8829,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8799
8829
|
|
|
8800
8830
|
.. epigraph::
|
|
8801
8831
|
|
|
8802
|
-
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
8832
|
+
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
8803
8833
|
|
|
8804
8834
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-kernelid
|
|
8805
8835
|
'''
|
|
@@ -8810,7 +8840,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8810
8840
|
def key_name(self) -> typing.Optional[builtins.str]:
|
|
8811
8841
|
'''The name of the key pair.
|
|
8812
8842
|
|
|
8813
|
-
For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide
|
|
8843
|
+
For more information, see `Amazon EC2 key pairs and Amazon EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html>`_ in the *Amazon EC2 User Guide* .
|
|
8814
8844
|
|
|
8815
8845
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-keyname
|
|
8816
8846
|
'''
|
|
@@ -8862,7 +8892,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8862
8892
|
|
|
8863
8893
|
.. epigraph::
|
|
8864
8894
|
|
|
8865
|
-
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide
|
|
8895
|
+
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see `User provided kernels <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html>`_ in the *Amazon EC2 User Guide* .
|
|
8866
8896
|
|
|
8867
8897
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-ramdiskid
|
|
8868
8898
|
'''
|
|
@@ -8921,7 +8951,7 @@ class CfnLaunchConfigurationProps:
|
|
|
8921
8951
|
)
|
|
8922
8952
|
|
|
8923
8953
|
|
|
8924
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
8954
|
+
@jsii.implements(_IInspectable_c2943556, _ILifecycleHookRef_bb190400)
|
|
8925
8955
|
class CfnLifecycleHook(
|
|
8926
8956
|
_CfnResource_9df397a6,
|
|
8927
8957
|
metaclass=jsii.JSIIMeta,
|
|
@@ -8973,7 +9003,8 @@ class CfnLifecycleHook(
|
|
|
8973
9003
|
notification_target_arn: typing.Optional[builtins.str] = None,
|
|
8974
9004
|
role_arn: typing.Optional[builtins.str] = None,
|
|
8975
9005
|
) -> None:
|
|
8976
|
-
'''
|
|
9006
|
+
'''Create a new ``AWS::AutoScaling::LifecycleHook``.
|
|
9007
|
+
|
|
8977
9008
|
:param scope: Scope in which this resource is defined.
|
|
8978
9009
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8979
9010
|
:param auto_scaling_group_name: The name of the Auto Scaling group.
|
|
@@ -9037,6 +9068,12 @@ class CfnLifecycleHook(
|
|
|
9037
9068
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
9038
9069
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
9039
9070
|
|
|
9071
|
+
@builtins.property
|
|
9072
|
+
@jsii.member(jsii_name="lifecycleHookRef")
|
|
9073
|
+
def lifecycle_hook_ref(self) -> _LifecycleHookReference_9dbdb57d:
|
|
9074
|
+
'''A reference to a LifecycleHook resource.'''
|
|
9075
|
+
return typing.cast(_LifecycleHookReference_9dbdb57d, jsii.get(self, "lifecycleHookRef"))
|
|
9076
|
+
|
|
9040
9077
|
@builtins.property
|
|
9041
9078
|
@jsii.member(jsii_name="autoScalingGroupName")
|
|
9042
9079
|
def auto_scaling_group_name(self) -> builtins.str:
|
|
@@ -9333,7 +9370,7 @@ class CfnLifecycleHookProps:
|
|
|
9333
9370
|
)
|
|
9334
9371
|
|
|
9335
9372
|
|
|
9336
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
9373
|
+
@jsii.implements(_IInspectable_c2943556, _IScalingPolicyRef_fcca0de5)
|
|
9337
9374
|
class CfnScalingPolicy(
|
|
9338
9375
|
_CfnResource_9df397a6,
|
|
9339
9376
|
metaclass=jsii.JSIIMeta,
|
|
@@ -9549,7 +9586,8 @@ class CfnScalingPolicy(
|
|
|
9549
9586
|
step_adjustments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScalingPolicy.StepAdjustmentProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9550
9587
|
target_tracking_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnScalingPolicy.TargetTrackingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9551
9588
|
) -> None:
|
|
9552
|
-
'''
|
|
9589
|
+
'''Create a new ``AWS::AutoScaling::ScalingPolicy``.
|
|
9590
|
+
|
|
9553
9591
|
:param scope: Scope in which this resource is defined.
|
|
9554
9592
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
9555
9593
|
:param auto_scaling_group_name: The name of the Auto Scaling group.
|
|
@@ -9637,6 +9675,12 @@ class CfnScalingPolicy(
|
|
|
9637
9675
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
9638
9676
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
9639
9677
|
|
|
9678
|
+
@builtins.property
|
|
9679
|
+
@jsii.member(jsii_name="scalingPolicyRef")
|
|
9680
|
+
def scaling_policy_ref(self) -> _ScalingPolicyReference_2748026a:
|
|
9681
|
+
'''A reference to a ScalingPolicy resource.'''
|
|
9682
|
+
return typing.cast(_ScalingPolicyReference_2748026a, jsii.get(self, "scalingPolicyRef"))
|
|
9683
|
+
|
|
9640
9684
|
@builtins.property
|
|
9641
9685
|
@jsii.member(jsii_name="autoScalingGroupName")
|
|
9642
9686
|
def auto_scaling_group_name(self) -> builtins.str:
|
|
@@ -12651,7 +12695,7 @@ class CfnScalingPolicyProps:
|
|
|
12651
12695
|
)
|
|
12652
12696
|
|
|
12653
12697
|
|
|
12654
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
12698
|
+
@jsii.implements(_IInspectable_c2943556, _IScheduledActionRef_33aa837e)
|
|
12655
12699
|
class CfnScheduledAction(
|
|
12656
12700
|
_CfnResource_9df397a6,
|
|
12657
12701
|
metaclass=jsii.JSIIMeta,
|
|
@@ -12701,7 +12745,8 @@ class CfnScheduledAction(
|
|
|
12701
12745
|
start_time: typing.Optional[builtins.str] = None,
|
|
12702
12746
|
time_zone: typing.Optional[builtins.str] = None,
|
|
12703
12747
|
) -> None:
|
|
12704
|
-
'''
|
|
12748
|
+
'''Create a new ``AWS::AutoScaling::ScheduledAction``.
|
|
12749
|
+
|
|
12705
12750
|
:param scope: Scope in which this resource is defined.
|
|
12706
12751
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
12707
12752
|
:param auto_scaling_group_name: The name of the Auto Scaling group.
|
|
@@ -12774,6 +12819,12 @@ class CfnScheduledAction(
|
|
|
12774
12819
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
12775
12820
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
12776
12821
|
|
|
12822
|
+
@builtins.property
|
|
12823
|
+
@jsii.member(jsii_name="scheduledActionRef")
|
|
12824
|
+
def scheduled_action_ref(self) -> _ScheduledActionReference_554a95fb:
|
|
12825
|
+
'''A reference to a ScheduledAction resource.'''
|
|
12826
|
+
return typing.cast(_ScheduledActionReference_554a95fb, jsii.get(self, "scheduledActionRef"))
|
|
12827
|
+
|
|
12777
12828
|
@builtins.property
|
|
12778
12829
|
@jsii.member(jsii_name="autoScalingGroupName")
|
|
12779
12830
|
def auto_scaling_group_name(self) -> builtins.str:
|
|
@@ -13071,7 +13122,7 @@ class CfnScheduledActionProps:
|
|
|
13071
13122
|
)
|
|
13072
13123
|
|
|
13073
13124
|
|
|
13074
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
13125
|
+
@jsii.implements(_IInspectable_c2943556, _IWarmPoolRef_3adfa724)
|
|
13075
13126
|
class CfnWarmPool(
|
|
13076
13127
|
_CfnResource_9df397a6,
|
|
13077
13128
|
metaclass=jsii.JSIIMeta,
|
|
@@ -13122,7 +13173,8 @@ class CfnWarmPool(
|
|
|
13122
13173
|
min_size: typing.Optional[jsii.Number] = None,
|
|
13123
13174
|
pool_state: typing.Optional[builtins.str] = None,
|
|
13124
13175
|
) -> None:
|
|
13125
|
-
'''
|
|
13176
|
+
'''Create a new ``AWS::AutoScaling::WarmPool``.
|
|
13177
|
+
|
|
13126
13178
|
:param scope: Scope in which this resource is defined.
|
|
13127
13179
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
13128
13180
|
:param auto_scaling_group_name: The name of the Auto Scaling group.
|
|
@@ -13180,6 +13232,12 @@ class CfnWarmPool(
|
|
|
13180
13232
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
13181
13233
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
13182
13234
|
|
|
13235
|
+
@builtins.property
|
|
13236
|
+
@jsii.member(jsii_name="warmPoolRef")
|
|
13237
|
+
def warm_pool_ref(self) -> _WarmPoolReference_d06989e8:
|
|
13238
|
+
'''A reference to a WarmPool resource.'''
|
|
13239
|
+
return typing.cast(_WarmPoolReference_d06989e8, jsii.get(self, "warmPoolRef"))
|
|
13240
|
+
|
|
13183
13241
|
@builtins.property
|
|
13184
13242
|
@jsii.member(jsii_name="autoScalingGroupName")
|
|
13185
13243
|
def auto_scaling_group_name(self) -> builtins.str:
|
|
@@ -13543,7 +13601,7 @@ class CommonAutoScalingGroupProps:
|
|
|
13543
13601
|
:param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
13544
13602
|
:param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
13545
13603
|
:param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
|
|
13546
|
-
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least
|
|
13604
|
+
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
|
|
13547
13605
|
:param min_capacity: Minimum number of instances in the fleet. Default: 1
|
|
13548
13606
|
:param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
|
|
13549
13607
|
:param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
|
|
@@ -13950,7 +14008,7 @@ class CommonAutoScalingGroupProps:
|
|
|
13950
14008
|
to all current and future instances in the group. As an instance approaches its maximum duration,
|
|
13951
14009
|
it is terminated and replaced, and cannot be used again.
|
|
13952
14010
|
|
|
13953
|
-
You must specify a value of at least
|
|
14011
|
+
You must specify a value of at least 86,400 seconds (one day). To clear a previously set value,
|
|
13954
14012
|
leave this property undefined.
|
|
13955
14013
|
|
|
13956
14014
|
:default: none
|
|
@@ -16224,6 +16282,12 @@ class LifecycleHook(
|
|
|
16224
16282
|
|
|
16225
16283
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
16226
16284
|
|
|
16285
|
+
@jsii.python.classproperty
|
|
16286
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
16287
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
16288
|
+
'''Uniquely identifies this class.'''
|
|
16289
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
16290
|
+
|
|
16227
16291
|
@builtins.property
|
|
16228
16292
|
@jsii.member(jsii_name="lifecycleHookName")
|
|
16229
16293
|
def lifecycle_hook_name(self) -> builtins.str:
|
|
@@ -17661,6 +17725,12 @@ class ScheduledAction(
|
|
|
17661
17725
|
|
|
17662
17726
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
17663
17727
|
|
|
17728
|
+
@jsii.python.classproperty
|
|
17729
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
17730
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
17731
|
+
'''Uniquely identifies this class.'''
|
|
17732
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
17733
|
+
|
|
17664
17734
|
@builtins.property
|
|
17665
17735
|
@jsii.member(jsii_name="scheduledActionName")
|
|
17666
17736
|
def scheduled_action_name(self) -> builtins.str:
|
|
@@ -18225,9 +18295,9 @@ class StepScalingAction(
|
|
|
18225
18295
|
lower_bound: typing.Optional[jsii.Number] = None,
|
|
18226
18296
|
upper_bound: typing.Optional[jsii.Number] = None,
|
|
18227
18297
|
) -> None:
|
|
18228
|
-
'''Add an
|
|
18298
|
+
'''Add an adjustment interval to the ScalingAction.
|
|
18229
18299
|
|
|
18230
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
18300
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
18231
18301
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
18232
18302
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
18233
18303
|
'''
|
|
@@ -19193,6 +19263,12 @@ class WarmPool(
|
|
|
19193
19263
|
|
|
19194
19264
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
19195
19265
|
|
|
19266
|
+
@jsii.python.classproperty
|
|
19267
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
19268
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
19269
|
+
'''Uniquely identifies this class.'''
|
|
19270
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
19271
|
+
|
|
19196
19272
|
|
|
19197
19273
|
@jsii.data_type(
|
|
19198
19274
|
jsii_type="aws-cdk-lib.aws_autoscaling.WarmPoolOptions",
|
|
@@ -19476,6 +19552,7 @@ class AutoScalingGroup(
|
|
|
19476
19552
|
launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
|
|
19477
19553
|
machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
|
|
19478
19554
|
max_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
19555
|
+
migrate_to_launch_template: typing.Optional[builtins.bool] = None,
|
|
19479
19556
|
min_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
19480
19557
|
mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19481
19558
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
@@ -19521,6 +19598,7 @@ class AutoScalingGroup(
|
|
|
19521
19598
|
:param launch_template: Launch template to use. Launch configuration related settings and MixedInstancesPolicy must not be specified when a launch template is specified. Default: - Do not provide any launch template
|
|
19522
19599
|
:param machine_image: AMI to launch. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Do not provide any machine image
|
|
19523
19600
|
:param max_healthy_percentage: Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
|
|
19601
|
+
:param migrate_to_launch_template: Whether safety guardrail should be enforced when migrating to the launch template. Default: false
|
|
19524
19602
|
:param min_healthy_percentage: Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
|
|
19525
19603
|
:param mixed_instances_policy: Mixed Instances Policy to use. Launch configuration related settings and Launch Template must not be specified when a MixedInstancesPolicy is specified. Default: - Do not provide any MixedInstancesPolicy
|
|
19526
19604
|
:param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: false
|
|
@@ -19544,7 +19622,7 @@ class AutoScalingGroup(
|
|
|
19544
19622
|
:param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
19545
19623
|
:param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
19546
19624
|
:param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
|
|
19547
|
-
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least
|
|
19625
|
+
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
|
|
19548
19626
|
:param min_capacity: Minimum number of instances in the fleet. Default: 1
|
|
19549
19627
|
:param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
|
|
19550
19628
|
:param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
|
|
@@ -19568,6 +19646,7 @@ class AutoScalingGroup(
|
|
|
19568
19646
|
launch_template=launch_template,
|
|
19569
19647
|
machine_image=machine_image,
|
|
19570
19648
|
max_healthy_percentage=max_healthy_percentage,
|
|
19649
|
+
migrate_to_launch_template=migrate_to_launch_template,
|
|
19571
19650
|
min_healthy_percentage=min_healthy_percentage,
|
|
19572
19651
|
mixed_instances_policy=mixed_instances_policy,
|
|
19573
19652
|
require_imdsv2=require_imdsv2,
|
|
@@ -20058,6 +20137,12 @@ class AutoScalingGroup(
|
|
|
20058
20137
|
|
|
20059
20138
|
return typing.cast(TargetTrackingScalingPolicy, jsii.invoke(self, "scaleToTrackMetric", [id, props]))
|
|
20060
20139
|
|
|
20140
|
+
@jsii.python.classproperty
|
|
20141
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20142
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20143
|
+
'''Uniquely identifies this class.'''
|
|
20144
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20145
|
+
|
|
20061
20146
|
@builtins.property
|
|
20062
20147
|
@jsii.member(jsii_name="autoScalingGroupArn")
|
|
20063
20148
|
def auto_scaling_group_arn(self) -> builtins.str:
|
|
@@ -20204,6 +20289,7 @@ class AutoScalingGroup(
|
|
|
20204
20289
|
"launch_template": "launchTemplate",
|
|
20205
20290
|
"machine_image": "machineImage",
|
|
20206
20291
|
"max_healthy_percentage": "maxHealthyPercentage",
|
|
20292
|
+
"migrate_to_launch_template": "migrateToLaunchTemplate",
|
|
20207
20293
|
"min_healthy_percentage": "minHealthyPercentage",
|
|
20208
20294
|
"mixed_instances_policy": "mixedInstancesPolicy",
|
|
20209
20295
|
"require_imdsv2": "requireImdsv2",
|
|
@@ -20251,6 +20337,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20251
20337
|
launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
|
|
20252
20338
|
machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
|
|
20253
20339
|
max_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
20340
|
+
migrate_to_launch_template: typing.Optional[builtins.bool] = None,
|
|
20254
20341
|
min_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
20255
20342
|
mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
20256
20343
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
@@ -20277,7 +20364,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20277
20364
|
:param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
20278
20365
|
:param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
|
|
20279
20366
|
:param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
|
|
20280
|
-
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least
|
|
20367
|
+
:param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
|
|
20281
20368
|
:param min_capacity: Minimum number of instances in the fleet. Default: 1
|
|
20282
20369
|
:param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
|
|
20283
20370
|
:param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
|
|
@@ -20295,6 +20382,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20295
20382
|
:param launch_template: Launch template to use. Launch configuration related settings and MixedInstancesPolicy must not be specified when a launch template is specified. Default: - Do not provide any launch template
|
|
20296
20383
|
:param machine_image: AMI to launch. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified Default: - Do not provide any machine image
|
|
20297
20384
|
:param max_healthy_percentage: Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
|
|
20385
|
+
:param migrate_to_launch_template: Whether safety guardrail should be enforced when migrating to the launch template. Default: false
|
|
20298
20386
|
:param min_healthy_percentage: Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. After it's set, both ``minHealthyPercentage`` and ``maxHealthyPercentage`` to -1 will clear the previously set value. Both or neither of ``minHealthyPercentage`` and ``maxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. Default: - No instance maintenance policy.
|
|
20299
20387
|
:param mixed_instances_policy: Mixed Instances Policy to use. Launch configuration related settings and Launch Template must not be specified when a MixedInstancesPolicy is specified. Default: - Do not provide any MixedInstancesPolicy
|
|
20300
20388
|
:param require_imdsv2: Whether IMDSv2 should be required on launched instances. Default: false
|
|
@@ -20360,6 +20448,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20360
20448
|
check_type(argname="argument launch_template", value=launch_template, expected_type=type_hints["launch_template"])
|
|
20361
20449
|
check_type(argname="argument machine_image", value=machine_image, expected_type=type_hints["machine_image"])
|
|
20362
20450
|
check_type(argname="argument max_healthy_percentage", value=max_healthy_percentage, expected_type=type_hints["max_healthy_percentage"])
|
|
20451
|
+
check_type(argname="argument migrate_to_launch_template", value=migrate_to_launch_template, expected_type=type_hints["migrate_to_launch_template"])
|
|
20363
20452
|
check_type(argname="argument min_healthy_percentage", value=min_healthy_percentage, expected_type=type_hints["min_healthy_percentage"])
|
|
20364
20453
|
check_type(argname="argument mixed_instances_policy", value=mixed_instances_policy, expected_type=type_hints["mixed_instances_policy"])
|
|
20365
20454
|
check_type(argname="argument require_imdsv2", value=require_imdsv2, expected_type=type_hints["require_imdsv2"])
|
|
@@ -20437,6 +20526,8 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20437
20526
|
self._values["machine_image"] = machine_image
|
|
20438
20527
|
if max_healthy_percentage is not None:
|
|
20439
20528
|
self._values["max_healthy_percentage"] = max_healthy_percentage
|
|
20529
|
+
if migrate_to_launch_template is not None:
|
|
20530
|
+
self._values["migrate_to_launch_template"] = migrate_to_launch_template
|
|
20440
20531
|
if min_healthy_percentage is not None:
|
|
20441
20532
|
self._values["min_healthy_percentage"] = min_healthy_percentage
|
|
20442
20533
|
if mixed_instances_policy is not None:
|
|
@@ -20686,7 +20777,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20686
20777
|
to all current and future instances in the group. As an instance approaches its maximum duration,
|
|
20687
20778
|
it is terminated and replaced, and cannot be used again.
|
|
20688
20779
|
|
|
20689
|
-
You must specify a value of at least
|
|
20780
|
+
You must specify a value of at least 86,400 seconds (one day). To clear a previously set value,
|
|
20690
20781
|
leave this property undefined.
|
|
20691
20782
|
|
|
20692
20783
|
:default: none
|
|
@@ -20931,6 +21022,15 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
|
|
|
20931
21022
|
result = self._values.get("max_healthy_percentage")
|
|
20932
21023
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
20933
21024
|
|
|
21025
|
+
@builtins.property
|
|
21026
|
+
def migrate_to_launch_template(self) -> typing.Optional[builtins.bool]:
|
|
21027
|
+
'''Whether safety guardrail should be enforced when migrating to the launch template.
|
|
21028
|
+
|
|
21029
|
+
:default: false
|
|
21030
|
+
'''
|
|
21031
|
+
result = self._values.get("migrate_to_launch_template")
|
|
21032
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
21033
|
+
|
|
20934
21034
|
@builtins.property
|
|
20935
21035
|
def min_healthy_percentage(self) -> typing.Optional[jsii.Number]:
|
|
20936
21036
|
'''Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group.
|
|
@@ -23432,6 +23532,7 @@ def _typecheckingstub__82981fc74407321badee3133fda3bd0a016f4ab7634f761219c1c808c
|
|
|
23432
23532
|
launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
|
|
23433
23533
|
machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
|
|
23434
23534
|
max_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
23535
|
+
migrate_to_launch_template: typing.Optional[builtins.bool] = None,
|
|
23435
23536
|
min_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
23436
23537
|
mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
23437
23538
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
@@ -23682,6 +23783,7 @@ def _typecheckingstub__186ff14d58334848486a7ecd802c6b72a1b76f272f25349712b95361e
|
|
|
23682
23783
|
launch_template: typing.Optional[_ILaunchTemplate_f32c0fd7] = None,
|
|
23683
23784
|
machine_image: typing.Optional[_IMachineImage_0e8bd50b] = None,
|
|
23684
23785
|
max_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
23786
|
+
migrate_to_launch_template: typing.Optional[builtins.bool] = None,
|
|
23685
23787
|
min_healthy_percentage: typing.Optional[jsii.Number] = None,
|
|
23686
23788
|
mixed_instances_policy: typing.Optional[typing.Union[MixedInstancesPolicy, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
23687
23789
|
require_imdsv2: typing.Optional[builtins.bool] = None,
|
|
@@ -23714,3 +23816,6 @@ def _typecheckingstub__6ff963496b9575bed65676b74f3ced132fbbe3f66d21d3cf47ce3313d
|
|
|
23714
23816
|
) -> None:
|
|
23715
23817
|
"""Type checking stubs"""
|
|
23716
23818
|
pass
|
|
23819
|
+
|
|
23820
|
+
for cls in [IAutoScalingGroup, ILifecycleHook, ILifecycleHookTarget]:
|
|
23821
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|