@awboost/cfn-resource-types 0.1.468 → 0.1.470

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.
@@ -95,7 +95,7 @@ export type GlobalSecondaryIndex = {
95
95
  IndexName: string;
96
96
  /**
97
97
  * @minLength `1`
98
- * @maxLength `2`
98
+ * @maxLength `8`
99
99
  */
100
100
  KeySchema: KeySchema[];
101
101
  Projection: Projection;
@@ -235,7 +235,7 @@ export type ReplicaSSESpecification = {
235
235
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicastreamspecification.html}
236
236
  */
237
237
  export type ReplicaStreamSpecification = {
238
- ResourcePolicy: ResourcePolicy;
238
+ ResourcePolicy?: ResourcePolicy;
239
239
  };
240
240
  /**
241
241
  * Type definition for `AWS::DynamoDB::GlobalTable.ResourcePolicy`.
@@ -24,21 +24,21 @@ export type EC2VolumeProperties = {
24
24
  * The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a``.
25
25
  Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
26
26
  */
27
- AvailabilityZone: string;
27
+ AvailabilityZone?: string;
28
+ AvailabilityZoneId?: string;
28
29
  /**
29
30
  * Indicates whether the volume should be encrypted. The effect of setting the encryption state to ``true`` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see [Encryption by default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default) in the *Amazon EBS User Guide*.
30
31
  Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see [Supported instance types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances).
31
32
  */
32
33
  Encrypted?: boolean;
33
34
  /**
34
- * The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
35
- The following are the supported values for each volume type:
36
- + ``gp3``: 3,000 - 16,000 IOPS
37
- + ``io1``: 100 - 64,000 IOPS
38
- + ``io2``: 100 - 256,000 IOPS
35
+ * The number of I/O operations per second (IOPS) to provision for the volume. Required for ``io1`` and ``io2`` volumes. Optional for ``gp3`` volumes. Omit for all other volume types.
36
+ Valid ranges:
37
+ + gp3: ``3,000``(*default*)``- 80,000`` IOPS
38
+ + io1: ``100 - 64,000`` IOPS
39
+ + io2: ``100 - 256,000`` IOPS
39
40
 
40
- For ``io2`` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
41
- This parameter is required for ``io1`` and ``io2`` volumes. The default for ``gp3`` volumes is 3,000 IOPS. This parameter is not supported for ``gp2``, ``st1``, ``sc1``, or ``standard`` volumes.
41
+ [Instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) can support up to 256,000 IOPS. Other instances can support up to 32,000 IOPS.
42
42
  */
43
43
  Iops?: number;
44
44
  /**
@@ -61,19 +61,21 @@ export type EC2VolumeProperties = {
61
61
  */
62
62
  OutpostArn?: string;
63
63
  /**
64
- * The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
65
- The following are the supported volumes sizes for each volume type:
66
- + ``gp2`` and ``gp3``: 1 - 16,384 GiB
67
- + ``io1``: 4 - 16,384 GiB
68
- + ``io2``: 4 - 65,536 GiB
69
- + ``st1`` and ``sc1``: 125 - 16,384 GiB
70
- + ``standard``: 1 - 1024 GiB
64
+ * The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size, and you can specify a volume size that is equal to or larger than the snapshot size.
65
+ Valid sizes:
66
+ + gp2: ``1 - 16,384`` GiB
67
+ + gp3: ``1 - 65,536`` GiB
68
+ + io1: ``4 - 16,384`` GiB
69
+ + io2: ``4 - 65,536`` GiB
70
+ + st1 and sc1: ``125 - 16,384`` GiB
71
+ + standard: ``1 - 1024`` GiB
71
72
  */
72
73
  Size?: number;
73
74
  /**
74
75
  * The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
75
76
  */
76
77
  SnapshotId?: string;
78
+ SourceVolumeId?: string;
77
79
  /**
78
80
  * The tags to apply to the volume during creation.
79
81
  */
@@ -31,7 +31,7 @@ export type ECRRepositoryCreationTemplateProperties = {
31
31
  */
32
32
  ImageTagMutability?: "MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION";
33
33
  /**
34
- * Defines the image tag mutability exclusion filters to apply when creating repositories from this template. These filters specify which image tags can override the repository's default image tag mutability setting.
34
+ * A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.
35
35
  * @minLength `1`
36
36
  * @maxLength `5`
37
37
  */
@@ -104,7 +104,7 @@ export type EncryptionConfiguration = {
104
104
  export type EncryptionType = "AES256" | "KMS" | "KMS_DSSE";
105
105
  /**
106
106
  * Type definition for `AWS::ECR::RepositoryCreationTemplate.ImageTagMutabilityExclusionFilter`.
107
- * Overrides the default image tag mutability setting of the repository for image tags that match the specified filters.
107
+ * A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.
108
108
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-imagetagmutabilityexclusionfilter.html}
109
109
  */
110
110
  export type ImageTagMutabilityExclusionFilter = {
@@ -77,7 +77,7 @@ export type ECSTaskDefinitionProperties = {
77
77
  * The process namespace to use for the containers in the task. The valid values are ``host`` or ``task``. On Fargate for Linux containers, the only valid value is ``task``. For example, monitoring sidecars might need ``pidMode`` to access information about other containers running in the same task.
78
78
  If ``host`` is specified, all containers within the tasks that specified the ``host`` PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance.
79
79
  If ``task`` is specified, all containers within the specified task share the same process namespace.
80
- If no value is specified, the default is a private namespace for each container.
80
+ If no value is specified, the The default is a private namespace for each container.
81
81
  If the ``host`` PID mode is used, there's a heightened risk of undesired process namespace exposure.
82
82
  This parameter is not supported for Windows containers.
83
83
  This parameter is only supported for tasks that are hosted on FARGATElong if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate.
@@ -98,7 +98,7 @@ export type ECSTaskDefinitionProperties = {
98
98
  */
99
99
  RequiresCompatibilities?: string[];
100
100
  /**
101
- * The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
101
+ * The operating system that your tasks definitions run on.
102
102
  */
103
103
  RuntimePlatform?: RuntimePlatform;
104
104
  /**
@@ -158,7 +158,7 @@ export type ContainerDefinition = {
158
158
  */
159
159
  Command?: string[];
160
160
  /**
161
- * The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker container create commandand the ``--cpu-shares`` option to docker run.
161
+ * The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker container create command and the ``--cpu-shares`` option to docker run.
162
162
  This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value.
163
163
  You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the [Amazon EC2 Instances](https://docs.aws.amazon.com/ec2/instance-types/) detail page by 1,024.
164
164
  Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
@@ -959,7 +959,7 @@ export type RestartPolicy = {
959
959
  export type RuntimePlatform = {
960
960
  /**
961
961
  * The CPU architecture.
962
- You can run your Linux tasks on an ARM-based platform by setting the value to ``ARM64``. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
962
+ You can run your Linux tasks on an ARM-based platform by setting the value to ``ARM64``. This option is available for tasks that run on Linux Amazon EC2 instance, Amazon ECS Managed Instances, or Linux containers on Fargate.
963
963
  */
964
964
  CpuArchitecture?: string;
965
965
  /**
@@ -12,7 +12,7 @@ export type GameLiftBuildProperties = {
12
12
  /**
13
13
  * The operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
14
14
  */
15
- OperatingSystem?: "AMAZON_LINUX" | "AMAZON_LINUX_2" | "AMAZON_LINUX_2023" | "WINDOWS_2012" | "WINDOWS_2016";
15
+ OperatingSystem?: "AMAZON_LINUX" | "AMAZON_LINUX_2" | "AMAZON_LINUX_2023" | "WINDOWS_2012" | "WINDOWS_2016" | "WINDOWS_2022";
16
16
  /**
17
17
  * A server SDK version you used when integrating your game server build with Amazon GameLift. By default Amazon GameLift sets this value to 4.0.2.
18
18
  */
@@ -20,7 +20,7 @@ export type ImageBuilderImageRecipeProperties = {
20
20
  /**
21
21
  * The components of the image recipe.
22
22
  */
23
- Components: ComponentConfiguration[];
23
+ Components?: ComponentConfiguration[];
24
24
  /**
25
25
  * The description of the image recipe.
26
26
  */
@@ -93,7 +93,7 @@ export type KMSKeyProperties = {
93
93
  + SM2 key pairs (encryption and decryption *or* signing and verification *or* deriving shared secrets)
94
94
  + ``SM2`` (China Regions only)
95
95
  */
96
- KeySpec?: "SYMMETRIC_DEFAULT" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87";
96
+ KeySpec?: "SYMMETRIC_DEFAULT" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87" | "ECC_NIST_EDWARDS25519";
97
97
  /**
98
98
  * Determines the [cryptographic operations](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations) for which you can use the KMS key. The default value is ``ENCRYPT_DECRYPT``. This property is required for asymmetric KMS keys and HMAC KMS keys. You can't change the ``KeyUsage`` value after the KMS key is created.
99
99
  If you change the value of the ``KeyUsage`` property on an existing KMS key, the update request fails, regardless of the value of the [UpdateReplacePolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html). This prevents you from accidentally deleting a KMS key by changing an immutable property value.
@@ -10,6 +10,12 @@ export type KinesisStreamProperties = {
10
10
  * @maxLength `7`
11
11
  */
12
12
  DesiredShardLevelMetrics?: EnhancedMetric[];
13
+ /**
14
+ * Maximum size of a data record in KiB allowed to be put into Kinesis stream.
15
+ * @min `1024`
16
+ * @max `10240`
17
+ */
18
+ MaxRecordSizeInKiB?: number;
13
19
  /**
14
20
  * The name of the Kinesis stream.
15
21
  * @minLength `1`
@@ -1,22 +1,61 @@
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::ServiceCatalog::CloudFormationProduct
4
+ * Resource type definition for AWS::ServiceCatalog::CloudFormationProduct
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html}
6
6
  */
7
7
  export type ServiceCatalogCloudFormationProductProperties = {
8
+ /**
9
+ * The language code.
10
+ */
8
11
  AcceptLanguage?: string;
12
+ /**
13
+ * The description of the product.
14
+ */
9
15
  Description?: string;
16
+ /**
17
+ * The distributor of the product.
18
+ */
10
19
  Distributor?: string;
20
+ /**
21
+ * The name of the product.
22
+ */
11
23
  Name: string;
24
+ /**
25
+ * The owner of the product.
26
+ */
12
27
  Owner: string;
13
- ProductType?: string;
28
+ /**
29
+ * The type of product.
30
+ */
31
+ ProductType?: "CLOUD_FORMATION_TEMPLATE" | "MARKETPLACE_AMI" | "MARKETPLACE_CAR" | "TERRAFORM_OPEN_SOURCE" | "TERRAFORM_CLOUD" | "EXTERNAL";
32
+ /**
33
+ * The configuration of the provisioning artifact (also known as a version).
34
+ */
14
35
  ProvisioningArtifactParameters?: ProvisioningArtifactProperties[];
36
+ /**
37
+ * This property is turned off by default. If turned off, you can update provisioning artifacts or product attributes (such as description, distributor, name, owner, and more) and the associated provisioning artifacts will retain the same unique identifier. Provisioning artifacts are matched within the CloudFormationProduct resource, and only those that have been updated will be changed. Provisioning artifacts are matched by a combinaton of provisioning artifact template URL and name.
38
+ */
15
39
  ReplaceProvisioningArtifacts?: boolean;
40
+ /**
41
+ * A top level ProductViewDetail response containing details about the product's connection. AWS Service Catalog returns this field for the CreateProduct, UpdateProduct, DescribeProductAsAdmin, and SearchProductAsAdmin APIs. This response contains the same fields as the ConnectionParameters request, with the addition of the LastSync response.
42
+ */
16
43
  SourceConnection?: SourceConnection;
44
+ /**
45
+ * The support information about the product.
46
+ */
17
47
  SupportDescription?: string;
48
+ /**
49
+ * The contact email for product support.
50
+ */
18
51
  SupportEmail?: string;
52
+ /**
53
+ * The contact URL for product support.
54
+ */
19
55
  SupportUrl?: string;
56
+ /**
57
+ * One or more tags.
58
+ */
20
59
  Tags?: Tag[];
21
60
  };
22
61
  /**
@@ -24,9 +63,21 @@ export type ServiceCatalogCloudFormationProductProperties = {
24
63
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#aws-resource-servicecatalog-cloudformationproduct-return-values}
25
64
  */
26
65
  export type ServiceCatalogCloudFormationProductAttributes = {
66
+ /**
67
+ * The ID of the product, such as prod-tsjbmal34qvek
68
+ */
27
69
  Id: string;
70
+ /**
71
+ * The name of the product.
72
+ */
28
73
  ProductName: string;
74
+ /**
75
+ * The IDs of the provisioning artifacts
76
+ */
29
77
  ProvisioningArtifactIds: string;
78
+ /**
79
+ * The names of the provisioning artifacts
80
+ */
30
81
  ProvisioningArtifactNames: string;
31
82
  };
32
83
  /**
@@ -34,35 +85,78 @@ export type ServiceCatalogCloudFormationProductAttributes = {
34
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-codestarparameters.html}
35
86
  */
36
87
  export type CodeStarParameters = {
88
+ /**
89
+ * The absolute path where the artifact resides within the repo and branch, formatted as "folder/file.json".
90
+ */
37
91
  ArtifactPath: string;
92
+ /**
93
+ * The specific branch where the artifact resides.
94
+ */
38
95
  Branch: string;
96
+ /**
97
+ * The CodeStar ARN, which is the connection between AWS Service Catalog and the external repository.
98
+
99
+
100
+ */
39
101
  ConnectionArn: string;
102
+ /**
103
+ * The specific repository where the product's artifact-to-be-synced resides, formatted as "Account/Repo."
104
+ */
40
105
  Repository: string;
41
106
  };
42
- /**
43
- * Type definition for `AWS::ServiceCatalog::CloudFormationProduct.ConnectionParameters`.
44
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-connectionparameters.html}
45
- */
46
- export type ConnectionParameters = {
47
- CodeStar?: CodeStarParameters;
48
- };
49
107
  /**
50
108
  * Type definition for `AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties`.
51
109
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html}
52
110
  */
53
111
  export type ProvisioningArtifactProperties = {
112
+ /**
113
+ * The description of the provisioning artifact, including how it differs from the previous provisioning artifact.
114
+ */
54
115
  Description?: string;
116
+ /**
117
+ * If set to true, AWS Service Catalog stops validating the specified provisioning artifact even if it is invalid.
118
+ */
55
119
  DisableTemplateValidation?: boolean;
56
- Info: Record<string, any>;
120
+ /**
121
+ * Specify the template source with one of the following options, but not both. Keys accepted: [ LoadTemplateFromURL, ImportFromPhysicalId ] The URL of the AWS CloudFormation template in Amazon S3 in JSON format. Specify the URL in JSON format as follows:
122
+
123
+ "LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."
124
+
125
+ ImportFromPhysicalId: The physical id of the resource that contains the template. Currently only supports AWS CloudFormation stack arn. Specify the physical id in JSON format as follows: ImportFromPhysicalId: "arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]
126
+ */
127
+ Info: {
128
+ /**
129
+ * The physical id of the resource that contains the template. Currently only supports AWS CloudFormation stack arn
130
+ */
131
+ ImportFromPhysicalId?: string;
132
+ /**
133
+ * The URL of the AWS CloudFormation template in Amazon S3 in JSON format.
134
+ */
135
+ LoadTemplateFromURL?: string;
136
+ };
137
+ /**
138
+ * The name of the provisioning artifact (for example, v1 v2beta). No spaces are allowed.
139
+ */
57
140
  Name?: string;
58
- Type?: string;
141
+ /**
142
+ * The type of provisioning artifact. Valid values are CLOUD_FORMATION_TEMPLATE, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, EXTERNAL
143
+ */
144
+ Type?: "CLOUD_FORMATION_TEMPLATE" | "MARKETPLACE_AMI" | "MARKETPLACE_CAR" | "TERRAFORM_OPEN_SOURCE" | "TERRAFORM_CLOUD" | "EXTERNAL";
59
145
  };
60
146
  /**
61
147
  * Type definition for `AWS::ServiceCatalog::CloudFormationProduct.SourceConnection`.
62
148
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-sourceconnection.html}
63
149
  */
64
150
  export type SourceConnection = {
65
- ConnectionParameters: ConnectionParameters;
151
+ /**
152
+ * The connection details based on the connection Type.
153
+ */
154
+ ConnectionParameters: {
155
+ CodeStar?: CodeStarParameters;
156
+ };
157
+ /**
158
+ * The only supported SourceConnection type is Codestar.
159
+ */
66
160
  Type: string;
67
161
  };
68
162
  /**
@@ -70,11 +164,17 @@ export type SourceConnection = {
70
164
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-tag.html}
71
165
  */
72
166
  export type Tag = {
167
+ /**
168
+ * The tag key.
169
+ */
73
170
  Key: string;
171
+ /**
172
+ * The tag value
173
+ */
74
174
  Value: string;
75
175
  };
76
176
  /**
77
- * Resource Type definition for AWS::ServiceCatalog::CloudFormationProduct
177
+ * Resource type definition for AWS::ServiceCatalog::CloudFormationProduct
78
178
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html}
79
179
  */
80
180
  export declare class ServiceCatalogCloudFormationProduct extends $Resource<"AWS::ServiceCatalog::CloudFormationProduct", ServiceCatalogCloudFormationProductProperties, ServiceCatalogCloudFormationProductAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::ServiceCatalog::CloudFormationProduct
3
+ * Resource type definition for AWS::ServiceCatalog::CloudFormationProduct
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html}
5
5
  */
6
6
  export class ServiceCatalogCloudFormationProduct extends $Resource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.468",
3
+ "version": "0.1.470",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },