@awboost/cfn-resource-types 0.1.190 → 0.1.191
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.
|
@@ -54,6 +54,13 @@ export type ApplicationInsightsApplicationProperties = {
|
|
|
54
54
|
* @pattern `[a-zA-Z0-9.-_]*`
|
|
55
55
|
*/
|
|
56
56
|
ResourceGroupName: string;
|
|
57
|
+
/**
|
|
58
|
+
* Application Insights sends notifications to this SNS topic whenever there is a problem update in the associated application.
|
|
59
|
+
* @minLength `20`
|
|
60
|
+
* @maxLength `300`
|
|
61
|
+
* @pattern `^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$`
|
|
62
|
+
*/
|
|
63
|
+
SNSNotificationArn?: string;
|
|
57
64
|
/**
|
|
58
65
|
* The tags of Application Insights application.
|
|
59
66
|
* @minLength `1`
|
|
@@ -117,7 +117,7 @@ export type InstanceRequirementsRequest = {
|
|
|
117
117
|
BareMetal?: "included" | "required" | "excluded";
|
|
118
118
|
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
119
119
|
BurstablePerformance?: "included" | "required" | "excluded";
|
|
120
|
-
CpuManufacturers?: ("intel" | "amd" | "amazon-web-services")[];
|
|
120
|
+
CpuManufacturers?: ("intel" | "amd" | "amazon-web-services" | "apple")[];
|
|
121
121
|
ExcludedInstanceTypes?: string[];
|
|
122
122
|
InstanceGenerations?: ("current" | "previous")[];
|
|
123
123
|
LocalStorage?: "included" | "required" | "excluded";
|
|
@@ -22,7 +22,7 @@ export type EC2LaunchTemplateProperties = {
|
|
|
22
22
|
LaunchTemplateName?: string;
|
|
23
23
|
/**
|
|
24
24
|
* The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template``.
|
|
25
|
-
To specify the tags for resources that are created
|
|
25
|
+
To specify the tags for the resources that are created when an instance is launched, you must use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications).
|
|
26
26
|
*/
|
|
27
27
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
28
28
|
/**
|
|
@@ -221,7 +221,7 @@ export type Ebs = {
|
|
|
221
221
|
*/
|
|
222
222
|
Iops?: number;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* The ARN of the symmetric KMSlong (KMS) CMK used for encryption.
|
|
225
225
|
*/
|
|
226
226
|
KmsKeyId?: string;
|
|
227
227
|
/**
|
|
@@ -355,7 +355,7 @@ export type InstanceMarketOptions = {
|
|
|
355
355
|
|
|
356
356
|
If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
|
|
357
357
|
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
|
|
358
|
-
For more information, see [
|
|
358
|
+
For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
|
|
359
359
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html}
|
|
360
360
|
*/
|
|
361
361
|
export type InstanceRequirements = {
|
|
@@ -403,6 +403,7 @@ export type InstanceRequirements = {
|
|
|
403
403
|
* The accelerator types that must be on the instance type.
|
|
404
404
|
+ For instance types with GPU accelerators, specify ``gpu``.
|
|
405
405
|
+ For instance types with FPGA accelerators, specify ``fpga``.
|
|
406
|
+
+ For instance types with inference accelerators, specify ``inference``.
|
|
406
407
|
|
|
407
408
|
Default: Any accelerator type
|
|
408
409
|
*/
|
|
@@ -617,8 +618,7 @@ export type LaunchTemplateData = {
|
|
|
617
618
|
*/
|
|
618
619
|
ElasticGpuSpecifications?: ElasticGpuSpecification[];
|
|
619
620
|
/**
|
|
620
|
-
*
|
|
621
|
-
An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
|
|
621
|
+
* An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
|
|
622
622
|
You cannot specify accelerators from different generations in the same request.
|
|
623
623
|
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, Amazon ECS, or Amazon 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.
|
|
624
624
|
*/
|
|
@@ -666,7 +666,7 @@ export type LaunchTemplateData = {
|
|
|
666
666
|
|
|
667
667
|
If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
|
|
668
668
|
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
|
|
669
|
-
For more information, see [
|
|
669
|
+
For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
|
|
670
670
|
*/
|
|
671
671
|
InstanceRequirements?: InstanceRequirements;
|
|
672
672
|
/**
|
|
@@ -728,7 +728,8 @@ export type LaunchTemplateData = {
|
|
|
728
728
|
*/
|
|
729
729
|
SecurityGroups?: string[];
|
|
730
730
|
/**
|
|
731
|
-
* The tags to apply to resources that are created during instance launch.
|
|
731
|
+
* The tags to apply to the resources that are created during instance launch.
|
|
732
|
+
To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).
|
|
732
733
|
To tag the launch template itself, use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications).
|
|
733
734
|
*/
|
|
734
735
|
TagSpecifications?: TagSpecification[];
|
|
@@ -758,7 +759,6 @@ export type LaunchTemplateElasticInferenceAccelerator = {
|
|
|
758
759
|
/**
|
|
759
760
|
* Type definition for `AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification`.
|
|
760
761
|
* Specifies the tags to apply to the launch template during creation.
|
|
761
|
-
To specify the tags for the resources that are created during instance launch, use [AWS::EC2::LaunchTemplate TagSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-tagspecification.html).
|
|
762
762
|
``LaunchTemplateTagSpecification`` is a property of [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html).
|
|
763
763
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html}
|
|
764
764
|
*/
|
|
@@ -932,10 +932,9 @@ export type NetworkInterface = {
|
|
|
932
932
|
*/
|
|
933
933
|
Groups?: string[];
|
|
934
934
|
/**
|
|
935
|
-
* The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa
|
|
935
|
+
* The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa``. For more information, see [Elastic Fabric Adapter](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in the *Amazon EC2 User Guide*.
|
|
936
936
|
If you are not creating an EFA, specify ``interface`` or omit this parameter.
|
|
937
|
-
|
|
938
|
-
Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
937
|
+
Valid values: ``interface`` | ``efa``
|
|
939
938
|
*/
|
|
940
939
|
InterfaceType?: string;
|
|
941
940
|
/**
|
|
@@ -1136,7 +1135,7 @@ export type Tag = {
|
|
|
1136
1135
|
};
|
|
1137
1136
|
/**
|
|
1138
1137
|
* Type definition for `AWS::EC2::LaunchTemplate.TagSpecification`.
|
|
1139
|
-
* Specifies the tags to apply to
|
|
1138
|
+
* Specifies the tags to apply to a resource when the resource is created for the launch template.
|
|
1140
1139
|
``TagSpecification`` is a property type of [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications). [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications) is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
|
|
1141
1140
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-tagspecification.html}
|
|
1142
1141
|
*/
|
|
@@ -140,7 +140,7 @@ export type InstanceRequirementsRequest = {
|
|
|
140
140
|
BareMetal?: "included" | "required" | "excluded";
|
|
141
141
|
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
142
142
|
BurstablePerformance?: "included" | "required" | "excluded";
|
|
143
|
-
CpuManufacturers?: ("intel" | "amd" | "amazon-web-services")[];
|
|
143
|
+
CpuManufacturers?: ("intel" | "amd" | "amazon-web-services" | "apple")[];
|
|
144
144
|
ExcludedInstanceTypes?: string[];
|
|
145
145
|
InstanceGenerations?: ("current" | "previous")[];
|
|
146
146
|
LocalStorage?: "included" | "required" | "excluded";
|
package/lib/AWS-ECS-Service.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
7
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
|
|
8
8
|
*/
|
|
9
9
|
export type ECSServiceProperties = {
|
|
10
|
+
AvailabilityZoneRebalancing?: "ENABLED" | "DISABLED";
|
|
10
11
|
/**
|
|
11
12
|
* The capacity provider strategy to use for the service.
|
|
12
13
|
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,7 +19,7 @@ export type ECSServiceProperties = {
|
|
|
18
19
|
*/
|
|
19
20
|
Cluster?: string;
|
|
20
21
|
/**
|
|
21
|
-
* Optional deployment parameters that control how many tasks run during the deployment and the
|
|
22
|
+
* Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
22
23
|
*/
|
|
23
24
|
DeploymentConfiguration?: DeploymentConfiguration;
|
|
24
25
|
/**
|
|
@@ -127,6 +128,7 @@ export type ECSServiceProperties = {
|
|
|
127
128
|
* 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.
|
|
128
129
|
*/
|
|
129
130
|
VolumeConfigurations?: ServiceVolumeConfiguration[];
|
|
131
|
+
VpcLatticeConfigurations?: VpcLatticeConfiguration[];
|
|
130
132
|
};
|
|
131
133
|
/**
|
|
132
134
|
* Attribute type definition for `AWS::ECS::Service`.
|
|
@@ -222,7 +224,7 @@ export type DeploymentCircuitBreaker = {
|
|
|
222
224
|
};
|
|
223
225
|
/**
|
|
224
226
|
* Type definition for `AWS::ECS::Service.DeploymentConfiguration`.
|
|
225
|
-
* Optional deployment parameters that control how many tasks run during
|
|
227
|
+
* Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.
|
|
226
228
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html}
|
|
227
229
|
*/
|
|
228
230
|
export type DeploymentConfiguration = {
|
|
@@ -313,7 +315,7 @@ export type LoadBalancer = {
|
|
|
313
315
|
*/
|
|
314
316
|
ContainerPort?: number;
|
|
315
317
|
/**
|
|
316
|
-
* The name of the load balancer to associate with the service or task set.
|
|
318
|
+
* The name of the load balancer to associate with the Amazon ECS service or task set.
|
|
317
319
|
If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted.
|
|
318
320
|
*/
|
|
319
321
|
LoadBalancerName?: string;
|
|
@@ -705,6 +707,15 @@ export type TimeoutConfiguration = {
|
|
|
705
707
|
*/
|
|
706
708
|
PerRequestTimeoutSeconds?: number;
|
|
707
709
|
};
|
|
710
|
+
/**
|
|
711
|
+
* Type definition for `AWS::ECS::Service.VpcLatticeConfiguration`.
|
|
712
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-vpclatticeconfiguration.html}
|
|
713
|
+
*/
|
|
714
|
+
export type VpcLatticeConfiguration = {
|
|
715
|
+
PortName: string;
|
|
716
|
+
RoleArn: string;
|
|
717
|
+
TargetGroupArn: string;
|
|
718
|
+
};
|
|
708
719
|
/**
|
|
709
720
|
* 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.
|
|
710
721
|
The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property the 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.
|
|
@@ -32,7 +32,7 @@ export type EventsConnectionAttributes = {
|
|
|
32
32
|
Arn: string;
|
|
33
33
|
/**
|
|
34
34
|
* The arn of the secrets manager secret created in the customer account.
|
|
35
|
-
* @pattern `^arn:aws([a-z]|\-)*:secretsmanager:([a-z]|\d|\-)*:([0-9]{12})?:secret:[\/_+=\.@\-A-Za-z0-9]+$`
|
|
35
|
+
* @pattern `^arn:aws([a-z]|\-)*:secretsmanager:([a-z]|\d|\-)*:([0-9]{12})?:secret:([a-z]|\d|\-)*(!)*[\/_+=\.@\-A-Za-z0-9]+$`
|
|
36
36
|
*/
|
|
37
37
|
SecretArn: string;
|
|
38
38
|
};
|