@awboost/cfn-resource-types 0.1.6 → 0.1.7
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/lib/AWS-Connect-Rule.d.ts +85 -1
- package/lib/AWS-DataZone-EnvironmentProfile.d.ts +2 -2
- package/lib/AWS-EKS-AccessEntry.d.ts +2 -0
- package/lib/AWS-ElastiCache-ServerlessCache.d.ts +2 -2
- package/lib/AWS-SSMGuiConnect-Preferences.d.ts +67 -0
- package/lib/AWS-SSMGuiConnect-Preferences.js +12 -0
- package/package.json +1 -1
|
@@ -61,6 +61,18 @@ export type Actions = {
|
|
|
61
61
|
* @maxLength `1`
|
|
62
62
|
*/
|
|
63
63
|
AssignContactCategoryActions?: AssignContactCategoryAction[];
|
|
64
|
+
/**
|
|
65
|
+
* This action will create a case when a rule is triggered.
|
|
66
|
+
* @minLength `1`
|
|
67
|
+
* @maxLength `1`
|
|
68
|
+
*/
|
|
69
|
+
CreateCaseActions?: CreateCaseAction[];
|
|
70
|
+
/**
|
|
71
|
+
* This action will end associated tasks when a rule is triggered.
|
|
72
|
+
* @minLength `1`
|
|
73
|
+
* @maxLength `1`
|
|
74
|
+
*/
|
|
75
|
+
EndAssociatedTasksActions?: EndAssociatedTasksAction[];
|
|
64
76
|
/**
|
|
65
77
|
* This action will send event bridge notification when a rule is triggered.
|
|
66
78
|
* @minLength `1`
|
|
@@ -79,6 +91,12 @@ export type Actions = {
|
|
|
79
91
|
* @maxLength `1`
|
|
80
92
|
*/
|
|
81
93
|
TaskActions?: TaskAction[];
|
|
94
|
+
/**
|
|
95
|
+
* This action will update a case when a rule is triggered.
|
|
96
|
+
* @minLength `1`
|
|
97
|
+
* @maxLength `1`
|
|
98
|
+
*/
|
|
99
|
+
UpdateCaseActions?: UpdateCaseAction[];
|
|
82
100
|
};
|
|
83
101
|
/**
|
|
84
102
|
* Type definition for `AWS::Connect::Rule.AssignContactCategoryAction`.
|
|
@@ -86,6 +104,31 @@ export type Actions = {
|
|
|
86
104
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-assigncontactcategoryaction.html}
|
|
87
105
|
*/
|
|
88
106
|
export type AssignContactCategoryAction = Record<string, any>;
|
|
107
|
+
/**
|
|
108
|
+
* Type definition for `AWS::Connect::Rule.CreateCaseAction`.
|
|
109
|
+
* The definition for create case action.
|
|
110
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html}
|
|
111
|
+
*/
|
|
112
|
+
export type CreateCaseAction = {
|
|
113
|
+
/**
|
|
114
|
+
* An array of case fields
|
|
115
|
+
* @minLength `1`
|
|
116
|
+
* @maxLength `100`
|
|
117
|
+
*/
|
|
118
|
+
Fields: Field[];
|
|
119
|
+
/**
|
|
120
|
+
* The Id of template.
|
|
121
|
+
* @minLength `1`
|
|
122
|
+
* @maxLength `500`
|
|
123
|
+
*/
|
|
124
|
+
TemplateId: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Type definition for `AWS::Connect::Rule.EndAssociatedTasksAction`.
|
|
128
|
+
* The definition for ending associated task action.
|
|
129
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-endassociatedtasksaction.html}
|
|
130
|
+
*/
|
|
131
|
+
export type EndAssociatedTasksAction = Record<string, any>;
|
|
89
132
|
/**
|
|
90
133
|
* Type definition for `AWS::Connect::Rule.EventBridgeAction`.
|
|
91
134
|
* The definition for event bridge action.
|
|
@@ -98,6 +141,34 @@ export type EventBridgeAction = {
|
|
|
98
141
|
*/
|
|
99
142
|
Name: string;
|
|
100
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* Type definition for `AWS::Connect::Rule.Field`.
|
|
146
|
+
* The field of the case.
|
|
147
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html}
|
|
148
|
+
*/
|
|
149
|
+
export type Field = {
|
|
150
|
+
/**
|
|
151
|
+
* The Id of the field
|
|
152
|
+
* @minLength `1`
|
|
153
|
+
* @maxLength `500`
|
|
154
|
+
*/
|
|
155
|
+
Id: string;
|
|
156
|
+
/**
|
|
157
|
+
* The value of the field.
|
|
158
|
+
*/
|
|
159
|
+
Value: FieldValue;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Type definition for `AWS::Connect::Rule.FieldValue`.
|
|
163
|
+
* The value of the field.
|
|
164
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html}
|
|
165
|
+
*/
|
|
166
|
+
export type FieldValue = {
|
|
167
|
+
BooleanValue?: boolean;
|
|
168
|
+
DoubleValue?: number;
|
|
169
|
+
EmptyValue?: Record<string, any>;
|
|
170
|
+
StringValue?: string;
|
|
171
|
+
};
|
|
101
172
|
/**
|
|
102
173
|
* Type definition for `AWS::Connect::Rule.NotificationRecipientType`.
|
|
103
174
|
* The type of notification recipient.
|
|
@@ -136,7 +207,7 @@ export type RuleTriggerEventSource = {
|
|
|
136
207
|
/**
|
|
137
208
|
* The name of event source.
|
|
138
209
|
*/
|
|
139
|
-
EventSourceName: "OnContactEvaluationSubmit" | "OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnMetricDataUpdate";
|
|
210
|
+
EventSourceName: "OnContactEvaluationSubmit" | "OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnMetricDataUpdate" | "OnCaseCreate" | "OnCaseUpdate";
|
|
140
211
|
/**
|
|
141
212
|
* The Amazon Resource Name (ARN) for the AppIntegration association.
|
|
142
213
|
* @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*integration-association/[-a-zA-Z0-9]*$`
|
|
@@ -221,6 +292,19 @@ export type TaskAction = {
|
|
|
221
292
|
*/
|
|
222
293
|
References?: Record<string, Reference>;
|
|
223
294
|
};
|
|
295
|
+
/**
|
|
296
|
+
* Type definition for `AWS::Connect::Rule.UpdateCaseAction`.
|
|
297
|
+
* The definition for update case action.
|
|
298
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html}
|
|
299
|
+
*/
|
|
300
|
+
export type UpdateCaseAction = {
|
|
301
|
+
/**
|
|
302
|
+
* An array of case fields
|
|
303
|
+
* @minLength `1`
|
|
304
|
+
* @maxLength `100`
|
|
305
|
+
*/
|
|
306
|
+
Fields: Field[];
|
|
307
|
+
};
|
|
224
308
|
/**
|
|
225
309
|
* Resource type definition for `AWS::Connect::Rule`.
|
|
226
310
|
* Resource Type definition for AWS:Connect::Rule
|
|
@@ -10,12 +10,12 @@ export type DataZoneEnvironmentProfileProperties = {
|
|
|
10
10
|
* The AWS account in which the Amazon DataZone environment is created.
|
|
11
11
|
* @pattern `^\d{12}$`
|
|
12
12
|
*/
|
|
13
|
-
AwsAccountId
|
|
13
|
+
AwsAccountId: string;
|
|
14
14
|
/**
|
|
15
15
|
* The AWS region in which this environment profile is created.
|
|
16
16
|
* @pattern `^[a-z]{2}-[a-z]{4,10}-\d$`
|
|
17
17
|
*/
|
|
18
|
-
AwsAccountRegion
|
|
18
|
+
AwsAccountRegion: string;
|
|
19
19
|
/**
|
|
20
20
|
* The description of this Amazon DataZone environment profile.
|
|
21
21
|
* @maxLength `2048`
|
|
@@ -13,6 +13,7 @@ export type EKSAccessEntryProperties = {
|
|
|
13
13
|
AccessPolicies?: AccessPolicy[];
|
|
14
14
|
/**
|
|
15
15
|
* The cluster that the access entry is created for.
|
|
16
|
+
* @minLength `1`
|
|
16
17
|
*/
|
|
17
18
|
ClusterName: string;
|
|
18
19
|
/**
|
|
@@ -21,6 +22,7 @@ export type EKSAccessEntryProperties = {
|
|
|
21
22
|
KubernetesGroups?: string[];
|
|
22
23
|
/**
|
|
23
24
|
* The principal ARN that the access entry is created for.
|
|
25
|
+
* @minLength `1`
|
|
24
26
|
*/
|
|
25
27
|
PrincipalArn: string;
|
|
26
28
|
/**
|
|
@@ -86,7 +86,7 @@ export type ElastiCacheServerlessCacheAttributes = {
|
|
|
86
86
|
/**
|
|
87
87
|
* Endpoint port.
|
|
88
88
|
*/
|
|
89
|
-
Port:
|
|
89
|
+
Port: string;
|
|
90
90
|
};
|
|
91
91
|
/**
|
|
92
92
|
* The full engine version of the Serverless Cache.
|
|
@@ -103,7 +103,7 @@ export type ElastiCacheServerlessCacheAttributes = {
|
|
|
103
103
|
/**
|
|
104
104
|
* Endpoint port.
|
|
105
105
|
*/
|
|
106
|
-
Port:
|
|
106
|
+
Port: string;
|
|
107
107
|
};
|
|
108
108
|
/**
|
|
109
109
|
* The status of the Serverless Cache.
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SSMGuiConnectPreferencesProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* A map for Idle Connection Preferences
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `1`
|
|
12
|
+
*/
|
|
13
|
+
IdleConnection?: IdleConnectionPreferences[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Attribute type definition for `AWS::SSMGuiConnect::Preferences`.
|
|
17
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html#aws-resource-ssmguiconnect-preferences-return-values}
|
|
18
|
+
*/
|
|
19
|
+
export type SSMGuiConnectPreferencesAttributes = {
|
|
20
|
+
/**
|
|
21
|
+
* The AWS Account Id that the preference is associated with, used as the unique identifier for this resource.
|
|
22
|
+
* @pattern `\d{12}`
|
|
23
|
+
*/
|
|
24
|
+
AccountId: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Type definition for `AWS::SSMGuiConnect::Preferences.IdleConnectionAlert`.
|
|
28
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionalert.html}
|
|
29
|
+
*/
|
|
30
|
+
export type IdleConnectionAlert = {
|
|
31
|
+
Type?: "MINUTES";
|
|
32
|
+
/**
|
|
33
|
+
* @min `0`
|
|
34
|
+
* @max `60`
|
|
35
|
+
*/
|
|
36
|
+
Value: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Type definition for `AWS::SSMGuiConnect::Preferences.IdleConnectionPreferences`.
|
|
40
|
+
* Idle Connection Preferences
|
|
41
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionpreferences.html}
|
|
42
|
+
*/
|
|
43
|
+
export type IdleConnectionPreferences = {
|
|
44
|
+
Alert?: IdleConnectionAlert;
|
|
45
|
+
Timeout?: IdleConnectionTimeout;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Type definition for `AWS::SSMGuiConnect::Preferences.IdleConnectionTimeout`.
|
|
49
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html}
|
|
50
|
+
*/
|
|
51
|
+
export type IdleConnectionTimeout = {
|
|
52
|
+
Type?: "MINUTES";
|
|
53
|
+
/**
|
|
54
|
+
* @min `1`
|
|
55
|
+
* @max `60`
|
|
56
|
+
*/
|
|
57
|
+
Value: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
62
|
+
*/
|
|
63
|
+
export declare class SSMGuiConnectPreferences extends $Resource<"AWS::SSMGuiConnect::Preferences", SSMGuiConnectPreferencesProperties, SSMGuiConnectPreferencesAttributes> {
|
|
64
|
+
static readonly Type = "AWS::SSMGuiConnect::Preferences";
|
|
65
|
+
constructor(logicalId: string, properties: SSMGuiConnectPreferencesProperties, options?: $ResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=AWS-SSMGuiConnect-Preferences.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/Resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::SSMGuiConnect::Preferences Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SSMGuiConnectPreferences extends $Resource {
|
|
7
|
+
static Type = "AWS::SSMGuiConnect::Preferences";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SSMGuiConnectPreferences.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SSMGuiConnect-Preferences.js.map
|