cdk-docker-image-deployment 0.0.87 → 0.0.88

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 (60) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +23 -1
  6. package/node_modules/aws-sdk/README.md +29 -1
  7. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  8. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  9. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  10. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
  11. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  12. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  13. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  14. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  15. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  16. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  17. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  18. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  19. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  20. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
  21. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  22. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  23. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  24. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  25. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  26. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
  27. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  28. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  29. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  30. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  31. package/node_modules/aws-sdk/clients/all.js +2 -1
  32. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  33. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
  34. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
  35. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  36. package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
  37. package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
  38. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  39. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  40. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  41. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  42. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  43. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  44. package/node_modules/aws-sdk/clients/oam.js +18 -0
  45. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  46. package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
  47. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  48. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
  49. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +29 -10
  50. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +91 -33
  51. package/node_modules/aws-sdk/dist/aws-sdk.js +1167 -707
  52. package/node_modules/aws-sdk/dist/aws-sdk.min.js +59 -59
  53. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  54. package/node_modules/aws-sdk/lib/core.js +1 -1
  55. package/node_modules/aws-sdk/lib/event_listeners.js +22 -5
  56. package/node_modules/aws-sdk/lib/region_config.js +3 -1
  57. package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
  58. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  59. package/node_modules/aws-sdk/package.json +1 -1
  60. package/package.json +6 -5
@@ -187,6 +187,14 @@ declare class Drs extends Service {
187
187
  * Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
188
188
  */
189
189
  retryDataReplication(callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>;
190
+ /**
191
+ * Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
192
+ */
193
+ reverseReplication(params: Drs.Types.ReverseReplicationRequest, callback?: (err: AWSError, data: Drs.Types.ReverseReplicationResponse) => void): Request<Drs.Types.ReverseReplicationResponse, AWSError>;
194
+ /**
195
+ * Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
196
+ */
197
+ reverseReplication(callback?: (err: AWSError, data: Drs.Types.ReverseReplicationResponse) => void): Request<Drs.Types.ReverseReplicationResponse, AWSError>;
190
198
  /**
191
199
  * Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
192
200
  */
@@ -203,6 +211,14 @@ declare class Drs extends Service {
203
211
  * Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
204
212
  */
205
213
  startRecovery(callback?: (err: AWSError, data: Drs.Types.StartRecoveryResponse) => void): Request<Drs.Types.StartRecoveryResponse, AWSError>;
214
+ /**
215
+ * Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
216
+ */
217
+ startReplication(params: Drs.Types.StartReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StartReplicationResponse) => void): Request<Drs.Types.StartReplicationResponse, AWSError>;
218
+ /**
219
+ * Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
220
+ */
221
+ startReplication(callback?: (err: AWSError, data: Drs.Types.StartReplicationResponse) => void): Request<Drs.Types.StartReplicationResponse, AWSError>;
206
222
  /**
207
223
  * Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
208
224
  */
@@ -211,6 +227,14 @@ declare class Drs extends Service {
211
227
  * Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
212
228
  */
213
229
  stopFailback(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
230
+ /**
231
+ * Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
232
+ */
233
+ stopReplication(params: Drs.Types.StopReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StopReplicationResponse) => void): Request<Drs.Types.StopReplicationResponse, AWSError>;
234
+ /**
235
+ * Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
236
+ */
237
+ stopReplication(callback?: (err: AWSError, data: Drs.Types.StopReplicationResponse) => void): Request<Drs.Types.StopReplicationResponse, AWSError>;
214
238
  /**
215
239
  * Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
216
240
  */
@@ -279,6 +303,8 @@ declare namespace Drs {
279
303
  export type AccountID = string;
280
304
  export type AccountIDs = AccountID[];
281
305
  export type Accounts = Account[];
306
+ export type AwsAvailabilityZone = string;
307
+ export type AwsRegion = string;
282
308
  export type Boolean = boolean;
283
309
  export type BoundedString = string;
284
310
  export interface CPU {
@@ -739,8 +765,9 @@ declare namespace Drs {
739
765
  export type EbsSnapshotsList = ebsSnapshot[];
740
766
  export type EbsVolumeID = string;
741
767
  export type ExtensionStatus = "EXTENDED"|"EXTENSION_ERROR"|"NOT_EXTENDED"|string;
742
- export type FailbackReplicationError = "AGENT_NOT_SEEN"|"FAILBACK_CLIENT_NOT_SEEN"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT"|"FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE"|"FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE"|"FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION"|string;
743
- export type FailbackState = "FAILBACK_NOT_STARTED"|"FAILBACK_IN_PROGRESS"|"FAILBACK_READY_FOR_LAUNCH"|"FAILBACK_COMPLETED"|"FAILBACK_ERROR"|string;
768
+ export type FailbackLaunchType = "RECOVERY"|"DRILL"|string;
769
+ export type FailbackReplicationError = "AGENT_NOT_SEEN"|"FAILBACK_CLIENT_NOT_SEEN"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT"|"FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE"|"FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE"|"FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION"|"FAILED_GETTING_REPLICATION_STATE"|"SNAPSHOTS_FAILURE"|"FAILED_TO_CREATE_SECURITY_GROUP"|"FAILED_TO_LAUNCH_REPLICATION_SERVER"|"FAILED_TO_BOOT_REPLICATION_SERVER"|"FAILED_TO_AUTHENTICATE_WITH_SERVICE"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"|"FAILED_TO_CREATE_STAGING_DISKS"|"FAILED_TO_ATTACH_STAGING_DISKS"|"FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"|"FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"|"FAILED_TO_START_DATA_TRANSFER"|string;
770
+ export type FailbackState = "FAILBACK_NOT_STARTED"|"FAILBACK_IN_PROGRESS"|"FAILBACK_READY_FOR_LAUNCH"|"FAILBACK_COMPLETED"|"FAILBACK_ERROR"|"FAILBACK_NOT_READY_FOR_LAUNCH"|"FAILBACK_LAUNCH_STATE_NOT_AVAILABLE"|string;
744
771
  export interface GetFailbackReplicationConfigurationRequest {
745
772
  /**
746
773
  * The ID of the Recovery Instance whose failback replication configuration should be returned.
@@ -1049,6 +1076,7 @@ declare namespace Drs {
1049
1076
  */
1050
1077
  fullString?: BoundedString;
1051
1078
  }
1079
+ export type OriginEnvironment = "ON_PREMISES"|"AWS"|string;
1052
1080
  export type PITPolicy = PITPolicyRule[];
1053
1081
  export interface PITPolicyRule {
1054
1082
  /**
@@ -1119,6 +1147,10 @@ declare namespace Drs {
1119
1147
  * The ID of the Job that created the Recovery Instance.
1120
1148
  */
1121
1149
  jobID?: JobID;
1150
+ /**
1151
+ * Environment (On Premises / AWS) of the instance that the recovery instance originated from.
1152
+ */
1153
+ originEnvironment?: OriginEnvironment;
1122
1154
  /**
1123
1155
  * The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
1124
1156
  */
@@ -1219,10 +1251,10 @@ declare namespace Drs {
1219
1251
  */
1220
1252
  status?: RecoveryInstanceDataReplicationInitiationStepStatus;
1221
1253
  }
1222
- export type RecoveryInstanceDataReplicationInitiationStepName = "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE"|"COMPLETE_VOLUME_MAPPING"|"ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION"|"DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT"|"CONFIGURE_REPLICATION_SOFTWARE"|"PAIR_AGENT_WITH_REPLICATION_SOFTWARE"|"ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION"|string;
1254
+ export type RecoveryInstanceDataReplicationInitiationStepName = "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE"|"COMPLETE_VOLUME_MAPPING"|"ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION"|"DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT"|"CONFIGURE_REPLICATION_SOFTWARE"|"PAIR_AGENT_WITH_REPLICATION_SOFTWARE"|"ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION"|"WAIT"|"CREATE_SECURITY_GROUP"|"LAUNCH_REPLICATION_SERVER"|"BOOT_REPLICATION_SERVER"|"AUTHENTICATE_WITH_SERVICE"|"DOWNLOAD_REPLICATION_SOFTWARE"|"CREATE_STAGING_DISKS"|"ATTACH_STAGING_DISKS"|"PAIR_REPLICATION_SERVER_WITH_AGENT"|"CONNECT_AGENT_TO_REPLICATION_SERVER"|"START_DATA_TRANSFER"|string;
1223
1255
  export type RecoveryInstanceDataReplicationInitiationStepStatus = "NOT_STARTED"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|"SKIPPED"|string;
1224
1256
  export type RecoveryInstanceDataReplicationInitiationSteps = RecoveryInstanceDataReplicationInitiationStep[];
1225
- export type RecoveryInstanceDataReplicationState = "STOPPED"|"INITIATING"|"INITIAL_SYNC"|"BACKLOG"|"CREATING_SNAPSHOT"|"CONTINUOUS"|"PAUSED"|"RESCAN"|"STALLED"|"DISCONNECTED"|string;
1257
+ export type RecoveryInstanceDataReplicationState = "STOPPED"|"INITIATING"|"INITIAL_SYNC"|"BACKLOG"|"CREATING_SNAPSHOT"|"CONTINUOUS"|"PAUSED"|"RESCAN"|"STALLED"|"DISCONNECTED"|"REPLICATION_STATE_NOT_AVAILABLE"|"NOT_STARTED"|string;
1226
1258
  export interface RecoveryInstanceDisk {
1227
1259
  /**
1228
1260
  * The amount of storage on the disk in bytes.
@@ -1263,6 +1295,10 @@ declare namespace Drs {
1263
1295
  * The Job ID of the last failback log for this Recovery Instance.
1264
1296
  */
1265
1297
  failbackJobID?: JobID;
1298
+ /**
1299
+ * The launch type (Recovery / Drill) of the last launch for the failback replication of this recovery instance.
1300
+ */
1301
+ failbackLaunchType?: FailbackLaunchType;
1266
1302
  /**
1267
1303
  * Whether we are failing back to the original Source Server for this Recovery Instance.
1268
1304
  */
@@ -1417,7 +1453,7 @@ declare namespace Drs {
1417
1453
  */
1418
1454
  isBootDisk?: Boolean;
1419
1455
  /**
1420
- * The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
1456
+ * When stagingDiskType is set to Auto, this field shows the current staging disk EBS volume type as it is constantly updated by the service. This is a read-only field.
1421
1457
  */
1422
1458
  optimizedStagingDiskType?: ReplicationConfigurationReplicatedDiskStagingDiskType;
1423
1459
  /**
@@ -1500,6 +1536,7 @@ declare namespace Drs {
1500
1536
  export type ReplicationConfigurationTemplateID = string;
1501
1537
  export type ReplicationConfigurationTemplateIDs = ReplicationConfigurationTemplateID[];
1502
1538
  export type ReplicationConfigurationTemplates = ReplicationConfigurationTemplate[];
1539
+ export type ReplicationDirection = "FAILOVER"|"FAILBACK"|string;
1503
1540
  export type ReplicationServersSecurityGroupsIDs = SecurityGroupID[];
1504
1541
  export interface RetryDataReplicationRequest {
1505
1542
  /**
@@ -1507,8 +1544,34 @@ declare namespace Drs {
1507
1544
  */
1508
1545
  sourceServerID: SourceServerID;
1509
1546
  }
1547
+ export interface ReverseReplicationRequest {
1548
+ /**
1549
+ * The ID of the Recovery Instance that we want to reverse the replication for.
1550
+ */
1551
+ recoveryInstanceID: RecoveryInstanceID;
1552
+ }
1553
+ export interface ReverseReplicationResponse {
1554
+ /**
1555
+ * ARN of created SourceServer.
1556
+ */
1557
+ reversedDirectionSourceServerArn?: SourceServerARN;
1558
+ }
1510
1559
  export type SecurityGroupID = string;
1511
1560
  export type SmallBoundedString = string;
1561
+ export interface SourceCloudProperties {
1562
+ /**
1563
+ * AWS Account ID for an EC2-originated Source Server.
1564
+ */
1565
+ originAccountID?: AccountID;
1566
+ /**
1567
+ * AWS Availability Zone for an EC2-originated Source Server.
1568
+ */
1569
+ originAvailabilityZone?: AwsAvailabilityZone;
1570
+ /**
1571
+ * AWS Region for an EC2-originated Source Server.
1572
+ */
1573
+ originRegion?: AwsRegion;
1574
+ }
1512
1575
  export interface SourceProperties {
1513
1576
  /**
1514
1577
  * An array of CPUs.
@@ -1564,6 +1627,18 @@ declare namespace Drs {
1564
1627
  * The ID of the Recovery Instance associated with this Source Server.
1565
1628
  */
1566
1629
  recoveryInstanceId?: RecoveryInstanceID;
1630
+ /**
1631
+ * Replication direction of the Source Server.
1632
+ */
1633
+ replicationDirection?: ReplicationDirection;
1634
+ /**
1635
+ * For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
1636
+ */
1637
+ reversedDirectionSourceServerArn?: SourceServerARN;
1638
+ /**
1639
+ * Source cloud properties of the Source Server.
1640
+ */
1641
+ sourceCloudProperties?: SourceCloudProperties;
1567
1642
  /**
1568
1643
  * The source properties of the Source Server.
1569
1644
  */
@@ -1666,12 +1741,36 @@ declare namespace Drs {
1666
1741
  */
1667
1742
  job?: Job;
1668
1743
  }
1744
+ export interface StartReplicationRequest {
1745
+ /**
1746
+ * The ID of the Source Server to start replication for.
1747
+ */
1748
+ sourceServerID: SourceServerID;
1749
+ }
1750
+ export interface StartReplicationResponse {
1751
+ /**
1752
+ * The Source Server that this action was targeted on.
1753
+ */
1754
+ sourceServer?: SourceServer;
1755
+ }
1669
1756
  export interface StopFailbackRequest {
1670
1757
  /**
1671
1758
  * The ID of the Recovery Instance we want to stop failback for.
1672
1759
  */
1673
1760
  recoveryInstanceID: RecoveryInstanceID;
1674
1761
  }
1762
+ export interface StopReplicationRequest {
1763
+ /**
1764
+ * The ID of the Source Server to stop replication for.
1765
+ */
1766
+ sourceServerID: SourceServerID;
1767
+ }
1768
+ export interface StopReplicationResponse {
1769
+ /**
1770
+ * The Source Server that this action was targeted on.
1771
+ */
1772
+ sourceServer?: SourceServer;
1773
+ }
1675
1774
  export type StrictlyPositiveInteger = number;
1676
1775
  export type SubnetID = string;
1677
1776
  export type TagKey = string;
@@ -173,11 +173,11 @@ declare class ECS extends Service {
173
173
  */
174
174
  discoverPollEndpoint(callback?: (err: AWSError, data: ECS.Types.DiscoverPollEndpointResponse) => void): Request<ECS.Types.DiscoverPollEndpointResponse, AWSError>;
175
175
  /**
176
- * Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you recevie an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value.
176
+ * Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you receive an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value.
177
177
  */
178
178
  executeCommand(params: ECS.Types.ExecuteCommandRequest, callback?: (err: AWSError, data: ECS.Types.ExecuteCommandResponse) => void): Request<ECS.Types.ExecuteCommandResponse, AWSError>;
179
179
  /**
180
- * Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you recevie an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value.
180
+ * Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you receive an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value.
181
181
  */
182
182
  executeCommand(callback?: (err: AWSError, data: ECS.Types.ExecuteCommandResponse) => void): Request<ECS.Types.ExecuteCommandResponse, AWSError>;
183
183
  /**
@@ -228,6 +228,14 @@ declare class ECS extends Service {
228
228
  * Returns a list of services. You can filter the results by cluster, launch type, and scheduling strategy.
229
229
  */
230
230
  listServices(callback?: (err: AWSError, data: ECS.Types.ListServicesResponse) => void): Request<ECS.Types.ListServicesResponse, AWSError>;
231
+ /**
232
+ * This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
233
+ */
234
+ listServicesByNamespace(params: ECS.Types.ListServicesByNamespaceRequest, callback?: (err: AWSError, data: ECS.Types.ListServicesByNamespaceResponse) => void): Request<ECS.Types.ListServicesByNamespaceResponse, AWSError>;
235
+ /**
236
+ * This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
237
+ */
238
+ listServicesByNamespace(callback?: (err: AWSError, data: ECS.Types.ListServicesByNamespaceResponse) => void): Request<ECS.Types.ListServicesByNamespaceResponse, AWSError>;
231
239
  /**
232
240
  * List the tags for an Amazon ECS resource.
233
241
  */
@@ -397,11 +405,11 @@ declare class ECS extends Service {
397
405
  */
398
406
  updateClusterSettings(callback?: (err: AWSError, data: ECS.Types.UpdateClusterSettingsResponse) => void): Request<ECS.Types.UpdateClusterSettingsResponse, AWSError>;
399
407
  /**
400
- * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. The UpdateContainerAgent API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the ecs-init package. This updates the agent. For more information, see Updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide. The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.
408
+ * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. The UpdateContainerAgent API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the ecs-init package. This updates the agent. For more information, see Updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide. Agent updates with the UpdateContainerAgent API operation do not apply to Windows container instances. We recommend that you launch new container instances to update the agent version in your Windows clusters. The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.
401
409
  */
402
410
  updateContainerAgent(params: ECS.Types.UpdateContainerAgentRequest, callback?: (err: AWSError, data: ECS.Types.UpdateContainerAgentResponse) => void): Request<ECS.Types.UpdateContainerAgentResponse, AWSError>;
403
411
  /**
404
- * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. The UpdateContainerAgent API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the ecs-init package. This updates the agent. For more information, see Updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide. The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.
412
+ * Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system. The UpdateContainerAgent API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the ecs-init package. This updates the agent. For more information, see Updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide. Agent updates with the UpdateContainerAgent API operation do not apply to Windows container instances. We recommend that you launch new container instances to update the agent version in your Windows clusters. The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.
405
413
  */
406
414
  updateContainerAgent(callback?: (err: AWSError, data: ECS.Types.UpdateContainerAgentResponse) => void): Request<ECS.Types.UpdateContainerAgentResponse, AWSError>;
407
415
  /**
@@ -429,11 +437,11 @@ declare class ECS extends Service {
429
437
  */
430
438
  updateServicePrimaryTaskSet(callback?: (err: AWSError, data: ECS.Types.UpdateServicePrimaryTaskSetResponse) => void): Request<ECS.Types.UpdateServicePrimaryTaskSetResponse, AWSError>;
431
439
  /**
432
- * Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS unsets the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide. This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Amazon ECS container agent endpoint.
440
+ * Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS unsets the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide . This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Task scale-in protection endpoint.
433
441
  */
434
442
  updateTaskProtection(params: ECS.Types.UpdateTaskProtectionRequest, callback?: (err: AWSError, data: ECS.Types.UpdateTaskProtectionResponse) => void): Request<ECS.Types.UpdateTaskProtectionResponse, AWSError>;
435
443
  /**
436
- * Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS unsets the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide. This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Amazon ECS container agent endpoint.
444
+ * Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS unsets the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide . This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Task scale-in protection endpoint.
437
445
  */
438
446
  updateTaskProtection(callback?: (err: AWSError, data: ECS.Types.UpdateTaskProtectionResponse) => void): Request<ECS.Types.UpdateTaskProtectionResponse, AWSError>;
439
447
  /**
@@ -479,6 +487,7 @@ declare class ECS extends Service {
479
487
  }
480
488
  declare namespace ECS {
481
489
  export type AgentUpdateStatus = "PENDING"|"STAGING"|"STAGED"|"UPDATING"|"UPDATED"|"FAILED"|string;
490
+ export type ApplicationProtocol = "http"|"http2"|"grpc"|string;
482
491
  export type AssignPublicIp = "ENABLED"|"DISABLED"|string;
483
492
  export interface Attachment {
484
493
  /**
@@ -517,7 +526,7 @@ declare namespace ECS {
517
526
  */
518
527
  name: String;
519
528
  /**
520
- * The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't can't start or end with a space.
529
+ * The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't start or end with a space.
521
530
  */
522
531
  value?: String;
523
532
  /**
@@ -685,6 +694,10 @@ declare namespace ECS {
685
694
  * The status of the capacity providers associated with the cluster. The following are the states that are returned. UPDATE_IN_PROGRESS The available capacity providers for the cluster are updating. UPDATE_COMPLETE The capacity providers have successfully updated. UPDATE_FAILED The capacity provider updates failed.
686
695
  */
687
696
  attachmentsStatus?: String;
697
+ /**
698
+ * Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
699
+ */
700
+ serviceConnectDefaults?: ClusterServiceConnectDefaults;
688
701
  }
689
702
  export interface ClusterConfiguration {
690
703
  /**
@@ -694,6 +707,18 @@ declare namespace ECS {
694
707
  }
695
708
  export type ClusterField = "ATTACHMENTS"|"CONFIGURATIONS"|"SETTINGS"|"STATISTICS"|"TAGS"|string;
696
709
  export type ClusterFieldList = ClusterField[];
710
+ export interface ClusterServiceConnectDefaults {
711
+ /**
712
+ * The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace. When you create a service and don't specify a Service Connect configuration, this namespace is used.
713
+ */
714
+ namespace?: String;
715
+ }
716
+ export interface ClusterServiceConnectDefaultsRequest {
717
+ /**
718
+ * The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. Up to 1024 characters are allowed. The name is case-sensitive. The characters can't include hyphens (-), tilde (~), greater than (&gt;), less than (&lt;), or slash (/). If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this Amazon Web Services Region. If you enter a new name, a Cloud Map namespace will be created. Amazon ECS creates a Cloud Map namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the Command Line Interface. Other types of instance discovery aren't used by Service Connect. If you update the service with an empty string "" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in Cloud Map and must be deleted separately. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.
719
+ */
720
+ namespace: String;
721
+ }
697
722
  export interface ClusterSetting {
698
723
  /**
699
724
  * The name of the cluster setting. The only supported value is containerInsights.
@@ -1151,6 +1176,10 @@ declare namespace ECS {
1151
1176
  * The capacity provider strategy to set as the default for the cluster. After a default capacity provider strategy is set for a cluster, when you call the RunTask or CreateService APIs with no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used. If a default capacity provider strategy isn't defined for a cluster when it was created, it can be defined later with the PutClusterCapacityProviders API operation.
1152
1177
  */
1153
1178
  defaultCapacityProviderStrategy?: CapacityProviderStrategy;
1179
+ /**
1180
+ * Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
1181
+ */
1182
+ serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
1154
1183
  }
1155
1184
  export interface CreateClusterResponse {
1156
1185
  /**
@@ -1220,7 +1249,7 @@ declare namespace ECS {
1220
1249
  */
1221
1250
  networkConfiguration?: NetworkConfiguration;
1222
1251
  /**
1223
- * The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used when your service is configured to use a load balancer. If your service has a load balancer defined and you don't specify a health check grace period value, the default value of 0 is used. If you do not use an Elastic Load Balancing, we recomend that you use the startPeriod in the task definition healtch check parameters. For more information, see Health check. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
1252
+ * The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used when your service is configured to use a load balancer. If your service has a load balancer defined and you don't specify a health check grace period value, the default value of 0 is used. If you do not use an Elastic Load Balancing, we recommend that you use the startPeriod in the task definition health check parameters. For more information, see Health check. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
1224
1253
  */
1225
1254
  healthCheckGracePeriodSeconds?: BoxedInteger;
1226
1255
  /**
@@ -1247,6 +1276,10 @@ declare namespace ECS {
1247
1276
  * Determines whether the execute command functionality is enabled for the service. If true, this enables execute command functionality on all containers in the service tasks.
1248
1277
  */
1249
1278
  enableExecuteCommand?: Boolean;
1279
+ /**
1280
+ * The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
1281
+ */
1282
+ serviceConnectConfiguration?: ServiceConnectConfiguration;
1250
1283
  }
1251
1284
  export interface CreateServiceResponse {
1252
1285
  /**
@@ -1479,6 +1512,14 @@ declare namespace ECS {
1479
1512
  * A description of the rollout state of a deployment.
1480
1513
  */
1481
1514
  rolloutStateReason?: String;
1515
+ /**
1516
+ * The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
1517
+ */
1518
+ serviceConnectConfiguration?: ServiceConnectConfiguration;
1519
+ /**
1520
+ * The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
1521
+ */
1522
+ serviceConnectResources?: ServiceConnectServiceResourceList;
1482
1523
  }
1483
1524
  export interface DeploymentCircuitBreaker {
1484
1525
  /**
@@ -1583,7 +1624,7 @@ declare namespace ECS {
1583
1624
  */
1584
1625
  clusters?: StringList;
1585
1626
  /**
1586
- * Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included. If ATTACHMENTS is specified, the attachments for the container instances or tasks within the cluster are included. If SETTINGS is specified, the settings for the cluster are included. If CONFIGURATIONS is specified, the configuration for the cluster is included. If STATISTICS is specified, the task and service count is included, separated by launch type. If TAGS is specified, the metadata tags associated with the cluster are included.
1627
+ * Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included. If ATTACHMENTS is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers. If SETTINGS is specified, the settings for the cluster are included. If CONFIGURATIONS is specified, the configuration for the cluster is included. If STATISTICS is specified, the task and service count is included, separated by launch type. If TAGS is specified, the metadata tags associated with the cluster are included.
1587
1628
  */
1588
1629
  include?: ClusterFieldList;
1589
1630
  }
@@ -1754,6 +1795,10 @@ declare namespace ECS {
1754
1795
  * The telemetry endpoint for the Amazon ECS agent.
1755
1796
  */
1756
1797
  telemetryEndpoint?: String;
1798
+ /**
1799
+ * The endpoint for the Amazon ECS agent to poll for Service Connect configuration. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
1800
+ */
1801
+ serviceConnectEndpoint?: String;
1757
1802
  }
1758
1803
  export type DockerLabelsMap = {[key: string]: String};
1759
1804
  export interface DockerVolumeConfiguration {
@@ -2249,6 +2294,30 @@ declare namespace ECS {
2249
2294
  */
2250
2295
  nextToken?: String;
2251
2296
  }
2297
+ export interface ListServicesByNamespaceRequest {
2298
+ /**
2299
+ * The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace to list the services in. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
2300
+ */
2301
+ namespace: String;
2302
+ /**
2303
+ * The nextToken value that's returned from a ListServicesByNamespace request. It indicates that more results are available to fulfill the request and further calls are needed. If maxResults is returned, it is possible the number of results is less than maxResults.
2304
+ */
2305
+ nextToken?: String;
2306
+ /**
2307
+ * The maximum number of service results that ListServicesByNamespace returns in paginated output. When this parameter is used, ListServicesByNamespace only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListServicesByNamespace request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then ListServicesByNamespace returns up to 10 results and a nextToken value if applicable.
2308
+ */
2309
+ maxResults?: BoxedInteger;
2310
+ }
2311
+ export interface ListServicesByNamespaceResponse {
2312
+ /**
2313
+ * The list of full ARN entries for each service that's associated with the specified namespace.
2314
+ */
2315
+ serviceArns?: StringList;
2316
+ /**
2317
+ * The nextToken value to include in a future ListServicesByNamespace request. When the results of a ListServicesByNamespace request exceed maxResults, this value can be used to retrieve the next page of results. When there are no more results to return, this value is null.
2318
+ */
2319
+ nextToken?: String;
2320
+ }
2252
2321
  export interface ListServicesRequest {
2253
2322
  /**
2254
2323
  * The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListServices results. If you do not specify a cluster, the default cluster is assumed.
@@ -2375,7 +2444,7 @@ declare namespace ECS {
2375
2444
  */
2376
2445
  maxResults?: BoxedInteger;
2377
2446
  /**
2378
- * The startedBy value to filter the task results with. Specifying a startedBy value limits the results to tasks that were started with that value.
2447
+ * The startedBy value to filter the task results with. Specifying a startedBy value limits the results to tasks that were started with that value. When you specify startedBy as the filter, it must be the only filter that you use.
2379
2448
  */
2380
2449
  startedBy?: String;
2381
2450
  /**
@@ -2490,7 +2559,7 @@ declare namespace ECS {
2490
2559
  */
2491
2560
  minimumScalingStepSize?: ManagedScalingStepSize;
2492
2561
  /**
2493
- * The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter. If this parameter is omitted, the default value of 10000 is used.
2562
+ * The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter. If this parameter is omitted, the default value of 1 is used.
2494
2563
  */
2495
2564
  maximumScalingStepSize?: ManagedScalingStepSize;
2496
2565
  /**
@@ -2610,8 +2679,17 @@ declare namespace ECS {
2610
2679
  * The protocol used for the port mapping. Valid values are tcp and udp. The default is tcp.
2611
2680
  */
2612
2681
  protocol?: TransportProtocol;
2682
+ /**
2683
+ * The name that's used for the port mapping. This parameter only applies to Service Connect. This parameter is the name that you use in the serviceConnectConfiguration of a service. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
2684
+ */
2685
+ name?: String;
2686
+ /**
2687
+ * The application protocol that's used for the port mapping. This parameter only applies to Service Connect. We recommend that you set this parameter to be consistent with the protocol that your application uses. If you set this parameter, Amazon ECS adds protocol-specific connection handling to the Service Connect proxy. If you set this parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch. If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't add protocol-specific telemetry for TCP. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
2688
+ */
2689
+ appProtocol?: ApplicationProtocol;
2613
2690
  }
2614
2691
  export type PortMappingList = PortMapping[];
2692
+ export type PortNumber = number;
2615
2693
  export type PropagateTags = "TASK_DEFINITION"|"SERVICE"|"NONE"|string;
2616
2694
  export interface ProtectedTask {
2617
2695
  /**
@@ -2968,7 +3046,7 @@ declare namespace ECS {
2968
3046
  }
2969
3047
  export interface RuntimePlatform {
2970
3048
  /**
2971
- * The CPU architecture. You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is avaiable for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
3049
+ * The CPU architecture. You can run your Linux tasks on an ARM-based platform by setting the value to ARM64. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
2972
3050
  */
2973
3051
  cpuArchitecture?: CPUArchitecture;
2974
3052
  /**
@@ -3127,6 +3205,62 @@ declare namespace ECS {
3127
3205
  */
3128
3206
  enableExecuteCommand?: Boolean;
3129
3207
  }
3208
+ export interface ServiceConnectClientAlias {
3209
+ /**
3210
+ * The listening port number for the Service Connect proxy. This port is available inside of all of the tasks within the same namespace. To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
3211
+ */
3212
+ port: PortNumber;
3213
+ /**
3214
+ * The dnsName is the name that you use in the applications of client tasks to connect to this service. The name must be a valid DNS name but doesn't need to be fully-qualified. Up to 127 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). A hyphen can't be the first character. If this parameter isn't specified, the default value of discoveryName.namespace is used. If the discoveryName isn't specified, the portName.namespace from the task definition is used. To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are database, db, or the lowercase name of a database, such as mysql or redis. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
3215
+ */
3216
+ dnsName?: String;
3217
+ }
3218
+ export type ServiceConnectClientAliasList = ServiceConnectClientAlias[];
3219
+ export interface ServiceConnectConfiguration {
3220
+ /**
3221
+ * Specifies whether to use Service Connect with this service.
3222
+ */
3223
+ enabled: Boolean;
3224
+ /**
3225
+ * The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.
3226
+ */
3227
+ namespace?: String;
3228
+ /**
3229
+ * The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service. You can specify up to X (30?) objects per Amazon ECS service. This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means. An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
3230
+ */
3231
+ services?: ServiceConnectServiceList;
3232
+ logConfiguration?: LogConfiguration;
3233
+ }
3234
+ export interface ServiceConnectService {
3235
+ /**
3236
+ * The portName must match the name of one of the portMappings from all the containers in the task definition of this Amazon ECS service.
3237
+ */
3238
+ portName: String;
3239
+ /**
3240
+ * The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character. If this field isn't specified, portName is used.
3241
+ */
3242
+ discoveryName?: String;
3243
+ /**
3244
+ * The list of client aliases for this Service Connect service. You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1. Each alias ("endpoint") is a fully-qualified name and port number that other Amazon ECS tasks ("clients") can use to connect to this service. Each name and port mapping must be unique within the namespace. For each ServiceConnectService, you must provide at least one clientAlias with one port.
3245
+ */
3246
+ clientAliases?: ServiceConnectClientAliasList;
3247
+ /**
3248
+ * The port number for the Service Connect proxy to listen on. Use the value of this field to bypass the proxy for traffic on the port number specified in the named portMapping in the task definition of this application, and then use it in your VPC security groups to allow traffic into the proxy for this Amazon ECS service. In awsvpc mode and Fargate, the default value is the container port number. The container port number is in the portMapping in the task definition. In bridge mode, the default value is the ephemeral port of the Service Connect proxy.
3249
+ */
3250
+ ingressPortOverride?: PortNumber;
3251
+ }
3252
+ export type ServiceConnectServiceList = ServiceConnectService[];
3253
+ export interface ServiceConnectServiceResource {
3254
+ /**
3255
+ * The discovery name of this Service Connect resource. The discoveryName is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. Up to 64 characters are allowed. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). A hyphen can't be the first character. If this field isn't specified, portName is used.
3256
+ */
3257
+ discoveryName?: String;
3258
+ /**
3259
+ * The Amazon Resource Name (ARN) for the namespace in Cloud Map that matches the discovery name for this Service Connect resource. You can use this ARN in other integrations with Cloud Map. However, Service Connect can't ensure connectivity outside of Amazon ECS.
3260
+ */
3261
+ discoveryArn?: String;
3262
+ }
3263
+ export type ServiceConnectServiceResourceList = ServiceConnectServiceResource[];
3130
3264
  export interface ServiceEvent {
3131
3265
  /**
3132
3266
  * The ID string for the event.
@@ -3690,7 +3824,7 @@ declare namespace ECS {
3690
3824
  */
3691
3825
  containerOverrides?: ContainerOverrides;
3692
3826
  /**
3693
- * The cpu override for the task.
3827
+ * The CPU override for the task.
3694
3828
  */
3695
3829
  cpu?: String;
3696
3830
  /**
@@ -3800,7 +3934,7 @@ declare namespace ECS {
3800
3934
  */
3801
3935
  scale?: Scale;
3802
3936
  /**
3803
- * The stability status. This indicates whether the task set has reached a steady state. If the following conditions are met, the task set sre in STEADY_STATE: The task runningCount is equal to the computedDesiredCount. The pendingCount is 0. There are no tasks that are running on container instances in the DRAINING status. All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks. If any of those conditions aren't met, the stability status returns STABILIZING.
3937
+ * The stability status. This indicates whether the task set has reached a steady state. If the following conditions are met, the task set are in STEADY_STATE: The task runningCount is equal to the computedDesiredCount. The pendingCount is 0. There are no tasks that are running on container instances in the DRAINING status. All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks. If any of those conditions aren't met, the stability status returns STABILIZING.
3804
3938
  */
3805
3939
  stabilityStatus?: StabilityStatus;
3806
3940
  /**
@@ -3815,7 +3949,7 @@ declare namespace ECS {
3815
3949
  export type TaskSetField = "TAGS"|string;
3816
3950
  export type TaskSetFieldList = TaskSetField[];
3817
3951
  export type TaskSets = TaskSet[];
3818
- export type TaskStopCode = "TaskFailedToStart"|"EssentialContainerExited"|"UserInitiated"|string;
3952
+ export type TaskStopCode = "TaskFailedToStart"|"EssentialContainerExited"|"UserInitiated"|"ServiceSchedulerInitiated"|"SpotInterruption"|"TerminationNotice"|string;
3819
3953
  export type Tasks = Task[];
3820
3954
  export type Timestamp = Date;
3821
3955
  export interface Tmpfs {
@@ -3891,6 +4025,10 @@ declare namespace ECS {
3891
4025
  * The execute command configuration for the cluster.
3892
4026
  */
3893
4027
  configuration?: ClusterConfiguration;
4028
+ /**
4029
+ * Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
4030
+ */
4031
+ serviceConnectDefaults?: ClusterServiceConnectDefaultsRequest;
3894
4032
  }
3895
4033
  export interface UpdateClusterResponse {
3896
4034
  /**
@@ -3904,7 +4042,7 @@ declare namespace ECS {
3904
4042
  */
3905
4043
  cluster: String;
3906
4044
  /**
3907
- * The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
4045
+ * The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights value set with PutAccountSetting or PutAccountSettingDefault. Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
3908
4046
  */
3909
4047
  settings: ClusterSettings;
3910
4048
  }
@@ -3970,7 +4108,7 @@ declare namespace ECS {
3970
4108
  }
3971
4109
  export interface UpdateServicePrimaryTaskSetResponse {
3972
4110
  /**
3973
- * etails about the task set.
4111
+ * The details about the task set.
3974
4112
  */
3975
4113
  taskSet?: TaskSet;
3976
4114
  }
@@ -4043,6 +4181,10 @@ declare namespace ECS {
4043
4181
  * The details for the service discovery registries to assign to this service. For more information, see Service Discovery. When you add, update, or remove the service registries configuration, Amazon ECS starts new tasks with the updated service registries configuration, and then stops the old tasks when the new tasks are running. You can remove existing serviceRegistries by passing an empty list.
4044
4182
  */
4045
4183
  serviceRegistries?: ServiceRegistries;
4184
+ /**
4185
+ * The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
4186
+ */
4187
+ serviceConnectConfiguration?: ServiceConnectConfiguration;
4046
4188
  }
4047
4189
  export interface UpdateServiceResponse {
4048
4190
  /**