@awboost/cfn-resource-types 0.1.37 → 0.1.39

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.
@@ -73,7 +73,7 @@ export type Certificate = {
73
73
  export type CertificateSettings = {
74
74
  CertificateType?: "AMPLIFY_MANAGED" | "CUSTOM";
75
75
  /**
76
- * @pattern `"^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$"`
76
+ * @pattern `^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$`
77
77
  */
78
78
  CustomCertificateArn?: string;
79
79
  };
@@ -57,14 +57,14 @@ export type CodeArtifactDomainAttributes = {
57
57
  */
58
58
  export type Tag = {
59
59
  /**
60
- * The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
60
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
61
61
  * @minLength `1`
62
62
  * @maxLength `128`
63
63
  */
64
64
  Key: string;
65
65
  /**
66
- * The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
67
- * @minLength `0`
66
+ * The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
67
+ * @minLength `1`
68
68
  * @maxLength `256`
69
69
  */
70
70
  Value: string;
@@ -73,14 +73,14 @@ export type CodeArtifactRepositoryAttributes = {
73
73
  */
74
74
  export type Tag = {
75
75
  /**
76
- * The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
76
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
77
77
  * @minLength `1`
78
78
  * @maxLength `128`
79
79
  */
80
80
  Key: string;
81
81
  /**
82
- * The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
83
- * @minLength `0`
82
+ * The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
83
+ * @minLength `1`
84
84
  * @maxLength `256`
85
85
  */
86
86
  Value: string;
@@ -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 here for y
8
+ Our guidance is to use the latest schema documented here 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 = {
@@ -37,7 +37,8 @@ export type DynamoDBTableProperties = {
37
37
  If you update a table to include a new global secondary index, CFNlong initiates the index creation and then proceeds with the stack update. CFNlong doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is ``ACTIVE``. You can track its status by using the DynamoDB [DescribeTable](https://docs.aws.amazon.com/cli/latest/reference/dynamodb/describe-table.html) command.
38
38
  If you add or delete an index during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new index, you must manually delete the index.
39
39
  Updates are not supported. The following are exceptions:
40
- + If you update either the contributor insights specification or the provisioned throughput value
40
+ + If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption.
41
+ + You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails.
41
42
  */
42
43
  GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
43
44
  /**
@@ -417,7 +418,7 @@ export type TimeToLiveSpecification = {
417
418
  You should be aware of the following behaviors when working with DDB tables:
418
419
  + 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).
419
420
 
420
- Our guidance is to use the latest schema documented here for y
421
+ Our guidance is to use the latest schema documented here 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.
421
422
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
422
423
  */
423
424
  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 here for y
7
+ Our guidance is to use the latest schema documented here 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 {
@@ -13,6 +13,10 @@ export type EC2DHCPOptionsProperties = {
13
13
  * The IPv4 addresses of up to four domain name servers, or AmazonProvidedDNS.
14
14
  */
15
15
  DomainNameServers?: string[];
16
+ /**
17
+ * The preferred Lease Time for ipV6 address in seconds.
18
+ */
19
+ Ipv6AddressPreferredLeaseTime?: number;
16
20
  /**
17
21
  * The IPv4 addresses of up to four NetBIOS name servers.
18
22
  */
@@ -5,7 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * Specifies a network address translation (NAT) gateway in the specified subnet. You can create either a public NAT gateway or a private NAT gateway. The default is a public NAT gateway. If you create a public NAT gateway, you must specify an elastic IP address.
6
6
  With a NAT gateway, instances in a private subnet can connect to the internet, other AWS services, or an on-premises network using the IP address of the NAT gateway. For more information, see [NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html) in the *Amazon VPC User Guide*.
7
7
  If you add a default route (``AWS::EC2::Route`` resource) that points to a NAT gateway, specify the NAT gateway ID for the route's ``NatGatewayId`` property.
8
- When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the N
8
+ When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the NAT gateway fails to launch. You can see the network border group for the AZ by viewing the details of the subnet. Similarly, you can view the network border group for the Elastic IP address by viewing its details. For more information, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip) in the *Amazon VPC User Guide*.
9
9
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html}
10
10
  */
11
11
  export type EC2NatGatewayProperties = {
@@ -76,7 +76,7 @@ export type Tag = {
76
76
  * Specifies a network address translation (NAT) gateway in the specified subnet. You can create either a public NAT gateway or a private NAT gateway. The default is a public NAT gateway. If you create a public NAT gateway, you must specify an elastic IP address.
77
77
  With a NAT gateway, instances in a private subnet can connect to the internet, other AWS services, or an on-premises network using the IP address of the NAT gateway. For more information, see [NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html) in the *Amazon VPC User Guide*.
78
78
  If you add a default route (``AWS::EC2::Route`` resource) that points to a NAT gateway, specify the NAT gateway ID for the route's ``NatGatewayId`` property.
79
- When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the N
79
+ When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the NAT gateway fails to launch. You can see the network border group for the AZ by viewing the details of the subnet. Similarly, you can view the network border group for the Elastic IP address by viewing its details. For more information, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip) in the *Amazon VPC User Guide*.
80
80
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html}
81
81
  */
82
82
  export declare class EC2NatGateway extends $Resource<"AWS::EC2::NatGateway", EC2NatGatewayProperties, EC2NatGatewayAttributes> {
@@ -4,7 +4,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
4
4
  * Specifies a network address translation (NAT) gateway in the specified subnet. You can create either a public NAT gateway or a private NAT gateway. The default is a public NAT gateway. If you create a public NAT gateway, you must specify an elastic IP address.
5
5
  With a NAT gateway, instances in a private subnet can connect to the internet, other AWS services, or an on-premises network using the IP address of the NAT gateway. For more information, see [NAT gateways](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html) in the *Amazon VPC User Guide*.
6
6
  If you add a default route (``AWS::EC2::Route`` resource) that points to a NAT gateway, specify the NAT gateway ID for the route's ``NatGatewayId`` property.
7
- When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the N
7
+ When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the NAT gateway fails to launch. You can see the network border group for the AZ by viewing the details of the subnet. Similarly, you can view the network border group for the Elastic IP address by viewing its details. For more information, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip) in the *Amazon VPC User Guide*.
8
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html}
9
9
  */
10
10
  export class EC2NatGateway extends $Resource {
@@ -1,12 +1,13 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * The AWS::ECR::RegistryPolicy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
4
+ * The ``AWS::ECR::RegistryPolicy`` resource creates or updates the permissions policy for a private registry.
5
+ A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*.
5
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html}
6
7
  */
7
8
  export type ECRRegistryPolicyProperties = {
8
9
  /**
9
- * The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions (https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the Amazon Elastic Container Registry User Guide.
10
+ * The JSON policy text for your registry.
10
11
  */
11
12
  PolicyText: Record<string, any>;
12
13
  };
@@ -24,7 +25,8 @@ export type ECRRegistryPolicyAttributes = {
24
25
  RegistryId: string;
25
26
  };
26
27
  /**
27
- * The AWS::ECR::RegistryPolicy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
28
+ * The ``AWS::ECR::RegistryPolicy`` resource creates or updates the permissions policy for a private registry.
29
+ A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*.
28
30
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html}
29
31
  */
30
32
  export declare class ECRRegistryPolicy extends $Resource<"AWS::ECR::RegistryPolicy", ECRRegistryPolicyProperties, ECRRegistryPolicyAttributes> {
@@ -1,6 +1,7 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * The AWS::ECR::RegistryPolicy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
3
+ * The ``AWS::ECR::RegistryPolicy`` resource creates or updates the permissions policy for a private registry.
4
+ A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*.
4
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html}
5
6
  */
6
7
  export class ECRRegistryPolicy extends $Resource {
@@ -1,43 +1,41 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * The AWS::ECR::Repository resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
4
+ * The ``AWS::ECR::Repository`` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide*.
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html}
6
6
  */
7
7
  export type ECRRepositoryProperties = {
8
8
  /**
9
- * If true, deleting the repository force deletes the contents of the repository. Without a force delete, you can only delete empty repositories.
9
+ * If true, deleting the repository force deletes the contents of the repository. If false, the repository must be empty before attempting to delete it.
10
10
  */
11
11
  EmptyOnDelete?: boolean;
12
12
  /**
13
- * The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
14
-
15
- By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
16
-
17
- For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
18
- */
13
+ * The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
14
+ */
19
15
  EncryptionConfiguration?: EncryptionConfiguration;
20
16
  /**
21
- * The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
17
+ * The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
22
18
  */
23
19
  ImageScanningConfiguration?: ImageScanningConfiguration;
24
20
  /**
25
- * The image tag mutability setting for the repository.
21
+ * The tag mutability setting for the repository. If this parameter is omitted, the default setting of ``MUTABLE`` will be used which will allow image tags to be overwritten. If ``IMMUTABLE`` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
26
22
  */
27
23
  ImageTagMutability?: "MUTABLE" | "IMMUTABLE";
28
24
  /**
29
- * The LifecyclePolicy property type specifies a lifecycle policy. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
25
+ * Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html).
30
26
  */
31
27
  LifecyclePolicy?: LifecyclePolicy;
32
28
  /**
33
- * The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html.
34
- * @minLength `2`
35
- * @maxLength `256`
36
- * @pattern `^(?=.{2,256}$)((?:[a-z0-9]+(?:[._-][a-z0-9]+)/‍*)*[a-z0-9]+(?:[._-][a-z0-9]+)*)$`
37
- */
29
+ * The name to use for the repository. The repository name may be specified on its own (such as ``nginx-web-app``) or it can be prepended with a namespace to group the repository into a category (such as ``project-a/nginx-web-app``). If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the repository name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
30
+ The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.
31
+ If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
32
+ * @minLength `2`
33
+ * @maxLength `256`
34
+ * @pattern `^(?=.{2,256}$)((?:[a-z0-9]+(?:[._-][a-z0-9]+)/‍*)*[a-z0-9]+(?:[._-][a-z0-9]+)*)$`
35
+ */
38
36
  RepositoryName?: string;
39
37
  /**
40
- * The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html in the Amazon Elastic Container Registry User Guide.
38
+ * The JSON repository policy text to apply to the repository. For more information, see [Amazon ECR repository policies](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html) in the *Amazon Elastic Container Registry User Guide*.
41
39
  */
42
40
  RepositoryPolicyText?: Record<string, any> | string;
43
41
  /**
@@ -57,19 +55,19 @@ export type ECRRepositoryAttributes = {
57
55
  /**
58
56
  * Type definition for `AWS::ECR::Repository.EncryptionConfiguration`.
59
57
  * The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
60
-
61
- By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
62
-
63
- For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
58
+ By default, when no encryption configuration is set or the ``AES256`` encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
59
+ For more control over the encryption of the contents of your repository, you can use server-side encryption with KMSlong key stored in KMSlong (KMS) to encrypt your images. For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the *Amazon Elastic Container Registry User Guide*.
64
60
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html}
65
61
  */
66
62
  export type EncryptionConfiguration = {
67
63
  /**
68
- * The encryption type to use.
69
- */
64
+ * The encryption type to use.
65
+ If you use the ``KMS`` encryption type, the contents of the repository will be encrypted using server-side encryption with KMSlong key stored in KMS. When you use KMS to encrypt your data, you can either use the default AWS managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see [Protecting data using server-side encryption with an key stored in (SSE-KMS)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the *Amazon Simple Storage Service Console Developer Guide*.
66
+ If you use the ``AES256`` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES-256 encryption algorithm. For more information, see [Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) in the *Ama
67
+ */
70
68
  EncryptionType: EncryptionType;
71
69
  /**
72
- * 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.
70
+ * If you use the ``KMS`` encryption type, specify the KMS key to use for encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed KMS key for Amazon ECR will be used.
73
71
  * @minLength `1`
74
72
  * @maxLength `2048`
75
73
  */
@@ -83,18 +81,18 @@ export type EncryptionConfiguration = {
83
81
  export type EncryptionType = "AES256" | "KMS";
84
82
  /**
85
83
  * Type definition for `AWS::ECR::Repository.ImageScanningConfiguration`.
86
- * The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
84
+ * The image scanning configuration for a repository.
87
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-imagescanningconfiguration.html}
88
86
  */
89
87
  export type ImageScanningConfiguration = {
90
88
  /**
91
- * The setting that determines whether images are scanned after being pushed to a repository.
89
+ * The setting that determines whether images are scanned after being pushed to a repository. If set to ``true``, images will be scanned after being pushed. If this parameter is not specified, it will default to ``false`` and images will not be scanned unless a scan is manually started.
92
90
  */
93
91
  ScanOnPush?: boolean;
94
92
  };
95
93
  /**
96
94
  * Type definition for `AWS::ECR::Repository.LifecyclePolicy`.
97
- * The LifecyclePolicy property type specifies a lifecycle policy. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
95
+ * The ``LifecyclePolicy`` property type specifies a lifecycle policy. For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) in the *Amazon ECR User Guide*.
98
96
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html}
99
97
  */
100
98
  export type LifecyclePolicy = {
@@ -105,34 +103,35 @@ export type LifecyclePolicy = {
105
103
  */
106
104
  LifecyclePolicyText?: string;
107
105
  /**
108
- * The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
109
- * @minLength `12`
110
- * @maxLength `12`
111
- * @pattern `^[0-9]{12}$`
112
- */
106
+ * The AWS account ID associated with the registry that contains the repository. If you do
107
+ not specify a registry, the default registry is assumed.
108
+ * @minLength `12`
109
+ * @maxLength `12`
110
+ * @pattern `^[0-9]{12}$`
111
+ */
113
112
  RegistryId?: string;
114
113
  };
115
114
  /**
116
115
  * Type definition for `AWS::ECR::Repository.Tag`.
117
- * A key-value pair to associate with a resource.
116
+ * The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
118
117
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-tag.html}
119
118
  */
120
119
  export type Tag = {
121
120
  /**
122
- * The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
121
+ * One part of a key-value pair that make up a tag. A ``key`` is a general label that acts like a category for more specific tag values.
123
122
  * @minLength `1`
124
123
  * @maxLength `127`
125
124
  */
126
125
  Key: string;
127
126
  /**
128
- * The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
127
+ * A ``value`` acts as a descriptor within a tag category (key).
129
128
  * @minLength `1`
130
129
  * @maxLength `255`
131
130
  */
132
131
  Value: string;
133
132
  };
134
133
  /**
135
- * The AWS::ECR::Repository resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
134
+ * The ``AWS::ECR::Repository`` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide*.
136
135
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html}
137
136
  */
138
137
  export declare class ECRRepository extends $Resource<"AWS::ECR::Repository", ECRRepositoryProperties, ECRRepositoryAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * The AWS::ECR::Repository resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
3
+ * The ``AWS::ECR::Repository`` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide*.
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html}
5
5
  */
6
6
  export class ECRRepository extends $Resource {
@@ -1,26 +1,49 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource type definition for `AWS::ECS::Cluster`.
5
- * Create an Elastic Container Service (ECS) cluster.
4
+ * The ``AWS::ECS::Cluster`` resource creates an Amazon Elastic Container Service (Amazon ECS) cluster.
6
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html}
7
6
  */
8
7
  export type ECSClusterProperties = {
8
+ /**
9
+ * The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) or [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) actions.
10
+ If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) API operation.
11
+ To use a FARGATElong capacity provider, specify either the ``FARGATE`` or ``FARGATE_SPOT`` capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used.
12
+ The [PutCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html) API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
13
+ */
9
14
  CapacityProviders?: string[];
10
15
  /**
11
- * A user-generated string that you use to identify your cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the name.
16
+ * A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name.
12
17
  */
13
18
  ClusterName?: string;
19
+ /**
20
+ * The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
21
+ */
14
22
  ClusterSettings?: ClusterSettings[];
15
23
  /**
16
- * The configurations to be set at cluster level.
24
+ * The execute command configuration for the cluster.
17
25
  */
18
26
  Configuration?: ClusterConfiguration;
19
- DefaultCapacityProviderStrategy?: CapacityProviderStrategyItem[];
20
27
  /**
21
- * Service Connect Configuration default for all services or tasks within this cluster
28
+ * The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
22
29
  */
30
+ DefaultCapacityProviderStrategy?: CapacityProviderStrategyItem[];
31
+ /**
32
+ * Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the ``enabled`` parameter to ``true`` in the ``ServiceConnectConfiguration``. You can set the namespace of each service individually in the ``ServiceConnectConfiguration`` to override this default parameter.
33
+ 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*.
34
+ */
23
35
  ServiceConnectDefaults?: ServiceConnectDefaults;
36
+ /**
37
+ * The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
38
+ The following basic restrictions apply to tags:
39
+ + Maximum number of tags per resource - 50
40
+ + For each resource, each tag key must be unique, and each tag key can have only one value.
41
+ + Maximum key length - 128 Unicode characters in UTF-8
42
+ + Maximum value length - 256 Unicode characters in UTF-8
43
+ + If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
44
+ + Tag keys and values are case-sensitive.
45
+ + Do not use ``aws:``, ``AWS:``, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
46
+ */
24
47
  Tags?: Tag[];
25
48
  };
26
49
  /**
@@ -28,89 +51,148 @@ export type ECSClusterProperties = {
28
51
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#aws-resource-ecs-cluster-return-values}
29
52
  */
30
53
  export type ECSClusterAttributes = {
31
- /**
32
- * The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster.
33
- */
34
54
  Arn: string;
35
55
  };
36
56
  /**
37
57
  * Type definition for `AWS::ECS::Cluster.CapacityProviderStrategyItem`.
38
- * A capacity provider strategy consists of one or more capacity providers along with the `base` and `weight` to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an `ACTIVE` or `UPDATING` status can be used.
58
+ * The ``CapacityProviderStrategyItem`` property specifies the details of the default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
39
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-capacityproviderstrategyitem.html}
40
60
  */
41
61
  export type CapacityProviderStrategyItem = {
62
+ /**
63
+ * The *base* value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a *base* defined. If no value is specified, the default value of ``0`` is used.
64
+ */
42
65
  Base?: number;
66
+ /**
67
+ * The short name of the capacity provider.
68
+ */
43
69
  CapacityProvider?: string;
70
+ /**
71
+ * The *weight* value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The ``weight`` value is taken into consideration after the ``base`` value, if defined, is satisfied.
72
+ If no ``weight`` value is specified, the default value of ``0`` is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of ``0`` can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of ``0``, any ``RunTask`` or ``CreateService`` actions using the capacity provider strategy will fail.
73
+ An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of ``1``, then when the ``base`` is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of ``1`` for *capacityProviderA* and a weight of ``4`` for *capacityProviderB*, then for every one task that's run using *capacityProviderA*, four tasks would use *capacityProviderB*.
74
+ */
44
75
  Weight?: number;
45
76
  };
46
77
  /**
47
78
  * Type definition for `AWS::ECS::Cluster.ClusterConfiguration`.
48
- * The configurations to be set at cluster level.
79
+ * The execute command configuration for the cluster.
49
80
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html}
50
81
  */
51
82
  export type ClusterConfiguration = {
52
83
  /**
53
- * The configuration for ExecuteCommand.
84
+ * The details of the execute command configuration.
54
85
  */
55
86
  ExecuteCommandConfiguration?: ExecuteCommandConfiguration;
56
87
  };
57
88
  /**
58
89
  * Type definition for `AWS::ECS::Cluster.ClusterSettings`.
59
- * The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
90
+ * The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
60
91
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html}
61
92
  */
62
93
  export type ClusterSettings = {
94
+ /**
95
+ * The name of the cluster setting. The value is ``containerInsights`` .
96
+ */
63
97
  Name?: string;
98
+ /**
99
+ * The value to set for the cluster setting. The supported values are ``enabled`` and ``disabled``.
100
+ If you set ``name`` to ``containerInsights`` and ``value`` to ``enabled``, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the ``containerInsights`` account setting is turned on. If a cluster value is specified, it will override the ``containerInsights`` value set with [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) or [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html).
101
+ */
64
102
  Value?: string;
65
103
  };
66
104
  /**
67
105
  * Type definition for `AWS::ECS::Cluster.ExecuteCommandConfiguration`.
68
- * The configuration for ExecuteCommand.
106
+ * The details of the execute command configuration.
69
107
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html}
70
108
  */
71
109
  export type ExecuteCommandConfiguration = {
110
+ /**
111
+ * Specify an KMSlong key ID to encrypt the data between the local client and the container.
112
+ */
72
113
  KmsKeyId?: string;
73
114
  /**
74
- * The session logging configuration for ExecuteCommand.
115
+ * The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When ``logging=OVERRIDE`` is specified, a ``logConfiguration`` must be provided.
75
116
  */
76
117
  LogConfiguration?: ExecuteCommandLogConfiguration;
118
+ /**
119
+ * The log setting to use for redirecting logs for your execute command results. The following log settings are available.
120
+ + ``NONE``: The execute command session is not logged.
121
+ + ``DEFAULT``: The ``awslogs`` configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no ``awslogs`` log driver is configured in the task definition, the output won't be logged.
122
+ + ``OVERRIDE``: Specify the logging details as a part of ``logConfiguration``. If the ``OVERRIDE`` logging option is specified, the ``logConfiguration`` is required.
123
+ */
77
124
  Logging?: string;
78
125
  };
79
126
  /**
80
127
  * Type definition for `AWS::ECS::Cluster.ExecuteCommandLogConfiguration`.
81
- * The session logging configuration for ExecuteCommand.
128
+ * The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
82
129
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html}
83
130
  */
84
131
  export type ExecuteCommandLogConfiguration = {
132
+ /**
133
+ * Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
134
+ */
85
135
  CloudWatchEncryptionEnabled?: boolean;
136
+ /**
137
+ * The name of the CloudWatch log group to send logs to.
138
+ The CloudWatch log group must already be created.
139
+ */
86
140
  CloudWatchLogGroupName?: string;
141
+ /**
142
+ * The name of the S3 bucket to send logs to.
143
+ The S3 bucket must already be created.
144
+ */
87
145
  S3BucketName?: string;
146
+ /**
147
+ * Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
148
+ */
88
149
  S3EncryptionEnabled?: boolean;
150
+ /**
151
+ * An optional folder in the S3 bucket to place logs in.
152
+ */
89
153
  S3KeyPrefix?: string;
90
154
  };
91
155
  /**
92
156
  * Type definition for `AWS::ECS::Cluster.ServiceConnectDefaults`.
93
- * Service Connect Configuration default for all services or tasks within this cluster
157
+ * Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the ``enabled`` parameter to ``true`` in the ``ServiceConnectConfiguration``. You can set the namespace of each service individually in the ``ServiceConnectConfiguration`` to override this default parameter.
158
+ 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*.
94
159
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-serviceconnectdefaults.html}
95
160
  */
96
161
  export type ServiceConnectDefaults = {
97
162
  /**
98
- * Service Connect Namespace Name or ARN default for all services or tasks within this cluster
99
- */
163
+ * The namespace name or full Amazon Resource Name (ARN) of the CMAPlong namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).
164
+ If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region.
165
+ If you enter a new name, a CMAPlong namespace will be created. Amazon ECS creates a CMAP namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the CLIlong. Other types of instance discovery aren't used by Service Connect.
166
+ If you update the cluster with an empty string ``""`` for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in CMAP and must be deleted separately.
167
+ For more information about CMAPlong, see [Working with Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) in the *Developer Guide*.
168
+ */
100
169
  Namespace?: string;
101
170
  };
102
171
  /**
103
172
  * Type definition for `AWS::ECS::Cluster.Tag`.
104
- * The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
173
+ * The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.
174
+ The following basic restrictions apply to tags:
175
+ + Maximum number of tags per resource - 50
176
+ + For each resource, each tag key must be unique, and each tag key can have only one value.
177
+ + Maximum key length - 128 Unicode characters in UTF-8
178
+ + Maximum value length - 256 Unicode characters in UTF-8
179
+ + If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
180
+ + Tag keys and values are case-sensitive.
181
+ + Do not use ``aws:``, ``AWS:``, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
105
182
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-tag.html}
106
183
  */
107
184
  export type Tag = {
185
+ /**
186
+ * One part of a key-value pair that make up a tag. A ``key`` is a general label that acts like a category for more specific tag values.
187
+ */
108
188
  Key?: string;
189
+ /**
190
+ * The optional part of a key-value pair that make up a tag. A ``value`` acts as a descriptor within a tag category (key).
191
+ */
109
192
  Value?: string;
110
193
  };
111
194
  /**
112
- * Resource type definition for `AWS::ECS::Cluster`.
113
- * Create an Elastic Container Service (ECS) cluster.
195
+ * The ``AWS::ECS::Cluster`` resource creates an Amazon Elastic Container Service (Amazon ECS) cluster.
114
196
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html}
115
197
  */
116
198
  export declare class ECSCluster extends $Resource<"AWS::ECS::Cluster", ECSClusterProperties, ECSClusterAttributes> {
@@ -1,7 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource type definition for `AWS::ECS::Cluster`.
4
- * Create an Elastic Container Service (ECS) cluster.
3
+ * The ``AWS::ECS::Cluster`` resource creates an Amazon Elastic Container Service (Amazon ECS) cluster.
5
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html}
6
5
  */
7
6
  export class ECSCluster extends $Resource {
@@ -7,7 +7,14 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  */
8
8
  export type InternetMonitorMonitorProperties = {
9
9
  HealthEventsConfig?: HealthEventsConfig;
10
+ IncludeLinkedAccounts?: boolean;
10
11
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
12
+ /**
13
+ * @minLength `12`
14
+ * @maxLength `12`
15
+ * @pattern `^(\d{12})$`
16
+ */
17
+ LinkedAccountId?: string;
11
18
  /**
12
19
  * @min `1`
13
20
  * @max `500000`
@@ -11,7 +11,7 @@ export type LambdaUrlProperties = {
11
11
  AuthType: "AWS_IAM" | "NONE";
12
12
  Cors?: Cors;
13
13
  /**
14
- * The invocation mode for the functions URL. Set to BUFFERED if you want to buffer responses before returning them to the client. Set to RESPONSE_STREAM if you want to stream responses, allowing faster time to first byte and larger response payload sizes. If not set, defaults to BUFFERED.
14
+ * The invocation mode for the function's URL. Set to BUFFERED if you want to buffer responses before returning them to the client. Set to RESPONSE_STREAM if you want to stream responses, allowing faster time to first byte and larger response payload sizes. If not set, defaults to BUFFERED.
15
15
  */
16
16
  InvokeMode?: "BUFFERED" | "RESPONSE_STREAM";
17
17
  /**
@@ -156,6 +156,23 @@ export type ReplicationInfo = {
156
156
  */
157
157
  TopicReplication: TopicReplication;
158
158
  };
159
+ /**
160
+ * Type definition for `AWS::MSK::Replicator.ReplicationStartingPosition`.
161
+ * Configuration for specifying the position in the topics to start replicating from.
162
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationstartingposition.html}
163
+ */
164
+ export type ReplicationStartingPosition = {
165
+ /**
166
+ * The type of replication starting position.
167
+ */
168
+ Type?: ReplicationStartingPositionType;
169
+ };
170
+ /**
171
+ * Type definition for `AWS::MSK::Replicator.ReplicationStartingPositionType`.
172
+ * The type of replication starting position.
173
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationstartingpositiontype.html}
174
+ */
175
+ export type ReplicationStartingPositionType = "LATEST" | "EARLIEST";
159
176
  /**
160
177
  * Type definition for `AWS::MSK::Replicator.Tag`.
161
178
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-tag.html}
@@ -188,6 +205,10 @@ export type TopicReplication = {
188
205
  * Whether to periodically check for new topics and partitions.
189
206
  */
190
207
  DetectAndCopyNewTopics?: boolean;
208
+ /**
209
+ * Configuration for specifying the position in the topics to start replicating from.
210
+ */
211
+ StartingPosition?: ReplicationStartingPosition;
191
212
  /**
192
213
  * List of regular expression patterns indicating the topics that should not be replicated.
193
214
  * @minLength `1`
@@ -19,21 +19,21 @@ export type OSISPipelineProperties = {
19
19
  */
20
20
  LogPublishingOptions?: LogPublishingOptions;
21
21
  /**
22
- * The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
22
+ * The maximum pipeline capacity, in Ingestion OpenSearch Compute Units (OCUs).
23
23
  * @min `1`
24
- * @max `24`
24
+ * @max `384`
25
25
  */
26
26
  MaxUnits: number;
27
27
  /**
28
- * The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
28
+ * The minimum pipeline capacity, in Ingestion OpenSearch Compute Units (OCUs).
29
29
  * @min `1`
30
- * @max `24`
30
+ * @max `384`
31
31
  */
32
32
  MinUnits: number;
33
33
  /**
34
- * The Data Prepper pipeline configuration in YAML format.
34
+ * The Data Prepper pipeline configuration.
35
35
  * @minLength `1`
36
- * @maxLength `12000`
36
+ * @maxLength `24000`
37
37
  */
38
38
  PipelineConfigurationBody: string;
39
39
  /**
@@ -26,7 +26,7 @@ export type SSMContactsContactProperties = {
26
26
  /**
27
27
  * Contact type, which specify type of contact. Currently supported values: “PERSONAL”, “SHARED”, “OTHER“.
28
28
  */
29
- Type: "PERSONAL" | "CUSTOM" | "SERVICE" | "ESCALATION" | "ONCALL_SCHEDULE";
29
+ Type: "PERSONAL" | "ESCALATION" | "ONCALL_SCHEDULE";
30
30
  };
31
31
  /**
32
32
  * Attribute type definition for `AWS::SSMContacts::Contact`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },