@awboost/cfn-resource-types 0.1.28 → 0.1.29

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.
@@ -1,42 +1,94 @@
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::EC2::Subnet
4
+ * Resource type definition for `AWS::EC2::Subnet`.
5
+ * Specifies a subnet for the specified VPC.
6
+ For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.
7
+ For more information, see [Subnets for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html) in the *Amazon VPC User Guide*.
5
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html}
6
9
  */
7
10
  export type EC2SubnetProperties = {
11
+ /**
12
+ * Indicates whether a network interface created in this subnet receives an IPv6 address. The default value is ``false``.
13
+ If you specify ``AssignIpv6AddressOnCreation``, you must also specify an IPv6 CIDR block.
14
+ */
8
15
  AssignIpv6AddressOnCreation?: boolean;
16
+ /**
17
+ * The Availability Zone of the subnet.
18
+ If you update this property, you must also update the ``CidrBlock`` property.
19
+ */
9
20
  AvailabilityZone?: string;
21
+ /**
22
+ * The AZ ID of the subnet.
23
+ */
10
24
  AvailabilityZoneId?: string;
25
+ /**
26
+ * The IPv4 CIDR block assigned to the subnet.
27
+ If you update this property, we create a new subnet, and then delete the existing one.
28
+ */
11
29
  CidrBlock?: string;
30
+ /**
31
+ * Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. For more information, see [DNS64 and NAT64](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-nat64-dns64) in the *User Guide*.
32
+ */
12
33
  EnableDns64?: boolean;
13
34
  /**
14
- * The ID of an IPv4 IPAM pool you want to use for allocating this subnet's CIDR
35
+ * An IPv4 IPAM pool ID for the subnet.
15
36
  */
16
37
  Ipv4IpamPoolId?: string;
17
38
  /**
18
- * The netmask length of the IPv4 CIDR you want to allocate to this subnet from an Amazon VPC IP Address Manager (IPAM) pool
39
+ * An IPv4 netmask length for the subnet.
19
40
  */
20
41
  Ipv4NetmaskLength?: number;
42
+ /**
43
+ * The IPv6 CIDR block.
44
+ If you specify ``AssignIpv6AddressOnCreation``, you must also specify an IPv6 CIDR block.
45
+ */
21
46
  Ipv6CidrBlock?: string;
47
+ /**
48
+ * The IPv6 network ranges for the subnet, in CIDR notation.
49
+ */
22
50
  Ipv6CidrBlocks?: string[];
23
51
  /**
24
- * The ID of an IPv6 IPAM pool you want to use for allocating this subnet's CIDR
52
+ * An IPv6 IPAM pool ID for the subnet.
25
53
  */
26
54
  Ipv6IpamPoolId?: string;
55
+ /**
56
+ * Indicates whether this is an IPv6 only subnet. For more information, see [Subnet basics](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#subnet-basics) in the *User Guide*.
57
+ */
27
58
  Ipv6Native?: boolean;
28
59
  /**
29
- * The netmask length of the IPv6 CIDR you want to allocate to this subnet from an Amazon VPC IP Address Manager (IPAM) pool
60
+ * An IPv6 netmask length for the subnet.
30
61
  */
31
62
  Ipv6NetmaskLength?: number;
63
+ /**
64
+ * Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is ``false``.
65
+ AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/).
66
+ */
32
67
  MapPublicIpOnLaunch?: boolean;
68
+ /**
69
+ * The Amazon Resource Name (ARN) of the Outpost.
70
+ */
33
71
  OutpostArn?: string;
72
+ /**
73
+ * The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled. For more information, see [Amazon EC2 instance hostname types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) in the *User Guide*.
74
+ Available options:
75
+ + EnableResourceNameDnsAAAARecord (true | false)
76
+ + EnableResourceNameDnsARecord (true | false)
77
+ + HostnameType (ip-name | resource-name)
78
+ */
34
79
  PrivateDnsNameOptionsOnLaunch?: {
35
80
  EnableResourceNameDnsAAAARecord?: boolean;
36
81
  EnableResourceNameDnsARecord?: boolean;
37
82
  HostnameType?: string;
38
83
  };
84
+ /**
85
+ * Any tags assigned to the subnet.
86
+ */
39
87
  Tags?: Tag[];
88
+ /**
89
+ * The ID of the VPC the subnet is in.
90
+ If you update this property, you must also update the ``CidrBlock`` property.
91
+ */
40
92
  VpcId: string;
41
93
  };
42
94
  /**
@@ -44,25 +96,29 @@ export type EC2SubnetProperties = {
44
96
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#aws-resource-ec2-subnet-return-values}
45
97
  */
46
98
  export type EC2SubnetAttributes = {
47
- /**
48
- * The ID of the network ACL that is associated with the subnet's VPC
49
- */
50
99
  NetworkAclAssociationId: string;
51
- /**
52
- * The ID of the subnet
53
- */
54
100
  SubnetId: string;
55
101
  };
56
102
  /**
57
103
  * Type definition for `AWS::EC2::Subnet.Tag`.
104
+ * 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).
58
105
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-subnet-tag.html}
59
106
  */
60
107
  export type Tag = {
108
+ /**
109
+ * The tag key.
110
+ */
61
111
  Key: string;
112
+ /**
113
+ * The tag value.
114
+ */
62
115
  Value: string;
63
116
  };
64
117
  /**
65
- * Resource Type definition for AWS::EC2::Subnet
118
+ * Resource type definition for `AWS::EC2::Subnet`.
119
+ * Specifies a subnet for the specified VPC.
120
+ For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.
121
+ For more information, see [Subnets for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html) in the *Amazon VPC User Guide*.
66
122
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html}
67
123
  */
68
124
  export declare class EC2Subnet extends $Resource<"AWS::EC2::Subnet", EC2SubnetProperties, EC2SubnetAttributes> {
@@ -1,6 +1,9 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::EC2::Subnet
3
+ * Resource type definition for `AWS::EC2::Subnet`.
4
+ * Specifies a subnet for the specified VPC.
5
+ For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.
6
+ For more information, see [Subnets for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html) in the *Amazon VPC User Guide*.
4
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html}
5
8
  */
6
9
  export class EC2Subnet extends $Resource {
@@ -19,6 +19,11 @@ export type QuickSightDashboardProperties = {
19
19
  DashboardId: string;
20
20
  DashboardPublishOptions?: DashboardPublishOptions;
21
21
  Definition?: DashboardVersionDefinition;
22
+ /**
23
+ * @minLength `0`
24
+ * @maxLength `5`
25
+ */
26
+ LinkEntities?: string[];
22
27
  LinkSharingConfiguration?: LinkSharingConfiguration;
23
28
  /**
24
29
  * @minLength `1`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },