@pulumi/aws 7.43.0-alpha.1787044187 → 7.43.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.
- package/bedrock/agentcoreHarness.d.ts +15 -7
- package/bedrock/agentcoreHarness.d.ts.map +1 -1
- package/bedrock/agentcoreHarness.js +2 -0
- package/bedrock/agentcoreHarness.js.map +1 -1
- package/dsql/clusterPolicy.d.ts +228 -0
- package/dsql/clusterPolicy.d.ts.map +1 -0
- package/dsql/clusterPolicy.js +218 -0
- package/dsql/clusterPolicy.js.map +1 -0
- package/dsql/index.d.ts +3 -0
- package/dsql/index.d.ts.map +1 -1
- package/dsql/index.js +6 -1
- package/dsql/index.js.map +1 -1
- package/ec2/amiLaunchPermission.d.ts +15 -0
- package/ec2/amiLaunchPermission.d.ts.map +1 -1
- package/ec2/amiLaunchPermission.js +15 -0
- package/ec2/amiLaunchPermission.js.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +4 -0
- package/fsx/getOntapFileSystem.d.ts.map +1 -1
- package/fsx/getOntapFileSystem.js.map +1 -1
- package/fsx/getWindowsFileSystem.d.ts +4 -0
- package/fsx/getWindowsFileSystem.d.ts.map +1 -1
- package/fsx/getWindowsFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +12 -0
- package/fsx/ontapFileSystem.d.ts.map +1 -1
- package/fsx/ontapFileSystem.js +2 -0
- package/fsx/ontapFileSystem.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +12 -0
- package/fsx/openZfsFileSystem.d.ts.map +1 -1
- package/fsx/openZfsFileSystem.js +2 -0
- package/fsx/openZfsFileSystem.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +12 -0
- package/fsx/windowsFileSystem.d.ts.map +1 -1
- package/fsx/windowsFileSystem.js +2 -0
- package/fsx/windowsFileSystem.js.map +1 -1
- package/lambda/coreNetworkConnector.d.ts +186 -0
- package/lambda/coreNetworkConnector.d.ts.map +1 -0
- package/lambda/coreNetworkConnector.js +170 -0
- package/lambda/coreNetworkConnector.js.map +1 -0
- package/lambda/index.d.ts +6 -0
- package/lambda/index.d.ts.map +1 -1
- package/lambda/index.js +11 -1
- package/lambda/index.js.map +1 -1
- package/lambda/microvmsImage.d.ts +340 -0
- package/lambda/microvmsImage.d.ts.map +1 -0
- package/lambda/microvmsImage.js +189 -0
- package/lambda/microvmsImage.js.map +1 -0
- package/mailmanager/index.d.ts +3 -0
- package/mailmanager/index.d.ts.map +1 -1
- package/mailmanager/index.js +6 -1
- package/mailmanager/index.js.map +1 -1
- package/mailmanager/relay.d.ts +223 -0
- package/mailmanager/relay.d.ts.map +1 -0
- package/mailmanager/relay.js +160 -0
- package/mailmanager/relay.js.map +1 -0
- package/medialive/channel.d.ts +11 -0
- package/medialive/channel.d.ts.map +1 -1
- package/medialive/channel.js +11 -0
- package/medialive/channel.js.map +1 -1
- package/medialive/input.d.ts +11 -0
- package/medialive/input.d.ts.map +1 -1
- package/medialive/input.js +11 -0
- package/medialive/input.js.map +1 -1
- package/medialive/inputSecurityGroup.d.ts +16 -5
- package/medialive/inputSecurityGroup.d.ts.map +1 -1
- package/medialive/inputSecurityGroup.js +13 -2
- package/medialive/inputSecurityGroup.js.map +1 -1
- package/medialive/multiplex.d.ts +11 -0
- package/medialive/multiplex.d.ts.map +1 -1
- package/medialive/multiplex.js +11 -0
- package/medialive/multiplex.js.map +1 -1
- package/medialive/multiplexProgram.d.ts +13 -1
- package/medialive/multiplexProgram.d.ts.map +1 -1
- package/medialive/multiplexProgram.js +13 -1
- package/medialive/multiplexProgram.js.map +1 -1
- package/odb/getIamRoleAssociation.d.ts +96 -0
- package/odb/getIamRoleAssociation.d.ts.map +1 -0
- package/odb/getIamRoleAssociation.js +83 -0
- package/odb/getIamRoleAssociation.js.map +1 -0
- package/odb/iamRoleAssociation.d.ts +140 -0
- package/odb/iamRoleAssociation.d.ts.map +1 -0
- package/odb/iamRoleAssociation.js +121 -0
- package/odb/iamRoleAssociation.js.map +1 -0
- package/odb/index.d.ts +6 -0
- package/odb/index.d.ts.map +1 -1
- package/odb/index.js +9 -1
- package/odb/index.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +20 -0
- package/pinpoint/smsvoicev2PhoneNumber.d.ts.map +1 -1
- package/pinpoint/smsvoicev2PhoneNumber.js +4 -0
- package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
- package/resiliencehub/getV2Service.d.ts +4 -0
- package/resiliencehub/getV2Service.d.ts.map +1 -1
- package/resiliencehub/getV2Service.js.map +1 -1
- package/resiliencehub/index.d.ts +9 -0
- package/resiliencehub/index.d.ts.map +1 -1
- package/resiliencehub/index.js +16 -1
- package/resiliencehub/index.js.map +1 -1
- package/resiliencehub/v2assertion.d.ts +126 -0
- package/resiliencehub/v2assertion.d.ts.map +1 -0
- package/resiliencehub/v2assertion.js +123 -0
- package/resiliencehub/v2assertion.js.map +1 -0
- package/resiliencehub/v2inputSource.d.ts +0 -2
- package/resiliencehub/v2inputSource.d.ts.map +1 -1
- package/resiliencehub/v2inputSource.js +0 -2
- package/resiliencehub/v2inputSource.js.map +1 -1
- package/resiliencehub/v2service.d.ts +31 -0
- package/resiliencehub/v2service.d.ts.map +1 -1
- package/resiliencehub/v2service.js +21 -0
- package/resiliencehub/v2service.js.map +1 -1
- package/resiliencehub/v2serviceFunction.d.ts +165 -0
- package/resiliencehub/v2serviceFunction.d.ts.map +1 -0
- package/resiliencehub/v2serviceFunction.js +142 -0
- package/resiliencehub/v2serviceFunction.js.map +1 -0
- package/resiliencehub/v2userJourney.d.ts +172 -0
- package/resiliencehub/v2userJourney.d.ts.map +1 -0
- package/resiliencehub/v2userJourney.js +146 -0
- package/resiliencehub/v2userJourney.js.map +1 -0
- package/securityhub/featureV2.d.ts +118 -0
- package/securityhub/featureV2.d.ts.map +1 -0
- package/securityhub/featureV2.js +127 -0
- package/securityhub/featureV2.js.map +1 -0
- package/securityhub/index.d.ts +3 -0
- package/securityhub/index.d.ts.map +1 -1
- package/securityhub/index.js +6 -1
- package/securityhub/index.js.map +1 -1
- package/types/input.d.ts +295 -30
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +285 -19
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
- package/vpclattice/getService.d.ts +4 -0
- package/vpclattice/getService.d.ts.map +1 -1
- package/vpclattice/getService.js.map +1 -1
- package/vpclattice/service.d.ts +12 -0
- package/vpclattice/service.d.ts.map +1 -1
- package/vpclattice/service.js +2 -0
- package/vpclattice/service.js.map +1 -1
|
@@ -183,6 +183,10 @@ export declare class AgentcoreHarness extends pulumi.CustomResource {
|
|
|
183
183
|
* Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.
|
|
184
184
|
*/
|
|
185
185
|
readonly authorizerConfiguration: pulumi.Output<outputs.bedrock.AgentcoreHarnessAuthorizerConfiguration | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Actual deployed environment configuration.
|
|
188
|
+
*/
|
|
189
|
+
readonly environmentActuals: pulumi.Output<outputs.bedrock.AgentcoreHarnessEnvironmentActual[]>;
|
|
186
190
|
/**
|
|
187
191
|
* Environment artifact configuration. See `environmentArtifact` Block below.
|
|
188
192
|
*/
|
|
@@ -194,9 +198,9 @@ export declare class AgentcoreHarness extends pulumi.CustomResource {
|
|
|
194
198
|
[key: string]: string;
|
|
195
199
|
} | undefined>;
|
|
196
200
|
/**
|
|
197
|
-
* Compute environment configuration. See `environment` Block below.
|
|
201
|
+
* Compute environment configuration. See `environment` Block below.If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
|
|
198
202
|
*/
|
|
199
|
-
readonly environments: pulumi.Output<outputs.bedrock.AgentcoreHarnessEnvironment[]>;
|
|
203
|
+
readonly environments: pulumi.Output<outputs.bedrock.AgentcoreHarnessEnvironment[] | undefined>;
|
|
200
204
|
/**
|
|
201
205
|
* ARN of the IAM role that the harness assumes to access AWS services.
|
|
202
206
|
*/
|
|
@@ -218,7 +222,7 @@ export declare class AgentcoreHarness extends pulumi.CustomResource {
|
|
|
218
222
|
*/
|
|
219
223
|
readonly maxTokens: pulumi.Output<number | undefined>;
|
|
220
224
|
/**
|
|
221
|
-
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`.
|
|
225
|
+
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`. Clearing this value will reset the memory configuration to default values.
|
|
222
226
|
*/
|
|
223
227
|
readonly memory: pulumi.Output<outputs.bedrock.AgentcoreHarnessMemory | undefined>;
|
|
224
228
|
/**
|
|
@@ -293,6 +297,10 @@ export interface AgentcoreHarnessState {
|
|
|
293
297
|
* Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.
|
|
294
298
|
*/
|
|
295
299
|
authorizerConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreHarnessAuthorizerConfiguration | undefined>;
|
|
300
|
+
/**
|
|
301
|
+
* Actual deployed environment configuration.
|
|
302
|
+
*/
|
|
303
|
+
environmentActuals?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreHarnessEnvironmentActual>[] | undefined>;
|
|
296
304
|
/**
|
|
297
305
|
* Environment artifact configuration. See `environmentArtifact` Block below.
|
|
298
306
|
*/
|
|
@@ -304,7 +312,7 @@ export interface AgentcoreHarnessState {
|
|
|
304
312
|
[key: string]: pulumi.Input<string>;
|
|
305
313
|
} | undefined>;
|
|
306
314
|
/**
|
|
307
|
-
* Compute environment configuration. See `environment` Block below.
|
|
315
|
+
* Compute environment configuration. See `environment` Block below.If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
|
|
308
316
|
*/
|
|
309
317
|
environments?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreHarnessEnvironment>[] | undefined>;
|
|
310
318
|
/**
|
|
@@ -328,7 +336,7 @@ export interface AgentcoreHarnessState {
|
|
|
328
336
|
*/
|
|
329
337
|
maxTokens?: pulumi.Input<number | undefined>;
|
|
330
338
|
/**
|
|
331
|
-
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`.
|
|
339
|
+
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`. Clearing this value will reset the memory configuration to default values.
|
|
332
340
|
*/
|
|
333
341
|
memory?: pulumi.Input<inputs.bedrock.AgentcoreHarnessMemory | undefined>;
|
|
334
342
|
/**
|
|
@@ -402,7 +410,7 @@ export interface AgentcoreHarnessArgs {
|
|
|
402
410
|
[key: string]: pulumi.Input<string>;
|
|
403
411
|
} | undefined>;
|
|
404
412
|
/**
|
|
405
|
-
* Compute environment configuration. See `environment` Block below.
|
|
413
|
+
* Compute environment configuration. See `environment` Block below.If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
|
|
406
414
|
*/
|
|
407
415
|
environments?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreHarnessEnvironment>[] | undefined>;
|
|
408
416
|
/**
|
|
@@ -422,7 +430,7 @@ export interface AgentcoreHarnessArgs {
|
|
|
422
430
|
*/
|
|
423
431
|
maxTokens?: pulumi.Input<number | undefined>;
|
|
424
432
|
/**
|
|
425
|
-
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`.
|
|
433
|
+
* Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`. Clearing this value will reset the memory configuration to default values.
|
|
426
434
|
*/
|
|
427
435
|
memory?: pulumi.Input<inputs.bedrock.AgentcoreHarnessMemory | undefined>;
|
|
428
436
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreHarness.d.ts","sourceRoot":"","sources":["../../bedrock/agentcoreHarness.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI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B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACrG"}
|
|
@@ -215,6 +215,7 @@ class AgentcoreHarness extends pulumi.CustomResource {
|
|
|
215
215
|
resourceInputs["allowedTools"] = state?.allowedTools;
|
|
216
216
|
resourceInputs["arn"] = state?.arn;
|
|
217
217
|
resourceInputs["authorizerConfiguration"] = state?.authorizerConfiguration;
|
|
218
|
+
resourceInputs["environmentActuals"] = state?.environmentActuals;
|
|
218
219
|
resourceInputs["environmentArtifact"] = state?.environmentArtifact;
|
|
219
220
|
resourceInputs["environmentVariables"] = state?.environmentVariables;
|
|
220
221
|
resourceInputs["environments"] = state?.environments;
|
|
@@ -267,6 +268,7 @@ class AgentcoreHarness extends pulumi.CustomResource {
|
|
|
267
268
|
resourceInputs["tools"] = args?.tools;
|
|
268
269
|
resourceInputs["truncations"] = args?.truncations;
|
|
269
270
|
resourceInputs["arn"] = undefined /*out*/;
|
|
271
|
+
resourceInputs["environmentActuals"] = undefined /*out*/;
|
|
270
272
|
resourceInputs["harnessId"] = undefined /*out*/;
|
|
271
273
|
resourceInputs["memoryActuals"] = undefined /*out*/;
|
|
272
274
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreHarness.js","sourceRoot":"","sources":["../../bedrock/agentcoreHarness.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,WAAW,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAzML,4CA0MC"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for managing an Amazon Aurora DSQL Cluster resource-based policy.
|
|
6
|
+
*
|
|
7
|
+
* > Aurora DSQL resource-based policies can grant access to principals within the same AWS account as the cluster. Cross-account access is not currently supported by Aurora DSQL resource-based policies.
|
|
8
|
+
*
|
|
9
|
+
* > Aurora DSQL resource-based policy changes are eventually consistent and typically take effect within one minute.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Block Public Internet Access
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
20
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
21
|
+
* identifier: example.identifier,
|
|
22
|
+
* policy: JSON.stringify({
|
|
23
|
+
* Version: "2012-10-17",
|
|
24
|
+
* Statement: [{
|
|
25
|
+
* Sid: "DenyAccessFromOutsideVPC",
|
|
26
|
+
* Effect: "Deny",
|
|
27
|
+
* Principal: {
|
|
28
|
+
* AWS: "*",
|
|
29
|
+
* },
|
|
30
|
+
* Action: [
|
|
31
|
+
* "dsql:DbConnect",
|
|
32
|
+
* "dsql:DbConnectAdmin",
|
|
33
|
+
* ],
|
|
34
|
+
* Resource: "*",
|
|
35
|
+
* Condition: {
|
|
36
|
+
* Null: {
|
|
37
|
+
* "aws:SourceVpc": "true",
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* }],
|
|
41
|
+
* }),
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* This policy denies `dsql:DbConnect` and `dsql:DbConnectAdmin` requests from the public internet. It only checks whether the request came from a VPC. To limit access to a specific VPC, use `aws:SourceVpc` with `StringNotEquals`.
|
|
46
|
+
*
|
|
47
|
+
* The calling principal still requires an identity-based IAM policy that allows the required Aurora DSQL actions on the cluster.
|
|
48
|
+
*
|
|
49
|
+
* ### Restrict Access to a Specific VPC
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as aws from "@pulumi/aws";
|
|
54
|
+
*
|
|
55
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
56
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
57
|
+
* identifier: example.identifier,
|
|
58
|
+
* policy: pulumi.jsonStringify({
|
|
59
|
+
* Version: "2012-10-17",
|
|
60
|
+
* Statement: [{
|
|
61
|
+
* Sid: "DenyAccessFromOtherVPCs",
|
|
62
|
+
* Effect: "Deny",
|
|
63
|
+
* Principal: {
|
|
64
|
+
* AWS: "*",
|
|
65
|
+
* },
|
|
66
|
+
* Action: [
|
|
67
|
+
* "dsql:DbConnect",
|
|
68
|
+
* "dsql:DbConnectAdmin",
|
|
69
|
+
* ],
|
|
70
|
+
* Resource: example.arn,
|
|
71
|
+
* Condition: {
|
|
72
|
+
* StringNotEquals: {
|
|
73
|
+
* "aws:SourceVpc": exampleAwsVpc.id,
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* }],
|
|
77
|
+
* }),
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* ### Restrict Access to an AWS Organization
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as aws from "@pulumi/aws";
|
|
86
|
+
*
|
|
87
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
88
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
89
|
+
* identifier: example.identifier,
|
|
90
|
+
* policy: pulumi.jsonStringify({
|
|
91
|
+
* Version: "2012-10-17",
|
|
92
|
+
* Statement: [{
|
|
93
|
+
* Sid: "DenyAccessFromOutsideOrganization",
|
|
94
|
+
* Effect: "Deny",
|
|
95
|
+
* Principal: {
|
|
96
|
+
* AWS: "*",
|
|
97
|
+
* },
|
|
98
|
+
* Action: [
|
|
99
|
+
* "dsql:DbConnect",
|
|
100
|
+
* "dsql:DbConnectAdmin",
|
|
101
|
+
* ],
|
|
102
|
+
* Resource: example.arn,
|
|
103
|
+
* Condition: {
|
|
104
|
+
* StringNotEquals: {
|
|
105
|
+
* "aws:PrincipalOrgID": "o-exampleorgid",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* }],
|
|
109
|
+
* }),
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* For more examples, including specific organizational units and multi-Region cluster policies, see the [Aurora DSQL resource-based policy examples](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/rbp-examples.html).
|
|
114
|
+
*
|
|
115
|
+
* ## Import
|
|
116
|
+
*
|
|
117
|
+
* ### Identity Schema
|
|
118
|
+
*
|
|
119
|
+
* #### Required
|
|
120
|
+
*
|
|
121
|
+
* * `identifier` (String) Identifier of the Aurora DSQL Cluster.
|
|
122
|
+
*
|
|
123
|
+
* #### Optional
|
|
124
|
+
*
|
|
125
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
126
|
+
* * `region` (String) Region where this resource is managed.
|
|
127
|
+
*
|
|
128
|
+
* Using `pulumi import`, import Aurora DSQL Cluster Policies using the cluster `identifier`. For example:
|
|
129
|
+
*
|
|
130
|
+
* ```sh
|
|
131
|
+
* $ pulumi import aws:dsql/clusterPolicy:ClusterPolicy example abcde1f234ghijklmnop5qr6st
|
|
132
|
+
* ```
|
|
133
|
+
*/
|
|
134
|
+
export declare class ClusterPolicy extends pulumi.CustomResource {
|
|
135
|
+
/**
|
|
136
|
+
* Get an existing ClusterPolicy resource's state with the given name, ID, and optional extra
|
|
137
|
+
* properties used to qualify the lookup.
|
|
138
|
+
*
|
|
139
|
+
* @param name The _unique_ name of the resulting resource.
|
|
140
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
141
|
+
* @param state Any extra arguments used during the lookup.
|
|
142
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
143
|
+
*/
|
|
144
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterPolicyState, opts?: pulumi.CustomResourceOptions): ClusterPolicy;
|
|
145
|
+
/**
|
|
146
|
+
* Returns true if the given object is an instance of ClusterPolicy. This is designed to work even
|
|
147
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
148
|
+
*/
|
|
149
|
+
static isInstance(obj: any): obj is ClusterPolicy;
|
|
150
|
+
/**
|
|
151
|
+
* Whether to bypass the policy lockout safety check. Setting this value to `true` increases the risk that the cluster becomes unmanageable. Defaults to `false`.
|
|
152
|
+
*/
|
|
153
|
+
readonly bypassPolicyLockoutSafetyCheck: pulumi.Output<boolean>;
|
|
154
|
+
/**
|
|
155
|
+
* Identifier of the Aurora DSQL Cluster.
|
|
156
|
+
*/
|
|
157
|
+
readonly identifier: pulumi.Output<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Resource-based policy document as JSON.
|
|
160
|
+
*/
|
|
161
|
+
readonly policy: pulumi.Output<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Version of the policy document.
|
|
164
|
+
*/
|
|
165
|
+
readonly policyVersion: pulumi.Output<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
168
|
+
*/
|
|
169
|
+
readonly region: pulumi.Output<string>;
|
|
170
|
+
readonly timeouts: pulumi.Output<outputs.dsql.ClusterPolicyTimeouts | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Create a ClusterPolicy resource with the given unique name, arguments, and options.
|
|
173
|
+
*
|
|
174
|
+
* @param name The _unique_ name of the resource.
|
|
175
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
176
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
177
|
+
*/
|
|
178
|
+
constructor(name: string, args: ClusterPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Input properties used for looking up and filtering ClusterPolicy resources.
|
|
182
|
+
*/
|
|
183
|
+
export interface ClusterPolicyState {
|
|
184
|
+
/**
|
|
185
|
+
* Whether to bypass the policy lockout safety check. Setting this value to `true` increases the risk that the cluster becomes unmanageable. Defaults to `false`.
|
|
186
|
+
*/
|
|
187
|
+
bypassPolicyLockoutSafetyCheck?: pulumi.Input<boolean | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* Identifier of the Aurora DSQL Cluster.
|
|
190
|
+
*/
|
|
191
|
+
identifier?: pulumi.Input<string | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* Resource-based policy document as JSON.
|
|
194
|
+
*/
|
|
195
|
+
policy?: pulumi.Input<string | undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* Version of the policy document.
|
|
198
|
+
*/
|
|
199
|
+
policyVersion?: pulumi.Input<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
202
|
+
*/
|
|
203
|
+
region?: pulumi.Input<string | undefined>;
|
|
204
|
+
timeouts?: pulumi.Input<inputs.dsql.ClusterPolicyTimeouts | undefined>;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* The set of arguments for constructing a ClusterPolicy resource.
|
|
208
|
+
*/
|
|
209
|
+
export interface ClusterPolicyArgs {
|
|
210
|
+
/**
|
|
211
|
+
* Whether to bypass the policy lockout safety check. Setting this value to `true` increases the risk that the cluster becomes unmanageable. Defaults to `false`.
|
|
212
|
+
*/
|
|
213
|
+
bypassPolicyLockoutSafetyCheck?: pulumi.Input<boolean | undefined>;
|
|
214
|
+
/**
|
|
215
|
+
* Identifier of the Aurora DSQL Cluster.
|
|
216
|
+
*/
|
|
217
|
+
identifier: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Resource-based policy document as JSON.
|
|
220
|
+
*/
|
|
221
|
+
policy: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
224
|
+
*/
|
|
225
|
+
region?: pulumi.Input<string | undefined>;
|
|
226
|
+
timeouts?: pulumi.Input<inputs.dsql.ClusterPolicyTimeouts | undefined>;
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=clusterPolicy.d.ts.map
|
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"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ClusterPolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Resource for managing an Amazon Aurora DSQL Cluster resource-based policy.
|
|
33
|
+
*
|
|
34
|
+
* > Aurora DSQL resource-based policies can grant access to principals within the same AWS account as the cluster. Cross-account access is not currently supported by Aurora DSQL resource-based policies.
|
|
35
|
+
*
|
|
36
|
+
* > Aurora DSQL resource-based policy changes are eventually consistent and typically take effect within one minute.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### Block Public Internet Access
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as aws from "@pulumi/aws";
|
|
45
|
+
*
|
|
46
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
47
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
48
|
+
* identifier: example.identifier,
|
|
49
|
+
* policy: JSON.stringify({
|
|
50
|
+
* Version: "2012-10-17",
|
|
51
|
+
* Statement: [{
|
|
52
|
+
* Sid: "DenyAccessFromOutsideVPC",
|
|
53
|
+
* Effect: "Deny",
|
|
54
|
+
* Principal: {
|
|
55
|
+
* AWS: "*",
|
|
56
|
+
* },
|
|
57
|
+
* Action: [
|
|
58
|
+
* "dsql:DbConnect",
|
|
59
|
+
* "dsql:DbConnectAdmin",
|
|
60
|
+
* ],
|
|
61
|
+
* Resource: "*",
|
|
62
|
+
* Condition: {
|
|
63
|
+
* Null: {
|
|
64
|
+
* "aws:SourceVpc": "true",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* }],
|
|
68
|
+
* }),
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* This policy denies `dsql:DbConnect` and `dsql:DbConnectAdmin` requests from the public internet. It only checks whether the request came from a VPC. To limit access to a specific VPC, use `aws:SourceVpc` with `StringNotEquals`.
|
|
73
|
+
*
|
|
74
|
+
* The calling principal still requires an identity-based IAM policy that allows the required Aurora DSQL actions on the cluster.
|
|
75
|
+
*
|
|
76
|
+
* ### Restrict Access to a Specific VPC
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as aws from "@pulumi/aws";
|
|
81
|
+
*
|
|
82
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
83
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
84
|
+
* identifier: example.identifier,
|
|
85
|
+
* policy: pulumi.jsonStringify({
|
|
86
|
+
* Version: "2012-10-17",
|
|
87
|
+
* Statement: [{
|
|
88
|
+
* Sid: "DenyAccessFromOtherVPCs",
|
|
89
|
+
* Effect: "Deny",
|
|
90
|
+
* Principal: {
|
|
91
|
+
* AWS: "*",
|
|
92
|
+
* },
|
|
93
|
+
* Action: [
|
|
94
|
+
* "dsql:DbConnect",
|
|
95
|
+
* "dsql:DbConnectAdmin",
|
|
96
|
+
* ],
|
|
97
|
+
* Resource: example.arn,
|
|
98
|
+
* Condition: {
|
|
99
|
+
* StringNotEquals: {
|
|
100
|
+
* "aws:SourceVpc": exampleAwsVpc.id,
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* }],
|
|
104
|
+
* }),
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* ### Restrict Access to an AWS Organization
|
|
109
|
+
*
|
|
110
|
+
* ```typescript
|
|
111
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
112
|
+
* import * as aws from "@pulumi/aws";
|
|
113
|
+
*
|
|
114
|
+
* const example = new aws.dsql.Cluster("example", {});
|
|
115
|
+
* const exampleClusterPolicy = new aws.dsql.ClusterPolicy("example", {
|
|
116
|
+
* identifier: example.identifier,
|
|
117
|
+
* policy: pulumi.jsonStringify({
|
|
118
|
+
* Version: "2012-10-17",
|
|
119
|
+
* Statement: [{
|
|
120
|
+
* Sid: "DenyAccessFromOutsideOrganization",
|
|
121
|
+
* Effect: "Deny",
|
|
122
|
+
* Principal: {
|
|
123
|
+
* AWS: "*",
|
|
124
|
+
* },
|
|
125
|
+
* Action: [
|
|
126
|
+
* "dsql:DbConnect",
|
|
127
|
+
* "dsql:DbConnectAdmin",
|
|
128
|
+
* ],
|
|
129
|
+
* Resource: example.arn,
|
|
130
|
+
* Condition: {
|
|
131
|
+
* StringNotEquals: {
|
|
132
|
+
* "aws:PrincipalOrgID": "o-exampleorgid",
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* }],
|
|
136
|
+
* }),
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
140
|
+
* For more examples, including specific organizational units and multi-Region cluster policies, see the [Aurora DSQL resource-based policy examples](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/rbp-examples.html).
|
|
141
|
+
*
|
|
142
|
+
* ## Import
|
|
143
|
+
*
|
|
144
|
+
* ### Identity Schema
|
|
145
|
+
*
|
|
146
|
+
* #### Required
|
|
147
|
+
*
|
|
148
|
+
* * `identifier` (String) Identifier of the Aurora DSQL Cluster.
|
|
149
|
+
*
|
|
150
|
+
* #### Optional
|
|
151
|
+
*
|
|
152
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
153
|
+
* * `region` (String) Region where this resource is managed.
|
|
154
|
+
*
|
|
155
|
+
* Using `pulumi import`, import Aurora DSQL Cluster Policies using the cluster `identifier`. For example:
|
|
156
|
+
*
|
|
157
|
+
* ```sh
|
|
158
|
+
* $ pulumi import aws:dsql/clusterPolicy:ClusterPolicy example abcde1f234ghijklmnop5qr6st
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
class ClusterPolicy extends pulumi.CustomResource {
|
|
162
|
+
/**
|
|
163
|
+
* Get an existing ClusterPolicy resource's state with the given name, ID, and optional extra
|
|
164
|
+
* properties used to qualify the lookup.
|
|
165
|
+
*
|
|
166
|
+
* @param name The _unique_ name of the resulting resource.
|
|
167
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
168
|
+
* @param state Any extra arguments used during the lookup.
|
|
169
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
170
|
+
*/
|
|
171
|
+
static get(name, id, state, opts) {
|
|
172
|
+
return new ClusterPolicy(name, state, { ...opts, id: id });
|
|
173
|
+
}
|
|
174
|
+
/** @internal */
|
|
175
|
+
static __pulumiType = 'aws:dsql/clusterPolicy:ClusterPolicy';
|
|
176
|
+
/**
|
|
177
|
+
* Returns true if the given object is an instance of ClusterPolicy. This is designed to work even
|
|
178
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
179
|
+
*/
|
|
180
|
+
static isInstance(obj) {
|
|
181
|
+
if (obj === undefined || obj === null) {
|
|
182
|
+
return false;
|
|
183
|
+
}
|
|
184
|
+
return obj['__pulumiType'] === ClusterPolicy.__pulumiType;
|
|
185
|
+
}
|
|
186
|
+
constructor(name, argsOrState, opts) {
|
|
187
|
+
let resourceInputs = {};
|
|
188
|
+
opts = opts || {};
|
|
189
|
+
if (opts.id) {
|
|
190
|
+
const state = argsOrState;
|
|
191
|
+
resourceInputs["bypassPolicyLockoutSafetyCheck"] = state?.bypassPolicyLockoutSafetyCheck;
|
|
192
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
193
|
+
resourceInputs["policy"] = state?.policy;
|
|
194
|
+
resourceInputs["policyVersion"] = state?.policyVersion;
|
|
195
|
+
resourceInputs["region"] = state?.region;
|
|
196
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
const args = argsOrState;
|
|
200
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
201
|
+
throw new Error("Missing required property 'identifier'");
|
|
202
|
+
}
|
|
203
|
+
if (args?.policy === undefined && !opts.urn) {
|
|
204
|
+
throw new Error("Missing required property 'policy'");
|
|
205
|
+
}
|
|
206
|
+
resourceInputs["bypassPolicyLockoutSafetyCheck"] = args?.bypassPolicyLockoutSafetyCheck;
|
|
207
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
208
|
+
resourceInputs["policy"] = args?.policy;
|
|
209
|
+
resourceInputs["region"] = args?.region;
|
|
210
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
211
|
+
resourceInputs["policyVersion"] = undefined /*out*/;
|
|
212
|
+
}
|
|
213
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
214
|
+
super(ClusterPolicy.__pulumiType, name, resourceInputs, opts);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.ClusterPolicy = ClusterPolicy;
|
|
218
|
+
//# sourceMappingURL=clusterPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterPolicy.js","sourceRoot":"","sources":["../../dsql/clusterPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sCAAsC,CAAC;IAE7E;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgCD,YAAY,IAAY,EAAE,WA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;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAtFL,sCAuFC"}
|
package/dsql/index.d.ts
CHANGED
|
@@ -4,4 +4,7 @@ export declare const Cluster: typeof import("./cluster").Cluster;
|
|
|
4
4
|
export { ClusterPeeringArgs, ClusterPeeringState } from "./clusterPeering";
|
|
5
5
|
export type ClusterPeering = import("./clusterPeering").ClusterPeering;
|
|
6
6
|
export declare const ClusterPeering: typeof import("./clusterPeering").ClusterPeering;
|
|
7
|
+
export { ClusterPolicyArgs, ClusterPolicyState } from "./clusterPolicy";
|
|
8
|
+
export type ClusterPolicy = import("./clusterPolicy").ClusterPolicy;
|
|
9
|
+
export declare const ClusterPolicy: typeof import("./clusterPolicy").ClusterPolicy;
|
|
7
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dsql/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dsql/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACtD,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dsql/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACtD,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAG5F,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACxE,MAAM,MAAM,aAAa,GAAG,OAAO,iBAAiB,EAAE,aAAa,CAAC;AACpE,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC"}
|
package/dsql/index.js
CHANGED
|
@@ -25,13 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.ClusterPeering = exports.Cluster = void 0;
|
|
28
|
+
exports.ClusterPolicy = exports.ClusterPeering = exports.Cluster = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
exports.Cluster = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
33
33
|
exports.ClusterPeering = null;
|
|
34
34
|
utilities.lazyLoad(exports, ["ClusterPeering"], () => require("./clusterPeering"));
|
|
35
|
+
exports.ClusterPolicy = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["ClusterPolicy"], () => require("./clusterPolicy"));
|
|
35
37
|
const _module = {
|
|
36
38
|
version: utilities.getVersion(),
|
|
37
39
|
construct: (name, type, urn) => {
|
|
@@ -40,6 +42,8 @@ const _module = {
|
|
|
40
42
|
return new exports.Cluster(name, undefined, { urn });
|
|
41
43
|
case "aws:dsql/clusterPeering:ClusterPeering":
|
|
42
44
|
return new exports.ClusterPeering(name, undefined, { urn });
|
|
45
|
+
case "aws:dsql/clusterPolicy:ClusterPolicy":
|
|
46
|
+
return new exports.ClusterPolicy(name, undefined, { urn });
|
|
43
47
|
default:
|
|
44
48
|
throw new Error(`unknown resource type ${type}`);
|
|
45
49
|
}
|
|
@@ -47,4 +51,5 @@ const _module = {
|
|
|
47
51
|
};
|
|
48
52
|
pulumi.runtime.registerResourceModule("aws", "dsql/cluster", _module);
|
|
49
53
|
pulumi.runtime.registerResourceModule("aws", "dsql/clusterPeering", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("aws", "dsql/clusterPolicy", _module);
|
|
50
55
|
//# sourceMappingURL=index.js.map
|