aws-cdk-lib 2.127.0__py3-none-any.whl → 2.129.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 +6 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.127.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +925 -133
- aws_cdk/aws_codedeploy/__init__.py +69 -0
- aws_cdk/aws_codepipeline/__init__.py +1461 -111
- aws_cdk/aws_codepipeline_actions/__init__.py +40 -34
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +175 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +12 -6
- aws_cdk/aws_s3_deployment/__init__.py +29 -0
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +195 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_ses/__init__.py +166 -9
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_sqs/__init__.py +10 -12
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +103 -103
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
|
@@ -84,6 +84,9 @@ deployment_group = codedeploy.ServerDeploymentGroup(self, "CodeDeployDeploymentG
|
|
|
84
84
|
# whether to ignore failure to fetch the status of alarms from CloudWatch
|
|
85
85
|
# default: false
|
|
86
86
|
ignore_poll_alarms_failure=False,
|
|
87
|
+
# whether to skip the step of checking CloudWatch alarms during the deployment process
|
|
88
|
+
# default: false
|
|
89
|
+
ignore_alarm_configuration=False,
|
|
87
90
|
# auto-rollback configuration
|
|
88
91
|
auto_rollback=codedeploy.AutoRollbackConfig(
|
|
89
92
|
failed_deployment=True, # default: true
|
|
@@ -844,6 +847,9 @@ class AutoRollbackConfig:
|
|
|
844
847
|
# whether to ignore failure to fetch the status of alarms from CloudWatch
|
|
845
848
|
# default: false
|
|
846
849
|
ignore_poll_alarms_failure=False,
|
|
850
|
+
# whether to skip the step of checking CloudWatch alarms during the deployment process
|
|
851
|
+
# default: false
|
|
852
|
+
ignore_alarm_configuration=False,
|
|
847
853
|
# auto-rollback configuration
|
|
848
854
|
auto_rollback=codedeploy.AutoRollbackConfig(
|
|
849
855
|
failed_deployment=True, # default: true
|
|
@@ -6122,6 +6128,7 @@ class EcsDeploymentGroupAttributes:
|
|
|
6122
6128
|
"auto_rollback": "autoRollback",
|
|
6123
6129
|
"deployment_config": "deploymentConfig",
|
|
6124
6130
|
"deployment_group_name": "deploymentGroupName",
|
|
6131
|
+
"ignore_alarm_configuration": "ignoreAlarmConfiguration",
|
|
6125
6132
|
"ignore_poll_alarms_failure": "ignorePollAlarmsFailure",
|
|
6126
6133
|
"role": "role",
|
|
6127
6134
|
},
|
|
@@ -6137,6 +6144,7 @@ class EcsDeploymentGroupProps:
|
|
|
6137
6144
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6138
6145
|
deployment_config: typing.Optional["IEcsDeploymentConfig"] = None,
|
|
6139
6146
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
6147
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
6140
6148
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
6141
6149
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
6142
6150
|
) -> None:
|
|
@@ -6149,6 +6157,7 @@ class EcsDeploymentGroupProps:
|
|
|
6149
6157
|
:param auto_rollback: The auto-rollback configuration for this Deployment Group. Default: - default AutoRollbackConfig.
|
|
6150
6158
|
:param deployment_config: The Deployment Configuration this Deployment Group uses. Default: EcsDeploymentConfig.ALL_AT_ONCE
|
|
6151
6159
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: An auto-generated name will be used.
|
|
6160
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
6152
6161
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
6153
6162
|
:param role: The service Role of this Deployment Group. Default: - A new Role will be created.
|
|
6154
6163
|
|
|
@@ -6195,6 +6204,7 @@ class EcsDeploymentGroupProps:
|
|
|
6195
6204
|
check_type(argname="argument auto_rollback", value=auto_rollback, expected_type=type_hints["auto_rollback"])
|
|
6196
6205
|
check_type(argname="argument deployment_config", value=deployment_config, expected_type=type_hints["deployment_config"])
|
|
6197
6206
|
check_type(argname="argument deployment_group_name", value=deployment_group_name, expected_type=type_hints["deployment_group_name"])
|
|
6207
|
+
check_type(argname="argument ignore_alarm_configuration", value=ignore_alarm_configuration, expected_type=type_hints["ignore_alarm_configuration"])
|
|
6198
6208
|
check_type(argname="argument ignore_poll_alarms_failure", value=ignore_poll_alarms_failure, expected_type=type_hints["ignore_poll_alarms_failure"])
|
|
6199
6209
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
6200
6210
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -6211,6 +6221,8 @@ class EcsDeploymentGroupProps:
|
|
|
6211
6221
|
self._values["deployment_config"] = deployment_config
|
|
6212
6222
|
if deployment_group_name is not None:
|
|
6213
6223
|
self._values["deployment_group_name"] = deployment_group_name
|
|
6224
|
+
if ignore_alarm_configuration is not None:
|
|
6225
|
+
self._values["ignore_alarm_configuration"] = ignore_alarm_configuration
|
|
6214
6226
|
if ignore_poll_alarms_failure is not None:
|
|
6215
6227
|
self._values["ignore_poll_alarms_failure"] = ignore_poll_alarms_failure
|
|
6216
6228
|
if role is not None:
|
|
@@ -6282,6 +6294,15 @@ class EcsDeploymentGroupProps:
|
|
|
6282
6294
|
result = self._values.get("deployment_group_name")
|
|
6283
6295
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6284
6296
|
|
|
6297
|
+
@builtins.property
|
|
6298
|
+
def ignore_alarm_configuration(self) -> typing.Optional[builtins.bool]:
|
|
6299
|
+
'''Whether to skip the step of checking CloudWatch alarms during the deployment process.
|
|
6300
|
+
|
|
6301
|
+
:default: - false
|
|
6302
|
+
'''
|
|
6303
|
+
result = self._values.get("ignore_alarm_configuration")
|
|
6304
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
6305
|
+
|
|
6285
6306
|
@builtins.property
|
|
6286
6307
|
def ignore_poll_alarms_failure(self) -> typing.Optional[builtins.bool]:
|
|
6287
6308
|
'''Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
|
@@ -6955,6 +6976,9 @@ class InstanceTagSet(
|
|
|
6955
6976
|
# whether to ignore failure to fetch the status of alarms from CloudWatch
|
|
6956
6977
|
# default: false
|
|
6957
6978
|
ignore_poll_alarms_failure=False,
|
|
6979
|
+
# whether to skip the step of checking CloudWatch alarms during the deployment process
|
|
6980
|
+
# default: false
|
|
6981
|
+
ignore_alarm_configuration=False,
|
|
6958
6982
|
# auto-rollback configuration
|
|
6959
6983
|
auto_rollback=codedeploy.AutoRollbackConfig(
|
|
6960
6984
|
failed_deployment=True, # default: true
|
|
@@ -7299,6 +7323,7 @@ class LambdaDeploymentGroup(
|
|
|
7299
7323
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7300
7324
|
deployment_config: typing.Optional[ILambdaDeploymentConfig] = None,
|
|
7301
7325
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
7326
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
7302
7327
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
7303
7328
|
post_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
7304
7329
|
pre_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
@@ -7313,6 +7338,7 @@ class LambdaDeploymentGroup(
|
|
|
7313
7338
|
:param auto_rollback: The auto-rollback configuration for this Deployment Group. Default: - default AutoRollbackConfig.
|
|
7314
7339
|
:param deployment_config: The Deployment Configuration this Deployment Group uses. Default: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES
|
|
7315
7340
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: - An auto-generated name will be used.
|
|
7341
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
7316
7342
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
7317
7343
|
:param post_hook: The Lambda function to run after traffic routing starts. Default: - None.
|
|
7318
7344
|
:param pre_hook: The Lambda function to run before traffic routing starts. Default: - None.
|
|
@@ -7329,6 +7355,7 @@ class LambdaDeploymentGroup(
|
|
|
7329
7355
|
auto_rollback=auto_rollback,
|
|
7330
7356
|
deployment_config=deployment_config,
|
|
7331
7357
|
deployment_group_name=deployment_group_name,
|
|
7358
|
+
ignore_alarm_configuration=ignore_alarm_configuration,
|
|
7332
7359
|
ignore_poll_alarms_failure=ignore_poll_alarms_failure,
|
|
7333
7360
|
post_hook=post_hook,
|
|
7334
7361
|
pre_hook=pre_hook,
|
|
@@ -7546,6 +7573,7 @@ class LambdaDeploymentGroupAttributes:
|
|
|
7546
7573
|
"auto_rollback": "autoRollback",
|
|
7547
7574
|
"deployment_config": "deploymentConfig",
|
|
7548
7575
|
"deployment_group_name": "deploymentGroupName",
|
|
7576
|
+
"ignore_alarm_configuration": "ignoreAlarmConfiguration",
|
|
7549
7577
|
"ignore_poll_alarms_failure": "ignorePollAlarmsFailure",
|
|
7550
7578
|
"post_hook": "postHook",
|
|
7551
7579
|
"pre_hook": "preHook",
|
|
@@ -7562,6 +7590,7 @@ class LambdaDeploymentGroupProps:
|
|
|
7562
7590
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7563
7591
|
deployment_config: typing.Optional[ILambdaDeploymentConfig] = None,
|
|
7564
7592
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
7593
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
7565
7594
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
7566
7595
|
post_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
7567
7596
|
pre_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
@@ -7575,6 +7604,7 @@ class LambdaDeploymentGroupProps:
|
|
|
7575
7604
|
:param auto_rollback: The auto-rollback configuration for this Deployment Group. Default: - default AutoRollbackConfig.
|
|
7576
7605
|
:param deployment_config: The Deployment Configuration this Deployment Group uses. Default: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES
|
|
7577
7606
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: - An auto-generated name will be used.
|
|
7607
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
7578
7608
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
7579
7609
|
:param post_hook: The Lambda function to run after traffic routing starts. Default: - None.
|
|
7580
7610
|
:param pre_hook: The Lambda function to run before traffic routing starts. Default: - None.
|
|
@@ -7609,6 +7639,7 @@ class LambdaDeploymentGroupProps:
|
|
|
7609
7639
|
check_type(argname="argument auto_rollback", value=auto_rollback, expected_type=type_hints["auto_rollback"])
|
|
7610
7640
|
check_type(argname="argument deployment_config", value=deployment_config, expected_type=type_hints["deployment_config"])
|
|
7611
7641
|
check_type(argname="argument deployment_group_name", value=deployment_group_name, expected_type=type_hints["deployment_group_name"])
|
|
7642
|
+
check_type(argname="argument ignore_alarm_configuration", value=ignore_alarm_configuration, expected_type=type_hints["ignore_alarm_configuration"])
|
|
7612
7643
|
check_type(argname="argument ignore_poll_alarms_failure", value=ignore_poll_alarms_failure, expected_type=type_hints["ignore_poll_alarms_failure"])
|
|
7613
7644
|
check_type(argname="argument post_hook", value=post_hook, expected_type=type_hints["post_hook"])
|
|
7614
7645
|
check_type(argname="argument pre_hook", value=pre_hook, expected_type=type_hints["pre_hook"])
|
|
@@ -7626,6 +7657,8 @@ class LambdaDeploymentGroupProps:
|
|
|
7626
7657
|
self._values["deployment_config"] = deployment_config
|
|
7627
7658
|
if deployment_group_name is not None:
|
|
7628
7659
|
self._values["deployment_group_name"] = deployment_group_name
|
|
7660
|
+
if ignore_alarm_configuration is not None:
|
|
7661
|
+
self._values["ignore_alarm_configuration"] = ignore_alarm_configuration
|
|
7629
7662
|
if ignore_poll_alarms_failure is not None:
|
|
7630
7663
|
self._values["ignore_poll_alarms_failure"] = ignore_poll_alarms_failure
|
|
7631
7664
|
if post_hook is not None:
|
|
@@ -7697,6 +7730,15 @@ class LambdaDeploymentGroupProps:
|
|
|
7697
7730
|
result = self._values.get("deployment_group_name")
|
|
7698
7731
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
7699
7732
|
|
|
7733
|
+
@builtins.property
|
|
7734
|
+
def ignore_alarm_configuration(self) -> typing.Optional[builtins.bool]:
|
|
7735
|
+
'''Whether to skip the step of checking CloudWatch alarms during the deployment process.
|
|
7736
|
+
|
|
7737
|
+
:default: - false
|
|
7738
|
+
'''
|
|
7739
|
+
result = self._values.get("ignore_alarm_configuration")
|
|
7740
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
7741
|
+
|
|
7700
7742
|
@builtins.property
|
|
7701
7743
|
def ignore_poll_alarms_failure(self) -> typing.Optional[builtins.bool]:
|
|
7702
7744
|
'''Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
|
@@ -8210,6 +8252,7 @@ class ServerDeploymentGroup(
|
|
|
8210
8252
|
deployment_config: typing.Optional[IServerDeploymentConfig] = None,
|
|
8211
8253
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
8212
8254
|
ec2_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
8255
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
8213
8256
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
8214
8257
|
install_agent: typing.Optional[builtins.bool] = None,
|
|
8215
8258
|
load_balancer: typing.Optional[LoadBalancer] = None,
|
|
@@ -8227,6 +8270,7 @@ class ServerDeploymentGroup(
|
|
|
8227
8270
|
:param deployment_config: The EC2/on-premise Deployment Configuration to use for this Deployment Group. Default: ServerDeploymentConfig#OneAtATime
|
|
8228
8271
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: - An auto-generated name will be used.
|
|
8229
8272
|
:param ec2_instance_tags: All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group. Default: - No additional EC2 instances will be added to the Deployment Group.
|
|
8273
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
8230
8274
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
8231
8275
|
:param install_agent: If you've provided any auto-scaling groups with the ``#autoScalingGroups`` property, you can set this property to add User Data that installs the CodeDeploy agent on the instances. Default: true
|
|
8232
8276
|
:param load_balancer: (deprecated) The load balancer to place in front of this Deployment Group. Can be created from either a classic Elastic Load Balancer, or an Application Load Balancer / Network Load Balancer Target Group. Default: - Deployment Group will not have a load balancer defined.
|
|
@@ -8246,6 +8290,7 @@ class ServerDeploymentGroup(
|
|
|
8246
8290
|
deployment_config=deployment_config,
|
|
8247
8291
|
deployment_group_name=deployment_group_name,
|
|
8248
8292
|
ec2_instance_tags=ec2_instance_tags,
|
|
8293
|
+
ignore_alarm_configuration=ignore_alarm_configuration,
|
|
8249
8294
|
ignore_poll_alarms_failure=ignore_poll_alarms_failure,
|
|
8250
8295
|
install_agent=install_agent,
|
|
8251
8296
|
load_balancer=load_balancer,
|
|
@@ -8440,6 +8485,7 @@ class ServerDeploymentGroupAttributes:
|
|
|
8440
8485
|
"deployment_config": "deploymentConfig",
|
|
8441
8486
|
"deployment_group_name": "deploymentGroupName",
|
|
8442
8487
|
"ec2_instance_tags": "ec2InstanceTags",
|
|
8488
|
+
"ignore_alarm_configuration": "ignoreAlarmConfiguration",
|
|
8443
8489
|
"ignore_poll_alarms_failure": "ignorePollAlarmsFailure",
|
|
8444
8490
|
"install_agent": "installAgent",
|
|
8445
8491
|
"load_balancer": "loadBalancer",
|
|
@@ -8459,6 +8505,7 @@ class ServerDeploymentGroupProps:
|
|
|
8459
8505
|
deployment_config: typing.Optional[IServerDeploymentConfig] = None,
|
|
8460
8506
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
8461
8507
|
ec2_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
8508
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
8462
8509
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
8463
8510
|
install_agent: typing.Optional[builtins.bool] = None,
|
|
8464
8511
|
load_balancer: typing.Optional[LoadBalancer] = None,
|
|
@@ -8475,6 +8522,7 @@ class ServerDeploymentGroupProps:
|
|
|
8475
8522
|
:param deployment_config: The EC2/on-premise Deployment Configuration to use for this Deployment Group. Default: ServerDeploymentConfig#OneAtATime
|
|
8476
8523
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: - An auto-generated name will be used.
|
|
8477
8524
|
:param ec2_instance_tags: All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group. Default: - No additional EC2 instances will be added to the Deployment Group.
|
|
8525
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
8478
8526
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
8479
8527
|
:param install_agent: If you've provided any auto-scaling groups with the ``#autoScalingGroups`` property, you can set this property to add User Data that installs the CodeDeploy agent on the instances. Default: true
|
|
8480
8528
|
:param load_balancer: (deprecated) The load balancer to place in front of this Deployment Group. Can be created from either a classic Elastic Load Balancer, or an Application Load Balancer / Network Load Balancer Target Group. Default: - Deployment Group will not have a load balancer defined.
|
|
@@ -8506,6 +8554,7 @@ class ServerDeploymentGroupProps:
|
|
|
8506
8554
|
check_type(argname="argument deployment_config", value=deployment_config, expected_type=type_hints["deployment_config"])
|
|
8507
8555
|
check_type(argname="argument deployment_group_name", value=deployment_group_name, expected_type=type_hints["deployment_group_name"])
|
|
8508
8556
|
check_type(argname="argument ec2_instance_tags", value=ec2_instance_tags, expected_type=type_hints["ec2_instance_tags"])
|
|
8557
|
+
check_type(argname="argument ignore_alarm_configuration", value=ignore_alarm_configuration, expected_type=type_hints["ignore_alarm_configuration"])
|
|
8509
8558
|
check_type(argname="argument ignore_poll_alarms_failure", value=ignore_poll_alarms_failure, expected_type=type_hints["ignore_poll_alarms_failure"])
|
|
8510
8559
|
check_type(argname="argument install_agent", value=install_agent, expected_type=type_hints["install_agent"])
|
|
8511
8560
|
check_type(argname="argument load_balancer", value=load_balancer, expected_type=type_hints["load_balancer"])
|
|
@@ -8527,6 +8576,8 @@ class ServerDeploymentGroupProps:
|
|
|
8527
8576
|
self._values["deployment_group_name"] = deployment_group_name
|
|
8528
8577
|
if ec2_instance_tags is not None:
|
|
8529
8578
|
self._values["ec2_instance_tags"] = ec2_instance_tags
|
|
8579
|
+
if ignore_alarm_configuration is not None:
|
|
8580
|
+
self._values["ignore_alarm_configuration"] = ignore_alarm_configuration
|
|
8530
8581
|
if ignore_poll_alarms_failure is not None:
|
|
8531
8582
|
self._values["ignore_poll_alarms_failure"] = ignore_poll_alarms_failure
|
|
8532
8583
|
if install_agent is not None:
|
|
@@ -8618,6 +8669,15 @@ class ServerDeploymentGroupProps:
|
|
|
8618
8669
|
result = self._values.get("ec2_instance_tags")
|
|
8619
8670
|
return typing.cast(typing.Optional[InstanceTagSet], result)
|
|
8620
8671
|
|
|
8672
|
+
@builtins.property
|
|
8673
|
+
def ignore_alarm_configuration(self) -> typing.Optional[builtins.bool]:
|
|
8674
|
+
'''Whether to skip the step of checking CloudWatch alarms during the deployment process.
|
|
8675
|
+
|
|
8676
|
+
:default: - false
|
|
8677
|
+
'''
|
|
8678
|
+
result = self._values.get("ignore_alarm_configuration")
|
|
8679
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8680
|
+
|
|
8621
8681
|
@builtins.property
|
|
8622
8682
|
def ignore_poll_alarms_failure(self) -> typing.Optional[builtins.bool]:
|
|
8623
8683
|
'''Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
|
@@ -9506,6 +9566,7 @@ class EcsDeploymentGroup(
|
|
|
9506
9566
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9507
9567
|
deployment_config: typing.Optional[IEcsDeploymentConfig] = None,
|
|
9508
9568
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
9569
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
9509
9570
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
9510
9571
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
9511
9572
|
) -> None:
|
|
@@ -9519,6 +9580,7 @@ class EcsDeploymentGroup(
|
|
|
9519
9580
|
:param auto_rollback: The auto-rollback configuration for this Deployment Group. Default: - default AutoRollbackConfig.
|
|
9520
9581
|
:param deployment_config: The Deployment Configuration this Deployment Group uses. Default: EcsDeploymentConfig.ALL_AT_ONCE
|
|
9521
9582
|
:param deployment_group_name: The physical, human-readable name of the CodeDeploy Deployment Group. Default: An auto-generated name will be used.
|
|
9583
|
+
:param ignore_alarm_configuration: Whether to skip the step of checking CloudWatch alarms during the deployment process. Default: - false
|
|
9522
9584
|
:param ignore_poll_alarms_failure: Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. Default: false
|
|
9523
9585
|
:param role: The service Role of this Deployment Group. Default: - A new Role will be created.
|
|
9524
9586
|
'''
|
|
@@ -9534,6 +9596,7 @@ class EcsDeploymentGroup(
|
|
|
9534
9596
|
auto_rollback=auto_rollback,
|
|
9535
9597
|
deployment_config=deployment_config,
|
|
9536
9598
|
deployment_group_name=deployment_group_name,
|
|
9599
|
+
ignore_alarm_configuration=ignore_alarm_configuration,
|
|
9537
9600
|
ignore_poll_alarms_failure=ignore_poll_alarms_failure,
|
|
9538
9601
|
role=role,
|
|
9539
9602
|
)
|
|
@@ -10721,6 +10784,7 @@ def _typecheckingstub__7adf7c582969f2d223ca19321a889bd4195cc6c299e92558e985e0fdc
|
|
|
10721
10784
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10722
10785
|
deployment_config: typing.Optional[IEcsDeploymentConfig] = None,
|
|
10723
10786
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
10787
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
10724
10788
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
10725
10789
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
10726
10790
|
) -> None:
|
|
@@ -10790,6 +10854,7 @@ def _typecheckingstub__c26416b16de08b4064de631244255b96e87828c1c22b3d5795282b418
|
|
|
10790
10854
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10791
10855
|
deployment_config: typing.Optional[ILambdaDeploymentConfig] = None,
|
|
10792
10856
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
10857
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
10793
10858
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
10794
10859
|
post_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
10795
10860
|
pre_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
@@ -10850,6 +10915,7 @@ def _typecheckingstub__874e757437525f2d71406c292cf5ac7fae66797609da322dac9063247
|
|
|
10850
10915
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10851
10916
|
deployment_config: typing.Optional[ILambdaDeploymentConfig] = None,
|
|
10852
10917
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
10918
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
10853
10919
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
10854
10920
|
post_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
10855
10921
|
pre_hook: typing.Optional[_IFunction_6adb0ab8] = None,
|
|
@@ -10947,6 +11013,7 @@ def _typecheckingstub__e0364d4b48c02675a1899e742e45b411f0e83905e634a84441d088a41
|
|
|
10947
11013
|
deployment_config: typing.Optional[IServerDeploymentConfig] = None,
|
|
10948
11014
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
10949
11015
|
ec2_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
11016
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
10950
11017
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
10951
11018
|
install_agent: typing.Optional[builtins.bool] = None,
|
|
10952
11019
|
load_balancer: typing.Optional[LoadBalancer] = None,
|
|
@@ -10998,6 +11065,7 @@ def _typecheckingstub__a3ad41a581be1a234fd5722299d51aa77bd7beaf51e0511c95ee742d4
|
|
|
10998
11065
|
deployment_config: typing.Optional[IServerDeploymentConfig] = None,
|
|
10999
11066
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
11000
11067
|
ec2_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
11068
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
11001
11069
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
11002
11070
|
install_agent: typing.Optional[builtins.bool] = None,
|
|
11003
11071
|
load_balancer: typing.Optional[LoadBalancer] = None,
|
|
@@ -11131,6 +11199,7 @@ def _typecheckingstub__1d5a27f58faebed8ad465b39d408bd717722f646f6471896e02b8ea95
|
|
|
11131
11199
|
auto_rollback: typing.Optional[typing.Union[AutoRollbackConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
11132
11200
|
deployment_config: typing.Optional[IEcsDeploymentConfig] = None,
|
|
11133
11201
|
deployment_group_name: typing.Optional[builtins.str] = None,
|
|
11202
|
+
ignore_alarm_configuration: typing.Optional[builtins.bool] = None,
|
|
11134
11203
|
ignore_poll_alarms_failure: typing.Optional[builtins.bool] = None,
|
|
11135
11204
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
11136
11205
|
) -> None:
|