@awboost/cfn-resource-types 0.1.436 → 0.1.438

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,30 +1,59 @@
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::AmazonMQ::Broker
4
+ * Resource type definition for AWS::AmazonMQ::Broker
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
6
6
  */
7
7
  export type AmazonMQBrokerProperties = {
8
8
  AuthenticationStrategy?: string;
9
9
  AutoMinorVersionUpgrade?: boolean;
10
+ /**
11
+ * @pattern `^[0-9A-Za-z_-]{1,50}$`
12
+ */
10
13
  BrokerName: string;
14
+ /**
15
+ * The intended configuration (ID and revision) to be set when creating or updating.
16
+ This property is write-only so that applications of a ConfigurationAssociation do not cause drift.
17
+
18
+ */
11
19
  Configuration?: ConfigurationId;
12
20
  DataReplicationMode?: string;
21
+ /**
22
+ * The ARN of the primary broker that is used to replicate data from in a data replication pair when creating a replica.
23
+ This field is only used at creation-time. Changes to it subsequently are ignored by CloudFormation.
24
+ Information on the current primary is available on the DataReplicationMetadata object returned by the API.
25
+
26
+ * @pattern `^arn:.*`
27
+ */
13
28
  DataReplicationPrimaryBrokerArn?: string;
14
29
  DeploymentMode: string;
15
30
  EncryptionOptions?: EncryptionOptions;
16
31
  EngineType: string;
32
+ /**
33
+ * The version specified to use. See also EngineVersionCurrent.
34
+ */
17
35
  EngineVersion?: string;
18
36
  HostInstanceType: string;
19
37
  LdapServerMetadata?: LdapServerMetadata;
20
38
  Logs?: LogList;
21
39
  MaintenanceWindowStartTime?: MaintenanceWindow;
22
40
  PubliclyAccessible: boolean;
41
+ /**
42
+ * @minLength `1`
43
+ * @maxLength `5`
44
+ */
23
45
  SecurityGroups?: string[];
24
46
  StorageType?: string;
25
47
  SubnetIds?: string[];
26
48
  Tags?: TagsEntry[];
27
- Users: User[];
49
+ /**
50
+ * Users to configure on the broker.
51
+ For RabbitMQ, this should be one user, created when the broker is created, and changes thereafter are ignored.
52
+ For ActiveMQ, changes to anything but Password are detected and will trigger an update,
53
+ but changes to Password cannot be detected so updates to Password may not take effect unless there is some other change.
54
+
55
+ */
56
+ Users?: User[];
28
57
  };
29
58
  /**
30
59
  * Attribute type definition for `AWS::AmazonMQ::Broker`.
@@ -32,10 +61,23 @@ export type AmazonMQBrokerProperties = {
32
61
  */
33
62
  export type AmazonMQBrokerAttributes = {
34
63
  AmqpEndpoints: string[];
64
+ /**
65
+ * @pattern `^arn:.*`
66
+ */
35
67
  Arn: string;
68
+ /**
69
+ * The ID of the current actual configuration.
70
+ */
36
71
  ConfigurationId: string;
37
- ConfigurationRevision: number;
72
+ /**
73
+ * The revision of the current actual configuration.
74
+ */
75
+ ConfigurationRevision: string;
38
76
  ConsoleURLs: string[];
77
+ /**
78
+ * The version in use. This may have more precision than the specified EngineVersion.
79
+ */
80
+ EngineVersionCurrent: string;
39
81
  Id: string;
40
82
  IpAddresses: string[];
41
83
  MqttEndpoints: string[];
@@ -56,6 +98,13 @@ export type ConfigurationId = {
56
98
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-encryptionoptions.html}
57
99
  */
58
100
  export type EncryptionOptions = {
101
+ /**
102
+ * The customer master key (CMK) to use for the A KMS (KMS).
103
+ This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
104
+ The Key ARN is recommended so that drift can be detected,
105
+ but a key ID or key alias will also be accepted for API compatibility reasons.
106
+
107
+ */
59
108
  KmsKeyId?: string;
60
109
  UseAwsOwnedKey: boolean;
61
110
  };
@@ -69,7 +118,7 @@ export type LdapServerMetadata = {
69
118
  RoleName?: string;
70
119
  RoleSearchMatching: string;
71
120
  RoleSearchSubtree?: boolean;
72
- ServiceAccountPassword: string;
121
+ ServiceAccountPassword?: string;
73
122
  ServiceAccountUsername: string;
74
123
  UserBase: string;
75
124
  UserRoleName?: string;
@@ -89,8 +138,21 @@ export type LogList = {
89
138
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html}
90
139
  */
91
140
  export type MaintenanceWindow = {
141
+ /**
142
+ * _Allowed Values_: <code>MONDAY</code> | <code>TUESDAY</code> | <code>WEDNESDAY</code> | <code>THURSDAY</code> | <code>FRIDAY</code> | <code>SATURDAY</code> | <code>SUNDAY</code>
143
+
144
+ */
92
145
  DayOfWeek: string;
146
+ /**
147
+ * The time, in 24-hour format, and use only numbers separated by a colon, HH:MM or HH:MM:SS. Example: 13:05.
148
+ When writing YAML this may need to be quoted to prevent a timestamp being read and converted to a number of minutes or seconds.
149
+
150
+ * @pattern `^[0-9]{1,2}:[0-9]{2}(:[0-9]{2})?$`
151
+ */
93
152
  TimeOfDay: string;
153
+ /**
154
+ * The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
155
+ */
94
156
  TimeZone: string;
95
157
  };
96
158
  /**
@@ -107,13 +169,23 @@ export type TagsEntry = {
107
169
  */
108
170
  export type User = {
109
171
  ConsoleAccess?: boolean;
172
+ /**
173
+ * @maxLength `20`
174
+ */
110
175
  Groups?: string[];
176
+ /**
177
+ * @minLength `12`
178
+ * @pattern `^[^,:=]+$`
179
+ */
111
180
  Password: string;
112
181
  ReplicationUser?: boolean;
182
+ /**
183
+ * @pattern `^[A-Za-z0-9_.~-]{2,100}$`
184
+ */
113
185
  Username: string;
114
186
  };
115
187
  /**
116
- * Resource Type definition for AWS::AmazonMQ::Broker
188
+ * Resource type definition for AWS::AmazonMQ::Broker
117
189
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
118
190
  */
119
191
  export declare class AmazonMQBroker extends $Resource<"AWS::AmazonMQ::Broker", AmazonMQBrokerProperties, AmazonMQBrokerAttributes> {
@@ -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::AmazonMQ::Broker
3
+ * Resource type definition for AWS::AmazonMQ::Broker
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
5
5
  */
6
6
  export class AmazonMQBroker extends $Resource {
@@ -0,0 +1,98 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterface`.
5
+ * Resource Type definition for Local Gateway Virtual Interface which describes a virtual interface for AWS Outposts local gateways.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterface.html}
7
+ */
8
+ export type EC2LocalGatewayVirtualInterfaceProperties = {
9
+ /**
10
+ * The local address.
11
+ */
12
+ LocalAddress: string;
13
+ /**
14
+ * The ID of the virtual interface group
15
+ */
16
+ LocalGatewayVirtualInterfaceGroupId: string;
17
+ /**
18
+ * The Outpost LAG ID.
19
+ */
20
+ OutpostLagId: string;
21
+ /**
22
+ * The peer address.
23
+ */
24
+ PeerAddress: string;
25
+ /**
26
+ * The peer BGP ASN.
27
+ */
28
+ PeerBgpAsn?: number;
29
+ /**
30
+ * The extended 32-bit ASN of the BGP peer for use with larger ASN values.
31
+ */
32
+ PeerBgpAsnExtended?: number;
33
+ /**
34
+ * An array of key-value pairs to apply to this resource.
35
+ */
36
+ Tags?: Tag[];
37
+ /**
38
+ * The ID of the VLAN.
39
+ */
40
+ Vlan: number;
41
+ };
42
+ /**
43
+ * Attribute type definition for `AWS::EC2::LocalGatewayVirtualInterface`.
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterface.html#aws-resource-ec2-localgatewayvirtualinterface-return-values}
45
+ */
46
+ export type EC2LocalGatewayVirtualInterfaceAttributes = {
47
+ /**
48
+ * The current state of the local gateway virtual interface
49
+ */
50
+ ConfigurationState: string;
51
+ /**
52
+ * The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
53
+ */
54
+ LocalBgpAsn: number;
55
+ /**
56
+ * The ID of the local gateway
57
+ */
58
+ LocalGatewayId: string;
59
+ /**
60
+ * The ID of the virtual interface
61
+ */
62
+ LocalGatewayVirtualInterfaceId: string;
63
+ /**
64
+ * The ID of the Amazon Web Services account that owns the local gateway virtual interface group
65
+ */
66
+ OwnerId: string;
67
+ };
68
+ /**
69
+ * Type definition for `AWS::EC2::LocalGatewayVirtualInterface.Tag`.
70
+ * A key-value pair to associate with a resource.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-localgatewayvirtualinterface-tag.html}
72
+ */
73
+ export type Tag = {
74
+ /**
75
+ * 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 -.
76
+ * @minLength `1`
77
+ * @maxLength `127`
78
+ * @pattern `^(?!aws:.*)`
79
+ */
80
+ Key?: string;
81
+ /**
82
+ * The value for the tag. You can specify a value that is 0 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
+ * @maxLength `255`
85
+ * @pattern `^(?!aws:.*)`
86
+ */
87
+ Value?: string;
88
+ };
89
+ /**
90
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterface`.
91
+ * Resource Type definition for Local Gateway Virtual Interface which describes a virtual interface for AWS Outposts local gateways.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterface.html}
93
+ */
94
+ export declare class EC2LocalGatewayVirtualInterface extends $Resource<"AWS::EC2::LocalGatewayVirtualInterface", EC2LocalGatewayVirtualInterfaceProperties, EC2LocalGatewayVirtualInterfaceAttributes> {
95
+ static readonly Type = "AWS::EC2::LocalGatewayVirtualInterface";
96
+ constructor(logicalId: string, properties: EC2LocalGatewayVirtualInterfaceProperties, options?: $ResourceOptions);
97
+ }
98
+ //# sourceMappingURL=AWS-EC2-LocalGatewayVirtualInterface.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterface`.
4
+ * Resource Type definition for Local Gateway Virtual Interface which describes a virtual interface for AWS Outposts local gateways.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterface.html}
6
+ */
7
+ export class EC2LocalGatewayVirtualInterface extends $Resource {
8
+ static Type = "AWS::EC2::LocalGatewayVirtualInterface";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, EC2LocalGatewayVirtualInterface.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-EC2-LocalGatewayVirtualInterface.js.map
@@ -0,0 +1,82 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterfaceGroup`.
5
+ * Resource Type definition for LocalGatewayVirtualInterfaceGroup which describes a group of LocalGateway VirtualInterfaces
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterfacegroup.html}
7
+ */
8
+ export type EC2LocalGatewayVirtualInterfaceGroupProperties = {
9
+ /**
10
+ * The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
11
+ */
12
+ LocalBgpAsn?: number;
13
+ /**
14
+ * The extended 32-bit ASN for the local BGP configuration
15
+ */
16
+ LocalBgpAsnExtended?: number;
17
+ /**
18
+ * The ID of the local gateway
19
+ */
20
+ LocalGatewayId: string;
21
+ /**
22
+ * The tags assigned to the virtual interface group
23
+ */
24
+ Tags?: Tag[];
25
+ };
26
+ /**
27
+ * Attribute type definition for `AWS::EC2::LocalGatewayVirtualInterfaceGroup`.
28
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterfacegroup.html#aws-resource-ec2-localgatewayvirtualinterfacegroup-return-values}
29
+ */
30
+ export type EC2LocalGatewayVirtualInterfaceGroupAttributes = {
31
+ /**
32
+ * The current state of the local gateway virtual interface group
33
+ */
34
+ ConfigurationState: string;
35
+ /**
36
+ * The Amazon Resource Number (ARN) of the local gateway virtual interface group
37
+ */
38
+ LocalGatewayVirtualInterfaceGroupArn: string;
39
+ /**
40
+ * The ID of the virtual interface group
41
+ */
42
+ LocalGatewayVirtualInterfaceGroupId: string;
43
+ /**
44
+ * The IDs of the virtual interfaces
45
+ */
46
+ LocalGatewayVirtualInterfaceIds: string[];
47
+ /**
48
+ * The ID of the Amazon Web Services account that owns the local gateway virtual interface group
49
+ */
50
+ OwnerId: string;
51
+ };
52
+ /**
53
+ * Type definition for `AWS::EC2::LocalGatewayVirtualInterfaceGroup.Tag`.
54
+ * A key-value pair to associate with a resource.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-localgatewayvirtualinterfacegroup-tag.html}
56
+ */
57
+ export type Tag = {
58
+ /**
59
+ * 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 -.
60
+ * @minLength `1`
61
+ * @maxLength `127`
62
+ * @pattern `^(?!aws:.*)`
63
+ */
64
+ Key?: string;
65
+ /**
66
+ * The value for the tag. You can specify a value that is 0 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
+ * @maxLength `255`
69
+ * @pattern `^(?!aws:.*)`
70
+ */
71
+ Value?: string;
72
+ };
73
+ /**
74
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterfaceGroup`.
75
+ * Resource Type definition for LocalGatewayVirtualInterfaceGroup which describes a group of LocalGateway VirtualInterfaces
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterfacegroup.html}
77
+ */
78
+ export declare class EC2LocalGatewayVirtualInterfaceGroup extends $Resource<"AWS::EC2::LocalGatewayVirtualInterfaceGroup", EC2LocalGatewayVirtualInterfaceGroupProperties, EC2LocalGatewayVirtualInterfaceGroupAttributes> {
79
+ static readonly Type = "AWS::EC2::LocalGatewayVirtualInterfaceGroup";
80
+ constructor(logicalId: string, properties: EC2LocalGatewayVirtualInterfaceGroupProperties, options?: $ResourceOptions);
81
+ }
82
+ //# sourceMappingURL=AWS-EC2-LocalGatewayVirtualInterfaceGroup.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::EC2::LocalGatewayVirtualInterfaceGroup`.
4
+ * Resource Type definition for LocalGatewayVirtualInterfaceGroup which describes a group of LocalGateway VirtualInterfaces
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayvirtualinterfacegroup.html}
6
+ */
7
+ export class EC2LocalGatewayVirtualInterfaceGroup extends $Resource {
8
+ static Type = "AWS::EC2::LocalGatewayVirtualInterfaceGroup";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, EC2LocalGatewayVirtualInterfaceGroup.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-EC2-LocalGatewayVirtualInterfaceGroup.js.map
@@ -6,8 +6,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type ServiceCatalogPortfolioPrincipalAssociationProperties = {
8
8
  AcceptLanguage?: string;
9
- PortfolioId?: string;
10
- PrincipalARN?: string;
9
+ PortfolioId: string;
10
+ PrincipalARN: string;
11
11
  PrincipalType: string;
12
12
  };
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.436",
3
+ "version": "0.1.438",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },