@awboost/cfn-resource-types 0.1.63 → 0.1.64

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.
@@ -72,6 +72,10 @@ export type BedrockAgentProperties = {
72
72
  * A map of tag keys and values
73
73
  */
74
74
  Tags?: TagsMap;
75
+ /**
76
+ * A map of tag keys and values
77
+ */
78
+ TestAliasTags?: TagsMap;
75
79
  };
76
80
  /**
77
81
  * Attribute type definition for `AWS::Bedrock::Agent`.
@@ -0,0 +1,351 @@
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::Bedrock::Guardrail Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
6
+ */
7
+ export type BedrockGuardrailProperties = {
8
+ /**
9
+ * Messaging for when violations are detected in text
10
+ * @minLength `1`
11
+ * @maxLength `500`
12
+ */
13
+ BlockedInputMessaging: string;
14
+ /**
15
+ * Messaging for when violations are detected in text
16
+ * @minLength `1`
17
+ * @maxLength `500`
18
+ */
19
+ BlockedOutputsMessaging: string;
20
+ /**
21
+ * Content policy config for a guardrail.
22
+ */
23
+ ContentPolicyConfig?: ContentPolicyConfig;
24
+ /**
25
+ * Description of the guardrail or its version
26
+ * @minLength `1`
27
+ * @maxLength `200`
28
+ */
29
+ Description?: string;
30
+ /**
31
+ * The KMS key with which the guardrail was encrypted at rest
32
+ * @minLength `1`
33
+ * @maxLength `2048`
34
+ * @pattern `^arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`
35
+ */
36
+ KmsKeyArn?: string;
37
+ /**
38
+ * Name of the guardrail
39
+ * @minLength `1`
40
+ * @maxLength `50`
41
+ * @pattern `^[0-9a-zA-Z-_]+$`
42
+ */
43
+ Name: string;
44
+ /**
45
+ * Sensitive information policy config for a guardrail.
46
+ */
47
+ SensitiveInformationPolicyConfig?: SensitiveInformationPolicyConfig;
48
+ /**
49
+ * List of Tags
50
+ * @minLength `0`
51
+ * @maxLength `200`
52
+ */
53
+ Tags?: Tag[];
54
+ /**
55
+ * Topic policy config for a guardrail.
56
+ */
57
+ TopicPolicyConfig?: TopicPolicyConfig;
58
+ /**
59
+ * Word policy config for a guardrail.
60
+ */
61
+ WordPolicyConfig?: WordPolicyConfig;
62
+ };
63
+ /**
64
+ * Attribute type definition for `AWS::Bedrock::Guardrail`.
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#aws-resource-bedrock-guardrail-return-values}
66
+ */
67
+ export type BedrockGuardrailAttributes = {
68
+ /**
69
+ * Time Stamp
70
+ */
71
+ CreatedAt: string;
72
+ /**
73
+ * List of failure recommendations
74
+ * @maxLength `100`
75
+ */
76
+ FailureRecommendations: string[];
77
+ /**
78
+ * Arn representation for the guardrail
79
+ * @maxLength `2048`
80
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+$`
81
+ */
82
+ GuardrailArn: string;
83
+ /**
84
+ * Unique id for the guardrail
85
+ * @maxLength `64`
86
+ * @pattern `^[a-z0-9]+$`
87
+ */
88
+ GuardrailId: string;
89
+ /**
90
+ * Status of the guardrail
91
+ */
92
+ Status: GuardrailStatus;
93
+ /**
94
+ * List of status reasons
95
+ * @maxLength `100`
96
+ */
97
+ StatusReasons: string[];
98
+ /**
99
+ * Time Stamp
100
+ */
101
+ UpdatedAt: string;
102
+ /**
103
+ * Guardrail version
104
+ * @pattern `^(([1-9][0-9]{0,7})|(DRAFT))$`
105
+ */
106
+ Version: string;
107
+ };
108
+ /**
109
+ * Type definition for `AWS::Bedrock::Guardrail.ContentFilterConfig`.
110
+ * Content filter config in content policy.
111
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html}
112
+ */
113
+ export type ContentFilterConfig = {
114
+ /**
115
+ * Strength for filters
116
+ */
117
+ InputStrength: FilterStrength;
118
+ /**
119
+ * Strength for filters
120
+ */
121
+ OutputStrength: FilterStrength;
122
+ /**
123
+ * Type of filter in content policy
124
+ */
125
+ Type: ContentFilterType;
126
+ };
127
+ /**
128
+ * Type definition for `AWS::Bedrock::Guardrail.ContentFilterType`.
129
+ * Type of filter in content policy
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfiltertype.html}
131
+ */
132
+ export type ContentFilterType = "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK";
133
+ /**
134
+ * Type definition for `AWS::Bedrock::Guardrail.ContentPolicyConfig`.
135
+ * Content policy config for a guardrail.
136
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html}
137
+ */
138
+ export type ContentPolicyConfig = {
139
+ /**
140
+ * List of content filter configs in content policy.
141
+ * @minLength `1`
142
+ * @maxLength `6`
143
+ */
144
+ FiltersConfig: ContentFilterConfig[];
145
+ };
146
+ /**
147
+ * Type definition for `AWS::Bedrock::Guardrail.FilterStrength`.
148
+ * Strength for filters
149
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-filterstrength.html}
150
+ */
151
+ export type FilterStrength = "NONE" | "LOW" | "MEDIUM" | "HIGH";
152
+ /**
153
+ * Type definition for `AWS::Bedrock::Guardrail.GuardrailStatus`.
154
+ * Status of the guardrail
155
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-guardrailstatus.html}
156
+ */
157
+ export type GuardrailStatus = "CREATING" | "UPDATING" | "VERSIONING" | "READY" | "FAILED" | "DELETING";
158
+ /**
159
+ * Type definition for `AWS::Bedrock::Guardrail.ManagedWordsConfig`.
160
+ * A managed words config.
161
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-managedwordsconfig.html}
162
+ */
163
+ export type ManagedWordsConfig = {
164
+ /**
165
+ * Options for managed words.
166
+ */
167
+ Type: ManagedWordsType;
168
+ };
169
+ /**
170
+ * Type definition for `AWS::Bedrock::Guardrail.ManagedWordsType`.
171
+ * Options for managed words.
172
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-managedwordstype.html}
173
+ */
174
+ export type ManagedWordsType = "PROFANITY";
175
+ /**
176
+ * Type definition for `AWS::Bedrock::Guardrail.PiiEntityConfig`.
177
+ * Pii entity configuration.
178
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html}
179
+ */
180
+ export type PiiEntityConfig = {
181
+ /**
182
+ * Options for sensitive information action.
183
+ */
184
+ Action: SensitiveInformationAction;
185
+ /**
186
+ * The currently supported PII entities
187
+ */
188
+ Type: PiiEntityType;
189
+ };
190
+ /**
191
+ * Type definition for `AWS::Bedrock::Guardrail.PiiEntityType`.
192
+ * The currently supported PII entities
193
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientitytype.html}
194
+ */
195
+ export type PiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER";
196
+ /**
197
+ * Type definition for `AWS::Bedrock::Guardrail.RegexConfig`.
198
+ * A regex configuration.
199
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html}
200
+ */
201
+ export type RegexConfig = {
202
+ /**
203
+ * Options for sensitive information action.
204
+ */
205
+ Action: SensitiveInformationAction;
206
+ /**
207
+ * The regex description.
208
+ * @minLength `1`
209
+ * @maxLength `1000`
210
+ */
211
+ Description?: string;
212
+ /**
213
+ * The regex name.
214
+ * @minLength `1`
215
+ * @maxLength `100`
216
+ */
217
+ Name: string;
218
+ /**
219
+ * The regex pattern.
220
+ * @minLength `1`
221
+ */
222
+ Pattern: string;
223
+ };
224
+ /**
225
+ * Type definition for `AWS::Bedrock::Guardrail.SensitiveInformationAction`.
226
+ * Options for sensitive information action.
227
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationaction.html}
228
+ */
229
+ export type SensitiveInformationAction = "BLOCK" | "ANONYMIZE";
230
+ /**
231
+ * Type definition for `AWS::Bedrock::Guardrail.SensitiveInformationPolicyConfig`.
232
+ * Sensitive information policy config for a guardrail.
233
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html}
234
+ */
235
+ export type SensitiveInformationPolicyConfig = {
236
+ /**
237
+ * List of entities.
238
+ * @minLength `1`
239
+ */
240
+ PiiEntitiesConfig?: PiiEntityConfig[];
241
+ /**
242
+ * List of regex.
243
+ * @minLength `1`
244
+ */
245
+ RegexesConfig?: RegexConfig[];
246
+ };
247
+ /**
248
+ * Type definition for `AWS::Bedrock::Guardrail.Tag`.
249
+ * Definition of the key/value pair for a tag
250
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-tag.html}
251
+ */
252
+ export type Tag = {
253
+ /**
254
+ * Tag Key
255
+ * @minLength `1`
256
+ * @maxLength `128`
257
+ * @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
258
+ */
259
+ Key: string;
260
+ /**
261
+ * Tag Value
262
+ * @minLength `0`
263
+ * @maxLength `256`
264
+ * @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
265
+ */
266
+ Value: string;
267
+ };
268
+ /**
269
+ * Type definition for `AWS::Bedrock::Guardrail.TopicConfig`.
270
+ * Topic config in topic policy.
271
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html}
272
+ */
273
+ export type TopicConfig = {
274
+ /**
275
+ * Definition of topic in topic policy
276
+ * @minLength `1`
277
+ * @maxLength `200`
278
+ */
279
+ Definition: string;
280
+ /**
281
+ * List of text examples
282
+ * @minLength `0`
283
+ */
284
+ Examples?: string[];
285
+ /**
286
+ * Name of topic in topic policy
287
+ * @minLength `1`
288
+ * @maxLength `100`
289
+ * @pattern `^[0-9a-zA-Z-_ !?.]+$`
290
+ */
291
+ Name: string;
292
+ /**
293
+ * Type of topic in a policy
294
+ */
295
+ Type: TopicType;
296
+ };
297
+ /**
298
+ * Type definition for `AWS::Bedrock::Guardrail.TopicPolicyConfig`.
299
+ * Topic policy config for a guardrail.
300
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html}
301
+ */
302
+ export type TopicPolicyConfig = {
303
+ /**
304
+ * List of topic configs in topic policy.
305
+ * @minLength `1`
306
+ */
307
+ TopicsConfig: TopicConfig[];
308
+ };
309
+ /**
310
+ * Type definition for `AWS::Bedrock::Guardrail.TopicType`.
311
+ * Type of topic in a policy
312
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topictype.html}
313
+ */
314
+ export type TopicType = "DENY";
315
+ /**
316
+ * Type definition for `AWS::Bedrock::Guardrail.WordConfig`.
317
+ * A custom word config.
318
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordconfig.html}
319
+ */
320
+ export type WordConfig = {
321
+ /**
322
+ * The custom word text.
323
+ * @minLength `1`
324
+ */
325
+ Text: string;
326
+ };
327
+ /**
328
+ * Type definition for `AWS::Bedrock::Guardrail.WordPolicyConfig`.
329
+ * Word policy config for a guardrail.
330
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html}
331
+ */
332
+ export type WordPolicyConfig = {
333
+ /**
334
+ * A config for the list of managed words.
335
+ */
336
+ ManagedWordListsConfig?: ManagedWordsConfig[];
337
+ /**
338
+ * List of custom word configs.
339
+ * @minLength `1`
340
+ */
341
+ WordsConfig?: WordConfig[];
342
+ };
343
+ /**
344
+ * Definition of AWS::Bedrock::Guardrail Resource Type
345
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
346
+ */
347
+ export declare class BedrockGuardrail extends $Resource<"AWS::Bedrock::Guardrail", BedrockGuardrailProperties, BedrockGuardrailAttributes> {
348
+ static readonly Type = "AWS::Bedrock::Guardrail";
349
+ constructor(logicalId: string, properties: BedrockGuardrailProperties, options?: $ResourceOptions);
350
+ }
351
+ //# sourceMappingURL=AWS-Bedrock-Guardrail.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::Guardrail Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
5
+ */
6
+ export class BedrockGuardrail extends $Resource {
7
+ static Type = "AWS::Bedrock::Guardrail";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockGuardrail.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-Guardrail.js.map
@@ -12,7 +12,7 @@ export type CURReportDefinitionProperties = {
12
12
  /**
13
13
  * A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.
14
14
  */
15
- AdditionalSchemaElements?: "RESOURCES"[];
15
+ AdditionalSchemaElements?: ("RESOURCES" | "SPLIT_COST_ALLOCATION_DATA" | "MANUAL_DISCOUNT_COMPATIBILITY")[];
16
16
  /**
17
17
  * The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs.
18
18
  * @minLength `1`
@@ -5,20 +5,21 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetableassociation.html}
6
6
  */
7
7
  export type EC2TransitGatewayRouteTableAssociationProperties = {
8
- /**
9
- * The ID of transit gateway attachment.
10
- */
11
8
  TransitGatewayAttachmentId: string;
12
- /**
13
- * The ID of transit gateway route table.
14
- */
15
9
  TransitGatewayRouteTableId: string;
16
10
  };
11
+ /**
12
+ * Attribute type definition for `AWS::EC2::TransitGatewayRouteTableAssociation`.
13
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetableassociation.html#aws-resource-ec2-transitgatewayroutetableassociation-return-values}
14
+ */
15
+ export type EC2TransitGatewayRouteTableAssociationAttributes = {
16
+ Id: string;
17
+ };
17
18
  /**
18
19
  * Resource Type definition for AWS::EC2::TransitGatewayRouteTableAssociation
19
20
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetableassociation.html}
20
21
  */
21
- export declare class EC2TransitGatewayRouteTableAssociation extends $Resource<"AWS::EC2::TransitGatewayRouteTableAssociation", EC2TransitGatewayRouteTableAssociationProperties, Record<string, never>> {
22
+ export declare class EC2TransitGatewayRouteTableAssociation extends $Resource<"AWS::EC2::TransitGatewayRouteTableAssociation", EC2TransitGatewayRouteTableAssociationProperties, EC2TransitGatewayRouteTableAssociationAttributes> {
22
23
  static readonly Type = "AWS::EC2::TransitGatewayRouteTableAssociation";
23
24
  constructor(logicalId: string, properties: EC2TransitGatewayRouteTableAssociationProperties, options?: $ResourceOptions);
24
25
  }
@@ -5,11 +5,29 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html}
6
6
  */
7
7
  export type LambdaAliasProperties = {
8
+ /**
9
+ * A description of the alias.
10
+ */
8
11
  Description?: string;
12
+ /**
13
+ * The name of the Lambda function.
14
+ */
9
15
  FunctionName: string;
16
+ /**
17
+ * The function version that the alias invokes.
18
+ */
10
19
  FunctionVersion: string;
20
+ /**
21
+ * The name of the alias.
22
+ */
11
23
  Name: string;
24
+ /**
25
+ * Specifies a provisioned concurrency configuration for a function's alias.
26
+ */
12
27
  ProvisionedConcurrencyConfig?: ProvisionedConcurrencyConfiguration;
28
+ /**
29
+ * The routing configuration of the alias.
30
+ */
13
31
  RoutingConfig?: AliasRoutingConfiguration;
14
32
  };
15
33
  /**
@@ -17,29 +35,46 @@ export type LambdaAliasProperties = {
17
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#aws-resource-lambda-alias-return-values}
18
36
  */
19
37
  export type LambdaAliasAttributes = {
38
+ /**
39
+ * Lambda Alias ARN generated by the service.
40
+ */
20
41
  AliasArn: string;
21
- Id: string;
22
42
  };
23
43
  /**
24
44
  * Type definition for `AWS::Lambda::Alias.AliasRoutingConfiguration`.
45
+ * The traffic-shifting configuration of a Lambda function alias.
25
46
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html}
26
47
  */
27
48
  export type AliasRoutingConfiguration = {
28
- AdditionalVersionWeights: VersionWeight[];
49
+ /**
50
+ * The second version, and the percentage of traffic that's routed to it.
51
+ */
52
+ AdditionalVersionWeights?: VersionWeight[];
29
53
  };
30
54
  /**
31
55
  * Type definition for `AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration`.
56
+ * A provisioned concurrency configuration for a function's alias.
32
57
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-provisionedconcurrencyconfiguration.html}
33
58
  */
34
59
  export type ProvisionedConcurrencyConfiguration = {
60
+ /**
61
+ * The amount of provisioned concurrency to allocate for the alias.
62
+ */
35
63
  ProvisionedConcurrentExecutions: number;
36
64
  };
37
65
  /**
38
66
  * Type definition for `AWS::Lambda::Alias.VersionWeight`.
67
+ * The traffic-shifting configuration of a Lambda function alias.
39
68
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html}
40
69
  */
41
70
  export type VersionWeight = {
71
+ /**
72
+ * The qualifier of the second version.
73
+ */
42
74
  FunctionVersion: string;
75
+ /**
76
+ * The percentage of traffic that the alias routes to the second version.
77
+ */
43
78
  FunctionWeight: number;
44
79
  };
45
80
  /**
@@ -0,0 +1,29 @@
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::PaymentCryptography::Alias Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html}
6
+ */
7
+ export type PaymentCryptographyAliasProperties = {
8
+ /**
9
+ * @minLength `7`
10
+ * @maxLength `256`
11
+ * @pattern `^alias/[a-zA-Z0-9/_-]+$`
12
+ */
13
+ AliasName: string;
14
+ /**
15
+ * @minLength `70`
16
+ * @maxLength `150`
17
+ * @pattern `^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$`
18
+ */
19
+ KeyArn?: string;
20
+ };
21
+ /**
22
+ * Definition of AWS::PaymentCryptography::Alias Resource Type
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html}
24
+ */
25
+ export declare class PaymentCryptographyAlias extends $Resource<"AWS::PaymentCryptography::Alias", PaymentCryptographyAliasProperties, Record<string, never>> {
26
+ static readonly Type = "AWS::PaymentCryptography::Alias";
27
+ constructor(logicalId: string, properties: PaymentCryptographyAliasProperties, options?: $ResourceOptions);
28
+ }
29
+ //# sourceMappingURL=AWS-PaymentCryptography-Alias.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::PaymentCryptography::Alias Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html}
5
+ */
6
+ export class PaymentCryptographyAlias extends $Resource {
7
+ static Type = "AWS::PaymentCryptography::Alias";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, PaymentCryptographyAlias.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-PaymentCryptography-Alias.js.map
@@ -0,0 +1,119 @@
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::PaymentCryptography::Key Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html}
6
+ */
7
+ export type PaymentCryptographyKeyProperties = {
8
+ Enabled?: boolean;
9
+ Exportable: boolean;
10
+ KeyAttributes: KeyAttributes;
11
+ KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
12
+ /**
13
+ * @minLength `0`
14
+ * @maxLength `200`
15
+ */
16
+ Tags?: Tag[];
17
+ };
18
+ /**
19
+ * Attribute type definition for `AWS::PaymentCryptography::Key`.
20
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#aws-resource-paymentcryptography-key-return-values}
21
+ */
22
+ export type PaymentCryptographyKeyAttributes = {
23
+ /**
24
+ * @minLength `7`
25
+ * @maxLength `322`
26
+ * @pattern `^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:(key/[0-9a-zA-Z]{16,64}|alias/[a-zA-Z0-9/_-]+)$|^alias/[a-zA-Z0-9/_-]+$`
27
+ */
28
+ KeyIdentifier: string;
29
+ /**
30
+ * Defines the source of a key
31
+ */
32
+ KeyOrigin: KeyOrigin;
33
+ /**
34
+ * Defines the state of a key
35
+ */
36
+ KeyState: KeyState;
37
+ };
38
+ /**
39
+ * Type definition for `AWS::PaymentCryptography::Key.KeyAlgorithm`.
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyalgorithm.html}
41
+ */
42
+ export type KeyAlgorithm = "TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096";
43
+ /**
44
+ * Type definition for `AWS::PaymentCryptography::Key.KeyAttributes`.
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html}
46
+ */
47
+ export type KeyAttributes = {
48
+ KeyAlgorithm: KeyAlgorithm;
49
+ KeyClass: KeyClass;
50
+ KeyModesOfUse: KeyModesOfUse;
51
+ KeyUsage: KeyUsage;
52
+ };
53
+ /**
54
+ * Type definition for `AWS::PaymentCryptography::Key.KeyCheckValueAlgorithm`.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keycheckvaluealgorithm.html}
56
+ */
57
+ export type KeyCheckValueAlgorithm = "CMAC" | "ANSI_X9_24";
58
+ /**
59
+ * Type definition for `AWS::PaymentCryptography::Key.KeyClass`.
60
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyclass.html}
61
+ */
62
+ export type KeyClass = "SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY";
63
+ /**
64
+ * Type definition for `AWS::PaymentCryptography::Key.KeyModesOfUse`.
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html}
66
+ */
67
+ export type KeyModesOfUse = {
68
+ Decrypt?: boolean;
69
+ DeriveKey?: boolean;
70
+ Encrypt?: boolean;
71
+ Generate?: boolean;
72
+ NoRestrictions?: boolean;
73
+ Sign?: boolean;
74
+ Unwrap?: boolean;
75
+ Verify?: boolean;
76
+ Wrap?: boolean;
77
+ };
78
+ /**
79
+ * Type definition for `AWS::PaymentCryptography::Key.KeyOrigin`.
80
+ * Defines the source of a key
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyorigin.html}
82
+ */
83
+ export type KeyOrigin = "EXTERNAL" | "AWS_PAYMENT_CRYPTOGRAPHY";
84
+ /**
85
+ * Type definition for `AWS::PaymentCryptography::Key.KeyState`.
86
+ * Defines the state of a key
87
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keystate.html}
88
+ */
89
+ export type KeyState = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE";
90
+ /**
91
+ * Type definition for `AWS::PaymentCryptography::Key.KeyUsage`.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyusage.html}
93
+ */
94
+ export type KeyUsage = "TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY";
95
+ /**
96
+ * Type definition for `AWS::PaymentCryptography::Key.Tag`.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-tag.html}
98
+ */
99
+ export type Tag = {
100
+ /**
101
+ * @minLength `1`
102
+ * @maxLength `128`
103
+ */
104
+ Key: string;
105
+ /**
106
+ * @minLength `0`
107
+ * @maxLength `256`
108
+ */
109
+ Value?: string;
110
+ };
111
+ /**
112
+ * Definition of AWS::PaymentCryptography::Key Resource Type
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html}
114
+ */
115
+ export declare class PaymentCryptographyKey extends $Resource<"AWS::PaymentCryptography::Key", PaymentCryptographyKeyProperties, PaymentCryptographyKeyAttributes> {
116
+ static readonly Type = "AWS::PaymentCryptography::Key";
117
+ constructor(logicalId: string, properties: PaymentCryptographyKeyProperties, options?: $ResourceOptions);
118
+ }
119
+ //# sourceMappingURL=AWS-PaymentCryptography-Key.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::PaymentCryptography::Key Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html}
5
+ */
6
+ export class PaymentCryptographyKey extends $Resource {
7
+ static Type = "AWS::PaymentCryptography::Key";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, PaymentCryptographyKey.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-PaymentCryptography-Key.js.map