@awboost/cfn-resource-types 0.1.37 → 0.1.38

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;
@@ -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,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 {
@@ -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`
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.38",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },