@awboost/cfn-resource-types 0.1.27 → 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`
@@ -5,32 +5,53 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html}
6
6
  */
7
7
  export type RedshiftServerlessWorkgroupProperties = {
8
+ /**
9
+ * The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
10
+ */
8
11
  BaseCapacity?: number;
12
+ /**
13
+ * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
14
+ */
9
15
  EnhancedVpcRouting?: boolean;
10
16
  /**
17
+ * The max compute capacity of the workgroup in Redshift Processing Units (RPUs).
18
+ */
19
+ MaxCapacity?: number;
20
+ /**
21
+ * The namespace the workgroup is associated with.
11
22
  * @minLength `3`
12
23
  * @maxLength `64`
13
24
  * @pattern `^(?=^[a-z0-9-]+$).{3,64}$`
14
25
  */
15
26
  NamespaceName?: string;
27
+ /**
28
+ * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
29
+ */
16
30
  Port?: number;
31
+ /**
32
+ * A value that specifies whether the workgroup can be accessible from a public network.
33
+ */
17
34
  PubliclyAccessible?: boolean;
18
35
  /**
36
+ * A list of security group IDs to associate with the workgroup.
19
37
  * @minLength `1`
20
38
  * @maxLength `32`
21
39
  */
22
40
  SecurityGroupIds?: string[];
23
41
  /**
42
+ * A list of subnet IDs the workgroup is associated with.
24
43
  * @minLength `1`
25
44
  * @maxLength `32`
26
45
  */
27
46
  SubnetIds?: string[];
28
47
  /**
48
+ * The map of the key-value pairs used to tag the workgroup.
29
49
  * @minLength `0`
30
50
  * @maxLength `200`
31
51
  */
32
52
  Tags?: Tag[];
33
53
  /**
54
+ * The name of the workgroup.
34
55
  * @minLength `3`
35
56
  * @maxLength `64`
36
57
  * @pattern `^(?=^[a-z0-9-]+$).{3,64}$`
@@ -43,6 +64,7 @@ export type RedshiftServerlessWorkgroupProperties = {
43
64
  */
44
65
  export type RedshiftServerlessWorkgroupAttributes = {
45
66
  /**
67
+ * A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl.
46
68
  * @minLength `1`
47
69
  */
48
70
  ConfigParameters: {
@@ -57,6 +79,9 @@ export type RedshiftServerlessWorkgroupAttributes = {
57
79
  */
58
80
  ParameterValue: string;
59
81
  }[];
82
+ /**
83
+ * Definition for workgroup resource
84
+ */
60
85
  Workgroup: {
61
86
  BaseCapacity: number;
62
87
  ConfigParameters: {
@@ -87,6 +112,7 @@ export type RedshiftServerlessWorkgroupAttributes = {
87
112
  }[];
88
113
  };
89
114
  EnhancedVpcRouting: boolean;
115
+ MaxCapacity: number;
90
116
  /**
91
117
  * @minLength `3`
92
118
  * @maxLength `64`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },