@awboost/cfn-resource-types 0.1.43 → 0.1.44

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,134 @@
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::KafkaConnect::CustomPlugin`.
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-kafkaconnect-customplugin.html}
7
+ */
8
+ export type KafkaConnectCustomPluginProperties = {
9
+ /**
10
+ * The type of the plugin file.
11
+ */
12
+ ContentType: "JAR" | "ZIP";
13
+ /**
14
+ * A summary description of the custom plugin.
15
+ * @maxLength `1024`
16
+ */
17
+ Description?: string;
18
+ /**
19
+ * Information about the location of a custom plugin.
20
+ */
21
+ Location: CustomPluginLocation;
22
+ /**
23
+ * The name of the custom plugin.
24
+ * @minLength `1`
25
+ * @maxLength `128`
26
+ */
27
+ Name: string;
28
+ /**
29
+ * An array of key-value pairs to apply to this resource.
30
+ */
31
+ Tags?: Tag[];
32
+ };
33
+ /**
34
+ * Attribute type definition for `AWS::KafkaConnect::CustomPlugin`.
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html#aws-resource-kafkaconnect-customplugin-return-values}
36
+ */
37
+ export type KafkaConnectCustomPluginAttributes = {
38
+ /**
39
+ * The Amazon Resource Name (ARN) of the custom plugin to use.
40
+ * @pattern `arn:(aws|aws-us-gov|aws-cn):kafkaconnect:.*`
41
+ */
42
+ CustomPluginArn: string;
43
+ /**
44
+ * Details about the custom plugin file.
45
+ */
46
+ FileDescription: {
47
+ /**
48
+ * The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.
49
+ */
50
+ FileMd5: string;
51
+ /**
52
+ * The size in bytes of the custom plugin file. You can use it to validate the file.
53
+ */
54
+ FileSize: number;
55
+ };
56
+ /**
57
+ * The revision of the custom plugin.
58
+ */
59
+ Revision: number;
60
+ };
61
+ /**
62
+ * Type definition for `AWS::KafkaConnect::CustomPlugin.CustomPluginFileDescription`.
63
+ * Details about the custom plugin file.
64
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginfiledescription.html}
65
+ */
66
+ export type CustomPluginFileDescription = {
67
+ /**
68
+ * The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.
69
+ */
70
+ FileMd5?: string;
71
+ /**
72
+ * The size in bytes of the custom plugin file. You can use it to validate the file.
73
+ */
74
+ FileSize?: number;
75
+ };
76
+ /**
77
+ * Type definition for `AWS::KafkaConnect::CustomPlugin.CustomPluginLocation`.
78
+ * Information about the location of a custom plugin.
79
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-custompluginlocation.html}
80
+ */
81
+ export type CustomPluginLocation = {
82
+ /**
83
+ * The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.
84
+ */
85
+ S3Location: S3Location;
86
+ };
87
+ /**
88
+ * Type definition for `AWS::KafkaConnect::CustomPlugin.S3Location`.
89
+ * The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.
90
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-s3location.html}
91
+ */
92
+ export type S3Location = {
93
+ /**
94
+ * The Amazon Resource Name (ARN) of an S3 bucket.
95
+ */
96
+ BucketArn: string;
97
+ /**
98
+ * The file key for an object in an S3 bucket.
99
+ */
100
+ FileKey: string;
101
+ /**
102
+ * The version of an object in an S3 bucket.
103
+ */
104
+ ObjectVersion?: string;
105
+ };
106
+ /**
107
+ * Type definition for `AWS::KafkaConnect::CustomPlugin.Tag`.
108
+ * A key-value pair to associate with a resource.
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-customplugin-tag.html}
110
+ */
111
+ export type Tag = {
112
+ /**
113
+ * 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 -.
114
+ * @minLength `1`
115
+ * @maxLength `128`
116
+ */
117
+ Key: string;
118
+ /**
119
+ * 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 -.
120
+ * @minLength `0`
121
+ * @maxLength `256`
122
+ */
123
+ Value: string;
124
+ };
125
+ /**
126
+ * Resource type definition for `AWS::KafkaConnect::CustomPlugin`.
127
+ * An example resource schema demonstrating some basic constructs and validation rules.
128
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-customplugin.html}
129
+ */
130
+ export declare class KafkaConnectCustomPlugin extends $Resource<"AWS::KafkaConnect::CustomPlugin", KafkaConnectCustomPluginProperties, KafkaConnectCustomPluginAttributes> {
131
+ static readonly Type = "AWS::KafkaConnect::CustomPlugin";
132
+ constructor(logicalId: string, properties: KafkaConnectCustomPluginProperties, options?: $ResourceOptions);
133
+ }
134
+ //# sourceMappingURL=AWS-KafkaConnect-CustomPlugin.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::KafkaConnect::CustomPlugin`.
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-kafkaconnect-customplugin.html}
6
+ */
7
+ export class KafkaConnectCustomPlugin extends $Resource {
8
+ static Type = "AWS::KafkaConnect::CustomPlugin";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, KafkaConnectCustomPlugin.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-KafkaConnect-CustomPlugin.js.map
@@ -0,0 +1,68 @@
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::KafkaConnect::WorkerConfiguration`.
5
+ * The configuration of the workers, which are the processes that run the connector logic.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html}
7
+ */
8
+ export type KafkaConnectWorkerConfigurationProperties = {
9
+ /**
10
+ * A summary description of the worker configuration.
11
+ * @maxLength `1024`
12
+ */
13
+ Description?: string;
14
+ /**
15
+ * The name of the worker configuration.
16
+ * @minLength `1`
17
+ * @maxLength `128`
18
+ */
19
+ Name: string;
20
+ /**
21
+ * Base64 encoded contents of connect-distributed.properties file.
22
+ */
23
+ PropertiesFileContent: string;
24
+ /**
25
+ * A collection of tags associated with a resource
26
+ */
27
+ Tags?: Tag[];
28
+ };
29
+ /**
30
+ * Attribute type definition for `AWS::KafkaConnect::WorkerConfiguration`.
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#aws-resource-kafkaconnect-workerconfiguration-return-values}
32
+ */
33
+ export type KafkaConnectWorkerConfigurationAttributes = {
34
+ /**
35
+ * The description of a revision of the worker configuration.
36
+ */
37
+ Revision: number;
38
+ /**
39
+ * The Amazon Resource Name (ARN) of the custom configuration.
40
+ * @pattern `arn:(aws|aws-us-gov|aws-cn):kafkaconnect:.*`
41
+ */
42
+ WorkerConfigurationArn: string;
43
+ };
44
+ /**
45
+ * Type definition for `AWS::KafkaConnect::WorkerConfiguration.Tag`.
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-workerconfiguration-tag.html}
47
+ */
48
+ export type Tag = {
49
+ /**
50
+ * @minLength `1`
51
+ * @maxLength `128`
52
+ */
53
+ Key: string;
54
+ /**
55
+ * @maxLength `256`
56
+ */
57
+ Value: string;
58
+ };
59
+ /**
60
+ * Resource type definition for `AWS::KafkaConnect::WorkerConfiguration`.
61
+ * The configuration of the workers, which are the processes that run the connector logic.
62
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html}
63
+ */
64
+ export declare class KafkaConnectWorkerConfiguration extends $Resource<"AWS::KafkaConnect::WorkerConfiguration", KafkaConnectWorkerConfigurationProperties, KafkaConnectWorkerConfigurationAttributes> {
65
+ static readonly Type = "AWS::KafkaConnect::WorkerConfiguration";
66
+ constructor(logicalId: string, properties: KafkaConnectWorkerConfigurationProperties, options?: $ResourceOptions);
67
+ }
68
+ //# sourceMappingURL=AWS-KafkaConnect-WorkerConfiguration.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::KafkaConnect::WorkerConfiguration`.
4
+ * The configuration of the workers, which are the processes that run the connector logic.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html}
6
+ */
7
+ export class KafkaConnectWorkerConfiguration extends $Resource {
8
+ static Type = "AWS::KafkaConnect::WorkerConfiguration";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, KafkaConnectWorkerConfiguration.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-KafkaConnect-WorkerConfiguration.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },