@awboost/cfn-resource-types 0.1.437 → 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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
@@ -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
|
|
10
|
-
PrincipalARN
|
|
9
|
+
PortfolioId: string;
|
|
10
|
+
PrincipalARN: string;
|
|
11
11
|
PrincipalType: string;
|
|
12
12
|
};
|
|
13
13
|
/**
|