@awboost/cfn-resource-types 0.1.63 → 0.1.65

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.
@@ -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