@awboost/cfn-resource-types 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/AWS-ApiGateway-Authorizer.d.ts +1 -1
- package/lib/AWS-ApiGateway-Method.d.ts +2 -2
- package/lib/AWS-CloudFront-Distribution.d.ts +568 -2
- package/lib/AWS-CloudFront-Distribution.js +2 -1
- package/lib/AWS-Config-ConfigRule.d.ts +61 -43
- package/lib/AWS-Config-ConfigRule.js +4 -1
- package/lib/AWS-Connect-Prompt.d.ts +1 -1
- package/lib/AWS-ControlTower-EnabledControl.d.ts +25 -0
- package/lib/AWS-DynamoDB-Table.d.ts +245 -11
- package/lib/AWS-DynamoDB-Table.js +5 -1
- package/lib/AWS-EC2-ClientVpnEndpoint.d.ts +0 -8
- package/lib/AWS-EC2-EC2Fleet.d.ts +1 -0
- package/lib/AWS-EC2-EIP.d.ts +31 -19
- package/lib/AWS-EC2-EIP.js +4 -1
- package/lib/AWS-EC2-LaunchTemplate.d.ts +422 -205
- package/lib/AWS-EC2-LaunchTemplate.js +8 -1
- package/lib/AWS-EC2-SecurityGroupEgress.d.ts +34 -19
- package/lib/AWS-EC2-SecurityGroupEgress.js +6 -1
- package/lib/AWS-EC2-SpotFleet.d.ts +1 -0
- package/lib/AWS-EC2-Volume.d.ts +68 -20
- package/lib/AWS-EC2-Volume.js +9 -1
- package/lib/AWS-ElastiCache-ParameterGroup.d.ts +1 -0
- package/lib/AWS-GameLift-Fleet.d.ts +1 -1
- package/lib/AWS-Glue-DataCatalogEncryptionSettings.d.ts +1 -0
- package/lib/AWS-Glue-TableOptimizer.d.ts +2 -2
- package/lib/AWS-IAM-GroupPolicy.d.ts +19 -8
- package/lib/AWS-IAM-GroupPolicy.js +3 -1
- package/lib/AWS-Lambda-Function.d.ts +78 -62
- package/lib/AWS-Lambda-Function.js +3 -1
- package/lib/AWS-Lambda-Permission.d.ts +29 -19
- package/lib/AWS-Lambda-Permission.js +3 -1
- package/lib/AWS-MediaPackageV2-Channel.d.ts +32 -4
- package/lib/AWS-MediaPackageV2-Channel.js +2 -1
- package/lib/AWS-MediaPackageV2-ChannelGroup.d.ts +18 -3
- package/lib/AWS-MediaPackageV2-ChannelGroup.js +2 -1
- package/lib/AWS-MediaPackageV2-ChannelPolicy.d.ts +6 -4
- package/lib/AWS-MediaPackageV2-ChannelPolicy.js +2 -1
- package/lib/AWS-MediaPackageV2-OriginEndpoint.d.ts +4 -4
- package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.d.ts +7 -5
- package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.js +2 -1
- package/lib/AWS-RDS-DBCluster.d.ts +0 -4
- package/lib/AWS-RDS-DBInstance.d.ts +491 -181
- package/lib/AWS-RDS-DBInstance.js +5 -1
- package/lib/AWS-RDS-DBParameterGroup.d.ts +41 -15
- package/lib/AWS-RDS-DBParameterGroup.js +5 -1
- package/lib/AWS-RDS-DBSubnetGroup.d.ts +20 -8
- package/lib/AWS-RDS-DBSubnetGroup.js +2 -1
- package/lib/AWS-SageMaker-FeatureGroup.d.ts +25 -0
- package/lib/AWS-SecretsManager-Secret.d.ts +51 -32
- package/lib/AWS-SecretsManager-Secret.js +6 -1
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::EC2::LaunchTemplate`.
|
|
4
|
+
* Specifies the properties for creating a launch template.
|
|
5
|
+
The minimum required properties for specifying a launch template are as follows:
|
|
6
|
+
+ You must specify at least one property for the launch template data.
|
|
7
|
+
+ You do not need to specify a name for the launch template. If you do not specify a name, CFN creates the name for you.
|
|
8
|
+
|
|
9
|
+
A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property.
|
|
10
|
+
For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*.
|
|
4
11
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html}
|
|
5
12
|
*/
|
|
6
13
|
export class EC2LaunchTemplate extends $Resource {
|
|
@@ -1,32 +1,44 @@
|
|
|
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
|
|
4
|
+
* Resource type definition for `AWS::EC2::SecurityGroupEgress`.
|
|
5
|
+
* Adds the specified outbound (egress) rule to a security group.
|
|
6
|
+
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 address range, the IP addresses that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see [Security group rules](https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html).
|
|
7
|
+
You must specify exactly one of the following destinations: an IPv4 or IPv6 address range, a prefix list, or a security group. Otherwise, the stack launches successfully but the rule is not added to the security group.
|
|
8
|
+
You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. To specify all types or all codes, use -1.
|
|
9
|
+
Rule changes are propagated to instances associated with the security group as quickly as possible
|
|
5
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html}
|
|
6
11
|
*/
|
|
7
12
|
export type EC2SecurityGroupEgressProperties = {
|
|
8
13
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
* The IPv4 address range, in CIDR format.
|
|
15
|
+
You must specify a destination security group (``DestinationPrefixListId`` or ``DestinationSecurityGroupId``) or a CIDR range (``CidrIp`` or ``CidrIpv6``).
|
|
16
|
+
For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *User Guide*.
|
|
17
|
+
*/
|
|
11
18
|
CidrIp?: string;
|
|
12
19
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
* The IPv6 address range, in CIDR format.
|
|
21
|
+
You must specify a destination security group (``DestinationPrefixListId`` or ``DestinationSecurityGroupId``) or a CIDR range (``CidrIp`` or ``CidrIpv6``).
|
|
22
|
+
For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *User Guide*.
|
|
23
|
+
*/
|
|
15
24
|
CidrIpv6?: string;
|
|
16
25
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
* The description of an egress (outbound) security group rule.
|
|
27
|
+
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
|
|
28
|
+
*/
|
|
19
29
|
Description?: string;
|
|
20
30
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
31
|
+
* The prefix list IDs for an AWS service. This is the AWS service that you want to access through a VPC endpoint from instances associated with the security group.
|
|
32
|
+
You must specify a destination security group (``DestinationPrefixListId`` or ``DestinationSecurityGroupId``) or a CIDR range (``CidrIp`` or ``CidrIpv6``).
|
|
33
|
+
*/
|
|
23
34
|
DestinationPrefixListId?: string;
|
|
24
35
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
* The ID of the security group.
|
|
37
|
+
You must specify a destination security group (``DestinationPrefixListId`` or ``DestinationSecurityGroupId``) or a CIDR range (``CidrIp`` or ``CidrIpv6``).
|
|
38
|
+
*/
|
|
27
39
|
DestinationSecurityGroupId?: string;
|
|
28
40
|
/**
|
|
29
|
-
*
|
|
41
|
+
* If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).
|
|
30
42
|
*/
|
|
31
43
|
FromPort?: number;
|
|
32
44
|
/**
|
|
@@ -34,11 +46,12 @@ export type EC2SecurityGroupEgressProperties = {
|
|
|
34
46
|
*/
|
|
35
47
|
GroupId: string;
|
|
36
48
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
49
|
+
* The IP protocol name (``tcp``, ``udp``, ``icmp``, ``icmpv6``) or number (see [Protocol Numbers](https://docs.aws.amazon.com/http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
|
|
50
|
+
Use ``-1`` to specify all protocols. When authorizing security group rules, specifying ``-1`` or a protocol number other than ``tcp``, ``udp``, ``icmp``, or ``icmpv6`` allows traffic on all ports, regardless of any port range you specify. For ``tcp``, ``udp``, and ``icmp``, you must specify a port range. For ``icmpv6``, the port range is optional; if you omit the port range, traffic for all types and codes is allowed.
|
|
51
|
+
*/
|
|
39
52
|
IpProtocol: string;
|
|
40
53
|
/**
|
|
41
|
-
*
|
|
54
|
+
* If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).
|
|
42
55
|
*/
|
|
43
56
|
ToPort?: number;
|
|
44
57
|
};
|
|
@@ -47,13 +60,15 @@ export type EC2SecurityGroupEgressProperties = {
|
|
|
47
60
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#aws-resource-ec2-securitygroupegress-return-values}
|
|
48
61
|
*/
|
|
49
62
|
export type EC2SecurityGroupEgressAttributes = {
|
|
50
|
-
/**
|
|
51
|
-
* The Security Group Rule Id
|
|
52
|
-
*/
|
|
53
63
|
Id: string;
|
|
54
64
|
};
|
|
55
65
|
/**
|
|
56
|
-
* Resource
|
|
66
|
+
* Resource type definition for `AWS::EC2::SecurityGroupEgress`.
|
|
67
|
+
* Adds the specified outbound (egress) rule to a security group.
|
|
68
|
+
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 address range, the IP addresses that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see [Security group rules](https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html).
|
|
69
|
+
You must specify exactly one of the following destinations: an IPv4 or IPv6 address range, a prefix list, or a security group. Otherwise, the stack launches successfully but the rule is not added to the security group.
|
|
70
|
+
You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. To specify all types or all codes, use -1.
|
|
71
|
+
Rule changes are propagated to instances associated with the security group as quickly as possible
|
|
57
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html}
|
|
58
73
|
*/
|
|
59
74
|
export declare class EC2SecurityGroupEgress extends $Resource<"AWS::EC2::SecurityGroupEgress", EC2SecurityGroupEgressProperties, EC2SecurityGroupEgressAttributes> {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::EC2::SecurityGroupEgress`.
|
|
4
|
+
* Adds the specified outbound (egress) rule to a security group.
|
|
5
|
+
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 address range, the IP addresses that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see [Security group rules](https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html).
|
|
6
|
+
You must specify exactly one of the following destinations: an IPv4 or IPv6 address range, a prefix list, or a security group. Otherwise, the stack launches successfully but the rule is not added to the security group.
|
|
7
|
+
You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. To specify all types or all codes, use -1.
|
|
8
|
+
Rule changes are propagated to instances associated with the security group as quickly as possible
|
|
4
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html}
|
|
5
10
|
*/
|
|
6
11
|
export class EC2SecurityGroupEgress extends $Resource {
|
|
@@ -145,6 +145,7 @@ export type InstanceRequirementsRequest = {
|
|
|
145
145
|
InstanceGenerations?: ("current" | "previous")[];
|
|
146
146
|
LocalStorage?: "included" | "required" | "excluded";
|
|
147
147
|
LocalStorageTypes?: ("hdd" | "ssd")[];
|
|
148
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
|
|
148
149
|
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
149
150
|
MemoryMiB?: MemoryMiBRequest;
|
|
150
151
|
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
package/lib/AWS-EC2-Volume.d.ts
CHANGED
|
@@ -1,41 +1,70 @@
|
|
|
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
|
|
4
|
+
* Resource type definition for `AWS::EC2::Volume`.
|
|
5
|
+
* Specifies an Amazon Elastic Block Store (Amazon EBS) volume.
|
|
6
|
+
When you use CFNlong to update an Amazon EBS volume that modifies ``Iops``, ``Size``, or ``VolumeType``, there is a cooldown period before another operation can occur. This can cause your stack to report being in ``UPDATE_IN_PROGRESS`` or ``UPDATE_ROLLBACK_IN_PROGRESS`` for long periods of time.
|
|
7
|
+
Amazon EBS does not support sizing down an Amazon EBS volume. CFNlong does not attempt to modify an Amazon EBS volume to a smaller size on rollback.
|
|
8
|
+
Some common scenarios when you might encounter a cooldown period for Amazon EBS include:
|
|
9
|
+
+ You successfully update an Amazon EBS volume and the update succeeds. When you attempt another update within the cooldown window, that update will be subject to a cooldown period.
|
|
10
|
+
+ You successfully update an Amazon EBS volume and the update succeeds but another change in your ``update-stack`` call fails. The rollback will be subject to a cooldown period.
|
|
11
|
+
|
|
12
|
+
For more information on the coo
|
|
5
13
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html}
|
|
6
14
|
*/
|
|
7
15
|
export type EC2VolumeProperties = {
|
|
8
16
|
/**
|
|
9
|
-
*
|
|
17
|
+
* Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
|
|
10
18
|
*/
|
|
11
19
|
AutoEnableIO?: boolean;
|
|
12
20
|
/**
|
|
13
|
-
* The Availability Zone in which to create the volume.
|
|
21
|
+
* The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a``.
|
|
14
22
|
*/
|
|
15
23
|
AvailabilityZone: string;
|
|
16
24
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
* 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/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default) in the *Amazon Elastic Compute Cloud User Guide*.
|
|
26
|
+
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/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances).
|
|
27
|
+
*/
|
|
19
28
|
Encrypted?: boolean;
|
|
20
29
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
* 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.
|
|
31
|
+
The following are the supported values for each volume type:
|
|
32
|
+
+ ``gp3``: 3,000 - 16,000 IOPS
|
|
33
|
+
+ ``io1``: 100 - 64,000 IOPS
|
|
34
|
+
+ ``io2``: 100 - 256,000 IOPS
|
|
35
|
+
|
|
36
|
+
For ``io2`` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). On other instances, you can achieve performance up to 32,000 IOPS.
|
|
37
|
+
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.
|
|
38
|
+
*/
|
|
23
39
|
Iops?: number;
|
|
24
40
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
41
|
+
* The identifier of the kms-key-long to use for Amazon EBS encryption. If ``KmsKeyId`` is specified, the encrypted state must be ``true``.
|
|
42
|
+
If you omit this property and your account is enabled for encryption by default, or *Encrypted* is set to ``true``, then the volume is encrypted using the default key specified for your account. If your account does not have a default key, then the volume is encrypted using the aws-managed-key.
|
|
43
|
+
Alternatively, if you want to specify a different key, you can specify one of the following:
|
|
44
|
+
+ Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
|
45
|
+
+ Key alias. Specify the alias for the key, prefixed with ``alias/``. For example, for a key with the alias ``my_cmk``, use ``alias/my_cmk``. Or to specify the aws-managed-key, use ``alias/aws/ebs``.
|
|
46
|
+
+ Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
|
|
47
|
+
+ Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
|
48
|
+
*/
|
|
27
49
|
KmsKeyId?: string;
|
|
28
50
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
51
|
+
* Indicates whether Amazon EBS Multi-Attach is enabled.
|
|
52
|
+
CFNlong does not currently support updating a single-attach volume to be multi-attach enabled, updating a multi-attach enabled volume to be single-attach, or updating the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume.
|
|
53
|
+
*/
|
|
31
54
|
MultiAttachEnabled?: boolean;
|
|
32
55
|
/**
|
|
33
56
|
* The Amazon Resource Name (ARN) of the Outpost.
|
|
34
57
|
*/
|
|
35
58
|
OutpostArn?: string;
|
|
36
59
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
60
|
+
* 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.
|
|
61
|
+
The following are the supported volumes sizes for each volume type:
|
|
62
|
+
+ ``gp2`` and ``gp3``: 1 - 16,384 GiB
|
|
63
|
+
+ ``io1``: 4 - 16,384 GiB
|
|
64
|
+
+ ``io2``: 4 - 65,536 GiB
|
|
65
|
+
+ ``st1`` and ``sc1``: 125 - 16,384 GiB
|
|
66
|
+
+ ``standard``: 1 - 1024 GiB
|
|
67
|
+
*/
|
|
39
68
|
Size?: number;
|
|
40
69
|
/**
|
|
41
70
|
* The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
|
|
@@ -46,12 +75,22 @@ export type EC2VolumeProperties = {
|
|
|
46
75
|
*/
|
|
47
76
|
Tags?: Tag[];
|
|
48
77
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
78
|
+
* The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
|
|
79
|
+
This parameter is valid only for ``gp3`` volumes. The default value is 125.
|
|
80
|
+
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
81
|
+
*/
|
|
51
82
|
Throughput?: number;
|
|
52
83
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
84
|
+
* The volume type. This parameter can be one of the following values:
|
|
85
|
+
+ General Purpose SSD: ``gp2`` | ``gp3``
|
|
86
|
+
+ Provisioned IOPS SSD: ``io1`` | ``io2``
|
|
87
|
+
+ Throughput Optimized HDD: ``st1``
|
|
88
|
+
+ Cold HDD: ``sc1``
|
|
89
|
+
+ Magnetic: ``standard``
|
|
90
|
+
|
|
91
|
+
For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the *Amazon Elastic Compute Cloud User Guide*.
|
|
92
|
+
Default: ``gp2``
|
|
93
|
+
*/
|
|
55
94
|
VolumeType?: string;
|
|
56
95
|
};
|
|
57
96
|
/**
|
|
@@ -63,20 +102,29 @@ export type EC2VolumeAttributes = {
|
|
|
63
102
|
};
|
|
64
103
|
/**
|
|
65
104
|
* Type definition for `AWS::EC2::Volume.Tag`.
|
|
105
|
+
* Specifies a tag. For more information, see [Add tags to a resource](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#cloudformation-add-tag-specifications).
|
|
66
106
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-volume-tag.html}
|
|
67
107
|
*/
|
|
68
108
|
export type Tag = {
|
|
69
109
|
/**
|
|
70
|
-
* The key
|
|
110
|
+
* The tag key.
|
|
71
111
|
*/
|
|
72
112
|
Key: string;
|
|
73
113
|
/**
|
|
74
|
-
* The
|
|
114
|
+
* The tag value.
|
|
75
115
|
*/
|
|
76
116
|
Value: string;
|
|
77
117
|
};
|
|
78
118
|
/**
|
|
79
|
-
* Resource
|
|
119
|
+
* Resource type definition for `AWS::EC2::Volume`.
|
|
120
|
+
* Specifies an Amazon Elastic Block Store (Amazon EBS) volume.
|
|
121
|
+
When you use CFNlong to update an Amazon EBS volume that modifies ``Iops``, ``Size``, or ``VolumeType``, there is a cooldown period before another operation can occur. This can cause your stack to report being in ``UPDATE_IN_PROGRESS`` or ``UPDATE_ROLLBACK_IN_PROGRESS`` for long periods of time.
|
|
122
|
+
Amazon EBS does not support sizing down an Amazon EBS volume. CFNlong does not attempt to modify an Amazon EBS volume to a smaller size on rollback.
|
|
123
|
+
Some common scenarios when you might encounter a cooldown period for Amazon EBS include:
|
|
124
|
+
+ You successfully update an Amazon EBS volume and the update succeeds. When you attempt another update within the cooldown window, that update will be subject to a cooldown period.
|
|
125
|
+
+ You successfully update an Amazon EBS volume and the update succeeds but another change in your ``update-stack`` call fails. The rollback will be subject to a cooldown period.
|
|
126
|
+
|
|
127
|
+
For more information on the coo
|
|
80
128
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html}
|
|
81
129
|
*/
|
|
82
130
|
export declare class EC2Volume extends $Resource<"AWS::EC2::Volume", EC2VolumeProperties, EC2VolumeAttributes> {
|
package/lib/AWS-EC2-Volume.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::EC2::Volume`.
|
|
4
|
+
* Specifies an Amazon Elastic Block Store (Amazon EBS) volume.
|
|
5
|
+
When you use CFNlong to update an Amazon EBS volume that modifies ``Iops``, ``Size``, or ``VolumeType``, there is a cooldown period before another operation can occur. This can cause your stack to report being in ``UPDATE_IN_PROGRESS`` or ``UPDATE_ROLLBACK_IN_PROGRESS`` for long periods of time.
|
|
6
|
+
Amazon EBS does not support sizing down an Amazon EBS volume. CFNlong does not attempt to modify an Amazon EBS volume to a smaller size on rollback.
|
|
7
|
+
Some common scenarios when you might encounter a cooldown period for Amazon EBS include:
|
|
8
|
+
+ You successfully update an Amazon EBS volume and the update succeeds. When you attempt another update within the cooldown window, that update will be subject to a cooldown period.
|
|
9
|
+
+ You successfully update an Amazon EBS volume and the update succeeds but another change in your ``update-stack`` call fails. The rollback will be subject to a cooldown period.
|
|
10
|
+
|
|
11
|
+
For more information on the coo
|
|
4
12
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html}
|
|
5
13
|
*/
|
|
6
14
|
export class EC2Volume extends $Resource {
|
|
@@ -15,6 +15,7 @@ export type ElastiCacheParameterGroupProperties = {
|
|
|
15
15
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-parametergroup.html#aws-resource-elasticache-parametergroup-return-values}
|
|
16
16
|
*/
|
|
17
17
|
export type ElastiCacheParameterGroupAttributes = {
|
|
18
|
+
CacheParameterGroupName: string;
|
|
18
19
|
Id: string;
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
@@ -10,7 +10,7 @@ export type GameLiftFleetProperties = {
|
|
|
10
10
|
*/
|
|
11
11
|
AnywhereConfiguration?: AnywhereConfiguration;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Determines whether to apply fleet or location capacities on fleet creation.
|
|
14
14
|
*/
|
|
15
15
|
ApplyCapacity?: "ON_UPDATE" | "ON_CREATE_AND_UPDATE";
|
|
16
16
|
/**
|
|
@@ -23,8 +23,8 @@ export type GlueTableOptimizerAttributes = {
|
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html}
|
|
24
24
|
*/
|
|
25
25
|
export type TableOptimizerConfiguration = {
|
|
26
|
-
Enabled
|
|
27
|
-
RoleArn
|
|
26
|
+
Enabled: boolean;
|
|
27
|
+
RoleArn: string;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Resource Type definition for AWS::Glue::TableOptimizer
|
|
@@ -2,26 +2,37 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
4
|
* Resource type definition for `AWS::IAM::GroupPolicy`.
|
|
5
|
-
*
|
|
5
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group.
|
|
6
|
+
A group can also have managed policies attached to it. To attach a managed policy to a group, use [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
7
|
+
For information about the maximum number of inline policies that you can embed in a group, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
6
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html}
|
|
7
9
|
*/
|
|
8
10
|
export type IAMGroupPolicyProperties = {
|
|
9
11
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
* The name of the group to associate the policy with.
|
|
13
|
+
This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
|
|
14
|
+
*/
|
|
12
15
|
GroupName: string;
|
|
13
16
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
* The policy document.
|
|
18
|
+
You must provide policies in JSON format in IAM. However, for CFN templates formatted in YAML, you can provide the policy in JSON or YAML format. CFN always converts a YAML policy to JSON format before submitting it to IAM.
|
|
19
|
+
The [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) used to validate this parameter is a string of characters consisting of the following:
|
|
20
|
+
+ Any printable ASCII character ranging from the space character (``\u0020``) through the end of the ASCII character range
|
|
21
|
+
+ The printable characters in the Basic Latin and Latin-1 Supplement character set (through ``\u00FF``)
|
|
22
|
+
+ The special characters tab (``\u0009``), line feed (``\u000A``), and carriage return (``\u000D``)
|
|
23
|
+
*/
|
|
16
24
|
PolicyDocument?: Record<string, any>;
|
|
17
25
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
* The name of the policy document.
|
|
27
|
+
This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
28
|
+
*/
|
|
20
29
|
PolicyName: string;
|
|
21
30
|
};
|
|
22
31
|
/**
|
|
23
32
|
* Resource type definition for `AWS::IAM::GroupPolicy`.
|
|
24
|
-
*
|
|
33
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group.
|
|
34
|
+
A group can also have managed policies attached to it. To attach a managed policy to a group, use [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
35
|
+
For information about the maximum number of inline policies that you can embed in a group, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
25
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html}
|
|
26
37
|
*/
|
|
27
38
|
export declare class IAMGroupPolicy extends $Resource<"AWS::IAM::GroupPolicy", IAMGroupPolicyProperties, Record<string, never>> {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
3
|
* Resource type definition for `AWS::IAM::GroupPolicy`.
|
|
4
|
-
*
|
|
4
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group.
|
|
5
|
+
A group can also have managed policies attached to it. To attach a managed policy to a group, use [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
6
|
+
For information about the maximum number of inline policies that you can embed in a group, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html}
|
|
6
8
|
*/
|
|
7
9
|
export class IAMGroupPolicy extends $Resource {
|