stacktape 3.0.17 → 3.1.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/index.js +8 -1
- package/package.json +1 -1
- package/sdk.d.ts +9 -0
- package/sdk.js +1 -1
- package/types.d.ts +38 -30
package/types.d.ts
CHANGED
|
@@ -16953,18 +16953,18 @@ export type AwsEcsService = {
|
|
|
16953
16953
|
* You must set this to a value other than ``NONE`` when you use Cost Explorer. For more information,
|
|
16954
16954
|
* see [Amazon ECS usage
|
|
16955
16955
|
* reports](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html) in the
|
|
16956
|
-
*
|
|
16956
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
16957
16957
|
* The default is ``NONE``.
|
|
16958
16958
|
* @enum ["SERVICE","TASK_DEFINITION"]
|
|
16959
16959
|
*/
|
|
16960
|
-
PropagateTags?:
|
|
16960
|
+
PropagateTags?: 'SERVICE' | 'TASK_DEFINITION';
|
|
16961
16961
|
ServiceArn?: string;
|
|
16962
16962
|
/**
|
|
16963
16963
|
* The placement strategy objects to use for tasks in your service. You can specify a maximum of 5
|
|
16964
16964
|
* strategy rules for each service.
|
|
16965
16965
|
* To remove this property from your service resource, specify an empty ``PlacementStrategy`` array.
|
|
16966
16966
|
*/
|
|
16967
|
-
PlacementStrategies?:
|
|
16967
|
+
PlacementStrategies?: {
|
|
16968
16968
|
/**
|
|
16969
16969
|
* The field to apply the placement strategy against. For the ``spread`` placement strategy, valid
|
|
16970
16970
|
* values are ``instanceId`` (or ``host``, which has the same effect), or any platform or custom
|
|
@@ -16982,8 +16982,8 @@ export type AwsEcsService = {
|
|
|
16982
16982
|
* the least amount of remaining memory but still enough to run the task.
|
|
16983
16983
|
* @enum ["binpack","random","spread"]
|
|
16984
16984
|
*/
|
|
16985
|
-
Type:
|
|
16986
|
-
}
|
|
16985
|
+
Type: 'binpack' | 'random' | 'spread';
|
|
16986
|
+
}[];
|
|
16987
16987
|
/**
|
|
16988
16988
|
* The details of the service discovery registry to associate with this service. For more information,
|
|
16989
16989
|
* see [Service
|
|
@@ -17029,7 +17029,7 @@ export type AwsEcsService = {
|
|
|
17029
17029
|
* To remove this property from your service resource, specify an empty
|
|
17030
17030
|
* ``ServiceVolumeConfiguration`` array.
|
|
17031
17031
|
*/
|
|
17032
|
-
VolumeConfigurations?:
|
|
17032
|
+
VolumeConfigurations?: {
|
|
17033
17033
|
/**
|
|
17034
17034
|
* The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf.
|
|
17035
17035
|
* These settings are used to create each Amazon EBS volume, with one volume created for each task in
|
|
@@ -17079,14 +17079,14 @@ export type AwsEcsService = {
|
|
|
17079
17079
|
* API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon
|
|
17080
17080
|
* EC2 API Reference*.
|
|
17081
17081
|
*/
|
|
17082
|
-
TagSpecifications?:
|
|
17082
|
+
TagSpecifications?: {
|
|
17083
17083
|
/**
|
|
17084
17084
|
* Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags
|
|
17085
17085
|
* can only propagate to a ``SERVICE`` specified in
``ServiceVolumeConfiguration``. If no value is
|
|
17086
17086
|
* specified, the tags aren't
propagated.
|
|
17087
17087
|
* @enum ["SERVICE","TASK_DEFINITION"]
|
|
17088
17088
|
*/
|
|
17089
|
-
PropagateTags?:
|
|
17089
|
+
PropagateTags?: 'SERVICE' | 'TASK_DEFINITION';
|
|
17090
17090
|
/** The type of volume resource. */
|
|
17091
17091
|
ResourceType: string;
|
|
17092
17092
|
/**
|
|
@@ -17105,7 +17105,7 @@ export type AwsEcsService = {
|
|
|
17105
17105
|
*/
|
|
17106
17106
|
Key?: string;
|
|
17107
17107
|
}[];
|
|
17108
|
-
}
|
|
17108
|
+
}[];
|
|
17109
17109
|
/**
|
|
17110
17110
|
* The filesystem type for the volume. For volumes created from a snapshot, you must specify the same
|
|
17111
17111
|
* filesystem type that the volume was using when the snapshot was created. If there is a filesystem
|
|
@@ -17186,7 +17186,7 @@ export type AwsEcsService = {
|
|
|
17186
17186
|
* task definition.
|
|
17187
17187
|
*/
|
|
17188
17188
|
Name: string;
|
|
17189
|
-
}
|
|
17189
|
+
}[];
|
|
17190
17190
|
/**
|
|
17191
17191
|
* The capacity provider strategy to use for the service.
|
|
17192
17192
|
* If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If
|
|
@@ -17245,18 +17245,18 @@ export type AwsEcsService = {
|
|
|
17245
17245
|
/**
|
|
17246
17246
|
* The launch type on which to run your service. For more information, see [Amazon ECS Launch
|
|
17247
17247
|
* Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) in the
|
|
17248
|
-
*
|
|
17248
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
17249
17249
|
* If you want to use Managed Instances, you must use the ``capacityProviderStrategy`` request
|
|
17250
17250
|
* parameter
|
|
17251
17251
|
* @enum ["EC2","FARGATE","EXTERNAL"]
|
|
17252
17252
|
*/
|
|
17253
|
-
LaunchType?:
|
|
17253
|
+
LaunchType?: 'EC2' | 'FARGATE' | 'EXTERNAL';
|
|
17254
17254
|
Name?: string;
|
|
17255
17255
|
/**
|
|
17256
17256
|
* Indicates whether to use Availability Zone rebalancing for the service.
|
|
17257
17257
|
* For more information, see [Balancing an Amazon ECS service across Availability
|
|
17258
17258
|
* Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the
|
|
17259
|
-
*
|
|
17259
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
17260
17260
|
* The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update
|
|
17261
17261
|
* requests:
|
|
17262
17262
|
* + For create service requests, when no value is specified for ``AvailabilityZoneRebalancing``,
|
|
@@ -17267,7 +17267,7 @@ export type AwsEcsService = {
|
|
|
17267
17267
|
* @default "ENABLED"
|
|
17268
17268
|
* @enum ["ENABLED","DISABLED"]
|
|
17269
17269
|
*/
|
|
17270
|
-
AvailabilityZoneRebalancing?:
|
|
17270
|
+
AvailabilityZoneRebalancing?: 'ENABLED' | 'DISABLED';
|
|
17271
17271
|
/**
|
|
17272
17272
|
* The scheduling strategy to use for the service. For more information, see
|
|
17273
17273
|
* [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).
|
|
@@ -17286,7 +17286,7 @@ export type AwsEcsService = {
|
|
|
17286
17286
|
* types don't support the ``DAEMON`` scheduling strategy.
|
|
17287
17287
|
* @enum ["DAEMON","REPLICA"]
|
|
17288
17288
|
*/
|
|
17289
|
-
SchedulingStrategy?:
|
|
17289
|
+
SchedulingStrategy?: 'DAEMON' | 'REPLICA';
|
|
17290
17290
|
/**
|
|
17291
17291
|
* The network configuration for the service. This parameter is required for task definitions that use
|
|
17292
17292
|
* the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported
|
|
@@ -17320,7 +17320,7 @@ export type AwsEcsService = {
|
|
|
17320
17320
|
* + When the service ``deploymentController`` is ``ECS``, the value must be ``DISABLED``.
|
|
17321
17321
|
* @enum ["DISABLED","ENABLED"]
|
|
17322
17322
|
*/
|
|
17323
|
-
AssignPublicIp?:
|
|
17323
|
+
AssignPublicIp?: 'DISABLED' | 'ENABLED';
|
|
17324
17324
|
};
|
|
17325
17325
|
};
|
|
17326
17326
|
/**
|
|
@@ -17390,7 +17390,7 @@ export type AwsEcsService = {
|
|
|
17390
17390
|
* Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more
|
|
17391
17391
|
* information, see [Tagging your Amazon ECS
|
|
17392
17392
|
* resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) in the
|
|
17393
|
-
*
|
|
17393
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
17394
17394
|
* When you use Amazon ECS managed tags, you must set the ``propagateTags`` request parameter.
|
|
17395
17395
|
*/
|
|
17396
17396
|
EnableECSManagedTags?: boolean;
|
|
@@ -17406,14 +17406,14 @@ export type AwsEcsService = {
|
|
|
17406
17406
|
* To remove this property from your service resource, specify an empty ``PlacementConstraint``
|
|
17407
17407
|
* array.
|
|
17408
17408
|
*/
|
|
17409
|
-
PlacementConstraints?:
|
|
17409
|
+
PlacementConstraints?: {
|
|
17410
17410
|
/**
|
|
17411
17411
|
* The type of constraint. Use ``distinctInstance`` to ensure that each task in a particular group is
|
|
17412
17412
|
* running on a different container instance. Use ``memberOf`` to restrict the selection to a group of
|
|
17413
17413
|
* valid candidates.
|
|
17414
17414
|
* @enum ["distinctInstance","memberOf"]
|
|
17415
17415
|
*/
|
|
17416
|
-
Type:
|
|
17416
|
+
Type: 'distinctInstance' | 'memberOf';
|
|
17417
17417
|
/**
|
|
17418
17418
|
* A cluster query language expression to apply to the constraint. The expression can have a maximum
|
|
17419
17419
|
* length of 2000 characters. You can't specify an expression if the constraint type is
|
|
@@ -17422,7 +17422,7 @@ export type AwsEcsService = {
|
|
|
17422
17422
|
* in the *Amazon Elastic Container Service Developer Guide*.
|
|
17423
17423
|
*/
|
|
17424
17424
|
Expression?: string;
|
|
17425
|
-
}
|
|
17425
|
+
}[];
|
|
17426
17426
|
/**
|
|
17427
17427
|
* The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If
|
|
17428
17428
|
* you do not specify a cluster, the default cluster is assumed.
|
|
@@ -17602,7 +17602,7 @@ export type AwsEcsService = {
|
|
|
17602
17602
|
* To avoid changing your applications in client Amazon ECS services, set this to the same port that
|
|
17603
17603
|
* the client application uses by default. For more information, see [Service
|
|
17604
17604
|
* Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the
|
|
17605
|
-
*
|
|
17605
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
17606
17606
|
*/
|
|
17607
17607
|
Port: number;
|
|
17608
17608
|
}[];
|
|
@@ -17647,7 +17647,7 @@ export type AwsEcsService = {
|
|
|
17647
17647
|
* structured data that integrates well with log analysis tools.
|
|
17648
17648
|
* @enum ["TEXT","JSON"]
|
|
17649
17649
|
*/
|
|
17650
|
-
Format:
|
|
17650
|
+
Format: 'TEXT' | 'JSON';
|
|
17651
17651
|
/**
|
|
17652
17652
|
* Specifies whether to include query parameters in Service Connect access logs.
|
|
17653
17653
|
* When enabled, query parameters from HTTP requests are included in the access logs. Consider
|
|
@@ -17655,7 +17655,7 @@ export type AwsEcsService = {
|
|
|
17655
17655
|
* sensitive information such as request IDs and tokens. By default, this parameter is ``DISABLED``.
|
|
17656
17656
|
* @enum ["DISABLED","ENABLED"]
|
|
17657
17657
|
*/
|
|
17658
|
-
IncludeQueryParameters?:
|
|
17658
|
+
IncludeQueryParameters?: 'DISABLED' | 'ENABLED';
|
|
17659
17659
|
};
|
|
17660
17660
|
/** Specifies whether to use Service Connect with this service. */
|
|
17661
17661
|
Enabled: boolean;
|
|
@@ -17805,7 +17805,7 @@ export type AwsEcsService = {
|
|
|
17805
17805
|
* ``gelf``, ``json-file``, ``journald``, ``syslog``, ``splunk``, and ``awsfirelens``.
|
|
17806
17806
|
* For more information about using the ``awslogs`` log driver, see [Send Amazon ECS logs to
|
|
17807
17807
|
* CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the
|
|
17808
|
-
*
|
|
17808
|
+
* Amazon Elastic Container Service Developer Guide*.
|
|
17809
17809
|
* For more information about using the ``awsfirelens`` log driver, see [Send Amazon ECS logs to an
|
|
17810
17810
|
* service or
|
|
17811
17811
|
* Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html).
|
|
@@ -17824,7 +17824,7 @@ export type AwsEcsService = {
|
|
|
17824
17824
|
* cluster. The type of namespace doesn't affect Service Connect. For more information about CMAPlong,
|
|
17825
17825
|
* see [Working with
|
|
17826
17826
|
* Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) in the
|
|
17827
|
-
*
|
|
17827
|
+
* Developer Guide*.
|
|
17828
17828
|
*/
|
|
17829
17829
|
Namespace?: string;
|
|
17830
17830
|
};
|
|
@@ -17929,7 +17929,7 @@ export type AwsEcsService = {
|
|
|
17929
17929
|
* in the ECSlong API Reference.
|
|
17930
17930
|
* @enum ["CODE_DEPLOY","ECS","EXTERNAL"]
|
|
17931
17931
|
*/
|
|
17932
|
-
Type?:
|
|
17932
|
+
Type?: 'CODE_DEPLOY' | 'ECS' | 'EXTERNAL';
|
|
17933
17933
|
};
|
|
17934
17934
|
/**
|
|
17935
17935
|
* The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to
|
|
@@ -18014,7 +18014,7 @@ export type AwsEcsService = {
|
|
|
18014
18014
|
* An array of deployment lifecycle hook objects to run custom logic at specific stages of the
|
|
18015
18015
|
* deployment lifecycle.
|
|
18016
18016
|
*/
|
|
18017
|
-
LifecycleHooks?:
|
|
18017
|
+
LifecycleHooks?: {
|
|
18018
18018
|
/**
|
|
18019
18019
|
* The lifecycle stages at which to run the hook. Choose from these valid values:
|
|
18020
18020
|
* + RECONCILE_SERVICE
|
|
@@ -18046,7 +18046,15 @@ export type AwsEcsService = {
|
|
|
18046
18046
|
* You must provide this parameter when configuring a deployment lifecycle hook.
|
|
18047
18047
|
* @minItems 1
|
|
18048
18048
|
*/
|
|
18049
|
-
LifecycleStages: (
|
|
18049
|
+
LifecycleStages: (
|
|
18050
|
+
| 'RECONCILE_SERVICE'
|
|
18051
|
+
| 'PRE_SCALE_UP'
|
|
18052
|
+
| 'POST_SCALE_UP'
|
|
18053
|
+
| 'TEST_TRAFFIC_SHIFT'
|
|
18054
|
+
| 'POST_TEST_TRAFFIC_SHIFT'
|
|
18055
|
+
| 'PRODUCTION_TRAFFIC_SHIFT'
|
|
18056
|
+
| 'POST_PRODUCTION_TRAFFIC_SHIFT'
|
|
18057
|
+
)[];
|
|
18050
18058
|
/**
|
|
18051
18059
|
* The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are
|
|
18052
18060
|
* supported.
|
|
@@ -18067,7 +18075,7 @@ export type AwsEcsService = {
|
|
|
18067
18075
|
* in the *Amazon Elastic Container Service Developer Guide*.
|
|
18068
18076
|
*/
|
|
18069
18077
|
RoleArn: string;
|
|
18070
|
-
}
|
|
18078
|
+
}[];
|
|
18071
18079
|
/** Information about the CloudWatch alarms. */
|
|
18072
18080
|
Alarms?: {
|
|
18073
18081
|
/** One or more CloudWatch alarm names. Use a "," to separate the alarms. */
|
|
@@ -18094,7 +18102,7 @@ export type AwsEcsService = {
|
|
|
18094
18102
|
* ability to quickly roll back if needed.
|
|
18095
18103
|
* @enum ["ROLLING","BLUE_GREEN","LINEAR","CANARY"]
|
|
18096
18104
|
*/
|
|
18097
|
-
Strategy?:
|
|
18105
|
+
Strategy?: 'ROLLING' | 'BLUE_GREEN' | 'LINEAR' | 'CANARY';
|
|
18098
18106
|
/**
|
|
18099
18107
|
* The deployment circuit breaker can only be used for services using the rolling update (``ECS``)
|
|
18100
18108
|
* deployment type.
|