@awboost/cfn-resource-types 0.1.9 → 0.1.11
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,82 @@
|
|
|
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
|
+
* Resource type definition for `AWS::RDS::Integration`.
|
|
5
|
+
* An example resource schema demonstrating some basic constructs and validation rules.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
|
|
7
|
+
*/
|
|
8
|
+
export type RDSIntegrationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* An optional set of non-secret key–value pairs that contains additional contextual information about the data.
|
|
11
|
+
*/
|
|
12
|
+
AdditionalEncryptionContext?: EncryptionContextMap;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the integration.
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `64`
|
|
17
|
+
*/
|
|
18
|
+
IntegrationName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* An optional AWS Key Management System (AWS KMS) key ARN for the key used to to encrypt the integration. The resource accepts the key ID and the key ARN forms. The key ID form can be used if the KMS key is owned by te same account. If the KMS key belongs to a different account than the calling account, the full key ARN must be specified. Do not use the key alias or the key alias ARN as this will cause a false drift of the resource.
|
|
21
|
+
*/
|
|
22
|
+
KMSKeyId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the Aurora DB cluster to use as the source for replication.
|
|
25
|
+
*/
|
|
26
|
+
SourceArn: string;
|
|
27
|
+
/**
|
|
28
|
+
* An array of key-value pairs to apply to this resource.
|
|
29
|
+
* @maxLength `50`
|
|
30
|
+
*/
|
|
31
|
+
Tags?: Tag[];
|
|
32
|
+
/**
|
|
33
|
+
* The ARN of the Redshift data warehouse to use as the target for replication.
|
|
34
|
+
*/
|
|
35
|
+
TargetArn: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Attribute type definition for `AWS::RDS::Integration`.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#aws-resource-rds-integration-return-values}
|
|
40
|
+
*/
|
|
41
|
+
export type RDSIntegrationAttributes = {
|
|
42
|
+
CreateTime: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ARN of the integration.
|
|
45
|
+
*/
|
|
46
|
+
IntegrationArn: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Type definition for `AWS::RDS::Integration.EncryptionContextMap`.
|
|
50
|
+
* An optional set of non-secret key–value pairs that contains additional contextual information about the data.
|
|
51
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-integration-encryptioncontextmap.html}
|
|
52
|
+
*/
|
|
53
|
+
export type EncryptionContextMap = Record<string, string>;
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::RDS::Integration.Tag`.
|
|
56
|
+
* A key-value pair to associate with a resource.
|
|
57
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-integration-tag.html}
|
|
58
|
+
*/
|
|
59
|
+
export type Tag = {
|
|
60
|
+
/**
|
|
61
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
62
|
+
* @minLength `1`
|
|
63
|
+
* @maxLength `128`
|
|
64
|
+
*/
|
|
65
|
+
Key: string;
|
|
66
|
+
/**
|
|
67
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
68
|
+
* @minLength `0`
|
|
69
|
+
* @maxLength `256`
|
|
70
|
+
*/
|
|
71
|
+
Value?: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Resource type definition for `AWS::RDS::Integration`.
|
|
75
|
+
* An example resource schema demonstrating some basic constructs and validation rules.
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
|
|
77
|
+
*/
|
|
78
|
+
export declare class RDSIntegration extends $Resource<"AWS::RDS::Integration", RDSIntegrationProperties, RDSIntegrationAttributes> {
|
|
79
|
+
static readonly Type = "AWS::RDS::Integration";
|
|
80
|
+
constructor(logicalId: string, properties: RDSIntegrationProperties, options?: $ResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=AWS-RDS-Integration.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::RDS::Integration`.
|
|
4
|
+
* An example resource schema demonstrating some basic constructs and validation rules.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html}
|
|
6
|
+
*/
|
|
7
|
+
export class RDSIntegration extends $Resource {
|
|
8
|
+
static Type = "AWS::RDS::Integration";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, RDSIntegration.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-RDS-Integration.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awboost/cfn-resource-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"tag-version": "git tag -a ${npm_package_name}@${npm_package_version} -m ${npm_package_name}@v${npm_package_version}"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@awboost/cfn-codegen": "^0.1
|
|
35
|
+
"@awboost/cfn-codegen": "^0.2.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@awboost/cfn-template-builder": "^0.3.1"
|