@cdklabs/cdk-ecs-codedeploy 0.0.7 → 0.0.9
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/.jsii +3 -3
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +19 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +7 -2
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +211 -9
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +3 -0
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +5 -2
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -0
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +304 -51
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json +6 -3
- package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +4 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +593 -573
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +796 -160
- package/node_modules/aws-sdk/clients/appflow.d.ts +13 -0
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +258 -0
- package/node_modules/aws-sdk/clients/cloudfront.d.ts +283 -283
- package/node_modules/aws-sdk/clients/connect.d.ts +7 -7
- package/node_modules/aws-sdk/clients/datasync.d.ts +64 -60
- package/node_modules/aws-sdk/clients/ecs.d.ts +15 -3
- package/node_modules/aws-sdk/clients/efs.d.ts +2 -2
- package/node_modules/aws-sdk/clients/eks.d.ts +21 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +4 -0
- package/node_modules/aws-sdk/clients/guardduty.d.ts +4 -4
- package/node_modules/aws-sdk/clients/kinesis.d.ts +180 -60
- package/node_modules/aws-sdk/clients/location.d.ts +2 -2
- package/node_modules/aws-sdk/clients/m2.d.ts +81 -65
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +76 -53
- package/node_modules/aws-sdk/clients/securityhub.d.ts +971 -0
- package/node_modules/aws-sdk/clients/translate.d.ts +10 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +11 -11
- package/node_modules/aws-sdk/dist/aws-sdk.js +318 -59
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +58 -58
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +6 -6
|
@@ -172,11 +172,11 @@ declare class Connect extends Service {
|
|
|
172
172
|
*/
|
|
173
173
|
createRoutingProfile(callback?: (err: AWSError, data: Connect.Types.CreateRoutingProfileResponse) => void): Request<Connect.Types.CreateRoutingProfileResponse, AWSError>;
|
|
174
174
|
/**
|
|
175
|
-
* Creates a rule for the specified Amazon Connect instance.
|
|
175
|
+
* Creates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
176
176
|
*/
|
|
177
177
|
createRule(params: Connect.Types.CreateRuleRequest, callback?: (err: AWSError, data: Connect.Types.CreateRuleResponse) => void): Request<Connect.Types.CreateRuleResponse, AWSError>;
|
|
178
178
|
/**
|
|
179
|
-
* Creates a rule for the specified Amazon Connect instance.
|
|
179
|
+
* Creates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
180
180
|
*/
|
|
181
181
|
createRule(callback?: (err: AWSError, data: Connect.Types.CreateRuleResponse) => void): Request<Connect.Types.CreateRuleResponse, AWSError>;
|
|
182
182
|
/**
|
|
@@ -1268,11 +1268,11 @@ declare class Connect extends Service {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
updateRoutingProfileQueues(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1270
1270
|
/**
|
|
1271
|
-
* Updates a rule for the specified Amazon Connect instance.
|
|
1271
|
+
* Updates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
1272
1272
|
*/
|
|
1273
1273
|
updateRule(params: Connect.Types.UpdateRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1274
1274
|
/**
|
|
1275
|
-
* Updates a rule for the specified Amazon Connect instance.
|
|
1275
|
+
* Updates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
1276
1276
|
*/
|
|
1277
1277
|
updateRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1278
1278
|
/**
|
|
@@ -2387,7 +2387,7 @@ declare namespace Connect {
|
|
|
2387
2387
|
*/
|
|
2388
2388
|
AllowedAccessControlTags?: AllowedAccessControlTags;
|
|
2389
2389
|
/**
|
|
2390
|
-
* The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
|
2390
|
+
* The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User | SecurityProfile | Queue | RoutingProfile
|
|
2391
2391
|
*/
|
|
2392
2392
|
TagRestrictedResources?: TagRestrictedResourceList;
|
|
2393
2393
|
}
|
|
@@ -6703,7 +6703,7 @@ declare namespace Connect {
|
|
|
6703
6703
|
*/
|
|
6704
6704
|
ContactFlowId: ContactFlowId;
|
|
6705
6705
|
/**
|
|
6706
|
-
* The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language
|
|
6706
|
+
* The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
|
|
6707
6707
|
*/
|
|
6708
6708
|
Content: ContactFlowContent;
|
|
6709
6709
|
}
|
|
@@ -7627,7 +7627,7 @@ declare namespace Connect {
|
|
|
7627
7627
|
export type VocabularyContent = string;
|
|
7628
7628
|
export type VocabularyFailureReason = string;
|
|
7629
7629
|
export type VocabularyId = string;
|
|
7630
|
-
export type VocabularyLanguageCode = "ar-AE"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"hi-IN"|"it-IT"|"ja-JP"|"ko-KR"|"pt-BR"|"pt-PT"|"zh-CN"|string;
|
|
7630
|
+
export type VocabularyLanguageCode = "ar-AE"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"hi-IN"|"it-IT"|"ja-JP"|"ko-KR"|"pt-BR"|"pt-PT"|"zh-CN"|"en-NZ"|"en-ZA"|string;
|
|
7631
7631
|
export type VocabularyLastModifiedTime = Date;
|
|
7632
7632
|
export type VocabularyName = string;
|
|
7633
7633
|
export type VocabularyNextToken = string;
|
|
@@ -108,11 +108,11 @@ declare class DataSync extends Service {
|
|
|
108
108
|
*/
|
|
109
109
|
createLocationSmb(callback?: (err: AWSError, data: DataSync.Types.CreateLocationSmbResponse) => void): Request<DataSync.Types.CreateLocationSmbResponse, AWSError>;
|
|
110
110
|
/**
|
|
111
|
-
* Configures a task, which defines where and how DataSync transfers your data. A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
|
|
111
|
+
* Configures a task, which defines where and how DataSync transfers your data. A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
|
|
112
112
|
*/
|
|
113
113
|
createTask(params: DataSync.Types.CreateTaskRequest, callback?: (err: AWSError, data: DataSync.Types.CreateTaskResponse) => void): Request<DataSync.Types.CreateTaskResponse, AWSError>;
|
|
114
114
|
/**
|
|
115
|
-
* Configures a task, which defines where and how DataSync transfers your data. A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
|
|
115
|
+
* Configures a task, which defines where and how DataSync transfers your data. A task includes a source location, a destination location, and the preferences for how and when you want to transfer your data (such as bandwidth limits, scheduling, among other options).
|
|
116
116
|
*/
|
|
117
117
|
createTask(callback?: (err: AWSError, data: DataSync.Types.CreateTaskResponse) => void): Request<DataSync.Types.CreateTaskResponse, AWSError>;
|
|
118
118
|
/**
|
|
@@ -132,11 +132,11 @@ declare class DataSync extends Service {
|
|
|
132
132
|
*/
|
|
133
133
|
deleteLocation(callback?: (err: AWSError, data: DataSync.Types.DeleteLocationResponse) => void): Request<DataSync.Types.DeleteLocationResponse, AWSError>;
|
|
134
134
|
/**
|
|
135
|
-
* Deletes
|
|
135
|
+
* Deletes an DataSync task.
|
|
136
136
|
*/
|
|
137
137
|
deleteTask(params: DataSync.Types.DeleteTaskRequest, callback?: (err: AWSError, data: DataSync.Types.DeleteTaskResponse) => void): Request<DataSync.Types.DeleteTaskResponse, AWSError>;
|
|
138
138
|
/**
|
|
139
|
-
* Deletes
|
|
139
|
+
* Deletes an DataSync task.
|
|
140
140
|
*/
|
|
141
141
|
deleteTask(callback?: (err: AWSError, data: DataSync.Types.DeleteTaskResponse) => void): Request<DataSync.Types.DeleteTaskResponse, AWSError>;
|
|
142
142
|
/**
|
|
@@ -260,11 +260,11 @@ declare class DataSync extends Service {
|
|
|
260
260
|
*/
|
|
261
261
|
listLocations(callback?: (err: AWSError, data: DataSync.Types.ListLocationsResponse) => void): Request<DataSync.Types.ListLocationsResponse, AWSError>;
|
|
262
262
|
/**
|
|
263
|
-
* Returns all the tags associated with
|
|
263
|
+
* Returns all the tags associated with an Amazon Web Services resource.
|
|
264
264
|
*/
|
|
265
265
|
listTagsForResource(params: DataSync.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DataSync.Types.ListTagsForResourceResponse) => void): Request<DataSync.Types.ListTagsForResourceResponse, AWSError>;
|
|
266
266
|
/**
|
|
267
|
-
* Returns all the tags associated with
|
|
267
|
+
* Returns all the tags associated with an Amazon Web Services resource.
|
|
268
268
|
*/
|
|
269
269
|
listTagsForResource(callback?: (err: AWSError, data: DataSync.Types.ListTagsForResourceResponse) => void): Request<DataSync.Types.ListTagsForResourceResponse, AWSError>;
|
|
270
270
|
/**
|
|
@@ -284,27 +284,27 @@ declare class DataSync extends Service {
|
|
|
284
284
|
*/
|
|
285
285
|
listTasks(callback?: (err: AWSError, data: DataSync.Types.ListTasksResponse) => void): Request<DataSync.Types.ListTasksResponse, AWSError>;
|
|
286
286
|
/**
|
|
287
|
-
* Starts
|
|
287
|
+
* Starts an DataSync task. For each task, you can only run one task execution at a time. There are several phases to a task execution. For more information, see Task execution statuses.
|
|
288
288
|
*/
|
|
289
289
|
startTaskExecution(params: DataSync.Types.StartTaskExecutionRequest, callback?: (err: AWSError, data: DataSync.Types.StartTaskExecutionResponse) => void): Request<DataSync.Types.StartTaskExecutionResponse, AWSError>;
|
|
290
290
|
/**
|
|
291
|
-
* Starts
|
|
291
|
+
* Starts an DataSync task. For each task, you can only run one task execution at a time. There are several phases to a task execution. For more information, see Task execution statuses.
|
|
292
292
|
*/
|
|
293
293
|
startTaskExecution(callback?: (err: AWSError, data: DataSync.Types.StartTaskExecutionResponse) => void): Request<DataSync.Types.StartTaskExecutionResponse, AWSError>;
|
|
294
294
|
/**
|
|
295
|
-
* Applies a
|
|
295
|
+
* Applies a tag to an Amazon Web Services resource. Tags are key-value pairs that can help you manage, filter, and search for your resources. These include DataSync resources, such as locations, tasks, and task executions.
|
|
296
296
|
*/
|
|
297
297
|
tagResource(params: DataSync.Types.TagResourceRequest, callback?: (err: AWSError, data: DataSync.Types.TagResourceResponse) => void): Request<DataSync.Types.TagResourceResponse, AWSError>;
|
|
298
298
|
/**
|
|
299
|
-
* Applies a
|
|
299
|
+
* Applies a tag to an Amazon Web Services resource. Tags are key-value pairs that can help you manage, filter, and search for your resources. These include DataSync resources, such as locations, tasks, and task executions.
|
|
300
300
|
*/
|
|
301
301
|
tagResource(callback?: (err: AWSError, data: DataSync.Types.TagResourceResponse) => void): Request<DataSync.Types.TagResourceResponse, AWSError>;
|
|
302
302
|
/**
|
|
303
|
-
* Removes
|
|
303
|
+
* Removes tags from an Amazon Web Services resource.
|
|
304
304
|
*/
|
|
305
305
|
untagResource(params: DataSync.Types.UntagResourceRequest, callback?: (err: AWSError, data: DataSync.Types.UntagResourceResponse) => void): Request<DataSync.Types.UntagResourceResponse, AWSError>;
|
|
306
306
|
/**
|
|
307
|
-
* Removes
|
|
307
|
+
* Removes tags from an Amazon Web Services resource.
|
|
308
308
|
*/
|
|
309
309
|
untagResource(callback?: (err: AWSError, data: DataSync.Types.UntagResourceResponse) => void): Request<DataSync.Types.UntagResourceResponse, AWSError>;
|
|
310
310
|
/**
|
|
@@ -798,11 +798,11 @@ declare namespace DataSync {
|
|
|
798
798
|
*/
|
|
799
799
|
Name?: TagValue;
|
|
800
800
|
/**
|
|
801
|
-
*
|
|
801
|
+
* Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity. You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
|
|
802
802
|
*/
|
|
803
803
|
Options?: Options;
|
|
804
804
|
/**
|
|
805
|
-
*
|
|
805
|
+
* Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
806
806
|
*/
|
|
807
807
|
Excludes?: FilterList;
|
|
808
808
|
/**
|
|
@@ -810,11 +810,11 @@ declare namespace DataSync {
|
|
|
810
810
|
*/
|
|
811
811
|
Schedule?: TaskSchedule;
|
|
812
812
|
/**
|
|
813
|
-
*
|
|
813
|
+
* Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task. Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
|
|
814
814
|
*/
|
|
815
815
|
Tags?: InputTagList;
|
|
816
816
|
/**
|
|
817
|
-
*
|
|
817
|
+
* Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
818
818
|
*/
|
|
819
819
|
Includes?: FilterList;
|
|
820
820
|
}
|
|
@@ -842,7 +842,7 @@ declare namespace DataSync {
|
|
|
842
842
|
}
|
|
843
843
|
export interface DeleteTaskRequest {
|
|
844
844
|
/**
|
|
845
|
-
*
|
|
845
|
+
* Specifies the Amazon Resource Name (ARN) of the task that you want to delete.
|
|
846
846
|
*/
|
|
847
847
|
TaskArn: TaskArn;
|
|
848
848
|
}
|
|
@@ -1237,11 +1237,11 @@ declare namespace DataSync {
|
|
|
1237
1237
|
Status?: TaskExecutionStatus;
|
|
1238
1238
|
Options?: Options;
|
|
1239
1239
|
/**
|
|
1240
|
-
* A list of filter rules that
|
|
1240
|
+
* A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
1241
1241
|
*/
|
|
1242
1242
|
Excludes?: FilterList;
|
|
1243
1243
|
/**
|
|
1244
|
-
* A list of filter rules that
|
|
1244
|
+
* A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
1245
1245
|
*/
|
|
1246
1246
|
Includes?: FilterList;
|
|
1247
1247
|
/**
|
|
@@ -1249,7 +1249,7 @@ declare namespace DataSync {
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
StartTime?: Time;
|
|
1251
1251
|
/**
|
|
1252
|
-
* The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase
|
|
1252
|
+
* The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase before the TRANSFERRING phase of the task execution. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
|
|
1253
1253
|
*/
|
|
1254
1254
|
EstimatedFilesToTransfer?: long;
|
|
1255
1255
|
/**
|
|
@@ -1257,7 +1257,7 @@ declare namespace DataSync {
|
|
|
1257
1257
|
*/
|
|
1258
1258
|
EstimatedBytesToTransfer?: long;
|
|
1259
1259
|
/**
|
|
1260
|
-
* The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network. If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer.
|
|
1260
|
+
* The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase of the task execution. It's updated periodically when each file is read from the source and sent over the network. If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an indicator for a correct file number or to monitor your task execution.
|
|
1261
1261
|
*/
|
|
1262
1262
|
FilesTransferred?: long;
|
|
1263
1263
|
/**
|
|
@@ -1265,7 +1265,7 @@ declare namespace DataSync {
|
|
|
1265
1265
|
*/
|
|
1266
1266
|
BytesWritten?: long;
|
|
1267
1267
|
/**
|
|
1268
|
-
* The
|
|
1268
|
+
* The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see BytesCompressed.
|
|
1269
1269
|
*/
|
|
1270
1270
|
BytesTransferred?: long;
|
|
1271
1271
|
/**
|
|
@@ -1273,7 +1273,7 @@ declare namespace DataSync {
|
|
|
1273
1273
|
*/
|
|
1274
1274
|
Result?: TaskExecutionResultDetail;
|
|
1275
1275
|
/**
|
|
1276
|
-
* The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred.
|
|
1276
|
+
* The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred unless the data isn't compressible.
|
|
1277
1277
|
*/
|
|
1278
1278
|
BytesCompressed?: long;
|
|
1279
1279
|
}
|
|
@@ -1297,7 +1297,7 @@ declare namespace DataSync {
|
|
|
1297
1297
|
*/
|
|
1298
1298
|
Name?: TagValue;
|
|
1299
1299
|
/**
|
|
1300
|
-
* The Amazon Resource Name (ARN) of the task execution that is
|
|
1300
|
+
* The Amazon Resource Name (ARN) of the task execution that is transferring files.
|
|
1301
1301
|
*/
|
|
1302
1302
|
CurrentTaskExecutionArn?: TaskExecutionArn;
|
|
1303
1303
|
/**
|
|
@@ -1313,19 +1313,19 @@ declare namespace DataSync {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
CloudWatchLogGroupArn?: LogGroupArn;
|
|
1315
1315
|
/**
|
|
1316
|
-
* The Amazon Resource Names (ARNs) of the
|
|
1316
|
+
* The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.
|
|
1317
1317
|
*/
|
|
1318
1318
|
SourceNetworkInterfaceArns?: SourceNetworkInterfaceArns;
|
|
1319
1319
|
/**
|
|
1320
|
-
* The Amazon Resource Names (ARNs) of the
|
|
1320
|
+
* The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.
|
|
1321
1321
|
*/
|
|
1322
1322
|
DestinationNetworkInterfaceArns?: DestinationNetworkInterfaceArns;
|
|
1323
1323
|
/**
|
|
1324
|
-
* The
|
|
1324
|
+
* The configuration options that control the behavior of the StartTaskExecution operation. Some options include preserving file or object metadata and verifying data integrity. You can override these options for each task execution. For more information, see StartTaskExecution.
|
|
1325
1325
|
*/
|
|
1326
1326
|
Options?: Options;
|
|
1327
1327
|
/**
|
|
1328
|
-
* A list of filter rules that
|
|
1328
|
+
* A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
1329
1329
|
*/
|
|
1330
1330
|
Excludes?: FilterList;
|
|
1331
1331
|
/**
|
|
@@ -1345,7 +1345,7 @@ declare namespace DataSync {
|
|
|
1345
1345
|
*/
|
|
1346
1346
|
CreationTime?: Time;
|
|
1347
1347
|
/**
|
|
1348
|
-
* A list of filter rules that
|
|
1348
|
+
* A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
1349
1349
|
*/
|
|
1350
1350
|
Includes?: FilterList;
|
|
1351
1351
|
}
|
|
@@ -1491,25 +1491,25 @@ declare namespace DataSync {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
export interface ListTagsForResourceRequest {
|
|
1493
1493
|
/**
|
|
1494
|
-
*
|
|
1494
|
+
* Specifies the Amazon Resource Name (ARN) of the resource that you want tag information on.
|
|
1495
1495
|
*/
|
|
1496
1496
|
ResourceArn: TaggableResourceArn;
|
|
1497
1497
|
/**
|
|
1498
|
-
*
|
|
1498
|
+
* Specifies how many results that you want in the response.
|
|
1499
1499
|
*/
|
|
1500
1500
|
MaxResults?: MaxResults;
|
|
1501
1501
|
/**
|
|
1502
|
-
*
|
|
1502
|
+
* Specifies an opaque string that indicates the position to begin the next list of results in the response.
|
|
1503
1503
|
*/
|
|
1504
1504
|
NextToken?: NextToken;
|
|
1505
1505
|
}
|
|
1506
1506
|
export interface ListTagsForResourceResponse {
|
|
1507
1507
|
/**
|
|
1508
|
-
*
|
|
1508
|
+
* An array of tags applied to the specified resource.
|
|
1509
1509
|
*/
|
|
1510
1510
|
Tags?: OutputTagList;
|
|
1511
1511
|
/**
|
|
1512
|
-
*
|
|
1512
|
+
* The opaque string that indicates the position to begin the next list of results in the response.
|
|
1513
1513
|
*/
|
|
1514
1514
|
NextToken?: NextToken;
|
|
1515
1515
|
}
|
|
@@ -1620,63 +1620,63 @@ declare namespace DataSync {
|
|
|
1620
1620
|
export type Operator = "Equals"|"NotEquals"|"In"|"LessThanOrEqual"|"LessThan"|"GreaterThanOrEqual"|"GreaterThan"|"Contains"|"NotContains"|"BeginsWith"|string;
|
|
1621
1621
|
export interface Options {
|
|
1622
1622
|
/**
|
|
1623
|
-
*
|
|
1623
|
+
* Specifies how and when DataSync checks the integrity of your data during a transfer. Default value: POINT_IN_TIME_CONSISTENT ONLY_FILES_TRANSFERRED (recommended): DataSync calculates the checksum of transferred files and metadata at the source location. At the end of the transfer, DataSync then compares this checksum to the checksum calculated on those files at the destination. We recommend this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations. POINT_IN_TIME_CONSISTENT: At the end of the transfer, DataSync scans the entire source and destination to verify that both locations are fully synchronized. You can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations. NONE: DataSync doesn't run additional verification at the end of the transfer. All data transmissions are still integrity-checked with checksum verification during the transfer.
|
|
1624
1624
|
*/
|
|
1625
1625
|
VerifyMode?: VerifyMode;
|
|
1626
1626
|
/**
|
|
1627
|
-
*
|
|
1627
|
+
* Specifies whether data at the destination location should be overwritten or preserved. If set to NEVER, a destination file for example will not be replaced by a source file (even if the destination file differs from the source file). If you modify files in the destination and you sync the files, you can use this value to protect against overwriting those changes. Some storage classes have specific behaviors that can affect your Amazon S3 storage cost. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync .
|
|
1628
1628
|
*/
|
|
1629
1629
|
OverwriteMode?: OverwriteMode;
|
|
1630
1630
|
/**
|
|
1631
|
-
*
|
|
1631
|
+
* Specifies whether to preserve metadata indicating the last time a file was read or written to. If you set Atime to BEST_EFFORT, DataSync attempts to preserve the original Atime attribute on all source files (that is, the version before the PREPARING phase of the task execution). The behavior of Atime isn't fully standard across platforms, so DataSync can only do this on a best-effort basis. Default value: BEST_EFFORT BEST_EFFORT: Attempt to preserve the per-file Atime value (recommended). NONE: Ignore Atime. If Atime is set to BEST_EFFORT, Mtime must be set to PRESERVE. If Atime is set to NONE, Mtime must also be NONE.
|
|
1632
1632
|
*/
|
|
1633
1633
|
Atime?: Atime;
|
|
1634
1634
|
/**
|
|
1635
|
-
*
|
|
1635
|
+
* Specifies whether to preserve metadata indicating the last time that a file was written to before the PREPARING phase of your task execution. This option is required when you need to run the a task more than once. Default Value: PRESERVE PRESERVE: Preserve original Mtime (recommended) NONE: Ignore Mtime. If Mtime is set to PRESERVE, Atime must be set to BEST_EFFORT. If Mtime is set to NONE, Atime must also be set to NONE.
|
|
1636
1636
|
*/
|
|
1637
1637
|
Mtime?: Mtime;
|
|
1638
1638
|
/**
|
|
1639
|
-
*
|
|
1639
|
+
* Specifies the POSIX user ID (UID) of the file's owner. For more information, see Metadata copied by DataSync. Default value: INT_VALUE. This preserves the integer value of the ID. INT_VALUE: Preserve the integer value of UID and group ID (GID) (recommended). NONE: Ignore UID and GID.
|
|
1640
1640
|
*/
|
|
1641
1641
|
Uid?: Uid;
|
|
1642
1642
|
/**
|
|
1643
|
-
*
|
|
1643
|
+
* Specifies the POSIX group ID (GID) of the file's owners. For more information, see Metadata copied by DataSync. Default value: INT_VALUE. This preserves the integer value of the ID. INT_VALUE: Preserve the integer value of user ID (UID) and GID (recommended). NONE: Ignore UID and GID.
|
|
1644
1644
|
*/
|
|
1645
1645
|
Gid?: Gid;
|
|
1646
1646
|
/**
|
|
1647
|
-
*
|
|
1647
|
+
* Specifies whether files in the destination location that don't exist in the source should be preserved. This option can affect your Amazon S3 storage cost. If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync . Default value: PRESERVE PRESERVE: Ignore such destination files (recommended). REMOVE: Delete destination files that aren’t present in the source.
|
|
1648
1648
|
*/
|
|
1649
1649
|
PreserveDeletedFiles?: PreserveDeletedFiles;
|
|
1650
1650
|
/**
|
|
1651
|
-
*
|
|
1651
|
+
* Specifies whether DataSync should preserve the metadata of block and character devices in the source location and recreate the files with that device name and metadata on the destination. DataSync copies only the name and metadata of such devices. DataSync can't copy the actual contents of these devices because they're nonterminal and don't return an end-of-file (EOF) marker. Default value: NONE NONE: Ignore special devices (recommended). PRESERVE: Preserve character and block device metadata. This option currently isn't supported for Amazon EFS.
|
|
1652
1652
|
*/
|
|
1653
1653
|
PreserveDevices?: PreserveDevices;
|
|
1654
1654
|
/**
|
|
1655
|
-
*
|
|
1655
|
+
* Specifies which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. For more information, see Metadata copied by DataSync. Default value: PRESERVE PRESERVE: Preserve POSIX-style permissions (recommended). NONE: Ignore permissions. DataSync can preserve extant permissions of a source location.
|
|
1656
1656
|
*/
|
|
1657
1657
|
PosixPermissions?: PosixPermissions;
|
|
1658
1658
|
/**
|
|
1659
|
-
*
|
|
1659
|
+
* Limits the bandwidth used by a DataSync task. For example, if you want DataSync to use a maximum of 1 MB, set this value to 1048576 (=1024*1024).
|
|
1660
1660
|
*/
|
|
1661
1661
|
BytesPerSecond?: BytesPerSecond;
|
|
1662
1662
|
/**
|
|
1663
|
-
*
|
|
1663
|
+
* Specifies whether tasks should be queued before executing the tasks. The default is ENABLED, which means the tasks will be queued. If you use the same agent to run multiple tasks, you can enable the tasks to run in series. For more information, see Queueing task executions.
|
|
1664
1664
|
*/
|
|
1665
1665
|
TaskQueueing?: TaskQueueing;
|
|
1666
1666
|
/**
|
|
1667
|
-
*
|
|
1667
|
+
* Specifies the type of logs that DataSync publishes to a Amazon CloudWatch Logs log group. To specify the log group, see CloudWatchLogGroupArn. If you set LogLevel to OFF, no logs are published. BASIC publishes logs on errors for individual files transferred. TRANSFER publishes logs for every file or object that is transferred and integrity checked.
|
|
1668
1668
|
*/
|
|
1669
1669
|
LogLevel?: LogLevel;
|
|
1670
1670
|
/**
|
|
1671
|
-
*
|
|
1671
|
+
* Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location or transfers all the content from the source (without comparing what's in the destination). CHANGED: DataSync copies only data or metadata that is new or different content from the source location to the destination location. ALL: DataSync copies all source location content to the destination (without comparing what's in the destination).
|
|
1672
1672
|
*/
|
|
1673
1673
|
TransferMode?: TransferMode;
|
|
1674
1674
|
/**
|
|
1675
|
-
*
|
|
1675
|
+
* Specifies which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations or between two FSx for Windows File Server locations. For more information, see how DataSync handles metadata. Default value: OWNER_DACL OWNER_DACL: For each copied object, DataSync copies the following metadata: The object owner. NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object. DataSync won't copy NTFS system access control lists (SACLs) with this option. OWNER_DACL_SACL: For each copied object, DataSync copies the following metadata: The object owner. NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object. SACLs, which are used by administrators to log attempts to access a secured object. Copying SACLs requires granting additional permissions to the Windows user that DataSync uses to access your SMB location. For information about choosing a user that ensures sufficient permissions to files, folders, and metadata, see user. NONE: None of the SMB security descriptor components are copied. Destination objects are owned by the user that was provided for accessing the destination location. DACLs and SACLs are set based on the destination server’s configuration.
|
|
1676
1676
|
*/
|
|
1677
1677
|
SecurityDescriptorCopyFlags?: SmbSecurityDescriptorCopyFlags;
|
|
1678
1678
|
/**
|
|
1679
|
-
* Specifies whether object tags are
|
|
1679
|
+
* Specifies whether object tags are preserved when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value. Default Value: PRESERVE
|
|
1680
1680
|
*/
|
|
1681
1681
|
ObjectTags?: ObjectTags;
|
|
1682
1682
|
}
|
|
@@ -1723,7 +1723,7 @@ declare namespace DataSync {
|
|
|
1723
1723
|
*/
|
|
1724
1724
|
BucketAccessRoleArn: IamRoleArn;
|
|
1725
1725
|
}
|
|
1726
|
-
export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"INTELLIGENT_TIERING"|"GLACIER"|"DEEP_ARCHIVE"|"OUTPOSTS"|string;
|
|
1726
|
+
export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"INTELLIGENT_TIERING"|"GLACIER"|"DEEP_ARCHIVE"|"OUTPOSTS"|"GLACIER_INSTANT_RETRIEVAL"|string;
|
|
1727
1727
|
export type S3Subdirectory = string;
|
|
1728
1728
|
export type ScheduleExpressionCron = string;
|
|
1729
1729
|
export type ServerHostname = string;
|
|
@@ -1742,22 +1742,26 @@ declare namespace DataSync {
|
|
|
1742
1742
|
export type SourceNetworkInterfaceArns = NetworkInterfaceArn[];
|
|
1743
1743
|
export interface StartTaskExecutionRequest {
|
|
1744
1744
|
/**
|
|
1745
|
-
*
|
|
1745
|
+
* Specifies the Amazon Resource Name (ARN) of the task that you want to start.
|
|
1746
1746
|
*/
|
|
1747
1747
|
TaskArn: TaskArn;
|
|
1748
1748
|
OverrideOptions?: Options;
|
|
1749
1749
|
/**
|
|
1750
|
-
*
|
|
1750
|
+
* Specifies a list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2".
|
|
1751
1751
|
*/
|
|
1752
1752
|
Includes?: FilterList;
|
|
1753
1753
|
/**
|
|
1754
|
-
*
|
|
1754
|
+
* Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2".
|
|
1755
1755
|
*/
|
|
1756
1756
|
Excludes?: FilterList;
|
|
1757
|
+
/**
|
|
1758
|
+
* Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution. Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
|
|
1759
|
+
*/
|
|
1760
|
+
Tags?: InputTagList;
|
|
1757
1761
|
}
|
|
1758
1762
|
export interface StartTaskExecutionResponse {
|
|
1759
1763
|
/**
|
|
1760
|
-
* The
|
|
1764
|
+
* The ARN of the running task execution.
|
|
1761
1765
|
*/
|
|
1762
1766
|
TaskExecutionArn?: TaskExecutionArn;
|
|
1763
1767
|
}
|
|
@@ -1776,11 +1780,11 @@ declare namespace DataSync {
|
|
|
1776
1780
|
}
|
|
1777
1781
|
export interface TagResourceRequest {
|
|
1778
1782
|
/**
|
|
1779
|
-
*
|
|
1783
|
+
* Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.
|
|
1780
1784
|
*/
|
|
1781
1785
|
ResourceArn: TaggableResourceArn;
|
|
1782
1786
|
/**
|
|
1783
|
-
*
|
|
1787
|
+
* Specifies the tags that you want to apply to the resource.
|
|
1784
1788
|
*/
|
|
1785
1789
|
Tags: InputTagList;
|
|
1786
1790
|
}
|
|
@@ -1884,11 +1888,11 @@ declare namespace DataSync {
|
|
|
1884
1888
|
export type Uid = "NONE"|"INT_VALUE"|"NAME"|"BOTH"|string;
|
|
1885
1889
|
export interface UntagResourceRequest {
|
|
1886
1890
|
/**
|
|
1887
|
-
*
|
|
1891
|
+
* Specifies the Amazon Resource Name (ARN) of the resource to remove the tags from.
|
|
1888
1892
|
*/
|
|
1889
1893
|
ResourceArn: TaggableResourceArn;
|
|
1890
1894
|
/**
|
|
1891
|
-
*
|
|
1895
|
+
* Specifies the keys in the tags that you want to remove.
|
|
1892
1896
|
*/
|
|
1893
1897
|
Keys: TagKeyList;
|
|
1894
1898
|
}
|
|
@@ -2057,7 +2061,7 @@ declare namespace DataSync {
|
|
|
2057
2061
|
TaskArn: TaskArn;
|
|
2058
2062
|
Options?: Options;
|
|
2059
2063
|
/**
|
|
2060
|
-
*
|
|
2064
|
+
* Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
2061
2065
|
*/
|
|
2062
2066
|
Excludes?: FilterList;
|
|
2063
2067
|
/**
|
|
@@ -2073,7 +2077,7 @@ declare namespace DataSync {
|
|
|
2073
2077
|
*/
|
|
2074
2078
|
CloudWatchLogGroupArn?: LogGroupArn;
|
|
2075
2079
|
/**
|
|
2076
|
-
*
|
|
2080
|
+
* Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
|
|
2077
2081
|
*/
|
|
2078
2082
|
Includes?: FilterList;
|
|
2079
2083
|
}
|
|
@@ -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 receive 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. For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the Amazon ECS Developer Guide.
|
|
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 receive 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. For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the Amazon ECS Developer Guide.
|
|
181
181
|
*/
|
|
182
182
|
executeCommand(callback?: (err: AWSError, data: ECS.Types.ExecuteCommandResponse) => void): Request<ECS.Types.ExecuteCommandResponse, AWSError>;
|
|
183
183
|
/**
|
|
@@ -2604,6 +2604,14 @@ declare namespace ECS {
|
|
|
2604
2604
|
* The protocol used for the network binding.
|
|
2605
2605
|
*/
|
|
2606
2606
|
protocol?: TransportProtocol;
|
|
2607
|
+
/**
|
|
2608
|
+
* The port number range on the container that's bound to the dynamically mapped host port range. The following rules apply when you specify a containerPortRange: You must use either the bridge network mode or the awsvpc network mode. This parameter is available for both the EC2 and Fargate launch types. This parameter is available for both the Linux and Windows operating systems. The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package You can specify a maximum of 100 port ranges per container. You do not specify a hostPortRange. The value of the hostPortRange is set as follows: For containers in a task with the awsvpc network mode, the hostPort is set to the same value as the containerPort. This is a static mapping strategy. For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports. The containerPortRange valid values are between 1 and 65535. A port can only be included in one port mapping per container. You cannot specify overlapping port ranges. The first port in the range must be less than last port in the range. Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports. For more information, see Issue #11185 on the Github website. For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide. You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.
|
|
2609
|
+
*/
|
|
2610
|
+
containerPortRange?: String;
|
|
2611
|
+
/**
|
|
2612
|
+
* The port number range on the host that's used with the network binding. This is assigned is assigned by Docker and delivered by the Amazon ECS agent.
|
|
2613
|
+
*/
|
|
2614
|
+
hostPortRange?: String;
|
|
2607
2615
|
}
|
|
2608
2616
|
export type NetworkBindings = NetworkBinding[];
|
|
2609
2617
|
export interface NetworkConfiguration {
|
|
@@ -2672,7 +2680,7 @@ declare namespace ECS {
|
|
|
2672
2680
|
*/
|
|
2673
2681
|
containerPort?: BoxedInteger;
|
|
2674
2682
|
/**
|
|
2675
|
-
* The port number on the container instance to reserve for your container. If you use containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort. If you use containers in a task with the bridge network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the hostPort (or set it to 0) while specifying a containerPort and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. Do not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in a running task is also reserved while the task is running. That is, after a task stops, the host port is released. The current reserved ports are displayed in the remainingResources of DescribeContainerInstances output. A container instance can have up to 100 reserved ports at a time. This number includes the default reserved ports. Automatically assigned ports aren't included in the 100 reserved ports quota.
|
|
2683
|
+
* The port number on the container instance to reserve for your container. If you specify a containerPortRange, leave this field empty and the value of the hostPort is set as follows: For containers in a task with the awsvpc network mode, the hostPort is set to the same value as the containerPort. This is a static mapping strategy. For containers in a task with the bridge network mode, the Amazon ECS agent finds open ports on the host and automaticaly binds them to the container ports. This is a dynamic mapping strategy. If you use containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort. If you use containers in a task with the bridge network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the hostPort (or set it to 0) while specifying a containerPort and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. Do not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in a running task is also reserved while the task is running. That is, after a task stops, the host port is released. The current reserved ports are displayed in the remainingResources of DescribeContainerInstances output. A container instance can have up to 100 reserved ports at a time. This number includes the default reserved ports. Automatically assigned ports aren't included in the 100 reserved ports quota.
|
|
2676
2684
|
*/
|
|
2677
2685
|
hostPort?: BoxedInteger;
|
|
2678
2686
|
/**
|
|
@@ -2687,6 +2695,10 @@ declare namespace ECS {
|
|
|
2687
2695
|
* 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
2696
|
*/
|
|
2689
2697
|
appProtocol?: ApplicationProtocol;
|
|
2698
|
+
/**
|
|
2699
|
+
* The port number range on the container that's bound to the dynamically mapped host port range. The following rules apply when you specify a containerPortRange: You must use either the bridge network mode or the awsvpc network mode. This parameter is available for both the EC2 and Fargate launch types. This parameter is available for both the Linux and Windows operating systems. The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package You can specify a maximum of 100 port ranges per container. You do not specify a hostPortRange. The value of the hostPortRange is set as follows: For containers in a task with the awsvpc network mode, the hostPort is set to the same value as the containerPort. This is a static mapping strategy. For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports. The containerPortRange valid values are between 1 and 65535. A port can only be included in one port mapping per container. You cannot specify overlapping port ranges. The first port in the range must be less than last port in the range. Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports. For more information, see Issue #11185 on the Github website. For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide. You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.
|
|
2700
|
+
*/
|
|
2701
|
+
containerPortRange?: String;
|
|
2690
2702
|
}
|
|
2691
2703
|
export type PortMappingList = PortMapping[];
|
|
2692
2704
|
export type PortNumber = number;
|
|
@@ -220,11 +220,11 @@ declare class EFS extends Service {
|
|
|
220
220
|
*/
|
|
221
221
|
putFileSystemPolicy(callback?: (err: AWSError, data: EFS.Types.FileSystemPolicyDescription) => void): Request<EFS.Types.FileSystemPolicyDescription, AWSError>;
|
|
222
222
|
/**
|
|
223
|
-
* Use this action to manage EFS lifecycle management and
|
|
223
|
+
* Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering. A LifecycleConfiguration consists of one or more LifecyclePolicy objects that define the following: EFS Lifecycle management - When Amazon EFS automatically transitions files in a file system into the lower-cost EFS Infrequent Access (IA) storage class. To enable EFS Lifecycle management, set the value of TransitionToIA to one of the available options. EFS Intelligent-Tiering - When Amazon EFS automatically transitions files from IA back into the file system's primary storage class (EFS Standard or EFS One Zone Standard). To enable EFS Intelligent-Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. For more information, see EFS Lifecycle Management. Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a LifecycleConfiguration object already exists for the specified file system, a PutLifecycleConfiguration call modifies the existing configuration. A PutLifecycleConfiguration call with an empty LifecyclePolicies array in the request body deletes any existing LifecycleConfiguration and turns off lifecycle management and EFS Intelligent-Tiering for the file system. In the request, specify the following: The ID for the file system for which you are enabling, disabling, or modifying lifecycle management and EFS Intelligent-Tiering. A LifecyclePolicies array of LifecyclePolicy objects that define when files are moved into IA storage, and when they are moved back to Standard storage. Amazon EFS requires that each LifecyclePolicy object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate LifecyclePolicy objects. See the example requests in the following section for more information. This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration operation. To apply a LifecycleConfiguration object to an encrypted file system, you need the same Key Management Service permissions as when you created the encrypted file system.
|
|
224
224
|
*/
|
|
225
225
|
putLifecycleConfiguration(params: EFS.Types.PutLifecycleConfigurationRequest, callback?: (err: AWSError, data: EFS.Types.LifecycleConfigurationDescription) => void): Request<EFS.Types.LifecycleConfigurationDescription, AWSError>;
|
|
226
226
|
/**
|
|
227
|
-
* Use this action to manage EFS lifecycle management and
|
|
227
|
+
* Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering. A LifecycleConfiguration consists of one or more LifecyclePolicy objects that define the following: EFS Lifecycle management - When Amazon EFS automatically transitions files in a file system into the lower-cost EFS Infrequent Access (IA) storage class. To enable EFS Lifecycle management, set the value of TransitionToIA to one of the available options. EFS Intelligent-Tiering - When Amazon EFS automatically transitions files from IA back into the file system's primary storage class (EFS Standard or EFS One Zone Standard). To enable EFS Intelligent-Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. For more information, see EFS Lifecycle Management. Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a LifecycleConfiguration object already exists for the specified file system, a PutLifecycleConfiguration call modifies the existing configuration. A PutLifecycleConfiguration call with an empty LifecyclePolicies array in the request body deletes any existing LifecycleConfiguration and turns off lifecycle management and EFS Intelligent-Tiering for the file system. In the request, specify the following: The ID for the file system for which you are enabling, disabling, or modifying lifecycle management and EFS Intelligent-Tiering. A LifecyclePolicies array of LifecyclePolicy objects that define when files are moved into IA storage, and when they are moved back to Standard storage. Amazon EFS requires that each LifecyclePolicy object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate LifecyclePolicy objects. See the example requests in the following section for more information. This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration operation. To apply a LifecycleConfiguration object to an encrypted file system, you need the same Key Management Service permissions as when you created the encrypted file system.
|
|
228
228
|
*/
|
|
229
229
|
putLifecycleConfiguration(callback?: (err: AWSError, data: EFS.Types.LifecycleConfigurationDescription) => void): Request<EFS.Types.LifecycleConfigurationDescription, AWSError>;
|
|
230
230
|
/**
|