@awboost/cfn-resource-types 0.1.253 → 0.1.255
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/lib/AWS-ECS-Service.d.ts +17 -11
- package/lib/AWS-ECS-Service.js +1 -1
- package/package.json +1 -1
package/lib/AWS-ECS-Service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
4
|
* The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
|
|
5
|
-
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property
|
|
5
|
+
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
|
|
6
6
|
Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
7
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
|
|
8
8
|
*/
|
|
@@ -15,7 +15,8 @@ export type ECSServiceProperties = {
|
|
|
15
15
|
/**
|
|
16
16
|
* The capacity provider strategy to use for the service.
|
|
17
17
|
If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used.
|
|
18
|
-
A capacity provider strategy
|
|
18
|
+
A capacity provider strategy may contain a maximum of 6 capacity providers.
|
|
19
|
+
To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
19
20
|
*/
|
|
20
21
|
CapacityProviderStrategy?: CapacityProviderStrategyItem[];
|
|
21
22
|
/**
|
|
@@ -55,20 +56,23 @@ export type ECSServiceProperties = {
|
|
|
55
56
|
*/
|
|
56
57
|
LaunchType?: "EC2" | "FARGATE" | "EXTERNAL";
|
|
57
58
|
/**
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
* A list of load balancer objects to associate with the service. If you specify the ``Role`` property, ``LoadBalancers`` must be specified as well. For information about the number of load balancers that you can specify per service, see [Service Load Balancing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
60
|
+
To remove this property from your service resource, specify an empty ``LoadBalancer`` array.
|
|
61
|
+
*/
|
|
60
62
|
LoadBalancers?: LoadBalancer[];
|
|
61
63
|
/**
|
|
62
64
|
* The network configuration for the service. This parameter is required for task definitions that use the ``awsvpc`` network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
63
65
|
*/
|
|
64
66
|
NetworkConfiguration?: NetworkConfiguration;
|
|
65
67
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
* An array of placement constraint objects to use for tasks in your service. You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime.
|
|
69
|
+
To remove this property from your service resource, specify an empty ``PlacementConstraint`` array.
|
|
70
|
+
*/
|
|
68
71
|
PlacementConstraints?: PlacementConstraint[];
|
|
69
72
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
* The placement strategy objects to use for tasks in your service. You can specify a maximum of 5 strategy rules for each service.
|
|
74
|
+
To remove this property from your service resource, specify an empty ``PlacementStrategy`` array.
|
|
75
|
+
*/
|
|
72
76
|
PlacementStrategies?: PlacementStrategy[];
|
|
73
77
|
/**
|
|
74
78
|
* The platform version that your tasks in the service are running on. A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the ``LATEST`` platform version is used. For more information, see [platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
@@ -107,6 +111,7 @@ export type ECSServiceProperties = {
|
|
|
107
111
|
/**
|
|
108
112
|
* The details of the service discovery registry to associate with this service. For more information, see [Service discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html).
|
|
109
113
|
Each service may be associated with one service registry. Multiple service registries for each service isn't supported.
|
|
114
|
+
To remove this property from your service resource, specify an empty ``ServiceRegistry`` array.
|
|
110
115
|
*/
|
|
111
116
|
ServiceRegistries?: ServiceRegistry[];
|
|
112
117
|
/**
|
|
@@ -128,8 +133,9 @@ export type ECSServiceProperties = {
|
|
|
128
133
|
*/
|
|
129
134
|
TaskDefinition?: string;
|
|
130
135
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
* The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.
|
|
137
|
+
To remove this property from your service resource, specify an empty ``ServiceVolumeConfiguration`` array.
|
|
138
|
+
*/
|
|
133
139
|
VolumeConfigurations?: ServiceVolumeConfiguration[];
|
|
134
140
|
/**
|
|
135
141
|
* The VPC Lattice configuration for the service being created.
|
|
@@ -737,7 +743,7 @@ export type VpcLatticeConfiguration = {
|
|
|
737
743
|
};
|
|
738
744
|
/**
|
|
739
745
|
* The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
|
|
740
|
-
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property
|
|
746
|
+
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
|
|
741
747
|
Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
742
748
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
|
|
743
749
|
*/
|
package/lib/AWS-ECS-Service.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
3
|
* The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
|
|
4
|
-
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property
|
|
4
|
+
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
|
|
5
5
|
Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
6
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
|
|
7
7
|
*/
|