@propulsionworks/cloudformation 0.1.26 → 0.1.27
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/out/exports/resources.generated/aws-acmpca-permission.d.ts +2 -2
- package/out/exports/resources.generated/aws-amplify-domain.d.ts +2 -2
- package/out/exports/resources.generated/aws-apigateway-domainname.d.ts +2 -2
- package/out/exports/resources.generated/aws-apigatewayv2-domainname.d.ts +1 -1
- package/out/exports/resources.generated/aws-appmesh-virtualgateway.d.ts +4 -4
- package/out/exports/resources.generated/aws-appmesh-virtualnode.d.ts +4 -4
- package/out/exports/resources.generated/aws-appstream-fleet.d.ts +5 -0
- package/out/exports/resources.generated/aws-appstream-imagebuilder.d.ts +5 -0
- package/out/exports/resources.generated/aws-appsync-domainname.d.ts +1 -1
- package/out/exports/resources.generated/aws-aps-scraper.d.ts +9 -1
- package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +2 -1
- package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +4 -4
- package/out/exports/resources.generated/aws-bedrockagentcore-browsercustom.d.ts +124 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-codeinterpretercustom.d.ts +88 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-runtime.d.ts +158 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-runtimeendpoint.d.ts +89 -0
- package/out/exports/resources.generated/aws-certificatemanager-certificate.d.ts +3 -3
- package/out/exports/resources.generated/aws-cleanrooms-analysistemplate.d.ts +18 -0
- package/out/exports/resources.generated/aws-cleanrooms-collaboration.d.ts +9 -0
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +2 -2
- package/out/exports/resources.generated/aws-cloudfront-distributiontenant.d.ts +3 -3
- package/out/exports/resources.generated/aws-cognito-userpooldomain.d.ts +1 -1
- package/out/exports/resources.generated/aws-connect-routingprofile.d.ts +16 -0
- package/out/exports/resources.generated/aws-datazone-connection.d.ts +2 -2
- package/out/exports/resources.generated/aws-datazone-policygrant.d.ts +6 -2
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +2 -2
- package/out/exports/resources.generated/aws-dynamodb-globaltable.d.ts +8 -0
- package/out/exports/resources.generated/aws-dynamodb-table.d.ts +4 -0
- package/out/exports/resources.generated/aws-ec2-clientvpnendpoint.d.ts +2 -2
- package/out/exports/resources.generated/aws-ec2-enclavecertificateiamroleassociation.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecs-service.d.ts +9 -0
- package/out/exports/resources.generated/aws-elasticsearch-domain.d.ts +1 -1
- package/out/exports/resources.generated/aws-evs-environment.d.ts +2 -0
- package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-servercertificate.d.ts +2 -2
- package/out/exports/resources.generated/aws-medialive-channel.d.ts +21 -0
- package/out/exports/resources.generated/aws-mediapackage-originendpoint.d.ts +1 -1
- package/out/exports/resources.generated/aws-networkfirewall-tlsinspectionconfiguration.d.ts +6 -6
- package/out/exports/resources.generated/aws-odb-cloudexadatainfrastructure.d.ts +60 -0
- package/out/exports/resources.generated/aws-odb-cloudvmcluster.d.ts +20 -0
- package/out/exports/resources.generated/aws-odb-odbnetwork.d.ts +22 -0
- package/out/exports/resources.generated/aws-odb-odbpeeringconnection.d.ts +71 -0
- package/out/exports/resources.generated/aws-opensearchserverless-securityconfig.d.ts +4 -3
- package/out/exports/resources.generated/aws-opensearchservice-domain.d.ts +1 -1
- package/out/exports/resources.generated/aws-pcs-cluster.d.ts +1 -1
- package/out/exports/resources.generated/aws-pcs-computenodegroup.d.ts +1 -1
- package/out/exports/resources.generated/aws-quicksight-dashboard.d.ts +7 -0
- package/out/exports/resources.generated/aws-servicecatalog-launchtemplateconstraint.d.ts +1 -0
- package/out/exports/resources.generated/aws-servicecatalog-portfolioprincipalassociation.d.ts +2 -2
- package/out/exports/resources.generated/aws-smsvoice-configurationset.d.ts +50 -28
- package/out/exports/resources.generated/aws-smsvoice-optoutlist.d.ts +13 -5
- package/out/exports/resources.generated/aws-smsvoice-phonenumber.d.ts +24 -11
- package/out/exports/resources.generated/aws-smsvoice-pool.d.ts +31 -13
- package/out/exports/resources.generated/aws-smsvoice-protectconfiguration.d.ts +23 -6
- package/out/exports/resources.generated/aws-smsvoice-resourcepolicy.d.ts +3 -3
- package/out/exports/resources.generated/aws-smsvoice-senderid.d.ts +5 -5
- package/out/exports/resources.generated/aws-transfer-server.d.ts +5 -5
- package/out/exports/resources.generated/aws-verifiedpermissions-identitysource.d.ts +2 -2
- package/out/exports/resources.generated/aws-vpclattice-resourcegateway.d.ts +0 -5
- package/package.json +1 -1
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
|
|
4
|
+
*
|
|
5
|
+
* A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
|
|
6
|
+
*
|
|
7
|
+
* When you send a message, you can optionally specify a single configuration set.
|
|
4
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html}
|
|
5
9
|
*/
|
|
6
10
|
export type SMSVOICEConfigurationSet = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::ConfigurationSet", SMSVOICEConfigurationSetProps, SMSVOICEConfigurationSetAttribs>;
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
|
|
13
|
+
*
|
|
14
|
+
* A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
|
|
15
|
+
*
|
|
16
|
+
* When you send a message, you can optionally specify a single configuration set.
|
|
9
17
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html}
|
|
10
18
|
*/
|
|
11
19
|
export type SMSVOICEConfigurationSetProps = {
|
|
12
20
|
/**
|
|
13
|
-
* The name
|
|
21
|
+
* The name of the ConfigurationSet.
|
|
14
22
|
* @minLength 1
|
|
15
23
|
* @maxLength 64
|
|
16
24
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
@@ -18,23 +26,23 @@ export type SMSVOICEConfigurationSetProps = {
|
|
|
18
26
|
*/
|
|
19
27
|
ConfigurationSetName?: string | undefined;
|
|
20
28
|
/**
|
|
21
|
-
* The default sender ID
|
|
29
|
+
* The default sender ID used by the ConfigurationSet.
|
|
22
30
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
23
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-defaultsenderid}
|
|
24
32
|
*/
|
|
25
33
|
DefaultSenderId?: string | undefined;
|
|
26
34
|
/**
|
|
27
|
-
* An
|
|
35
|
+
* An array of EventDestination objects that describe any events to log and where to log them.
|
|
28
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-eventdestinations}
|
|
29
37
|
*/
|
|
30
38
|
EventDestinations?: EventDestination[] | undefined;
|
|
31
39
|
/**
|
|
32
|
-
* Set to true to enable message
|
|
40
|
+
* Set to true to enable feedback for the message.
|
|
33
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-messagefeedbackenabled}
|
|
34
42
|
*/
|
|
35
43
|
MessageFeedbackEnabled?: boolean | undefined;
|
|
36
44
|
/**
|
|
37
|
-
* The unique identifier for the protect configuration
|
|
45
|
+
* The unique identifier for the protect configuration.
|
|
38
46
|
* @minLength 1
|
|
39
47
|
* @maxLength 256
|
|
40
48
|
* @pattern ^[A-Za-z0-9_:/-]+$
|
|
@@ -42,7 +50,7 @@ export type SMSVOICEConfigurationSetProps = {
|
|
|
42
50
|
*/
|
|
43
51
|
ProtectConfigurationId?: string | undefined;
|
|
44
52
|
/**
|
|
45
|
-
* An array of key
|
|
53
|
+
* An array of key and value pair tags that's associated with the new configuration set.
|
|
46
54
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-tags}
|
|
47
55
|
*/
|
|
48
56
|
Tags?: Tag[] | undefined;
|
|
@@ -52,11 +60,13 @@ export type SMSVOICEConfigurationSetProps = {
|
|
|
52
60
|
*/
|
|
53
61
|
export type SMSVOICEConfigurationSetAttribs = {
|
|
54
62
|
/**
|
|
63
|
+
* The Amazon Resource Name (ARN) of the ConfigurationSet.
|
|
55
64
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-configurationset.html#cfn-smsvoice-configurationset-arn}
|
|
56
65
|
*/
|
|
57
66
|
Arn: string;
|
|
58
67
|
};
|
|
59
68
|
/**
|
|
69
|
+
* Contains the destination configuration to use when publishing message sending events.
|
|
60
70
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-cloudwatchlogsdestination.html}
|
|
61
71
|
*/
|
|
62
72
|
export type CloudWatchLogsDestination = {
|
|
@@ -74,22 +84,24 @@ export type CloudWatchLogsDestination = {
|
|
|
74
84
|
LogGroupArn: string;
|
|
75
85
|
};
|
|
76
86
|
/**
|
|
77
|
-
*
|
|
87
|
+
* Contains information about an event destination.
|
|
88
|
+
*
|
|
89
|
+
* Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.
|
|
78
90
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html}
|
|
79
91
|
*/
|
|
80
92
|
export type EventDestination = {
|
|
81
93
|
/**
|
|
82
|
-
* An object that contains
|
|
94
|
+
* An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
|
|
83
95
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
|
|
84
96
|
*/
|
|
85
97
|
CloudWatchLogsDestination: CloudWatchLogsDestination;
|
|
86
98
|
/**
|
|
87
|
-
* When set to true events will be logged.
|
|
99
|
+
* When set to true events will be logged.
|
|
88
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
|
|
89
101
|
*/
|
|
90
102
|
Enabled: boolean;
|
|
91
103
|
/**
|
|
92
|
-
* The name
|
|
104
|
+
* The name of the EventDestination.
|
|
93
105
|
* @minLength 1
|
|
94
106
|
* @maxLength 64
|
|
95
107
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
@@ -97,33 +109,35 @@ export type EventDestination = {
|
|
|
97
109
|
*/
|
|
98
110
|
EventDestinationName: string;
|
|
99
111
|
/**
|
|
100
|
-
* An object that contains
|
|
112
|
+
* An object that contains information about an event destination for logging to Amazon Data Firehose.
|
|
101
113
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
|
|
102
114
|
*/
|
|
103
115
|
KinesisFirehoseDestination?: KinesisFirehoseDestination | undefined;
|
|
104
116
|
/**
|
|
105
|
-
* An array of event types that determine which events to log.
|
|
117
|
+
* An array of event types that determine which events to log.
|
|
118
|
+
*
|
|
119
|
+
* > The `TEXT_SENT` event type is not supported.
|
|
106
120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
|
|
107
121
|
*/
|
|
108
122
|
MatchingEventTypes: string[];
|
|
109
123
|
/**
|
|
110
|
-
* An object that contains
|
|
124
|
+
* An object that contains information about an event destination that sends logging events to Amazon SNS.
|
|
111
125
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
|
|
112
126
|
*/
|
|
113
127
|
SnsDestination?: SnsDestination | undefined;
|
|
114
128
|
} | {
|
|
115
129
|
/**
|
|
116
|
-
* An object that contains
|
|
130
|
+
* An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
|
|
117
131
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
|
|
118
132
|
*/
|
|
119
133
|
CloudWatchLogsDestination?: CloudWatchLogsDestination | undefined;
|
|
120
134
|
/**
|
|
121
|
-
* When set to true events will be logged.
|
|
135
|
+
* When set to true events will be logged.
|
|
122
136
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
|
|
123
137
|
*/
|
|
124
138
|
Enabled: boolean;
|
|
125
139
|
/**
|
|
126
|
-
* The name
|
|
140
|
+
* The name of the EventDestination.
|
|
127
141
|
* @minLength 1
|
|
128
142
|
* @maxLength 64
|
|
129
143
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
@@ -131,33 +145,35 @@ export type EventDestination = {
|
|
|
131
145
|
*/
|
|
132
146
|
EventDestinationName: string;
|
|
133
147
|
/**
|
|
134
|
-
* An object that contains
|
|
148
|
+
* An object that contains information about an event destination for logging to Amazon Data Firehose.
|
|
135
149
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
|
|
136
150
|
*/
|
|
137
151
|
KinesisFirehoseDestination: KinesisFirehoseDestination;
|
|
138
152
|
/**
|
|
139
|
-
* An array of event types that determine which events to log.
|
|
153
|
+
* An array of event types that determine which events to log.
|
|
154
|
+
*
|
|
155
|
+
* > The `TEXT_SENT` event type is not supported.
|
|
140
156
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
|
|
141
157
|
*/
|
|
142
158
|
MatchingEventTypes: string[];
|
|
143
159
|
/**
|
|
144
|
-
* An object that contains
|
|
160
|
+
* An object that contains information about an event destination that sends logging events to Amazon SNS.
|
|
145
161
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
|
|
146
162
|
*/
|
|
147
163
|
SnsDestination?: SnsDestination | undefined;
|
|
148
164
|
} | {
|
|
149
165
|
/**
|
|
150
|
-
* An object that contains
|
|
166
|
+
* An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
|
|
151
167
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-cloudwatchlogsdestination}
|
|
152
168
|
*/
|
|
153
169
|
CloudWatchLogsDestination?: CloudWatchLogsDestination | undefined;
|
|
154
170
|
/**
|
|
155
|
-
* When set to true events will be logged.
|
|
171
|
+
* When set to true events will be logged.
|
|
156
172
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-enabled}
|
|
157
173
|
*/
|
|
158
174
|
Enabled: boolean;
|
|
159
175
|
/**
|
|
160
|
-
* The name
|
|
176
|
+
* The name of the EventDestination.
|
|
161
177
|
* @minLength 1
|
|
162
178
|
* @maxLength 64
|
|
163
179
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
@@ -165,22 +181,27 @@ export type EventDestination = {
|
|
|
165
181
|
*/
|
|
166
182
|
EventDestinationName: string;
|
|
167
183
|
/**
|
|
168
|
-
* An object that contains
|
|
184
|
+
* An object that contains information about an event destination for logging to Amazon Data Firehose.
|
|
169
185
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-kinesisfirehosedestination}
|
|
170
186
|
*/
|
|
171
187
|
KinesisFirehoseDestination?: KinesisFirehoseDestination | undefined;
|
|
172
188
|
/**
|
|
173
|
-
* An array of event types that determine which events to log.
|
|
189
|
+
* An array of event types that determine which events to log.
|
|
190
|
+
*
|
|
191
|
+
* > The `TEXT_SENT` event type is not supported.
|
|
174
192
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-matchingeventtypes}
|
|
175
193
|
*/
|
|
176
194
|
MatchingEventTypes: string[];
|
|
177
195
|
/**
|
|
178
|
-
* An object that contains
|
|
196
|
+
* An object that contains information about an event destination that sends logging events to Amazon SNS.
|
|
179
197
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-eventdestination.html#cfn-smsvoice-configurationset-eventdestination-snsdestination}
|
|
180
198
|
*/
|
|
181
199
|
SnsDestination: SnsDestination;
|
|
182
200
|
};
|
|
183
201
|
/**
|
|
202
|
+
* Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the AWS Identity and Access Management (IAM) role associated with a Firehose event destination.
|
|
203
|
+
*
|
|
204
|
+
* Event destinations, such as Firehose, are associated with configuration sets, which enable you to publish message sending events.
|
|
184
205
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-kinesisfirehosedestination.html}
|
|
185
206
|
*/
|
|
186
207
|
export type KinesisFirehoseDestination = {
|
|
@@ -191,13 +212,14 @@ export type KinesisFirehoseDestination = {
|
|
|
191
212
|
*/
|
|
192
213
|
DeliveryStreamArn: string;
|
|
193
214
|
/**
|
|
194
|
-
* The
|
|
215
|
+
* The ARN of an AWS Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.
|
|
195
216
|
* @pattern ^arn:\S+$
|
|
196
217
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-kinesisfirehosedestination.html#cfn-smsvoice-configurationset-kinesisfirehosedestination-iamrolearn}
|
|
197
218
|
*/
|
|
198
219
|
IamRoleArn: string;
|
|
199
220
|
};
|
|
200
221
|
/**
|
|
222
|
+
* An object that defines an Amazon SNS destination for events. You can use Amazon SNS to send notification when certain events occur.
|
|
201
223
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-configurationset-snsdestination.html}
|
|
202
224
|
*/
|
|
203
225
|
export type SnsDestination = {
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a new opt-out list.
|
|
4
|
+
*
|
|
5
|
+
* If the opt-out list name already exists, an error is returned.
|
|
6
|
+
*
|
|
7
|
+
* An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword "STOP," an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see [SMS opt out](https://docs.aws.amazon.com/sms-voice/latest/userguide/opt-out-list-keywords.html) in the End User Messaging User Guide.
|
|
4
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html}
|
|
5
9
|
*/
|
|
6
10
|
export type SMSVOICEOptOutList = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::OptOutList", SMSVOICEOptOutListProps, SMSVOICEOptOutListAttribs>;
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Creates a new opt-out list.
|
|
13
|
+
*
|
|
14
|
+
* If the opt-out list name already exists, an error is returned.
|
|
15
|
+
*
|
|
16
|
+
* An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword "STOP," an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see [SMS opt out](https://docs.aws.amazon.com/sms-voice/latest/userguide/opt-out-list-keywords.html) in the End User Messaging User Guide.
|
|
9
17
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html}
|
|
10
18
|
*/
|
|
11
19
|
export type SMSVOICEOptOutListProps = {
|
|
12
20
|
/**
|
|
13
|
-
* The name of the
|
|
21
|
+
* The name of the OptOutList.
|
|
14
22
|
* @minLength 1
|
|
15
23
|
* @maxLength 64
|
|
16
24
|
* @pattern ^[A-Za-z0-9_-]+$
|
|
@@ -18,7 +26,7 @@ export type SMSVOICEOptOutListProps = {
|
|
|
18
26
|
*/
|
|
19
27
|
OptOutListName?: string | undefined;
|
|
20
28
|
/**
|
|
21
|
-
* An array of key
|
|
29
|
+
* An array of tags (key and value pairs) to associate with the new OptOutList.
|
|
22
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#cfn-smsvoice-optoutlist-tags}
|
|
23
31
|
*/
|
|
24
32
|
Tags?: Tag[] | undefined;
|
|
@@ -28,7 +36,7 @@ export type SMSVOICEOptOutListProps = {
|
|
|
28
36
|
*/
|
|
29
37
|
export type SMSVOICEOptOutListAttribs = {
|
|
30
38
|
/**
|
|
31
|
-
* The Amazon Resource Name (ARN) for the OptOutList.
|
|
39
|
+
* The Amazon Resource Name (ARN) for the `OptOutList` .
|
|
32
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-optoutlist.html#cfn-smsvoice-optoutlist-arn}
|
|
33
41
|
*/
|
|
34
42
|
Arn: string;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Request an origination phone number for use in your account. For more information on phone number request see [Request a phone number](https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html) in the *End User Messaging User Guide* .
|
|
4
|
+
*
|
|
5
|
+
* > Registering phone numbers is not supported by AWS CloudFormation . You can import phone numbers and sender IDs that are automatically provisioned at registration.
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html}
|
|
5
7
|
*/
|
|
6
8
|
export type SMSVOICEPhoneNumber = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::PhoneNumber", SMSVOICEPhoneNumberProps, SMSVOICEPhoneNumberAttribs>;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* Request an origination phone number for use in your account. For more information on phone number request see [Request a phone number](https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html) in the *End User Messaging User Guide* .
|
|
11
|
+
*
|
|
12
|
+
* > Registering phone numbers is not supported by AWS CloudFormation . You can import phone numbers and sender IDs that are automatically provisioned at registration.
|
|
9
13
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html}
|
|
10
14
|
*/
|
|
11
15
|
export type SMSVOICEPhoneNumberProps = {
|
|
12
16
|
/**
|
|
13
|
-
* When set to true the
|
|
17
|
+
* By default this is set to false. When set to true the phone number can't be deleted.
|
|
14
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-deletionprotectionenabled}
|
|
15
19
|
*/
|
|
16
20
|
DeletionProtectionEnabled?: boolean | undefined;
|
|
@@ -21,7 +25,7 @@ export type SMSVOICEPhoneNumberProps = {
|
|
|
21
25
|
*/
|
|
22
26
|
IsoCountryCode: string;
|
|
23
27
|
/**
|
|
24
|
-
*
|
|
28
|
+
* Creates or updates a `MandatoryKeyword` configuration on an origination phone number For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
25
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-mandatorykeywords}
|
|
26
30
|
*/
|
|
27
31
|
MandatoryKeywords: {
|
|
@@ -35,11 +39,13 @@ export type SMSVOICEPhoneNumberProps = {
|
|
|
35
39
|
NumberCapabilities: ("SMS" | "VOICE" | "MMS")[];
|
|
36
40
|
/**
|
|
37
41
|
* The type of phone number to request.
|
|
42
|
+
*
|
|
43
|
+
* > The `ShortCode` number type is not supported in AWS CloudFormation .
|
|
38
44
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-numbertype}
|
|
39
45
|
*/
|
|
40
46
|
NumberType: "LONG_CODE" | "TOLL_FREE" | "TEN_DLC" | "SIMULATOR";
|
|
41
47
|
/**
|
|
42
|
-
* The name of the OptOutList
|
|
48
|
+
* The name of the OptOutList associated with the phone number.
|
|
43
49
|
* @minLength 1
|
|
44
50
|
* @maxLength 256
|
|
45
51
|
* @pattern ^[A-Za-z0-9_:/-]+$
|
|
@@ -47,22 +53,22 @@ export type SMSVOICEPhoneNumberProps = {
|
|
|
47
53
|
*/
|
|
48
54
|
OptOutListName?: string | undefined;
|
|
49
55
|
/**
|
|
50
|
-
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword,
|
|
56
|
+
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, End User Messaging responds with a customizable message. Optional keywords are differentiated from mandatory keywords. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
51
57
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-optionalkeywords}
|
|
52
58
|
*/
|
|
53
59
|
OptionalKeywords?: OptionalKeyword[] | undefined;
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see [Self-managed opt-outs](https://docs.aws.amazon.com/sms-voice/latest/userguide/opt-out-list-self-managed.html)
|
|
56
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-selfmanagedoptoutsenabled}
|
|
57
63
|
*/
|
|
58
64
|
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
59
65
|
/**
|
|
60
|
-
* An array of key
|
|
66
|
+
* An array of tags (key and value pairs) to associate with the requested phone number.
|
|
61
67
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-tags}
|
|
62
68
|
*/
|
|
63
69
|
Tags?: Tag[] | undefined;
|
|
64
70
|
/**
|
|
65
|
-
*
|
|
71
|
+
* Describes the two-way SMS configuration for a phone number. For more information, see [Two-way SMS messaging](https://docs.aws.amazon.com/sms-voice/latest/userguide/two-way-sms.html) in the End User Messaging User Guide.
|
|
66
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-twoway}
|
|
67
73
|
*/
|
|
68
74
|
TwoWay?: {
|
|
@@ -87,24 +93,28 @@ export type SMSVOICEPhoneNumberProps = {
|
|
|
87
93
|
*/
|
|
88
94
|
export type SMSVOICEPhoneNumberAttribs = {
|
|
89
95
|
/**
|
|
96
|
+
* The `PhoneNumber` 's Amazon Resource Name (ARN)
|
|
90
97
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-arn}
|
|
91
98
|
*/
|
|
92
99
|
Arn: string;
|
|
93
100
|
/**
|
|
101
|
+
* The phone number in E.164 format.
|
|
94
102
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-phonenumber}
|
|
95
103
|
*/
|
|
96
104
|
PhoneNumber: string;
|
|
97
105
|
/**
|
|
106
|
+
* The unique identifier for the phone number.
|
|
98
107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-phonenumberid}
|
|
99
108
|
*/
|
|
100
109
|
PhoneNumberId: string;
|
|
101
110
|
};
|
|
102
111
|
/**
|
|
103
|
-
*
|
|
112
|
+
* The keywords `HELP` and `STOP` are mandatory keywords that each phone number must have. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
104
113
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-mandatorykeyword.html}
|
|
105
114
|
*/
|
|
106
115
|
export type MandatoryKeyword = {
|
|
107
116
|
/**
|
|
117
|
+
* The message associated with the keyword.
|
|
108
118
|
* @maxLength 1600
|
|
109
119
|
* @pattern ^(?!\s*$)[\s\S]+$
|
|
110
120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-mandatorykeyword.html#cfn-smsvoice-phonenumber-mandatorykeyword-message}
|
|
@@ -112,21 +122,24 @@ export type MandatoryKeyword = {
|
|
|
112
122
|
Message: string;
|
|
113
123
|
};
|
|
114
124
|
/**
|
|
115
|
-
*
|
|
125
|
+
* The `OptionalKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
116
126
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html}
|
|
117
127
|
*/
|
|
118
128
|
export type OptionalKeyword = {
|
|
119
129
|
/**
|
|
130
|
+
* The action to perform when the keyword is used.
|
|
120
131
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-action}
|
|
121
132
|
*/
|
|
122
133
|
Action: "AUTOMATIC_RESPONSE" | "OPT_OUT" | "OPT_IN";
|
|
123
134
|
/**
|
|
135
|
+
* The new keyword to add.
|
|
124
136
|
* @maxLength 30
|
|
125
137
|
* @pattern ^(?!.*(?i)(stop|help))[ \S]+
|
|
126
138
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-keyword}
|
|
127
139
|
*/
|
|
128
140
|
Keyword: string;
|
|
129
141
|
/**
|
|
142
|
+
* The message associated with the keyword.
|
|
130
143
|
* @maxLength 1600
|
|
131
144
|
* @pattern ^(?!\s*$)[\s\S]+$
|
|
132
145
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-phonenumber-optionalkeyword.html#cfn-smsvoice-phonenumber-optionalkeyword-message}
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your AWS account.
|
|
4
|
+
*
|
|
5
|
+
* The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
|
|
6
|
+
*
|
|
7
|
+
* If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
|
|
4
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html}
|
|
5
9
|
*/
|
|
6
10
|
export type SMSVOICEPool = ResourceDefinitionWithAttributes<"AWS::SMSVOICE::Pool", SMSVOICEPoolProps, SMSVOICEPoolAttribs>;
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your AWS account.
|
|
13
|
+
*
|
|
14
|
+
* The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
|
|
15
|
+
*
|
|
16
|
+
* If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
|
|
9
17
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html}
|
|
10
18
|
*/
|
|
11
19
|
export type SMSVOICEPoolProps = {
|
|
12
20
|
/**
|
|
13
|
-
* When set to true the pool can't be deleted.
|
|
21
|
+
* When set to true the pool can't be deleted.
|
|
14
22
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-deletionprotectionenabled}
|
|
15
23
|
*/
|
|
16
24
|
DeletionProtectionEnabled?: boolean | undefined;
|
|
17
25
|
/**
|
|
18
|
-
*
|
|
26
|
+
* Creates or updates the pool's `MandatoryKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
19
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-mandatorykeywords}
|
|
20
28
|
*/
|
|
21
29
|
MandatoryKeywords: {
|
|
@@ -23,7 +31,7 @@ export type SMSVOICEPoolProps = {
|
|
|
23
31
|
STOP: MandatoryKeyword;
|
|
24
32
|
};
|
|
25
33
|
/**
|
|
26
|
-
* The name of the OptOutList
|
|
34
|
+
* The name of the OptOutList associated with the pool.
|
|
27
35
|
* @minLength 1
|
|
28
36
|
* @maxLength 256
|
|
29
37
|
* @pattern ^[A-Za-z0-9_:/-]+$
|
|
@@ -31,32 +39,36 @@ export type SMSVOICEPoolProps = {
|
|
|
31
39
|
*/
|
|
32
40
|
OptOutListName?: string | undefined;
|
|
33
41
|
/**
|
|
34
|
-
*
|
|
42
|
+
* Specifies any optional keywords to associate with the pool. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
35
43
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-optionalkeywords}
|
|
36
44
|
*/
|
|
37
45
|
OptionalKeywords?: OptionalKeyword[] | undefined;
|
|
38
46
|
/**
|
|
39
|
-
* The origination
|
|
47
|
+
* The list of origination identities to apply to the pool, either `PhoneNumberArn` or `SenderIdArn` . For more information, see [Registrations](https://docs.aws.amazon.com/sms-voice/latest/userguide/registrations.html) in the End User Messaging User Guide.
|
|
48
|
+
*
|
|
49
|
+
* > If you are using a shared End User Messaging resource then you must use the full Amazon Resource Name (ARN).
|
|
40
50
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-originationidentities}
|
|
41
51
|
*/
|
|
42
52
|
OriginationIdentities: string[];
|
|
43
53
|
/**
|
|
44
|
-
*
|
|
54
|
+
* When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. For more information see [Self-managed opt-outs](https://docs.aws.amazon.com//pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
|
|
45
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-selfmanagedoptoutsenabled}
|
|
46
56
|
*/
|
|
47
57
|
SelfManagedOptOutsEnabled?: boolean | undefined;
|
|
48
58
|
/**
|
|
49
|
-
*
|
|
59
|
+
* Allows you to enable shared routes on your pool.
|
|
60
|
+
*
|
|
61
|
+
* By default, this is set to `False` . If you set this value to `True` , your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.
|
|
50
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-sharedroutesenabled}
|
|
51
63
|
*/
|
|
52
64
|
SharedRoutesEnabled?: boolean | undefined;
|
|
53
65
|
/**
|
|
54
|
-
* An array of key
|
|
66
|
+
* An array of tags (key and value pairs) associated with the pool.
|
|
55
67
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-tags}
|
|
56
68
|
*/
|
|
57
69
|
Tags?: Tag[] | undefined;
|
|
58
70
|
/**
|
|
59
|
-
*
|
|
71
|
+
* Describes the two-way SMS configuration for a phone number. For more information, see [Two-way SMS messaging](https://docs.aws.amazon.com/sms-voice/latest/userguide/two-way-sms.html) in the End User Messaging User Guide.
|
|
60
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-twoway}
|
|
61
73
|
*/
|
|
62
74
|
TwoWay?: {
|
|
@@ -81,20 +93,23 @@ export type SMSVOICEPoolProps = {
|
|
|
81
93
|
*/
|
|
82
94
|
export type SMSVOICEPoolAttribs = {
|
|
83
95
|
/**
|
|
96
|
+
* The Amazon Resource Name of the `Pool` .
|
|
84
97
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-arn}
|
|
85
98
|
*/
|
|
86
99
|
Arn: string;
|
|
87
100
|
/**
|
|
101
|
+
* The unique identifier for the pool.
|
|
88
102
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-pool.html#cfn-smsvoice-pool-poolid}
|
|
89
103
|
*/
|
|
90
104
|
PoolId: string;
|
|
91
105
|
};
|
|
92
106
|
/**
|
|
93
|
-
*
|
|
107
|
+
* The keywords `HELP` and `STOP` are mandatory keywords that each phone number must have. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
94
108
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-mandatorykeyword.html}
|
|
95
109
|
*/
|
|
96
110
|
export type MandatoryKeyword = {
|
|
97
111
|
/**
|
|
112
|
+
* The message associated with the keyword.
|
|
98
113
|
* @maxLength 1600
|
|
99
114
|
* @pattern ^(?!\s*$)[\s\S]+$
|
|
100
115
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-mandatorykeyword.html#cfn-smsvoice-pool-mandatorykeyword-message}
|
|
@@ -102,21 +117,24 @@ export type MandatoryKeyword = {
|
|
|
102
117
|
Message: string;
|
|
103
118
|
};
|
|
104
119
|
/**
|
|
105
|
-
*
|
|
120
|
+
* The pool's `OptionalKeyword` configuration. For more information, see [Keywords](https://docs.aws.amazon.com/sms-voice/latest/userguide/keywords.html) in the End User Messaging User Guide.
|
|
106
121
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html}
|
|
107
122
|
*/
|
|
108
123
|
export type OptionalKeyword = {
|
|
109
124
|
/**
|
|
125
|
+
* The action to perform when the keyword is used.
|
|
110
126
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-action}
|
|
111
127
|
*/
|
|
112
128
|
Action: "AUTOMATIC_RESPONSE" | "OPT_OUT" | "OPT_IN";
|
|
113
129
|
/**
|
|
130
|
+
* The new keyword to add.
|
|
114
131
|
* @maxLength 30
|
|
115
132
|
* @pattern ^(?!.*(?i)(stop|help))[ \S]+
|
|
116
133
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-keyword}
|
|
117
134
|
*/
|
|
118
135
|
Keyword: string;
|
|
119
136
|
/**
|
|
137
|
+
* The message associated with the keyword.
|
|
120
138
|
* @maxLength 1600
|
|
121
139
|
* @pattern ^(?!\s*$)[\s\S]+$
|
|
122
140
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-smsvoice-pool-optionalkeyword.html#cfn-smsvoice-pool-optionalkeyword-message}
|