@pulumi/aws 5.7.0-alpha.1653989347 → 5.7.0

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.
Files changed (49) hide show
  1. package/acmpca/index.d.ts +1 -0
  2. package/acmpca/index.js +5 -0
  3. package/acmpca/index.js.map +1 -1
  4. package/acmpca/policy.d.ts +120 -0
  5. package/acmpca/policy.js +117 -0
  6. package/acmpca/policy.js.map +1 -0
  7. package/dms/endpoint.d.ts +18 -6
  8. package/dms/endpoint.js +2 -0
  9. package/dms/endpoint.js.map +1 -1
  10. package/guardduty/detector.d.ts +11 -3
  11. package/guardduty/detector.js +5 -0
  12. package/guardduty/detector.js.map +1 -1
  13. package/index.d.ts +2 -1
  14. package/index.js +4 -2
  15. package/index.js.map +1 -1
  16. package/neptune/cluster.d.ts +12 -0
  17. package/neptune/cluster.js +2 -0
  18. package/neptune/cluster.js.map +1 -1
  19. package/package.json +2 -2
  20. package/package.json.dev +2 -2
  21. package/ram/resourceShare.d.ts +15 -3
  22. package/ram/resourceShare.js +2 -0
  23. package/ram/resourceShare.js.map +1 -1
  24. package/redshift/cluster.d.ts +3 -1
  25. package/redshift/cluster.js +2 -0
  26. package/redshift/cluster.js.map +1 -1
  27. package/redshift/clusterIamRoles.d.ts +97 -0
  28. package/redshift/clusterIamRoles.js +81 -0
  29. package/redshift/clusterIamRoles.js.map +1 -0
  30. package/redshift/getClusterCredentials.d.ts +98 -0
  31. package/redshift/getClusterCredentials.js +41 -0
  32. package/redshift/getClusterCredentials.js.map +1 -0
  33. package/redshift/hsmConfiguration.d.ts +179 -0
  34. package/redshift/hsmConfiguration.js +110 -0
  35. package/redshift/hsmConfiguration.js.map +1 -0
  36. package/redshift/index.d.ts +3 -0
  37. package/redshift/index.js +11 -0
  38. package/redshift/index.js.map +1 -1
  39. package/redshiftdata/index.d.ts +1 -0
  40. package/redshiftdata/index.js +37 -0
  41. package/redshiftdata/index.js.map +1 -0
  42. package/redshiftdata/statement.d.ts +149 -0
  43. package/redshiftdata/statement.js +97 -0
  44. package/redshiftdata/statement.js.map +1 -0
  45. package/types/enums/lambda/index.d.ts +14 -0
  46. package/types/enums/lambda/index.js +14 -0
  47. package/types/enums/lambda/index.js.map +1 -1
  48. package/types/input.d.ts +51 -2
  49. package/types/output.d.ts +53 -4
@@ -0,0 +1,179 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = new aws.redshift.HsmConfiguration("example", {
12
+ * description: "example",
13
+ * hsmConfigurationIdentifier: "example",
14
+ * hsmIpAddress: "10.0.0.1",
15
+ * hsmPartitionName: "aws",
16
+ * hsmPartitionPassword: "example",
17
+ * hsmServerPublicCertificate: "example",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * Redshift Hsm Client Certificates support import by `hsm_configuration_identifier`, e.g., console
24
+ *
25
+ * ```sh
26
+ * $ pulumi import aws:redshift/hsmConfiguration:HsmConfiguration example example
27
+ * ```
28
+ */
29
+ export declare class HsmConfiguration extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing HsmConfiguration resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HsmConfigurationState, opts?: pulumi.CustomResourceOptions): HsmConfiguration;
40
+ /**
41
+ * Returns true if the given object is an instance of HsmConfiguration. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is HsmConfiguration;
45
+ /**
46
+ * Amazon Resource Name (ARN) of the Hsm Client Certificate.
47
+ */
48
+ readonly arn: pulumi.Output<string>;
49
+ /**
50
+ * A text description of the HSM configuration to be created.
51
+ */
52
+ readonly description: pulumi.Output<string>;
53
+ /**
54
+ * The identifier to be assigned to the new Amazon Redshift HSM configuration.
55
+ */
56
+ readonly hsmConfigurationIdentifier: pulumi.Output<string>;
57
+ /**
58
+ * The IP address that the Amazon Redshift cluster must use to access the HSM.
59
+ */
60
+ readonly hsmIpAddress: pulumi.Output<string>;
61
+ /**
62
+ * The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
63
+ */
64
+ readonly hsmPartitionName: pulumi.Output<string>;
65
+ /**
66
+ * The password required to access the HSM partition.
67
+ */
68
+ readonly hsmPartitionPassword: pulumi.Output<string>;
69
+ /**
70
+ * The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
71
+ */
72
+ readonly hsmServerPublicCertificate: pulumi.Output<string>;
73
+ /**
74
+ * A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
75
+ */
76
+ readonly tags: pulumi.Output<{
77
+ [key: string]: string;
78
+ } | undefined>;
79
+ /**
80
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
81
+ */
82
+ readonly tagsAll: pulumi.Output<{
83
+ [key: string]: string;
84
+ }>;
85
+ /**
86
+ * Create a HsmConfiguration resource with the given unique name, arguments, and options.
87
+ *
88
+ * @param name The _unique_ name of the resource.
89
+ * @param args The arguments to use to populate this resource's properties.
90
+ * @param opts A bag of options that control this resource's behavior.
91
+ */
92
+ constructor(name: string, args: HsmConfigurationArgs, opts?: pulumi.CustomResourceOptions);
93
+ }
94
+ /**
95
+ * Input properties used for looking up and filtering HsmConfiguration resources.
96
+ */
97
+ export interface HsmConfigurationState {
98
+ /**
99
+ * Amazon Resource Name (ARN) of the Hsm Client Certificate.
100
+ */
101
+ arn?: pulumi.Input<string>;
102
+ /**
103
+ * A text description of the HSM configuration to be created.
104
+ */
105
+ description?: pulumi.Input<string>;
106
+ /**
107
+ * The identifier to be assigned to the new Amazon Redshift HSM configuration.
108
+ */
109
+ hsmConfigurationIdentifier?: pulumi.Input<string>;
110
+ /**
111
+ * The IP address that the Amazon Redshift cluster must use to access the HSM.
112
+ */
113
+ hsmIpAddress?: pulumi.Input<string>;
114
+ /**
115
+ * The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
116
+ */
117
+ hsmPartitionName?: pulumi.Input<string>;
118
+ /**
119
+ * The password required to access the HSM partition.
120
+ */
121
+ hsmPartitionPassword?: pulumi.Input<string>;
122
+ /**
123
+ * The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
124
+ */
125
+ hsmServerPublicCertificate?: pulumi.Input<string>;
126
+ /**
127
+ * A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
128
+ */
129
+ tags?: pulumi.Input<{
130
+ [key: string]: pulumi.Input<string>;
131
+ }>;
132
+ /**
133
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
134
+ */
135
+ tagsAll?: pulumi.Input<{
136
+ [key: string]: pulumi.Input<string>;
137
+ }>;
138
+ }
139
+ /**
140
+ * The set of arguments for constructing a HsmConfiguration resource.
141
+ */
142
+ export interface HsmConfigurationArgs {
143
+ /**
144
+ * A text description of the HSM configuration to be created.
145
+ */
146
+ description: pulumi.Input<string>;
147
+ /**
148
+ * The identifier to be assigned to the new Amazon Redshift HSM configuration.
149
+ */
150
+ hsmConfigurationIdentifier: pulumi.Input<string>;
151
+ /**
152
+ * The IP address that the Amazon Redshift cluster must use to access the HSM.
153
+ */
154
+ hsmIpAddress: pulumi.Input<string>;
155
+ /**
156
+ * The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
157
+ */
158
+ hsmPartitionName: pulumi.Input<string>;
159
+ /**
160
+ * The password required to access the HSM partition.
161
+ */
162
+ hsmPartitionPassword: pulumi.Input<string>;
163
+ /**
164
+ * The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
165
+ */
166
+ hsmServerPublicCertificate: pulumi.Input<string>;
167
+ /**
168
+ * A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
169
+ */
170
+ tags?: pulumi.Input<{
171
+ [key: string]: pulumi.Input<string>;
172
+ }>;
173
+ /**
174
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
175
+ */
176
+ tagsAll?: pulumi.Input<{
177
+ [key: string]: pulumi.Input<string>;
178
+ }>;
179
+ }
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HsmConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.redshift.HsmConfiguration("example", {
18
+ * description: "example",
19
+ * hsmConfigurationIdentifier: "example",
20
+ * hsmIpAddress: "10.0.0.1",
21
+ * hsmPartitionName: "aws",
22
+ * hsmPartitionPassword: "example",
23
+ * hsmServerPublicCertificate: "example",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Redshift Hsm Client Certificates support import by `hsm_configuration_identifier`, e.g., console
30
+ *
31
+ * ```sh
32
+ * $ pulumi import aws:redshift/hsmConfiguration:HsmConfiguration example example
33
+ * ```
34
+ */
35
+ class HsmConfiguration extends pulumi.CustomResource {
36
+ constructor(name, argsOrState, opts) {
37
+ let resourceInputs = {};
38
+ opts = opts || {};
39
+ if (opts.id) {
40
+ const state = argsOrState;
41
+ resourceInputs["arn"] = state ? state.arn : undefined;
42
+ resourceInputs["description"] = state ? state.description : undefined;
43
+ resourceInputs["hsmConfigurationIdentifier"] = state ? state.hsmConfigurationIdentifier : undefined;
44
+ resourceInputs["hsmIpAddress"] = state ? state.hsmIpAddress : undefined;
45
+ resourceInputs["hsmPartitionName"] = state ? state.hsmPartitionName : undefined;
46
+ resourceInputs["hsmPartitionPassword"] = state ? state.hsmPartitionPassword : undefined;
47
+ resourceInputs["hsmServerPublicCertificate"] = state ? state.hsmServerPublicCertificate : undefined;
48
+ resourceInputs["tags"] = state ? state.tags : undefined;
49
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if ((!args || args.description === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'description'");
55
+ }
56
+ if ((!args || args.hsmConfigurationIdentifier === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'hsmConfigurationIdentifier'");
58
+ }
59
+ if ((!args || args.hsmIpAddress === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'hsmIpAddress'");
61
+ }
62
+ if ((!args || args.hsmPartitionName === undefined) && !opts.urn) {
63
+ throw new Error("Missing required property 'hsmPartitionName'");
64
+ }
65
+ if ((!args || args.hsmPartitionPassword === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'hsmPartitionPassword'");
67
+ }
68
+ if ((!args || args.hsmServerPublicCertificate === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'hsmServerPublicCertificate'");
70
+ }
71
+ resourceInputs["description"] = args ? args.description : undefined;
72
+ resourceInputs["hsmConfigurationIdentifier"] = args ? args.hsmConfigurationIdentifier : undefined;
73
+ resourceInputs["hsmIpAddress"] = args ? args.hsmIpAddress : undefined;
74
+ resourceInputs["hsmPartitionName"] = args ? args.hsmPartitionName : undefined;
75
+ resourceInputs["hsmPartitionPassword"] = args ? args.hsmPartitionPassword : undefined;
76
+ resourceInputs["hsmServerPublicCertificate"] = args ? args.hsmServerPublicCertificate : undefined;
77
+ resourceInputs["tags"] = args ? args.tags : undefined;
78
+ resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
79
+ resourceInputs["arn"] = undefined /*out*/;
80
+ }
81
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
82
+ super(HsmConfiguration.__pulumiType, name, resourceInputs, opts);
83
+ }
84
+ /**
85
+ * Get an existing HsmConfiguration resource's state with the given name, ID, and optional extra
86
+ * properties used to qualify the lookup.
87
+ *
88
+ * @param name The _unique_ name of the resulting resource.
89
+ * @param id The _unique_ provider ID of the resource to lookup.
90
+ * @param state Any extra arguments used during the lookup.
91
+ * @param opts Optional settings to control the behavior of the CustomResource.
92
+ */
93
+ static get(name, id, state, opts) {
94
+ return new HsmConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
95
+ }
96
+ /**
97
+ * Returns true if the given object is an instance of HsmConfiguration. This is designed to work even
98
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
99
+ */
100
+ static isInstance(obj) {
101
+ if (obj === undefined || obj === null) {
102
+ return false;
103
+ }
104
+ return obj['__pulumiType'] === HsmConfiguration.__pulumiType;
105
+ }
106
+ }
107
+ exports.HsmConfiguration = HsmConfiguration;
108
+ /** @internal */
109
+ HsmConfiguration.__pulumiType = 'aws:redshift/hsmConfiguration:HsmConfiguration';
110
+ //# sourceMappingURL=hsmConfiguration.js.map
@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,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
@@ -1,12 +1,15 @@
1
1
  export * from "./authenticationProfile";
2
2
  export * from "./cluster";
3
+ export * from "./clusterIamRoles";
3
4
  export * from "./endpointAccess";
4
5
  export * from "./eventSubscription";
5
6
  export * from "./getCluster";
7
+ export * from "./getClusterCredentials";
6
8
  export * from "./getOrderableCluster";
7
9
  export * from "./getServiceAccount";
8
10
  export * from "./getSubnetGroup";
9
11
  export * from "./hsmClientCertificate";
12
+ export * from "./hsmConfiguration";
10
13
  export * from "./parameterGroup";
11
14
  export * from "./scheduledAction";
12
15
  export * from "./securityGroup";
package/redshift/index.js CHANGED
@@ -21,13 +21,16 @@ const utilities = require("../utilities");
21
21
  // Export members:
22
22
  __exportStar(require("./authenticationProfile"), exports);
23
23
  __exportStar(require("./cluster"), exports);
24
+ __exportStar(require("./clusterIamRoles"), exports);
24
25
  __exportStar(require("./endpointAccess"), exports);
25
26
  __exportStar(require("./eventSubscription"), exports);
26
27
  __exportStar(require("./getCluster"), exports);
28
+ __exportStar(require("./getClusterCredentials"), exports);
27
29
  __exportStar(require("./getOrderableCluster"), exports);
28
30
  __exportStar(require("./getServiceAccount"), exports);
29
31
  __exportStar(require("./getSubnetGroup"), exports);
30
32
  __exportStar(require("./hsmClientCertificate"), exports);
33
+ __exportStar(require("./hsmConfiguration"), exports);
31
34
  __exportStar(require("./parameterGroup"), exports);
32
35
  __exportStar(require("./scheduledAction"), exports);
33
36
  __exportStar(require("./securityGroup"), exports);
@@ -39,9 +42,11 @@ __exportStar(require("./usageLimit"), exports);
39
42
  // Import resources to register:
40
43
  const authenticationProfile_1 = require("./authenticationProfile");
41
44
  const cluster_1 = require("./cluster");
45
+ const clusterIamRoles_1 = require("./clusterIamRoles");
42
46
  const endpointAccess_1 = require("./endpointAccess");
43
47
  const eventSubscription_1 = require("./eventSubscription");
44
48
  const hsmClientCertificate_1 = require("./hsmClientCertificate");
49
+ const hsmConfiguration_1 = require("./hsmConfiguration");
45
50
  const parameterGroup_1 = require("./parameterGroup");
46
51
  const scheduledAction_1 = require("./scheduledAction");
47
52
  const securityGroup_1 = require("./securityGroup");
@@ -58,12 +63,16 @@ const _module = {
58
63
  return new authenticationProfile_1.AuthenticationProfile(name, undefined, { urn });
59
64
  case "aws:redshift/cluster:Cluster":
60
65
  return new cluster_1.Cluster(name, undefined, { urn });
66
+ case "aws:redshift/clusterIamRoles:ClusterIamRoles":
67
+ return new clusterIamRoles_1.ClusterIamRoles(name, undefined, { urn });
61
68
  case "aws:redshift/endpointAccess:EndpointAccess":
62
69
  return new endpointAccess_1.EndpointAccess(name, undefined, { urn });
63
70
  case "aws:redshift/eventSubscription:EventSubscription":
64
71
  return new eventSubscription_1.EventSubscription(name, undefined, { urn });
65
72
  case "aws:redshift/hsmClientCertificate:HsmClientCertificate":
66
73
  return new hsmClientCertificate_1.HsmClientCertificate(name, undefined, { urn });
74
+ case "aws:redshift/hsmConfiguration:HsmConfiguration":
75
+ return new hsmConfiguration_1.HsmConfiguration(name, undefined, { urn });
67
76
  case "aws:redshift/parameterGroup:ParameterGroup":
68
77
  return new parameterGroup_1.ParameterGroup(name, undefined, { urn });
69
78
  case "aws:redshift/scheduledAction:ScheduledAction":
@@ -87,9 +96,11 @@ const _module = {
87
96
  };
88
97
  pulumi.runtime.registerResourceModule("aws", "redshift/authenticationProfile", _module);
89
98
  pulumi.runtime.registerResourceModule("aws", "redshift/cluster", _module);
99
+ pulumi.runtime.registerResourceModule("aws", "redshift/clusterIamRoles", _module);
90
100
  pulumi.runtime.registerResourceModule("aws", "redshift/endpointAccess", _module);
91
101
  pulumi.runtime.registerResourceModule("aws", "redshift/eventSubscription", _module);
92
102
  pulumi.runtime.registerResourceModule("aws", "redshift/hsmClientCertificate", _module);
103
+ pulumi.runtime.registerResourceModule("aws", "redshift/hsmConfiguration", _module);
93
104
  pulumi.runtime.registerResourceModule("aws", "redshift/parameterGroup", _module);
94
105
  pulumi.runtime.registerResourceModule("aws", "redshift/scheduledAction", _module);
95
106
  pulumi.runtime.registerResourceModule("aws", "redshift/securityGroup", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../redshift/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0DAAwC;AACxC,4CAA0B;AAC1B,mDAAiC;AACjC,sDAAoC;AACpC,+CAA6B;AAC7B,wDAAsC;AACtC,sDAAoC;AACpC,mDAAiC;AACjC,yDAAuC;AACvC,mDAAiC;AACjC,oDAAkC;AAClC,kDAAgC;AAChC,sDAAoC;AACpC,qDAAmC;AACnC,gEAA8C;AAC9C,gDAA8B;AAC9B,+CAA6B;AAE7B,gCAAgC;AAChC,mEAAgE;AAChE,uCAAoC;AACpC,qDAAkD;AAClD,2DAAwD;AACxD,iEAA8D;AAC9D,qDAAkD;AAClD,uDAAoD;AACpD,mDAAgD;AAChD,2DAAwD;AACxD,yDAAsD;AACtD,+EAA4E;AAC5E,+CAA4C;AAC5C,6CAA0C;AAE1C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAA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/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA;AAC7F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ export * from "./statement";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ const pulumi = require("@pulumi/pulumi");
20
+ const utilities = require("../utilities");
21
+ // Export members:
22
+ __exportStar(require("./statement"), exports);
23
+ // Import resources to register:
24
+ const statement_1 = require("./statement");
25
+ const _module = {
26
+ version: utilities.getVersion(),
27
+ construct: (name, type, urn) => {
28
+ switch (type) {
29
+ case "aws:redshiftdata/statement:Statement":
30
+ return new statement_1.Statement(name, undefined, { urn });
31
+ default:
32
+ throw new Error(`unknown resource type ${type}`);
33
+ }
34
+ },
35
+ };
36
+ pulumi.runtime.registerResourceModule("aws", "redshiftdata/statement", _module);
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../redshiftdata/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,8CAA4B;AAE5B,gCAAgC;AAChC,2CAAwC;AAExC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,149 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Executes a Redshift Data Statement.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.redshiftdata.Statement("example", {
13
+ * clusterIdentifier: aws_redshift_cluster.example.cluster_identifier,
14
+ * database: aws_redshift_cluster.example.database_name,
15
+ * dbUser: aws_redshift_cluster.example.master_username,
16
+ * sql: "CREATE GROUP group_name;",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Redshift Data Statements can be imported using the `id`, e.g.,
23
+ *
24
+ * ```sh
25
+ * $ pulumi import aws:redshiftdata/statement:Statement example example
26
+ * ```
27
+ */
28
+ export declare class Statement extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing Statement resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StatementState, opts?: pulumi.CustomResourceOptions): Statement;
39
+ /**
40
+ * Returns true if the given object is an instance of Statement. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is Statement;
44
+ /**
45
+ * The cluster identifier.
46
+ */
47
+ readonly clusterIdentifier: pulumi.Output<string>;
48
+ /**
49
+ * The name of the database.
50
+ */
51
+ readonly database: pulumi.Output<string>;
52
+ /**
53
+ * The database user name.
54
+ */
55
+ readonly dbUser: pulumi.Output<string | undefined>;
56
+ readonly parameters: pulumi.Output<outputs.redshiftdata.StatementParameter[] | undefined>;
57
+ /**
58
+ * The name or ARN of the secret that enables access to the database.
59
+ */
60
+ readonly secretArn: pulumi.Output<string | undefined>;
61
+ /**
62
+ * The SQL statement text to run.
63
+ */
64
+ readonly sql: pulumi.Output<string>;
65
+ /**
66
+ * The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
67
+ */
68
+ readonly statementName: pulumi.Output<string | undefined>;
69
+ /**
70
+ * A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
71
+ */
72
+ readonly withEvent: pulumi.Output<boolean | undefined>;
73
+ /**
74
+ * Create a Statement resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: StatementArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering Statement resources.
84
+ */
85
+ export interface StatementState {
86
+ /**
87
+ * The cluster identifier.
88
+ */
89
+ clusterIdentifier?: pulumi.Input<string>;
90
+ /**
91
+ * The name of the database.
92
+ */
93
+ database?: pulumi.Input<string>;
94
+ /**
95
+ * The database user name.
96
+ */
97
+ dbUser?: pulumi.Input<string>;
98
+ parameters?: pulumi.Input<pulumi.Input<inputs.redshiftdata.StatementParameter>[]>;
99
+ /**
100
+ * The name or ARN of the secret that enables access to the database.
101
+ */
102
+ secretArn?: pulumi.Input<string>;
103
+ /**
104
+ * The SQL statement text to run.
105
+ */
106
+ sql?: pulumi.Input<string>;
107
+ /**
108
+ * The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
109
+ */
110
+ statementName?: pulumi.Input<string>;
111
+ /**
112
+ * A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
113
+ */
114
+ withEvent?: pulumi.Input<boolean>;
115
+ }
116
+ /**
117
+ * The set of arguments for constructing a Statement resource.
118
+ */
119
+ export interface StatementArgs {
120
+ /**
121
+ * The cluster identifier.
122
+ */
123
+ clusterIdentifier: pulumi.Input<string>;
124
+ /**
125
+ * The name of the database.
126
+ */
127
+ database: pulumi.Input<string>;
128
+ /**
129
+ * The database user name.
130
+ */
131
+ dbUser?: pulumi.Input<string>;
132
+ parameters?: pulumi.Input<pulumi.Input<inputs.redshiftdata.StatementParameter>[]>;
133
+ /**
134
+ * The name or ARN of the secret that enables access to the database.
135
+ */
136
+ secretArn?: pulumi.Input<string>;
137
+ /**
138
+ * The SQL statement text to run.
139
+ */
140
+ sql: pulumi.Input<string>;
141
+ /**
142
+ * The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
143
+ */
144
+ statementName?: pulumi.Input<string>;
145
+ /**
146
+ * A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
147
+ */
148
+ withEvent?: pulumi.Input<boolean>;
149
+ }