@aws-sdk/client-ecs 3.398.0 → 3.404.0
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.
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +19 -14
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +145 -54
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -268,6 +268,7 @@ exports.SettingName = {
|
|
|
268
268
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
269
269
|
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
270
270
|
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
271
|
+
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
|
|
271
272
|
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
272
273
|
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
|
|
273
274
|
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
@@ -251,6 +251,7 @@ export const SettingName = {
|
|
|
251
251
|
CONTAINER_INSIGHTS: "containerInsights",
|
|
252
252
|
CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat",
|
|
253
253
|
FARGATE_FIPS_MODE: "fargateFIPSMode",
|
|
254
|
+
FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod",
|
|
254
255
|
SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat",
|
|
255
256
|
TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization",
|
|
256
257
|
TASK_LONG_ARN_FORMAT: "taskLongArnFormat",
|
|
@@ -32,14 +32,14 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
|
|
|
32
32
|
* // const { ECSClient, DeleteAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
33
33
|
* const client = new ECSClient(config);
|
|
34
34
|
* const input = { // DeleteAccountSettingRequest
|
|
35
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization", // required
|
|
35
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod", // required
|
|
36
36
|
* principalArn: "STRING_VALUE",
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DeleteAccountSettingCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
40
|
* // { // DeleteAccountSettingResponse
|
|
41
41
|
* // setting: { // Setting
|
|
42
|
-
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
|
|
42
|
+
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod",
|
|
43
43
|
* // value: "STRING_VALUE",
|
|
44
44
|
* // principalArn: "STRING_VALUE",
|
|
45
45
|
* // },
|
|
@@ -31,7 +31,7 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes
|
|
|
31
31
|
* // const { ECSClient, ListAccountSettingsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
32
32
|
* const client = new ECSClient(config);
|
|
33
33
|
* const input = { // ListAccountSettingsRequest
|
|
34
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
|
|
34
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod",
|
|
35
35
|
* value: "STRING_VALUE",
|
|
36
36
|
* principalArn: "STRING_VALUE",
|
|
37
37
|
* effectiveSettings: true || false,
|
|
@@ -43,7 +43,7 @@ export interface ListAccountSettingsCommandOutput extends ListAccountSettingsRes
|
|
|
43
43
|
* // { // ListAccountSettingsResponse
|
|
44
44
|
* // settings: [ // Settings
|
|
45
45
|
* // { // Setting
|
|
46
|
-
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
|
|
46
|
+
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod",
|
|
47
47
|
* // value: "STRING_VALUE",
|
|
48
48
|
* // principalArn: "STRING_VALUE",
|
|
49
49
|
* // },
|
|
@@ -28,20 +28,20 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
28
28
|
* and roles that do not have specified individual account settings. For more information,
|
|
29
29
|
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|
30
30
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
31
|
-
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|
32
|
-
* <code>containerInstanceLongArnFormat</code
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* <p>When <code>awsvpcTrunking</code
|
|
39
|
-
*
|
|
40
|
-
* <code>awsvpcTrunking</code> is turned on, any new container instances that support
|
|
41
|
-
* feature are launched have the increased ENI limits available to them. For more
|
|
31
|
+
* <p>When you specify <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|
32
|
+
* <code>containerInstanceLongArnFormat</code>, the Amazon Resource Name (ARN) and
|
|
33
|
+
* resource ID format of the resource type for a specified user, role, or the root user for an
|
|
34
|
+
* account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS
|
|
35
|
+
* resource separately. The ARN and resource ID format of a resource is defined by the
|
|
36
|
+
* opt-in status of the user or role that created the resource. You must turn on this
|
|
37
|
+
* setting to use Amazon ECS features such as resource tagging.</p>
|
|
38
|
+
* <p>When you specify <code>awsvpcTrunking</code>, the elastic network interface (ENI) limit for
|
|
39
|
+
* any new container instances that support the feature is changed. If
|
|
40
|
+
* <code>awsvpcTrunking</code> is turned on, any new container instances that support
|
|
41
|
+
* the feature are launched have the increased ENI limits available to them. For more
|
|
42
42
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic Network
|
|
43
43
|
* Interface Trunking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
44
|
-
* <p>When <code>containerInsights</code
|
|
44
|
+
* <p>When you specify <code>containerInsights</code>, the default setting indicating whether
|
|
45
45
|
* Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If
|
|
46
46
|
* <code>containerInsights</code> is turned on, any new clusters that are created will
|
|
47
47
|
* have Container Insights turned on unless you disable it during cluster creation. For
|
|
@@ -55,6 +55,11 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
55
55
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html">Grant
|
|
56
56
|
* permission to tag resources on creation</a> in the <i>Amazon ECS Developer
|
|
57
57
|
* Guide</i>.</p>
|
|
58
|
+
* <p>When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS
|
|
59
|
+
* task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace
|
|
60
|
+
* them. Use <code>fargateTaskRetirementWaitPeriod</code> to configure the wait time to
|
|
61
|
+
* retire a Fargate task. For information about the Fargate tasks maintenance, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate task maintenance</a> in the <i>Amazon ECS Developer
|
|
62
|
+
* Guide</i>.</p>
|
|
58
63
|
* @example
|
|
59
64
|
* Use a bare-bones client and the command you need to make an API call.
|
|
60
65
|
* ```javascript
|
|
@@ -62,7 +67,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
62
67
|
* // const { ECSClient, PutAccountSettingCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
63
68
|
* const client = new ECSClient(config);
|
|
64
69
|
* const input = { // PutAccountSettingRequest
|
|
65
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization", // required
|
|
70
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod", // required
|
|
66
71
|
* value: "STRING_VALUE", // required
|
|
67
72
|
* principalArn: "STRING_VALUE",
|
|
68
73
|
* };
|
|
@@ -70,7 +75,7 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons
|
|
|
70
75
|
* const response = await client.send(command);
|
|
71
76
|
* // { // PutAccountSettingResponse
|
|
72
77
|
* // setting: { // Setting
|
|
73
|
-
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
|
|
78
|
+
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod",
|
|
74
79
|
* // value: "STRING_VALUE",
|
|
75
80
|
* // principalArn: "STRING_VALUE",
|
|
76
81
|
* // },
|
|
@@ -33,14 +33,14 @@ export interface PutAccountSettingDefaultCommandOutput extends PutAccountSetting
|
|
|
33
33
|
* // const { ECSClient, PutAccountSettingDefaultCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
34
34
|
* const client = new ECSClient(config);
|
|
35
35
|
* const input = { // PutAccountSettingDefaultRequest
|
|
36
|
-
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization", // required
|
|
36
|
+
* name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod", // required
|
|
37
37
|
* value: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
39
39
|
* const command = new PutAccountSettingDefaultCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
41
|
* // { // PutAccountSettingDefaultResponse
|
|
42
42
|
* // setting: { // Setting
|
|
43
|
-
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization",
|
|
43
|
+
* // name: "serviceLongArnFormat" || "taskLongArnFormat" || "containerInstanceLongArnFormat" || "awsvpcTrunking" || "containerInsights" || "fargateFIPSMode" || "tagResourceAuthorization" || "fargateTaskRetirementWaitPeriod",
|
|
44
44
|
* // value: "STRING_VALUE",
|
|
45
45
|
* // principalArn: "STRING_VALUE",
|
|
46
46
|
* // },
|
|
@@ -133,7 +133,7 @@ export interface AutoScalingGroupProvider {
|
|
|
133
133
|
autoScalingGroupArn: string | undefined;
|
|
134
134
|
/**
|
|
135
135
|
* @public
|
|
136
|
-
* <p>
|
|
136
|
+
* <p>The managed scaling settings for the Auto Scaling group capacity provider.</p>
|
|
137
137
|
*/
|
|
138
138
|
managedScaling?: ManagedScaling;
|
|
139
139
|
/**
|
|
@@ -3197,6 +3197,7 @@ export declare const SettingName: {
|
|
|
3197
3197
|
readonly CONTAINER_INSIGHTS: "containerInsights";
|
|
3198
3198
|
readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
|
|
3199
3199
|
readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
|
|
3200
|
+
readonly FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod";
|
|
3200
3201
|
readonly SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat";
|
|
3201
3202
|
readonly TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization";
|
|
3202
3203
|
readonly TASK_LONG_ARN_FORMAT: "taskLongArnFormat";
|
|
@@ -4368,8 +4369,18 @@ export interface SystemControl {
|
|
|
4368
4369
|
namespace?: string;
|
|
4369
4370
|
/**
|
|
4370
4371
|
* @public
|
|
4371
|
-
* <p>The
|
|
4372
|
-
*
|
|
4372
|
+
* <p>The namespaced kernel parameter to set a
|
|
4373
|
+
* <code>value</code> for.</p>
|
|
4374
|
+
* <p>Valid IPC namespace values: <code>"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni"
|
|
4375
|
+
* | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" |
|
|
4376
|
+
* "kernel.shmmni" | "kernel.shm_rmid_forced"</code>, and
|
|
4377
|
+
* <code>Sysctls</code> that start with
|
|
4378
|
+
* <code>"fs.mqueue.*"</code>
|
|
4379
|
+
* </p>
|
|
4380
|
+
* <p>Valid network namespace values: <code>Sysctls</code> that start with
|
|
4381
|
+
* <code>"net.*"</code>
|
|
4382
|
+
* </p>
|
|
4383
|
+
* <p>All of these values are supported by Fargate.</p>
|
|
4373
4384
|
*/
|
|
4374
4385
|
value?: string;
|
|
4375
4386
|
}
|
|
@@ -5108,7 +5119,9 @@ export interface ContainerDefinition {
|
|
|
5108
5119
|
* @public
|
|
5109
5120
|
* <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
|
|
5110
5121
|
* <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
|
|
5111
|
-
* <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a
|
|
5122
|
+
* <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For example, you can
|
|
5123
|
+
* configure <code>net.ipv4.tcp_keepalive_time</code> setting to maintain
|
|
5124
|
+
* longer lived connections.</p>
|
|
5112
5125
|
* <note>
|
|
5113
5126
|
* <p>We don't recommended that you specify network-related <code>systemControls</code>
|
|
5114
5127
|
* parameters for multiple containers in a single task that also uses either the
|
|
@@ -5118,6 +5131,15 @@ export interface ContainerDefinition {
|
|
|
5118
5131
|
* <code>host</code> network mode, it changes the container instance's namespaced
|
|
5119
5132
|
* kernel parameters as well as the containers.</p>
|
|
5120
5133
|
* </note>
|
|
5134
|
+
* <note>
|
|
5135
|
+
* <p>This parameter is not supported for Windows containers.</p>
|
|
5136
|
+
* </note>
|
|
5137
|
+
* <note>
|
|
5138
|
+
* <p>This parameter is only supported for tasks that are hosted on
|
|
5139
|
+
* Fargate if the tasks are using platform version <code>1.4.0</code> or later
|
|
5140
|
+
* (Linux). This isn't supported for Windows containers on
|
|
5141
|
+
* Fargate.</p>
|
|
5142
|
+
* </note>
|
|
5121
5143
|
*/
|
|
5122
5144
|
systemControls?: SystemControl[];
|
|
5123
5145
|
/**
|
|
@@ -5962,20 +5984,31 @@ export interface TaskDefinition {
|
|
|
5962
5984
|
/**
|
|
5963
5985
|
* @public
|
|
5964
5986
|
* <p>The process namespace to use for the containers in the task. The valid
|
|
5965
|
-
* values are <code>host</code> or <code>task</code>.
|
|
5966
|
-
*
|
|
5967
|
-
*
|
|
5968
|
-
*
|
|
5969
|
-
*
|
|
5970
|
-
*
|
|
5971
|
-
*
|
|
5987
|
+
* values are <code>host</code> or <code>task</code>. On Fargate for
|
|
5988
|
+
* Linux containers, the only valid value is <code>task</code>. For
|
|
5989
|
+
* example, monitoring sidecars might need <code>pidMode</code> to access
|
|
5990
|
+
* information about other containers running in the same task.</p>
|
|
5991
|
+
* <p>If <code>host</code> is specified, all containers within the tasks
|
|
5992
|
+
* that specified the <code>host</code> PID mode on the same container
|
|
5993
|
+
* instance share the same process namespace with the host Amazon EC2
|
|
5994
|
+
* instance.</p>
|
|
5995
|
+
* <p>If <code>task</code> is specified, all containers within the specified
|
|
5996
|
+
* task share the same process namespace.</p>
|
|
5997
|
+
* <p>If no value is specified, the
|
|
5998
|
+
* default is a private namespace for each container. For more information,
|
|
5999
|
+
* see <a href="https://docs.docker.com/engine/reference/run/#pid-settings---pid">PID settings</a> in the <i>Docker run
|
|
5972
6000
|
* reference</i>.</p>
|
|
5973
|
-
* <p>If the <code>host</code> PID mode is used,
|
|
5974
|
-
*
|
|
5975
|
-
*
|
|
5976
|
-
* security</a>.</p>
|
|
6001
|
+
* <p>If the <code>host</code> PID mode is used, there's a heightened risk
|
|
6002
|
+
* of undesired process namespace exposure. For more information, see
|
|
6003
|
+
* <a href="https://docs.docker.com/engine/security/security/">Docker security</a>.</p>
|
|
5977
6004
|
* <note>
|
|
5978
|
-
* <p>This parameter is not supported for Windows containers
|
|
6005
|
+
* <p>This parameter is not supported for Windows containers.</p>
|
|
6006
|
+
* </note>
|
|
6007
|
+
* <note>
|
|
6008
|
+
* <p>This parameter is only supported for tasks that are hosted on
|
|
6009
|
+
* Fargate if the tasks are using platform version <code>1.4.0</code> or later
|
|
6010
|
+
* (Linux). This isn't supported for Windows containers on
|
|
6011
|
+
* Fargate.</p>
|
|
5979
6012
|
* </note>
|
|
5980
6013
|
*/
|
|
5981
6014
|
pidMode?: PidMode | string;
|
|
@@ -6373,8 +6406,7 @@ export interface ContainerInstance {
|
|
|
6373
6406
|
agentConnected?: boolean;
|
|
6374
6407
|
/**
|
|
6375
6408
|
* @public
|
|
6376
|
-
* <p>The number of tasks on the container instance that
|
|
6377
|
-
* status.</p>
|
|
6409
|
+
* <p>The number of tasks on the container instance that have a desired status (<code>desiredStatus</code>) of <code>RUNNING</code>.</p>
|
|
6378
6410
|
*/
|
|
6379
6411
|
runningTasksCount?: number;
|
|
6380
6412
|
/**
|
|
@@ -8685,19 +8717,19 @@ export interface ListTasksResponse {
|
|
|
8685
8717
|
export interface PutAccountSettingRequest {
|
|
8686
8718
|
/**
|
|
8687
8719
|
* @public
|
|
8688
|
-
* <p>The Amazon ECS resource name for which to modify the account setting. If
|
|
8689
|
-
* <code>serviceLongArnFormat</code
|
|
8690
|
-
*
|
|
8691
|
-
*
|
|
8692
|
-
*
|
|
8693
|
-
* <code>awsvpcTrunking</code
|
|
8694
|
-
*
|
|
8695
|
-
*
|
|
8696
|
-
*
|
|
8697
|
-
*
|
|
8698
|
-
*
|
|
8699
|
-
*
|
|
8700
|
-
*
|
|
8720
|
+
* <p>The Amazon ECS resource name for which to modify the account setting. If you specify
|
|
8721
|
+
* <code>serviceLongArnFormat</code>, the ARN for your Amazon ECS services is affected. If
|
|
8722
|
+
* you specify <code>taskLongArnFormat</code>, the ARN and resource ID for your Amazon ECS
|
|
8723
|
+
* tasks is affected. If you specify <code>containerInstanceLongArnFormat</code>, the ARN
|
|
8724
|
+
* and resource ID for your Amazon ECS container instances is affected. If you specify
|
|
8725
|
+
* <code>awsvpcTrunking</code>, the elastic network interface (ENI) limit for your
|
|
8726
|
+
* Amazon ECS container instances is affected. If you specify <code>containerInsights</code>,
|
|
8727
|
+
* the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If
|
|
8728
|
+
* you specify <code>fargateFIPSMode</code>, Fargate FIPS 140 compliance is affected. If
|
|
8729
|
+
* you specify <code>tagResourceAuthorization</code>, the opt-in option for tagging
|
|
8730
|
+
* resources on creation is affected. For information about the opt-in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources">Tagging authorization timeline</a> in the <i>Amazon ECS Developer
|
|
8731
|
+
* Guide</i>. If you specify <code>fargateTaskRetirementWaitPeriod</code>, the
|
|
8732
|
+
* wait time to retire a Fargate task is affected.</p>
|
|
8701
8733
|
*/
|
|
8702
8734
|
name: SettingName | string | undefined;
|
|
8703
8735
|
/**
|
|
@@ -8705,6 +8737,24 @@ export interface PutAccountSettingRequest {
|
|
|
8705
8737
|
* <p>The account setting value for the specified principal ARN. Accepted values are
|
|
8706
8738
|
* <code>enabled</code>, <code>disabled</code>, <code>on</code>, and
|
|
8707
8739
|
* <code>off</code>.</p>
|
|
8740
|
+
* <p>When you specify <code>fargateTaskRetirementWaitPeriod</code> for the <code>name</code>, the
|
|
8741
|
+
* following are the valid values:</p>
|
|
8742
|
+
* <ul>
|
|
8743
|
+
* <li>
|
|
8744
|
+
* <p>
|
|
8745
|
+
* <code>0</code> - immediately retire the tasks and patch Fargate </p>
|
|
8746
|
+
* <p>There is no advanced notification. Your tasks are retired immediately, and Fargate
|
|
8747
|
+
* is patched without any notification.</p>
|
|
8748
|
+
* </li>
|
|
8749
|
+
* <li>
|
|
8750
|
+
* <p>
|
|
8751
|
+
* <code>7</code> -wait 7 calendar days to retire the tasks and patch Fargate </p>
|
|
8752
|
+
* </li>
|
|
8753
|
+
* <li>
|
|
8754
|
+
* <p>
|
|
8755
|
+
* <code>14</code> - wait 14 calendar days to retire the tasks and patch Fargate </p>
|
|
8756
|
+
* </li>
|
|
8757
|
+
* </ul>
|
|
8708
8758
|
*/
|
|
8709
8759
|
value: string | undefined;
|
|
8710
8760
|
/**
|
|
@@ -8715,6 +8765,8 @@ export interface PutAccountSettingRequest {
|
|
|
8715
8765
|
* settings. If this field is omitted, the setting is changed only for the authenticated
|
|
8716
8766
|
* user.</p>
|
|
8717
8767
|
* <note>
|
|
8768
|
+
* <p>You must use the root user when you set the Fargate wait time
|
|
8769
|
+
* (<code>fargateTaskRetirementWaitPeriod</code>). </p>
|
|
8718
8770
|
* <p>Federated users assume the account setting of the root user and can't have
|
|
8719
8771
|
* explicit account settings set for them.</p>
|
|
8720
8772
|
* </note>
|
|
@@ -8737,22 +8789,30 @@ export interface PutAccountSettingResponse {
|
|
|
8737
8789
|
export interface PutAccountSettingDefaultRequest {
|
|
8738
8790
|
/**
|
|
8739
8791
|
* @public
|
|
8740
|
-
* <p>The resource name for which to modify the account setting. If
|
|
8741
|
-
* <code>serviceLongArnFormat</code
|
|
8742
|
-
*
|
|
8743
|
-
*
|
|
8744
|
-
*
|
|
8745
|
-
* <code>awsvpcTrunking</code
|
|
8746
|
-
*
|
|
8747
|
-
*
|
|
8748
|
-
* <code>tagResourceAuthorization</code
|
|
8749
|
-
*
|
|
8750
|
-
* Guide</i
|
|
8792
|
+
* <p>The resource name for which to modify the account setting. If you specify
|
|
8793
|
+
* <code>serviceLongArnFormat</code>, the ARN for your Amazon ECS services is affected. If
|
|
8794
|
+
* you specify <code>taskLongArnFormat</code>, the ARN and resource ID for your Amazon ECS
|
|
8795
|
+
* tasks is affected. If you specify <code>containerInstanceLongArnFormat</code>, the ARN
|
|
8796
|
+
* and resource ID for your Amazon ECS container instances is affected. If you specify
|
|
8797
|
+
* <code>awsvpcTrunking</code>, the ENI limit for your Amazon ECS container instances is
|
|
8798
|
+
* affected. If you specify <code>containerInsights</code>, the default setting for Amazon Web Services
|
|
8799
|
+
* CloudWatch Container Insights for your clusters is affected. If you specify
|
|
8800
|
+
* <code>tagResourceAuthorization</code>, the opt-in option for tagging resources on
|
|
8801
|
+
* creation is affected. For information about the opt-in timeline, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources">Tagging authorization timeline</a> in the <i>Amazon ECS Developer
|
|
8802
|
+
* Guide</i>. If you specify <code>fargateTaskRetirementWaitPeriod</code>, the
|
|
8803
|
+
* default wait time to retire a Fargate task due to required maintenance is
|
|
8804
|
+
* affected.</p>
|
|
8751
8805
|
* <p>When you specify <code>fargateFIPSMode</code> for the <code>name</code> and
|
|
8752
8806
|
* <code>enabled</code> for the <code>value</code>, Fargate uses FIPS-140 compliant
|
|
8753
8807
|
* cryptographic algorithms on your tasks. For more information about FIPS-140 compliance
|
|
8754
8808
|
* with Fargate, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html"> Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2
|
|
8755
8809
|
* compliance</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
8810
|
+
* <p>When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task
|
|
8811
|
+
* hosted on Fargate, the tasks need to be stopped and new tasks launched to replace
|
|
8812
|
+
* them. Use <code>fargateTaskRetirementWaitPeriod</code> to set the wait time to retire a
|
|
8813
|
+
* Fargate task to the default. For information about the Fargate tasks maintenance,
|
|
8814
|
+
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html">Amazon Web Services Fargate task
|
|
8815
|
+
* maintenance</a> in the <i>Amazon ECS Developer Guide</i>.</p>
|
|
8756
8816
|
*/
|
|
8757
8817
|
name: SettingName | string | undefined;
|
|
8758
8818
|
/**
|
|
@@ -8760,6 +8820,26 @@ export interface PutAccountSettingDefaultRequest {
|
|
|
8760
8820
|
* <p>The account setting value for the specified principal ARN. Accepted values are
|
|
8761
8821
|
* <code>enabled</code>, <code>disabled</code>, <code>on</code>, and
|
|
8762
8822
|
* <code>off</code>.</p>
|
|
8823
|
+
* <p>When you specify <code>fargateTaskRetirementWaitPeriod</code> for the
|
|
8824
|
+
* <code>name</code>, the following are the valid values:</p>
|
|
8825
|
+
* <ul>
|
|
8826
|
+
* <li>
|
|
8827
|
+
* <p>
|
|
8828
|
+
* <code>0</code> - immediately retire the tasks and patch Fargate </p>
|
|
8829
|
+
* <p>There is no advanced notification. Your tasks are retired immediately, and
|
|
8830
|
+
* Fargate is patched without any notification.</p>
|
|
8831
|
+
* </li>
|
|
8832
|
+
* <li>
|
|
8833
|
+
* <p>
|
|
8834
|
+
* <code>7</code> -wait 7 calendar days to retire the tasks and patch Fargate
|
|
8835
|
+
* </p>
|
|
8836
|
+
* </li>
|
|
8837
|
+
* <li>
|
|
8838
|
+
* <p>
|
|
8839
|
+
* <code>14</code> - wait 14 calendar days to retire the tasks and patch
|
|
8840
|
+
* Fargate </p>
|
|
8841
|
+
* </li>
|
|
8842
|
+
* </ul>
|
|
8763
8843
|
*/
|
|
8764
8844
|
value: string | undefined;
|
|
8765
8845
|
}
|
|
@@ -9231,20 +9311,31 @@ export interface RegisterTaskDefinitionRequest {
|
|
|
9231
9311
|
/**
|
|
9232
9312
|
* @public
|
|
9233
9313
|
* <p>The process namespace to use for the containers in the task. The valid
|
|
9234
|
-
* values are <code>host</code> or <code>task</code>.
|
|
9235
|
-
*
|
|
9236
|
-
*
|
|
9237
|
-
*
|
|
9238
|
-
*
|
|
9239
|
-
*
|
|
9240
|
-
*
|
|
9314
|
+
* values are <code>host</code> or <code>task</code>. On Fargate for
|
|
9315
|
+
* Linux containers, the only valid value is <code>task</code>. For
|
|
9316
|
+
* example, monitoring sidecars might need <code>pidMode</code> to access
|
|
9317
|
+
* information about other containers running in the same task.</p>
|
|
9318
|
+
* <p>If <code>host</code> is specified, all containers within the tasks
|
|
9319
|
+
* that specified the <code>host</code> PID mode on the same container
|
|
9320
|
+
* instance share the same process namespace with the host Amazon EC2
|
|
9321
|
+
* instance.</p>
|
|
9322
|
+
* <p>If <code>task</code> is specified, all containers within the specified
|
|
9323
|
+
* task share the same process namespace.</p>
|
|
9324
|
+
* <p>If no value is specified, the
|
|
9325
|
+
* default is a private namespace for each container. For more information,
|
|
9326
|
+
* see <a href="https://docs.docker.com/engine/reference/run/#pid-settings---pid">PID settings</a> in the <i>Docker run
|
|
9241
9327
|
* reference</i>.</p>
|
|
9242
|
-
* <p>If the <code>host</code> PID mode is used,
|
|
9243
|
-
*
|
|
9244
|
-
*
|
|
9245
|
-
* security</a>.</p>
|
|
9328
|
+
* <p>If the <code>host</code> PID mode is used, there's a heightened risk
|
|
9329
|
+
* of undesired process namespace exposure. For more information, see
|
|
9330
|
+
* <a href="https://docs.docker.com/engine/security/security/">Docker security</a>.</p>
|
|
9246
9331
|
* <note>
|
|
9247
|
-
* <p>This parameter is not supported for Windows containers
|
|
9332
|
+
* <p>This parameter is not supported for Windows containers.</p>
|
|
9333
|
+
* </note>
|
|
9334
|
+
* <note>
|
|
9335
|
+
* <p>This parameter is only supported for tasks that are hosted on
|
|
9336
|
+
* Fargate if the tasks are using platform version <code>1.4.0</code> or later
|
|
9337
|
+
* (Linux). This isn't supported for Windows containers on
|
|
9338
|
+
* Fargate.</p>
|
|
9248
9339
|
* </note>
|
|
9249
9340
|
*/
|
|
9250
9341
|
pidMode?: PidMode | string;
|
|
@@ -529,6 +529,7 @@ export declare const SettingName: {
|
|
|
529
529
|
readonly CONTAINER_INSIGHTS: "containerInsights";
|
|
530
530
|
readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
|
|
531
531
|
readonly FARGATE_FIPS_MODE: "fargateFIPSMode";
|
|
532
|
+
readonly FARGATE_TASK_RETIREMENT_WAIT_PERIOD: "fargateTaskRetirementWaitPeriod";
|
|
532
533
|
readonly SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat";
|
|
533
534
|
readonly TAG_RESOURCE_AUTHORIZATION: "tagResourceAuthorization";
|
|
534
535
|
readonly TASK_LONG_ARN_FORMAT: "taskLongArnFormat";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.404.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",
|