@awboost/cfn-resource-types 0.1.190 → 0.1.192
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-ApplicationInsights-Application.d.ts +7 -0
- package/lib/AWS-Batch-ComputeEnvironment.d.ts +11 -0
- package/lib/AWS-DynamoDB-GlobalTable.d.ts +16 -0
- package/lib/AWS-DynamoDB-Table.d.ts +18 -2
- package/lib/AWS-DynamoDB-Table.js +1 -1
- package/lib/AWS-EC2-EC2Fleet.d.ts +1 -1
- package/lib/AWS-EC2-LaunchTemplate.d.ts +11 -12
- package/lib/AWS-EC2-SpotFleet.d.ts +1 -1
- package/lib/AWS-ECR-RepositoryCreationTemplate.d.ts +2 -2
- package/lib/AWS-ECS-Service.d.ts +14 -3
- package/lib/AWS-ECS-TaskDefinition.d.ts +25 -15
- package/lib/AWS-Events-Connection.d.ts +1 -1
- package/lib/AWS-FIS-ExperimentTemplate.d.ts +37 -0
- package/lib/AWS-GameLift-ContainerFleet.d.ts +404 -0
- package/lib/AWS-GameLift-ContainerFleet.js +12 -0
- package/lib/AWS-GameLift-ContainerGroupDefinition.d.ts +292 -2
- package/lib/AWS-KinesisFirehose-DeliveryStream.d.ts +91 -4
- package/package.json +1 -1
|
@@ -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`
|
|
@@ -78,6 +78,17 @@ export type EksConfiguration = {
|
|
|
78
78
|
export type LaunchTemplateSpecification = {
|
|
79
79
|
LaunchTemplateId?: string;
|
|
80
80
|
LaunchTemplateName?: string;
|
|
81
|
+
Overrides?: LaunchTemplateSpecificationOverride[];
|
|
82
|
+
Version?: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Type definition for `AWS::Batch::ComputeEnvironment.LaunchTemplateSpecificationOverride`.
|
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecificationoverride.html}
|
|
87
|
+
*/
|
|
88
|
+
export type LaunchTemplateSpecificationOverride = {
|
|
89
|
+
LaunchTemplateId?: string;
|
|
90
|
+
LaunchTemplateName?: string;
|
|
91
|
+
TargetInstanceTypes?: string[];
|
|
81
92
|
Version?: string;
|
|
82
93
|
};
|
|
83
94
|
/**
|
|
@@ -25,6 +25,7 @@ export type DynamoDBGlobalTableProperties = {
|
|
|
25
25
|
StreamSpecification?: StreamSpecification;
|
|
26
26
|
TableName?: string;
|
|
27
27
|
TimeToLiveSpecification?: TimeToLiveSpecification;
|
|
28
|
+
WarmThroughput?: WarmThroughput;
|
|
28
29
|
WriteOnDemandThroughputSettings?: WriteOnDemandThroughputSettings;
|
|
29
30
|
WriteProvisionedThroughputSettings?: WriteProvisionedThroughputSettings;
|
|
30
31
|
};
|
|
@@ -91,6 +92,7 @@ export type GlobalSecondaryIndex = {
|
|
|
91
92
|
*/
|
|
92
93
|
KeySchema: KeySchema[];
|
|
93
94
|
Projection: Projection;
|
|
95
|
+
WarmThroughput?: WarmThroughput;
|
|
94
96
|
WriteOnDemandThroughputSettings?: WriteOnDemandThroughputSettings;
|
|
95
97
|
WriteProvisionedThroughputSettings?: WriteProvisionedThroughputSettings;
|
|
96
98
|
};
|
|
@@ -270,6 +272,20 @@ export type TimeToLiveSpecification = {
|
|
|
270
272
|
AttributeName?: string;
|
|
271
273
|
Enabled: boolean;
|
|
272
274
|
};
|
|
275
|
+
/**
|
|
276
|
+
* Type definition for `AWS::DynamoDB::GlobalTable.WarmThroughput`.
|
|
277
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-warmthroughput.html}
|
|
278
|
+
*/
|
|
279
|
+
export type WarmThroughput = {
|
|
280
|
+
/**
|
|
281
|
+
* @min `1`
|
|
282
|
+
*/
|
|
283
|
+
ReadUnitsPerSecond?: number;
|
|
284
|
+
/**
|
|
285
|
+
* @min `1`
|
|
286
|
+
*/
|
|
287
|
+
WriteUnitsPerSecond?: number;
|
|
288
|
+
};
|
|
273
289
|
/**
|
|
274
290
|
* Type definition for `AWS::DynamoDB::GlobalTable.WriteOnDemandThroughputSettings`.
|
|
275
291
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html}
|
|
@@ -5,7 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
You should be aware of the following behaviors when working with DDB tables:
|
|
6
6
|
+ CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
|
|
7
7
|
|
|
8
|
-
Our guidance is to use the latest schema documented
|
|
8
|
+
Our guidance is to use the latest schema documented for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
|
|
10
10
|
*/
|
|
11
11
|
export type DynamoDBTableProperties = {
|
|
@@ -103,6 +103,7 @@ export type DynamoDBTableProperties = {
|
|
|
103
103
|
For detailed information about the limits in DynamoDB, see [Limits in Amazon DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
|
|
104
104
|
*/
|
|
105
105
|
TimeToLiveSpecification?: TimeToLiveSpecification;
|
|
106
|
+
WarmThroughput?: WarmThroughput;
|
|
106
107
|
};
|
|
107
108
|
/**
|
|
108
109
|
* Attribute type definition for `AWS::DynamoDB::Table`.
|
|
@@ -192,6 +193,7 @@ export type GlobalSecondaryIndex = {
|
|
|
192
193
|
For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.
|
|
193
194
|
*/
|
|
194
195
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
196
|
+
WarmThroughput?: WarmThroughput;
|
|
195
197
|
};
|
|
196
198
|
/**
|
|
197
199
|
* Type definition for `AWS::DynamoDB::Table.ImportSourceSpecification`.
|
|
@@ -470,12 +472,26 @@ export type TimeToLiveSpecification = {
|
|
|
470
472
|
*/
|
|
471
473
|
Enabled: boolean;
|
|
472
474
|
};
|
|
475
|
+
/**
|
|
476
|
+
* Type definition for `AWS::DynamoDB::Table.WarmThroughput`.
|
|
477
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-warmthroughput.html}
|
|
478
|
+
*/
|
|
479
|
+
export type WarmThroughput = {
|
|
480
|
+
/**
|
|
481
|
+
* @min `1`
|
|
482
|
+
*/
|
|
483
|
+
ReadUnitsPerSecond?: number;
|
|
484
|
+
/**
|
|
485
|
+
* @min `1`
|
|
486
|
+
*/
|
|
487
|
+
WriteUnitsPerSecond?: number;
|
|
488
|
+
};
|
|
473
489
|
/**
|
|
474
490
|
* The ``AWS::DynamoDB::Table`` resource creates a DDB table. For more information, see [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) in the *API Reference*.
|
|
475
491
|
You should be aware of the following behaviors when working with DDB tables:
|
|
476
492
|
+ CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
|
|
477
493
|
|
|
478
|
-
Our guidance is to use the latest schema documented
|
|
494
|
+
Our guidance is to use the latest schema documented for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
|
|
479
495
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
|
|
480
496
|
*/
|
|
481
497
|
export declare class DynamoDBTable extends $Resource<"AWS::DynamoDB::Table", DynamoDBTableProperties, DynamoDBTableAttributes> {
|
|
@@ -4,7 +4,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
4
4
|
You should be aware of the following behaviors when working with DDB tables:
|
|
5
5
|
+ CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
|
|
6
6
|
|
|
7
|
-
Our guidance is to use the latest schema documented
|
|
7
|
+
Our guidance is to use the latest schema documented for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
|
|
8
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
|
|
9
9
|
*/
|
|
10
10
|
export class DynamoDBTable extends $Resource {
|
|
@@ -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";
|
|
@@ -87,7 +87,7 @@ export type EncryptionConfiguration = {
|
|
|
87
87
|
*/
|
|
88
88
|
EncryptionType: EncryptionType;
|
|
89
89
|
/**
|
|
90
|
-
* If you use the KMS encryption type, specify the CMK to use for encryption. The alias, key ID, or full ARN of the CMK can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed CMK for Amazon ECR will be used.
|
|
90
|
+
* If you use the KMS or KMS_DSSE encryption type, specify the CMK to use for encryption. The alias, key ID, or full ARN of the CMK can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed CMK for Amazon ECR will be used.
|
|
91
91
|
* @minLength `1`
|
|
92
92
|
* @maxLength `2048`
|
|
93
93
|
*/
|
|
@@ -98,7 +98,7 @@ export type EncryptionConfiguration = {
|
|
|
98
98
|
* The encryption type to use.
|
|
99
99
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptiontype.html}
|
|
100
100
|
*/
|
|
101
|
-
export type EncryptionType = "AES256" | "KMS";
|
|
101
|
+
export type EncryptionType = "AES256" | "KMS" | "KMS_DSSE";
|
|
102
102
|
/**
|
|
103
103
|
* Type definition for `AWS::ECR::RepositoryCreationTemplate.Tag`.
|
|
104
104
|
* An array of key-value pairs to apply to this resource.
|
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.
|
|
@@ -226,7 +226,7 @@ export type ContainerDefinition = {
|
|
|
226
226
|
DockerSecurityOptions?: string[];
|
|
227
227
|
/**
|
|
228
228
|
* Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint``, update your container agent or enter your commands and arguments as ``command`` array items instead.
|
|
229
|
-
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in
|
|
229
|
+
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in the docker container create command and the ``--entrypoint`` option to docker run.
|
|
230
230
|
*/
|
|
231
231
|
EntryPoint?: string[];
|
|
232
232
|
/**
|
|
@@ -259,7 +259,7 @@ export type ContainerDefinition = {
|
|
|
259
259
|
*/
|
|
260
260
|
HealthCheck?: HealthCheck;
|
|
261
261
|
/**
|
|
262
|
-
* The hostname to use for your container. This parameter maps to ``Hostname`` in
|
|
262
|
+
* The hostname to use for your container. This parameter maps to ``Hostname`` in the docker container create command and the ``--hostname`` option to docker run.
|
|
263
263
|
The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode.
|
|
264
264
|
*/
|
|
265
265
|
Hostname?: string;
|
|
@@ -318,7 +318,7 @@ export type ContainerDefinition = {
|
|
|
318
318
|
*/
|
|
319
319
|
MountPoints?: MountPoint[];
|
|
320
320
|
/**
|
|
321
|
-
* The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in
|
|
321
|
+
* The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in the docker container create command and the ``--name`` option to docker run.
|
|
322
322
|
*/
|
|
323
323
|
Name: string;
|
|
324
324
|
/**
|
|
@@ -335,7 +335,7 @@ export type ContainerDefinition = {
|
|
|
335
335
|
*/
|
|
336
336
|
Privileged?: boolean;
|
|
337
337
|
/**
|
|
338
|
-
* When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in
|
|
338
|
+
* When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in the docker container create command and the ``--tty`` option to docker run.
|
|
339
339
|
*/
|
|
340
340
|
PseudoTerminal?: boolean;
|
|
341
341
|
/**
|
|
@@ -376,13 +376,13 @@ export type ContainerDefinition = {
|
|
|
376
376
|
+ Linux platform version ``1.3.0`` or later.
|
|
377
377
|
+ Windows platform version ``1.0.0`` or later.
|
|
378
378
|
|
|
379
|
-
|
|
379
|
+
For tasks that use the Fargate launch type, the max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used.
|
|
380
380
|
For tasks that use the EC2 launch type, if the ``stopTimeout`` parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ``ECS_CONTAINER_STOP_TIMEOUT`` is used. If neither the ``stopTimeout`` parameter or the ``ECS_CONTAINER_STOP_TIMEOUT`` agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
381
|
-
The valid values are 2-120 seconds.
|
|
381
|
+
The valid values for Fargate are 2-120 seconds.
|
|
382
382
|
*/
|
|
383
383
|
StopTimeout?: number;
|
|
384
384
|
/**
|
|
385
|
-
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in
|
|
385
|
+
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in the docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
386
386
|
*/
|
|
387
387
|
SystemControls?: SystemControl[];
|
|
388
388
|
/**
|
|
@@ -404,8 +404,9 @@ export type ContainerDefinition = {
|
|
|
404
404
|
This parameter is not supported for Windows containers.
|
|
405
405
|
*/
|
|
406
406
|
User?: string;
|
|
407
|
+
VersionConsistency?: "enabled" | "disabled";
|
|
407
408
|
/**
|
|
408
|
-
* Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in
|
|
409
|
+
* Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in the docker container create command and the ``--volumes-from`` option to docker run.
|
|
409
410
|
*/
|
|
410
411
|
VolumesFrom?: VolumeFrom[];
|
|
411
412
|
/**
|
|
@@ -621,7 +622,7 @@ export type HealthCheck = {
|
|
|
621
622
|
``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]``
|
|
622
623
|
You don't include the double quotes and brackets when you use the AWS Management Console.
|
|
623
624
|
``CMD-SHELL, curl -f http://localhost/ || exit 1``
|
|
624
|
-
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in
|
|
625
|
+
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in the docker container create command
|
|
625
626
|
*/
|
|
626
627
|
Command?: string[];
|
|
627
628
|
/**
|
|
@@ -729,7 +730,7 @@ export type LinuxParameters = {
|
|
|
729
730
|
*/
|
|
730
731
|
Capabilities?: KernelCapabilities;
|
|
731
732
|
/**
|
|
732
|
-
* Any host devices to expose to the container. This parameter maps to ``Devices`` in
|
|
733
|
+
* Any host devices to expose to the container. This parameter maps to ``Devices`` in the docker container create command and the ``--device`` option to docker run.
|
|
733
734
|
If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
|
|
734
735
|
*/
|
|
735
736
|
Devices?: Device[];
|
|
@@ -777,8 +778,17 @@ export type LogConfiguration = {
|
|
|
777
778
|
*/
|
|
778
779
|
LogDriver: string;
|
|
779
780
|
/**
|
|
780
|
-
|
|
781
|
-
|
|
781
|
+
* The configuration options to send to the log driver.
|
|
782
|
+
The options you can specify depend on the log driver. Some of the options you can specify when you use the ``awslogs`` log driver to route logs to Amazon CloudWatch include the following:
|
|
783
|
+
+ awslogs-create-group Required: No Specify whether you want the log group to be created automatically. If this option isn't specified, it defaults to false. Your IAM policy must include the logs:CreateLogGroup permission before you attempt to use awslogs-create-group. + awslogs-region Required: Yes Specify the Region that the awslogs log driver is to send your Docker logs to. You can choose to send all of your logs from clusters in different Regions to a single region in CloudWatch Logs. This is so that they're all visible in one location. Otherwise, you can separate them by Region for more granularity. Make sure that the specified log group exists in the Region that you specify with this option. + awslogs-group Required: Yes Make sure to specify a log group that the awslogs log driver sends its log streams to. + awslogs-stream-prefix Required: Yes, when using the Fargate launch type.Optional for the EC2 launch type, required for the Fargate launch type. Use the awslogs-stream-prefix option to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task that the container belongs to. If you specify a prefix with this option, then the log stream takes the format prefix-name/container-name/ecs-task-id. If you don't specify a prefix with this option, then the log stream is named after the container ID that's assigned by the Docker daemon on the container instance. Because it's difficult to trace logs back to the container that sent them with just the Docker container ID (which is only available on the container instance), we recommend that you specify a prefix with this option. For Amazon ECS services, you can use the service name as the prefix. Doing so, you can trace log streams to the service that the container belongs to, the name of the container that sent them, and the ID of the task that the container belongs to. You must specify a stream-prefix for your logs to have your logs appear in the Log pane when using the Amazon ECS console. + awslogs-datetime-format Required: No This option defines a multiline start pattern in Python strftime format. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. One example of a use case for using this format is for parsing output such as a stack dump, which might otherwise be logged in multiple entries. The correct pattern allows it to be captured in a single entry. For more information, see awslogs-datetime-format. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance. + awslogs-multiline-pattern Required: No This option defines a multiline start pattern that uses a regular expression. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. For more information, see awslogs-multiline-pattern. This option is ignored if awslogs-datetime-format is also configured. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance. + mode Required: No Valid values: non-blocking | blocking This option defines the delivery mode of log messages from the container to CloudWatch Logs. The delivery mode you choose affects application availability when the flow of logs from container to CloudWatch is interrupted. If you use the blocking mode and the flow of logs to CloudWatch is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure. If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent to CloudWatch. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver. + max-buffer-size Required: No Default value: 1m When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.
|
|
784
|
+
To route logs using the ``splunk`` log router, you need to specify a ``splunk-token`` and a ``splunk-url``.
|
|
785
|
+
When you use the ``awsfirelens`` log router to route logs to an AWS Service or AWS Partner Network destination for log storage and analytics, you can set the ``log-driver-buffer-limit`` option to limit the number of events that are buffered in memory, before being sent to the log router container. It can help to resolve potential log loss issue because high throughput might result in memory running out for the buffer inside of Docker.
|
|
786
|
+
Other options you can specify when using ``awsfirelens`` to route logs depend on the destination. When you export logs to Amazon Data Firehose, you can specify the AWS Region with ``region`` and a name for the log stream with ``delivery_stream``.
|
|
787
|
+
When you export logs to Amazon Kinesis Data Streams, you can specify an AWS Region with ``region`` and a data stream name with ``stream``.
|
|
788
|
+
When you export logs to Amazon OpenSearch Service, you can specify options like ``Name``, ``Host`` (OpenSearch Service endpoint without protocol), ``Port``, ``Index``, ``Type``, ``Aws_auth``, ``Aws_region``, ``Suppress_Type_Name``, and ``tls``.
|
|
789
|
+
When you export logs to Amazon S3, you can specify the bucket using the ``bucket`` option. You can also specify ``region``, ``total_file_size``, ``upload_timeout``, and ``use_put_object`` as options.
|
|
790
|
+
This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'``
|
|
791
|
+
*/
|
|
782
792
|
Options?: Record<string, string>;
|
|
783
793
|
/**
|
|
784
794
|
* The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
@@ -985,7 +995,7 @@ export type Secret = {
|
|
|
985
995
|
};
|
|
986
996
|
/**
|
|
987
997
|
* Type definition for `AWS::ECS::TaskDefinition.SystemControl`.
|
|
988
|
-
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in
|
|
998
|
+
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in the docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
989
999
|
We don't recommend that you specify network-related ``systemControls`` parameters for multiple containers in a single task that also uses either the ``awsvpc`` or ``host`` network mode. Doing this has the following disadvantages:
|
|
990
1000
|
+ For tasks that use the ``awsvpc`` network mode including Fargate, if you set ``systemControls`` for any container, it applies to all containers in the task. If you set different ``systemControls`` for multiple containers in a single task, the container that's started last determines which ``systemControls`` take effect.
|
|
991
1001
|
+ For tasks that use the ``host`` network mode, the network namespace ``systemControls`` aren't supported.
|
|
@@ -1079,7 +1089,7 @@ export type Tmpfs = {
|
|
|
1079
1089
|
*/
|
|
1080
1090
|
export type Ulimit = {
|
|
1081
1091
|
/**
|
|
1082
|
-
* The hard limit for the ``ulimit`` type.
|
|
1092
|
+
* The hard limit for the ``ulimit`` type. The value can be specified in bytes, seconds, or as a count, depending on the ``type`` of the ``ulimit``.
|
|
1083
1093
|
*/
|
|
1084
1094
|
HardLimit: number;
|
|
1085
1095
|
/**
|
|
@@ -1087,7 +1097,7 @@ export type Ulimit = {
|
|
|
1087
1097
|
*/
|
|
1088
1098
|
Name: string;
|
|
1089
1099
|
/**
|
|
1090
|
-
* The soft limit for the ``ulimit`` type.
|
|
1100
|
+
* The soft limit for the ``ulimit`` type. The value can be specified in bytes, seconds, or as a count, depending on the ``type`` of the ``ulimit``.
|
|
1091
1101
|
*/
|
|
1092
1102
|
SoftLimit: number;
|
|
1093
1103
|
};
|
|
@@ -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
|
};
|
|
@@ -15,6 +15,7 @@ export type FISExperimentTemplateProperties = {
|
|
|
15
15
|
*/
|
|
16
16
|
Description: string;
|
|
17
17
|
ExperimentOptions?: ExperimentTemplateExperimentOptions;
|
|
18
|
+
ExperimentReportConfiguration?: ExperimentTemplateExperimentReportConfiguration;
|
|
18
19
|
LogConfiguration?: ExperimentTemplateLogConfiguration;
|
|
19
20
|
/**
|
|
20
21
|
* The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
|
|
@@ -38,6 +39,17 @@ export type FISExperimentTemplateProperties = {
|
|
|
38
39
|
export type FISExperimentTemplateAttributes = {
|
|
39
40
|
Id: string;
|
|
40
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Type definition for `AWS::FIS::ExperimentTemplate.CloudWatchDashboard`.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-cloudwatchdashboard.html}
|
|
45
|
+
*/
|
|
46
|
+
export type CloudWatchDashboard = {
|
|
47
|
+
/**
|
|
48
|
+
* @minLength `1`
|
|
49
|
+
* @maxLength `512`
|
|
50
|
+
*/
|
|
51
|
+
DashboardIdentifier: string;
|
|
52
|
+
};
|
|
41
53
|
/**
|
|
42
54
|
* Type definition for `AWS::FIS::ExperimentTemplate.ExperimentTemplateAction`.
|
|
43
55
|
* Specifies an action for the experiment template.
|
|
@@ -87,6 +99,31 @@ export type ExperimentTemplateExperimentOptions = {
|
|
|
87
99
|
*/
|
|
88
100
|
EmptyTargetResolutionMode?: "fail" | "skip";
|
|
89
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Type definition for `AWS::FIS::ExperimentTemplate.ExperimentTemplateExperimentReportConfiguration`.
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentreportconfiguration.html}
|
|
105
|
+
*/
|
|
106
|
+
export type ExperimentTemplateExperimentReportConfiguration = {
|
|
107
|
+
DataSources: {
|
|
108
|
+
CloudWatchDashboards?: CloudWatchDashboard[];
|
|
109
|
+
};
|
|
110
|
+
Outputs: {
|
|
111
|
+
ExperimentReportS3Configuration: {
|
|
112
|
+
/**
|
|
113
|
+
* @minLength `3`
|
|
114
|
+
* @maxLength `63`
|
|
115
|
+
*/
|
|
116
|
+
BucketName: string;
|
|
117
|
+
/**
|
|
118
|
+
* @minLength `1`
|
|
119
|
+
* @maxLength `1024`
|
|
120
|
+
*/
|
|
121
|
+
Prefix?: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
PostExperimentDuration?: string;
|
|
125
|
+
PreExperimentDuration?: string;
|
|
126
|
+
};
|
|
90
127
|
/**
|
|
91
128
|
* Type definition for `AWS::FIS::ExperimentTemplate.ExperimentTemplateLogConfiguration`.
|
|
92
129
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html}
|