@cdklabs/cdk-ecs-codedeploy 0.0.219 → 0.0.221

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.
Files changed (35) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/models_0.js +20 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +17 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/models_0.js +17 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +18 -1
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +11 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +1 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +8 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +2 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +2 -2
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +4 -1
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +168 -18
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/models/models_0.d.ts +37 -5
  24. package/node_modules/@aws-sdk/client-codedeploy/package.json +13 -13
  25. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  26. package/node_modules/@aws-sdk/client-sts/package.json +12 -12
  27. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  28. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  29. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  30. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  31. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  32. package/node_modules/@aws-sdk/token-providers/package.json +11 -11
  33. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  34. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  35. package/package.json +6 -6
@@ -372,9 +372,18 @@ export interface AutoScalingGroup {
372
372
  name?: string;
373
373
  /**
374
374
  * @public
375
- * <p>An Auto Scaling lifecycle event hook name.</p>
375
+ * <p>The name of the launch hook that CodeDeploy installed into the Auto Scaling group.</p>
376
+ * <p>For more information about the launch hook, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors">How Amazon EC2 Auto Scaling works with CodeDeploy</a> in the
377
+ * <i>CodeDeploy User Guide</i>.</p>
376
378
  */
377
379
  hook?: string;
380
+ /**
381
+ * @public
382
+ * <p>The name of the termination hook that CodeDeploy installed into the Auto Scaling group.</p>
383
+ * <p>For more information about the termination hook, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable">Enabling termination deployments during Auto Scaling scale-in events</a> in the
384
+ * <i>CodeDeploy User Guide</i>.</p>
385
+ */
386
+ terminationHook?: string;
378
387
  }
379
388
  /**
380
389
  * @public
@@ -1060,18 +1069,18 @@ export interface LastDeploymentInfo {
1060
1069
  }
1061
1070
  /**
1062
1071
  * @public
1063
- * <p>Information about a Classic Load Balancer in Elastic Load Balancing to use in a deployment.
1064
- * Instances are registered directly with a load balancer, and traffic is routed to the
1065
- * load balancer.</p>
1072
+ * <p>Information about a Classic Load Balancer in Elastic Load Balancing to use in a
1073
+ * deployment. Instances are registered directly with a load balancer, and traffic is
1074
+ * routed to the load balancer.</p>
1066
1075
  */
1067
1076
  export interface ELBInfo {
1068
1077
  /**
1069
1078
  * @public
1070
- * <p>For blue/green deployments, the name of the Classic Load Balancer that is used to route
1071
- * traffic from original instances to replacement instances in a blue/green deployment. For
1072
- * in-place deployments, the name of the Classic Load Balancer that instances are deregistered from
1073
- * so they are not serving traffic during a deployment, and then re-registered with after
1074
- * the deployment is complete.</p>
1079
+ * <p>For blue/green deployments, the name of the Classic Load Balancer that is used to
1080
+ * route traffic from original instances to replacement instances in a blue/green
1081
+ * deployment. For in-place deployments, the name of the Classic Load Balancer that
1082
+ * instances are deregistered from so they are not serving traffic during a deployment, and
1083
+ * then re-registered with after the deployment is complete.</p>
1075
1084
  */
1076
1085
  name?: string;
1077
1086
  }
@@ -1143,8 +1152,8 @@ export interface LoadBalancerInfo {
1143
1152
  /**
1144
1153
  * @public
1145
1154
  * <p>An array that contains information about the load balancers to use for load balancing
1146
- * in a deployment. If you're using Classic Load Balancers, specify those load balancers
1147
- * in this array. </p>
1155
+ * in a deployment. If you're using Classic Load Balancers, specify those load balancers in
1156
+ * this array. </p>
1148
1157
  * <note>
1149
1158
  * <p>You can add up to 10 load balancers to the array.</p>
1150
1159
  * </note>
@@ -1424,6 +1433,14 @@ export interface DeploymentGroupInfo {
1424
1433
  * pair using the format <code><clustername>:<servicename></code>. </p>
1425
1434
  */
1426
1435
  ecsServices?: ECSService[];
1436
+ /**
1437
+ * @public
1438
+ * <p>Indicates whether the deployment group was configured to have CodeDeploy
1439
+ * install a termination hook into an Auto Scaling group.</p>
1440
+ * <p>For more information about the termination hook, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors">How Amazon EC2 Auto Scaling works with CodeDeploy</a> in the
1441
+ * <i>CodeDeploy User Guide</i>.</p>
1442
+ */
1443
+ terminationHookEnabled?: boolean;
1427
1444
  }
1428
1445
  /**
1429
1446
  * @public
@@ -1833,6 +1850,7 @@ export interface BatchGetDeploymentsInput {
1833
1850
  */
1834
1851
  export declare const DeploymentCreator: {
1835
1852
  readonly Autoscaling: "autoscaling";
1853
+ readonly AutoscalingTermination: "autoscalingTermination";
1836
1854
  readonly CloudFormation: "CloudFormation";
1837
1855
  readonly CloudFormationRollback: "CloudFormationRollback";
1838
1856
  readonly CodeDeploy: "CodeDeploy";
@@ -2328,7 +2346,7 @@ export interface BatchGetDeploymentTargetsInput {
2328
2346
  * @public
2329
2347
  * <p> The unique ID of a deployment. </p>
2330
2348
  */
2331
- deploymentId?: string;
2349
+ deploymentId: string | undefined;
2332
2350
  /**
2333
2351
  * @public
2334
2352
  * <p> The unique IDs of the deployment targets. The compute platform of the deployment
@@ -2358,7 +2376,7 @@ export interface BatchGetDeploymentTargetsInput {
2358
2376
  * </li>
2359
2377
  * </ul>
2360
2378
  */
2361
- targetIds?: string[];
2379
+ targetIds: string[] | undefined;
2362
2380
  }
2363
2381
  /**
2364
2382
  * @public
@@ -3454,7 +3472,7 @@ export declare const MinimumHealthyHostsType: {
3454
3472
  export type MinimumHealthyHostsType = (typeof MinimumHealthyHostsType)[keyof typeof MinimumHealthyHostsType];
3455
3473
  /**
3456
3474
  * @public
3457
- * <p>Information about minimum healthy instance.</p>
3475
+ * <p>Information about the minimum number of healthy instances.</p>
3458
3476
  */
3459
3477
  export interface MinimumHealthyHosts {
3460
3478
  /**
@@ -3586,6 +3604,87 @@ export interface TrafficRoutingConfig {
3586
3604
  */
3587
3605
  timeBasedLinear?: TimeBasedLinear;
3588
3606
  }
3607
+ /**
3608
+ * @public
3609
+ * @enum
3610
+ */
3611
+ export declare const MinimumHealthyHostsPerZoneType: {
3612
+ readonly FLEET_PERCENT: "FLEET_PERCENT";
3613
+ readonly HOST_COUNT: "HOST_COUNT";
3614
+ };
3615
+ /**
3616
+ * @public
3617
+ */
3618
+ export type MinimumHealthyHostsPerZoneType = (typeof MinimumHealthyHostsPerZoneType)[keyof typeof MinimumHealthyHostsPerZoneType];
3619
+ /**
3620
+ * @public
3621
+ * <p>Information about the minimum number of healthy instances per Availability
3622
+ * Zone.</p>
3623
+ */
3624
+ export interface MinimumHealthyHostsPerZone {
3625
+ /**
3626
+ * @public
3627
+ * <p>The <code>type</code> associated with the <code>MinimumHealthyHostsPerZone</code>
3628
+ * option.</p>
3629
+ */
3630
+ type?: MinimumHealthyHostsPerZoneType;
3631
+ /**
3632
+ * @public
3633
+ * <p>The <code>value</code> associated with the <code>MinimumHealthyHostsPerZone</code>
3634
+ * option.</p>
3635
+ */
3636
+ value?: number;
3637
+ }
3638
+ /**
3639
+ * @public
3640
+ * <p>Configure the <code>ZonalConfig</code> object if you want CodeDeploy to
3641
+ * deploy your application to one <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones">Availability Zone</a> at a time, within an Amazon Web Services Region. By
3642
+ * deploying to one Availability Zone at a time, you can expose your deployment to a
3643
+ * progressively larger audience as confidence in the deployment's performance and
3644
+ * viability grows. If you don't configure the <code>ZonalConfig</code> object, CodeDeploy deploys your application to a random selection of hosts across a
3645
+ * Region.</p>
3646
+ * <p>For more information about the zonal configuration feature, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config">zonal configuration</a> in the <i>CodeDeploy User
3647
+ * Guide</i>.</p>
3648
+ */
3649
+ export interface ZonalConfig {
3650
+ /**
3651
+ * @public
3652
+ * <p>The period of time, in seconds, that CodeDeploy must wait after completing a
3653
+ * deployment to the <i>first</i> Availability Zone. CodeDeploy will
3654
+ * wait this amount of time before starting a deployment to the second Availability Zone.
3655
+ * You might set this option if you want to allow extra bake time for the first
3656
+ * Availability Zone. If you don't specify a value for
3657
+ * <code>firstZoneMonitorDurationInSeconds</code>, then CodeDeploy uses the
3658
+ * <code>monitorDurationInSeconds</code> value for the first Availability Zone.</p>
3659
+ * <p>For more information about the zonal configuration feature, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config">zonal configuration</a> in the <i>CodeDeploy User
3660
+ * Guide</i>.</p>
3661
+ */
3662
+ firstZoneMonitorDurationInSeconds?: number;
3663
+ /**
3664
+ * @public
3665
+ * <p>The period of time, in seconds, that CodeDeploy must wait after completing a
3666
+ * deployment to an Availability Zone. CodeDeploy will wait this amount of time
3667
+ * before starting a deployment to the next Availability Zone. Consider adding a monitor
3668
+ * duration to give the deployment some time to prove itself (or 'bake') in one
3669
+ * Availability Zone before it is released in the next zone. If you don't specify a
3670
+ * <code>monitorDurationInSeconds</code>, CodeDeploy starts deploying to the
3671
+ * next Availability Zone immediately.</p>
3672
+ * <p>For more information about the zonal configuration feature, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config">zonal configuration</a> in the <i>CodeDeploy User
3673
+ * Guide</i>.</p>
3674
+ */
3675
+ monitorDurationInSeconds?: number;
3676
+ /**
3677
+ * @public
3678
+ * <p>The number or percentage of instances that must remain available per Availability Zone
3679
+ * during a deployment. This option works in conjunction with the
3680
+ * <code>MinimumHealthyHosts</code> option. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az">About the minimum number of healthy hosts per Availability Zone</a> in the
3681
+ * <i>CodeDeploy User Guide</i>.</p>
3682
+ * <p>If you don't specify the <code>minimumHealthyHostsPerZone</code> option, then CodeDeploy uses a default value of <code>0</code> percent.</p>
3683
+ * <p>For more information about the zonal configuration feature, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config">zonal configuration</a> in the <i>CodeDeploy User
3684
+ * Guide</i>.</p>
3685
+ */
3686
+ minimumHealthyHostsPerZone?: MinimumHealthyHostsPerZone;
3687
+ }
3589
3688
  /**
3590
3689
  * @public
3591
3690
  * <p>Represents the input of a <code>CreateDeploymentConfig</code> operation.</p>
@@ -3629,6 +3728,14 @@ export interface CreateDeploymentConfigInput {
3629
3728
  * <code>Server</code>, or <code>ECS</code>).</p>
3630
3729
  */
3631
3730
  computePlatform?: ComputePlatform;
3731
+ /**
3732
+ * @public
3733
+ * <p>Configure the <code>ZonalConfig</code> object if you want CodeDeploy to
3734
+ * deploy your application to one <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones">Availability Zone</a> at a time, within an Amazon Web Services Region.</p>
3735
+ * <p>For more information about the zonal configuration feature, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config">zonal configuration</a> in the <i>CodeDeploy User
3736
+ * Guide</i>.</p>
3737
+ */
3738
+ zonalConfig?: ZonalConfig;
3632
3739
  }
3633
3740
  /**
3634
3741
  * @public
@@ -3689,6 +3796,18 @@ export declare class InvalidMinimumHealthyHostValueException extends __BaseExcep
3689
3796
  */
3690
3797
  constructor(opts: __ExceptionOptionType<InvalidMinimumHealthyHostValueException, __BaseException>);
3691
3798
  }
3799
+ /**
3800
+ * @public
3801
+ * <p>The <code>ZonalConfig</code> object is not valid.</p>
3802
+ */
3803
+ export declare class InvalidZonalDeploymentConfigurationException extends __BaseException {
3804
+ readonly name: "InvalidZonalDeploymentConfigurationException";
3805
+ readonly $fault: "client";
3806
+ /**
3807
+ * @internal
3808
+ */
3809
+ constructor(opts: __ExceptionOptionType<InvalidZonalDeploymentConfigurationException, __BaseException>);
3810
+ }
3692
3811
  /**
3693
3812
  * @public
3694
3813
  * <p>Represents the input of a <code>CreateDeploymentGroup</code> operation.</p>
@@ -3817,6 +3936,19 @@ export interface CreateDeploymentGroupInput {
3817
3936
  * define. </p>
3818
3937
  */
3819
3938
  tags?: Tag[];
3939
+ /**
3940
+ * @public
3941
+ * <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
3942
+ * CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
3943
+ * <p>Set <code>terminationHookEnabled</code> to <code>true</code> to have CodeDeploy install a termination hook into your Auto Scaling group when you create a
3944
+ * deployment group. When this hook is installed, CodeDeploy will perform
3945
+ * termination deployments.</p>
3946
+ * <p>For information about termination deployments, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable">Enabling termination deployments during Auto Scaling scale-in events</a> in the
3947
+ * <i>CodeDeploy User Guide</i>.</p>
3948
+ * <p>For more information about Auto Scaling scale-in events, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html#as-lifecycle-scale-in">Scale in</a> topic in the <i>Amazon EC2 Auto Scaling User
3949
+ * Guide</i>.</p>
3950
+ */
3951
+ terminationHookEnabled?: boolean;
3820
3952
  }
3821
3953
  /**
3822
3954
  * @public
@@ -4325,7 +4457,7 @@ export interface DeploymentConfigInfo {
4325
4457
  deploymentConfigName?: string;
4326
4458
  /**
4327
4459
  * @public
4328
- * <p>Information about the number or percentage of minimum healthy instance.</p>
4460
+ * <p>Information about the number or percentage of minimum healthy instances.</p>
4329
4461
  */
4330
4462
  minimumHealthyHosts?: MinimumHealthyHosts;
4331
4463
  /**
@@ -4346,6 +4478,11 @@ export interface DeploymentConfigInfo {
4346
4478
  * only.</p>
4347
4479
  */
4348
4480
  trafficRoutingConfig?: TrafficRoutingConfig;
4481
+ /**
4482
+ * @public
4483
+ * <p>Information about a zonal configuration.</p>
4484
+ */
4485
+ zonalConfig?: ZonalConfig;
4349
4486
  }
4350
4487
  /**
4351
4488
  * @public
@@ -4422,12 +4559,12 @@ export interface GetDeploymentTargetInput {
4422
4559
  * @public
4423
4560
  * <p> The unique ID of a deployment. </p>
4424
4561
  */
4425
- deploymentId?: string;
4562
+ deploymentId: string | undefined;
4426
4563
  /**
4427
4564
  * @public
4428
4565
  * <p> The unique ID of a deployment target. </p>
4429
4566
  */
4430
- targetId?: string;
4567
+ targetId: string | undefined;
4431
4568
  }
4432
4569
  /**
4433
4570
  * @public
@@ -5063,7 +5200,7 @@ export interface ListDeploymentTargetsInput {
5063
5200
  * @public
5064
5201
  * <p> The unique ID of a deployment. </p>
5065
5202
  */
5066
- deploymentId?: string;
5203
+ deploymentId: string | undefined;
5067
5204
  /**
5068
5205
  * @public
5069
5206
  * <p> A token identifier returned from the previous <code>ListDeploymentTargets</code>
@@ -5774,6 +5911,19 @@ export interface UpdateDeploymentGroupInput {
5774
5911
  * on-premises instances identified by all the tag groups.</p>
5775
5912
  */
5776
5913
  onPremisesTagSet?: OnPremisesTagSet;
5914
+ /**
5915
+ * @public
5916
+ * <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
5917
+ * CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
5918
+ * <p>Set <code>terminationHookEnabled</code> to <code>true</code> to have CodeDeploy install a termination hook into your Auto Scaling group when you update a
5919
+ * deployment group. When this hook is installed, CodeDeploy will perform
5920
+ * termination deployments.</p>
5921
+ * <p>For information about termination deployments, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable">Enabling termination deployments during Auto Scaling scale-in events</a> in the
5922
+ * <i>CodeDeploy User Guide</i>.</p>
5923
+ * <p>For more information about Auto Scaling scale-in events, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html#as-lifecycle-scale-in">Scale in</a> topic in the <i>Amazon EC2 Auto Scaling User
5924
+ * Guide</i>.</p>
5925
+ */
5926
+ terminationHookEnabled?: boolean;
5777
5927
  }
5778
5928
  /**
5779
5929
  * @public
@@ -159,6 +159,7 @@ export interface AutoRollbackConfiguration {
159
159
  export interface AutoScalingGroup {
160
160
  name?: string;
161
161
  hook?: string;
162
+ terminationHook?: string;
162
163
  }
163
164
  export interface GitHubLocation {
164
165
  repository?: string;
@@ -427,6 +428,7 @@ export interface DeploymentGroupInfo {
427
428
  onPremisesTagSet?: OnPremisesTagSet;
428
429
  computePlatform?: ComputePlatform;
429
430
  ecsServices?: ECSService[];
431
+ terminationHookEnabled?: boolean;
430
432
  }
431
433
  export interface BatchGetDeploymentGroupsOutput {
432
434
  deploymentGroupsInfo?: DeploymentGroupInfo[];
@@ -573,6 +575,7 @@ export interface BatchGetDeploymentsInput {
573
575
  }
574
576
  export declare const DeploymentCreator: {
575
577
  readonly Autoscaling: "autoscaling";
578
+ readonly AutoscalingTermination: "autoscalingTermination";
576
579
  readonly CloudFormation: "CloudFormation";
577
580
  readonly CloudFormationRollback: "CloudFormationRollback";
578
581
  readonly CodeDeploy: "CodeDeploy";
@@ -688,8 +691,8 @@ export interface BatchGetDeploymentsOutput {
688
691
  deploymentsInfo?: DeploymentInfo[];
689
692
  }
690
693
  export interface BatchGetDeploymentTargetsInput {
691
- deploymentId?: string;
692
- targetIds?: string[];
694
+ deploymentId: string | undefined;
695
+ targetIds: string[] | undefined;
693
696
  }
694
697
  export declare const TargetStatus: {
695
698
  readonly FAILED: "Failed";
@@ -1132,11 +1135,27 @@ export interface TrafficRoutingConfig {
1132
1135
  timeBasedCanary?: TimeBasedCanary;
1133
1136
  timeBasedLinear?: TimeBasedLinear;
1134
1137
  }
1138
+ export declare const MinimumHealthyHostsPerZoneType: {
1139
+ readonly FLEET_PERCENT: "FLEET_PERCENT";
1140
+ readonly HOST_COUNT: "HOST_COUNT";
1141
+ };
1142
+ export type MinimumHealthyHostsPerZoneType =
1143
+ (typeof MinimumHealthyHostsPerZoneType)[keyof typeof MinimumHealthyHostsPerZoneType];
1144
+ export interface MinimumHealthyHostsPerZone {
1145
+ type?: MinimumHealthyHostsPerZoneType;
1146
+ value?: number;
1147
+ }
1148
+ export interface ZonalConfig {
1149
+ firstZoneMonitorDurationInSeconds?: number;
1150
+ monitorDurationInSeconds?: number;
1151
+ minimumHealthyHostsPerZone?: MinimumHealthyHostsPerZone;
1152
+ }
1135
1153
  export interface CreateDeploymentConfigInput {
1136
1154
  deploymentConfigName: string | undefined;
1137
1155
  minimumHealthyHosts?: MinimumHealthyHosts;
1138
1156
  trafficRoutingConfig?: TrafficRoutingConfig;
1139
1157
  computePlatform?: ComputePlatform;
1158
+ zonalConfig?: ZonalConfig;
1140
1159
  }
1141
1160
  export interface CreateDeploymentConfigOutput {
1142
1161
  deploymentConfigId?: string;
@@ -1181,6 +1200,16 @@ export declare class InvalidMinimumHealthyHostValueException extends __BaseExcep
1181
1200
  >
1182
1201
  );
1183
1202
  }
1203
+ export declare class InvalidZonalDeploymentConfigurationException extends __BaseException {
1204
+ readonly name: "InvalidZonalDeploymentConfigurationException";
1205
+ readonly $fault: "client";
1206
+ constructor(
1207
+ opts: __ExceptionOptionType<
1208
+ InvalidZonalDeploymentConfigurationException,
1209
+ __BaseException
1210
+ >
1211
+ );
1212
+ }
1184
1213
  export interface CreateDeploymentGroupInput {
1185
1214
  applicationName: string | undefined;
1186
1215
  deploymentGroupName: string | undefined;
@@ -1200,6 +1229,7 @@ export interface CreateDeploymentGroupInput {
1200
1229
  ecsServices?: ECSService[];
1201
1230
  onPremisesTagSet?: OnPremisesTagSet;
1202
1231
  tags?: Tag[];
1232
+ terminationHookEnabled?: boolean;
1203
1233
  }
1204
1234
  export interface CreateDeploymentGroupOutput {
1205
1235
  deploymentGroupId?: string;
@@ -1464,6 +1494,7 @@ export interface DeploymentConfigInfo {
1464
1494
  createTime?: Date;
1465
1495
  computePlatform?: ComputePlatform;
1466
1496
  trafficRoutingConfig?: TrafficRoutingConfig;
1497
+ zonalConfig?: ZonalConfig;
1467
1498
  }
1468
1499
  export interface GetDeploymentConfigOutput {
1469
1500
  deploymentConfigInfo?: DeploymentConfigInfo;
@@ -1483,8 +1514,8 @@ export interface GetDeploymentInstanceOutput {
1483
1514
  instanceSummary?: InstanceSummary;
1484
1515
  }
1485
1516
  export interface GetDeploymentTargetInput {
1486
- deploymentId?: string;
1487
- targetId?: string;
1517
+ deploymentId: string | undefined;
1518
+ targetId: string | undefined;
1488
1519
  }
1489
1520
  export interface GetDeploymentTargetOutput {
1490
1521
  deploymentTarget?: DeploymentTarget;
@@ -1675,7 +1706,7 @@ export declare const TargetFilterName: {
1675
1706
  export type TargetFilterName =
1676
1707
  (typeof TargetFilterName)[keyof typeof TargetFilterName];
1677
1708
  export interface ListDeploymentTargetsInput {
1678
- deploymentId?: string;
1709
+ deploymentId: string | undefined;
1679
1710
  nextToken?: string;
1680
1711
  targetFilters?: Partial<Record<TargetFilterName, string[]>>;
1681
1712
  }
@@ -1913,6 +1944,7 @@ export interface UpdateDeploymentGroupInput {
1913
1944
  ec2TagSet?: EC2TagSet;
1914
1945
  ecsServices?: ECSService[];
1915
1946
  onPremisesTagSet?: OnPremisesTagSet;
1947
+ terminationHookEnabled?: boolean;
1916
1948
  }
1917
1949
  export interface UpdateDeploymentGroupOutput {
1918
1950
  hooksNotCleanedUp?: AutoScalingGroup[];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
4
- "version": "3.468.0",
4
+ "version": "3.470.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,29 +20,29 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.468.0",
23
+ "@aws-sdk/client-sts": "3.470.0",
24
24
  "@aws-sdk/core": "3.468.0",
25
- "@aws-sdk/credential-provider-node": "3.468.0",
25
+ "@aws-sdk/credential-provider-node": "3.470.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.468.0",
31
- "@aws-sdk/region-config-resolver": "3.468.0",
30
+ "@aws-sdk/middleware-user-agent": "3.470.0",
31
+ "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.468.0",
33
+ "@aws-sdk/util-endpoints": "3.470.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
- "@aws-sdk/util-user-agent-node": "3.468.0",
36
- "@smithy/config-resolver": "^2.0.20",
35
+ "@aws-sdk/util-user-agent-node": "3.470.0",
36
+ "@smithy/config-resolver": "^2.0.21",
37
37
  "@smithy/fetch-http-handler": "^2.3.1",
38
38
  "@smithy/hash-node": "^2.0.17",
39
39
  "@smithy/invalid-dependency": "^2.0.15",
40
40
  "@smithy/middleware-content-length": "^2.0.17",
41
- "@smithy/middleware-endpoint": "^2.2.2",
42
- "@smithy/middleware-retry": "^2.0.23",
41
+ "@smithy/middleware-endpoint": "^2.2.3",
42
+ "@smithy/middleware-retry": "^2.0.24",
43
43
  "@smithy/middleware-serde": "^2.0.15",
44
44
  "@smithy/middleware-stack": "^2.0.9",
45
- "@smithy/node-config-provider": "^2.1.7",
45
+ "@smithy/node-config-provider": "^2.1.8",
46
46
  "@smithy/node-http-handler": "^2.2.1",
47
47
  "@smithy/protocol-http": "^3.0.11",
48
48
  "@smithy/smithy-client": "^2.1.18",
@@ -52,8 +52,8 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.1",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.22",
55
- "@smithy/util-defaults-mode-node": "^2.0.28",
56
- "@smithy/util-endpoints": "^1.0.6",
55
+ "@smithy/util-defaults-mode-node": "^2.0.29",
56
+ "@smithy/util-endpoints": "^1.0.7",
57
57
  "@smithy/util-retry": "^2.0.8",
58
58
  "@smithy/util-utf8": "^2.0.2",
59
59
  "@smithy/util-waiter": "^2.0.15",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.468.0",
4
+ "version": "3.470.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -24,22 +24,22 @@
24
24
  "@aws-sdk/middleware-host-header": "3.468.0",
25
25
  "@aws-sdk/middleware-logger": "3.468.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
27
- "@aws-sdk/middleware-user-agent": "3.468.0",
28
- "@aws-sdk/region-config-resolver": "3.468.0",
27
+ "@aws-sdk/middleware-user-agent": "3.470.0",
28
+ "@aws-sdk/region-config-resolver": "3.470.0",
29
29
  "@aws-sdk/types": "3.468.0",
30
- "@aws-sdk/util-endpoints": "3.468.0",
30
+ "@aws-sdk/util-endpoints": "3.470.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.468.0",
32
- "@aws-sdk/util-user-agent-node": "3.468.0",
33
- "@smithy/config-resolver": "^2.0.20",
32
+ "@aws-sdk/util-user-agent-node": "3.470.0",
33
+ "@smithy/config-resolver": "^2.0.21",
34
34
  "@smithy/fetch-http-handler": "^2.3.1",
35
35
  "@smithy/hash-node": "^2.0.17",
36
36
  "@smithy/invalid-dependency": "^2.0.15",
37
37
  "@smithy/middleware-content-length": "^2.0.17",
38
- "@smithy/middleware-endpoint": "^2.2.2",
39
- "@smithy/middleware-retry": "^2.0.23",
38
+ "@smithy/middleware-endpoint": "^2.2.3",
39
+ "@smithy/middleware-retry": "^2.0.24",
40
40
  "@smithy/middleware-serde": "^2.0.15",
41
41
  "@smithy/middleware-stack": "^2.0.9",
42
- "@smithy/node-config-provider": "^2.1.7",
42
+ "@smithy/node-config-provider": "^2.1.8",
43
43
  "@smithy/node-http-handler": "^2.2.1",
44
44
  "@smithy/protocol-http": "^3.0.11",
45
45
  "@smithy/smithy-client": "^2.1.18",
@@ -49,8 +49,8 @@
49
49
  "@smithy/util-body-length-browser": "^2.0.1",
50
50
  "@smithy/util-body-length-node": "^2.1.0",
51
51
  "@smithy/util-defaults-mode-browser": "^2.0.22",
52
- "@smithy/util-defaults-mode-node": "^2.0.28",
53
- "@smithy/util-endpoints": "^1.0.6",
52
+ "@smithy/util-defaults-mode-node": "^2.0.29",
53
+ "@smithy/util-endpoints": "^1.0.7",
54
54
  "@smithy/util-retry": "^2.0.8",
55
55
  "@smithy/util-utf8": "^2.0.2",
56
56
  "tslib": "^2.5.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.468.0",
4
+ "version": "3.470.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,28 +23,28 @@
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
25
  "@aws-sdk/core": "3.468.0",
26
- "@aws-sdk/credential-provider-node": "3.468.0",
26
+ "@aws-sdk/credential-provider-node": "3.470.0",
27
27
  "@aws-sdk/middleware-host-header": "3.468.0",
28
28
  "@aws-sdk/middleware-logger": "3.468.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
30
30
  "@aws-sdk/middleware-sdk-sts": "3.468.0",
31
31
  "@aws-sdk/middleware-signing": "3.468.0",
32
- "@aws-sdk/middleware-user-agent": "3.468.0",
33
- "@aws-sdk/region-config-resolver": "3.468.0",
32
+ "@aws-sdk/middleware-user-agent": "3.470.0",
33
+ "@aws-sdk/region-config-resolver": "3.470.0",
34
34
  "@aws-sdk/types": "3.468.0",
35
- "@aws-sdk/util-endpoints": "3.468.0",
35
+ "@aws-sdk/util-endpoints": "3.470.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.468.0",
37
- "@aws-sdk/util-user-agent-node": "3.468.0",
38
- "@smithy/config-resolver": "^2.0.20",
37
+ "@aws-sdk/util-user-agent-node": "3.470.0",
38
+ "@smithy/config-resolver": "^2.0.21",
39
39
  "@smithy/fetch-http-handler": "^2.3.1",
40
40
  "@smithy/hash-node": "^2.0.17",
41
41
  "@smithy/invalid-dependency": "^2.0.15",
42
42
  "@smithy/middleware-content-length": "^2.0.17",
43
- "@smithy/middleware-endpoint": "^2.2.2",
44
- "@smithy/middleware-retry": "^2.0.23",
43
+ "@smithy/middleware-endpoint": "^2.2.3",
44
+ "@smithy/middleware-retry": "^2.0.24",
45
45
  "@smithy/middleware-serde": "^2.0.15",
46
46
  "@smithy/middleware-stack": "^2.0.9",
47
- "@smithy/node-config-provider": "^2.1.7",
47
+ "@smithy/node-config-provider": "^2.1.8",
48
48
  "@smithy/node-http-handler": "^2.2.1",
49
49
  "@smithy/protocol-http": "^3.0.11",
50
50
  "@smithy/smithy-client": "^2.1.18",
@@ -54,8 +54,8 @@
54
54
  "@smithy/util-body-length-browser": "^2.0.1",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
56
  "@smithy/util-defaults-mode-browser": "^2.0.22",
57
- "@smithy/util-defaults-mode-node": "^2.0.28",
58
- "@smithy/util-endpoints": "^1.0.6",
57
+ "@smithy/util-defaults-mode-node": "^2.0.29",
58
+ "@smithy/util-endpoints": "^1.0.7",
59
59
  "@smithy/util-retry": "^2.0.8",
60
60
  "@smithy/util-utf8": "^2.0.2",
61
61
  "fast-xml-parser": "4.2.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.468.0",
3
+ "version": "3.470.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@aws-sdk/credential-provider-env": "3.468.0",
28
28
  "@aws-sdk/credential-provider-process": "3.468.0",
29
- "@aws-sdk/credential-provider-sso": "3.468.0",
29
+ "@aws-sdk/credential-provider-sso": "3.470.0",
30
30
  "@aws-sdk/credential-provider-web-identity": "3.468.0",
31
31
  "@aws-sdk/types": "3.468.0",
32
32
  "@smithy/credential-provider-imds": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.468.0",
3
+ "version": "3.470.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
@@ -28,9 +28,9 @@
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
30
  "@aws-sdk/credential-provider-env": "3.468.0",
31
- "@aws-sdk/credential-provider-ini": "3.468.0",
31
+ "@aws-sdk/credential-provider-ini": "3.470.0",
32
32
  "@aws-sdk/credential-provider-process": "3.468.0",
33
- "@aws-sdk/credential-provider-sso": "3.468.0",
33
+ "@aws-sdk/credential-provider-sso": "3.470.0",
34
34
  "@aws-sdk/credential-provider-web-identity": "3.468.0",
35
35
  "@aws-sdk/types": "3.468.0",
36
36
  "@smithy/credential-provider-imds": "^2.0.0",