@pulumi/aws 7.9.0-alpha.1760444549 → 7.9.0-alpha.1761090036
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/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/resourcePolicy.d.ts +214 -0
- package/amp/resourcePolicy.js +182 -0
- package/amp/resourcePolicy.js.map +1 -0
- package/bedrock/agentcoreAgentRuntime.d.ts +356 -0
- package/bedrock/agentcoreAgentRuntime.js +198 -0
- package/bedrock/agentcoreAgentRuntime.js.map +1 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +173 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js +96 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +133 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js +84 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -0
- package/bedrock/agentcoreBrowser.d.ts +231 -0
- package/bedrock/agentcoreBrowser.js +135 -0
- package/bedrock/agentcoreBrowser.js.map +1 -0
- package/bedrock/agentcoreCodeInterpreter.d.ts +211 -0
- package/bedrock/agentcoreCodeInterpreter.js +125 -0
- package/bedrock/agentcoreCodeInterpreter.js.map +1 -0
- package/bedrock/agentcoreGateway.d.ts +317 -0
- package/bedrock/agentcoreGateway.js +178 -0
- package/bedrock/agentcoreGateway.js.map +1 -0
- package/bedrock/agentcoreGatewayTarget.d.ts +294 -0
- package/bedrock/agentcoreGatewayTarget.js +233 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -0
- package/bedrock/index.d.ts +21 -0
- package/bedrock/index.js +36 -1
- package/bedrock/index.js.map +1 -1
- package/cloudwatch/metricAlarm.d.ts +39 -7
- package/cloudwatch/metricAlarm.js +36 -4
- package/cloudwatch/metricAlarm.js.map +1 -1
- package/codebuild/project.d.ts +15 -0
- package/codebuild/project.js +2 -0
- package/codebuild/project.js.map +1 -1
- package/datazone/environment.d.ts +10 -6
- package/datazone/environment.js +1 -3
- package/datazone/environment.js.map +1 -1
- package/dms/endpoint.d.ts +3 -3
- package/ec2/getVpnConnection.d.ts +173 -0
- package/ec2/getVpnConnection.js +92 -0
- package/ec2/getVpnConnection.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -3
- package/ec2/index.js.map +1 -1
- package/ec2/route.d.ts +0 -8
- package/ec2/route.js +0 -8
- package/ec2/route.js.map +1 -1
- package/ec2/routeTable.d.ts +6 -6
- package/ec2/routeTable.js +0 -6
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/getDirectConnectGatewayAttachment.d.ts +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js.map +1 -1
- package/ec2transitgateway/getVpcAttachment.d.ts +4 -0
- package/ec2transitgateway/getVpcAttachment.js +4 -0
- package/ec2transitgateway/getVpcAttachment.js.map +1 -1
- package/ec2transitgateway/routeTableAssociation.d.ts +57 -0
- package/ec2transitgateway/routeTableAssociation.js +57 -0
- package/ec2transitgateway/routeTableAssociation.js.map +1 -1
- package/ec2transitgateway/routeTablePropagation.d.ts +57 -0
- package/ec2transitgateway/routeTablePropagation.js +57 -0
- package/ec2transitgateway/routeTablePropagation.js.map +1 -1
- package/emrserverless/application.d.ts +12 -0
- package/emrserverless/application.js +2 -0
- package/emrserverless/application.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/lakeformation/permissions.d.ts +14 -10
- package/lakeformation/permissions.js +14 -10
- package/lakeformation/permissions.js.map +1 -1
- package/odb/cloudAutonomousVmCluster.d.ts +6 -6
- package/odb/cloudAutonomousVmCluster.js +6 -6
- package/odb/cloudExadataInfrastructure.d.ts +2 -2
- package/odb/cloudVmCluster.d.ts +6 -6
- package/odb/cloudVmCluster.js +6 -6
- package/odb/getCloudAutonomousVmClusters.d.ts +68 -0
- package/odb/getCloudAutonomousVmClusters.js +56 -0
- package/odb/getCloudAutonomousVmClusters.js.map +1 -0
- package/odb/getCloudExadataInfrastructures.d.ts +68 -0
- package/odb/getCloudExadataInfrastructures.js +56 -0
- package/odb/getCloudExadataInfrastructures.js.map +1 -0
- package/odb/getCloudVmClusters.d.ts +68 -0
- package/odb/getCloudVmClusters.js +56 -0
- package/odb/getCloudVmClusters.js.map +1 -0
- package/odb/getDbSystemShapes.d.ts +1 -1
- package/odb/getNetworkPeeringConnection.d.ts +3 -3
- package/odb/getNetworkPeeringConnections.d.ts +77 -0
- package/odb/getNetworkPeeringConnections.js +58 -0
- package/odb/getNetworkPeeringConnections.js.map +1 -0
- package/odb/getNetworks.d.ts +64 -0
- package/odb/getNetworks.js +52 -0
- package/odb/getNetworks.js.map +1 -0
- package/odb/index.d.ts +15 -0
- package/odb/index.js +16 -1
- package/odb/index.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/accountSubscription.d.ts +37 -1
- package/quicksight/accountSubscription.js +7 -1
- package/quicksight/accountSubscription.js.map +1 -1
- package/rds/getGlobalCluster.d.ts +123 -0
- package/rds/getGlobalCluster.js +56 -0
- package/rds/getGlobalCluster.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +5 -2
- package/rds/index.js.map +1 -1
- package/servicediscovery/service.d.ts +4 -4
- package/servicediscovery/service.js +1 -1
- package/ssm/defaultPatchBaseline.d.ts +3 -0
- package/ssm/defaultPatchBaseline.js.map +1 -1
- package/ssmcontacts/contact.d.ts +9 -3
- package/ssmcontacts/contact.js +9 -3
- package/ssmcontacts/contact.js.map +1 -1
- package/transfer/hostKey.d.ts +151 -0
- package/transfer/hostKey.js +83 -0
- package/transfer/hostKey.js.map +1 -0
- package/transfer/index.d.ts +9 -0
- package/transfer/index.js +16 -1
- package/transfer/index.js.map +1 -1
- package/transfer/webApp.d.ts +239 -0
- package/transfer/webApp.js +157 -0
- package/transfer/webApp.js.map +1 -0
- package/transfer/webAppCustomization.d.ts +97 -0
- package/transfer/webAppCustomization.js +73 -0
- package/transfer/webAppCustomization.js.map +1 -0
- package/types/input.d.ts +997 -2
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1342 -160
- package/types/output.js.map +1 -1
- package/vpclattice/resourceGateway.d.ts +12 -0
- package/vpclattice/resourceGateway.js +2 -0
- package/vpclattice/resourceGateway.js.map +1 -1
- package/vpn/getConnection.d.ts +175 -0
- package/vpn/getConnection.js +96 -0
- package/vpn/getConnection.js.map +1 -0
- package/vpn/index.d.ts +3 -0
- package/vpn/index.js +10 -0
- package/vpn/index.js.map +1 -0
|
@@ -7,6 +7,8 @@ import { Topic } from "../sns";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
+
* ### Basic Usage
|
|
11
|
+
*
|
|
10
12
|
* ```typescript
|
|
11
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
14
|
* import * as aws from "@pulumi/aws";
|
|
@@ -25,7 +27,7 @@ import { Topic } from "../sns";
|
|
|
25
27
|
* });
|
|
26
28
|
* ```
|
|
27
29
|
*
|
|
28
|
-
*
|
|
30
|
+
* ### With Scaling Policies
|
|
29
31
|
*
|
|
30
32
|
* ```typescript
|
|
31
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -55,7 +57,7 @@ import { Topic } from "../sns";
|
|
|
55
57
|
* });
|
|
56
58
|
* ```
|
|
57
59
|
*
|
|
58
|
-
*
|
|
60
|
+
* ### With a Metrics Math Expression
|
|
59
61
|
*
|
|
60
62
|
* ```typescript
|
|
61
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -141,7 +143,37 @@ import { Topic } from "../sns";
|
|
|
141
143
|
* });
|
|
142
144
|
* ```
|
|
143
145
|
*
|
|
144
|
-
*
|
|
146
|
+
* ### With a Metrics Insights Query
|
|
147
|
+
*
|
|
148
|
+
* ```typescript
|
|
149
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
150
|
+
* import * as aws from "@pulumi/aws";
|
|
151
|
+
*
|
|
152
|
+
* const example = new aws.cloudwatch.MetricAlarm("example", {
|
|
153
|
+
* name: "example-alarm",
|
|
154
|
+
* alarmDescription: "Triggers if the smallest per-instance maximum load during the evaluation period exceeds the threshold",
|
|
155
|
+
* comparisonOperator: "GreaterThanThreshold",
|
|
156
|
+
* evaluationPeriods: 1,
|
|
157
|
+
* threshold: 0.6,
|
|
158
|
+
* treatMissingData: "notBreaching",
|
|
159
|
+
* metricQueries: [{
|
|
160
|
+
* id: "q1",
|
|
161
|
+
* expression: `SELECT
|
|
162
|
+
* MAX(DBLoadRelativeToNumVCPUs)
|
|
163
|
+
* FROM SCHEMA("AWS/RDS", DBInstanceIdentifier)
|
|
164
|
+
* WHERE DBInstanceIdentifier != 'example-rds-instance'
|
|
165
|
+
* GROUP BY DBInstanceIdentifier
|
|
166
|
+
* ORDER BY MIN() ASC
|
|
167
|
+
* LIMIT 1
|
|
168
|
+
* `,
|
|
169
|
+
* period: 60,
|
|
170
|
+
* returnData: true,
|
|
171
|
+
* label: "Max DB Load of the Least-Loaded RDS Instance",
|
|
172
|
+
* }],
|
|
173
|
+
* });
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
176
|
+
* ### Monitoring Healthy NLB Hosts with Target Group and NLB
|
|
145
177
|
*
|
|
146
178
|
* ```typescript
|
|
147
179
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -168,7 +200,7 @@ import { Topic } from "../sns";
|
|
|
168
200
|
* ```
|
|
169
201
|
*
|
|
170
202
|
* > **NOTE:** You cannot create a metric alarm consisting of both `statistic` and `extendedStatistic` parameters.
|
|
171
|
-
* You must choose one or the other
|
|
203
|
+
* You must choose one or the other.
|
|
172
204
|
*
|
|
173
205
|
* ## Import
|
|
174
206
|
*
|
|
@@ -227,7 +259,7 @@ export declare class MetricAlarm extends pulumi.CustomResource {
|
|
|
227
259
|
*/
|
|
228
260
|
readonly comparisonOperator: pulumi.Output<string>;
|
|
229
261
|
/**
|
|
230
|
-
* The number of
|
|
262
|
+
* The number of data points that must be breaching to trigger the alarm.
|
|
231
263
|
*/
|
|
232
264
|
readonly datapointsToAlarm: pulumi.Output<number | undefined>;
|
|
233
265
|
/**
|
|
@@ -358,7 +390,7 @@ export interface MetricAlarmState {
|
|
|
358
390
|
*/
|
|
359
391
|
comparisonOperator?: pulumi.Input<string>;
|
|
360
392
|
/**
|
|
361
|
-
* The number of
|
|
393
|
+
* The number of data points that must be breaching to trigger the alarm.
|
|
362
394
|
*/
|
|
363
395
|
datapointsToAlarm?: pulumi.Input<number>;
|
|
364
396
|
/**
|
|
@@ -477,7 +509,7 @@ export interface MetricAlarmArgs {
|
|
|
477
509
|
*/
|
|
478
510
|
comparisonOperator: pulumi.Input<string>;
|
|
479
511
|
/**
|
|
480
|
-
* The number of
|
|
512
|
+
* The number of data points that must be breaching to trigger the alarm.
|
|
481
513
|
*/
|
|
482
514
|
datapointsToAlarm?: pulumi.Input<number>;
|
|
483
515
|
/**
|
|
@@ -10,6 +10,8 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
13
15
|
* ```typescript
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
@@ -28,7 +30,7 @@ const utilities = require("../utilities");
|
|
|
28
30
|
* });
|
|
29
31
|
* ```
|
|
30
32
|
*
|
|
31
|
-
*
|
|
33
|
+
* ### With Scaling Policies
|
|
32
34
|
*
|
|
33
35
|
* ```typescript
|
|
34
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -58,7 +60,7 @@ const utilities = require("../utilities");
|
|
|
58
60
|
* });
|
|
59
61
|
* ```
|
|
60
62
|
*
|
|
61
|
-
*
|
|
63
|
+
* ### With a Metrics Math Expression
|
|
62
64
|
*
|
|
63
65
|
* ```typescript
|
|
64
66
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -144,7 +146,37 @@ const utilities = require("../utilities");
|
|
|
144
146
|
* });
|
|
145
147
|
* ```
|
|
146
148
|
*
|
|
147
|
-
*
|
|
149
|
+
* ### With a Metrics Insights Query
|
|
150
|
+
*
|
|
151
|
+
* ```typescript
|
|
152
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
153
|
+
* import * as aws from "@pulumi/aws";
|
|
154
|
+
*
|
|
155
|
+
* const example = new aws.cloudwatch.MetricAlarm("example", {
|
|
156
|
+
* name: "example-alarm",
|
|
157
|
+
* alarmDescription: "Triggers if the smallest per-instance maximum load during the evaluation period exceeds the threshold",
|
|
158
|
+
* comparisonOperator: "GreaterThanThreshold",
|
|
159
|
+
* evaluationPeriods: 1,
|
|
160
|
+
* threshold: 0.6,
|
|
161
|
+
* treatMissingData: "notBreaching",
|
|
162
|
+
* metricQueries: [{
|
|
163
|
+
* id: "q1",
|
|
164
|
+
* expression: `SELECT
|
|
165
|
+
* MAX(DBLoadRelativeToNumVCPUs)
|
|
166
|
+
* FROM SCHEMA("AWS/RDS", DBInstanceIdentifier)
|
|
167
|
+
* WHERE DBInstanceIdentifier != 'example-rds-instance'
|
|
168
|
+
* GROUP BY DBInstanceIdentifier
|
|
169
|
+
* ORDER BY MIN() ASC
|
|
170
|
+
* LIMIT 1
|
|
171
|
+
* `,
|
|
172
|
+
* period: 60,
|
|
173
|
+
* returnData: true,
|
|
174
|
+
* label: "Max DB Load of the Least-Loaded RDS Instance",
|
|
175
|
+
* }],
|
|
176
|
+
* });
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* ### Monitoring Healthy NLB Hosts with Target Group and NLB
|
|
148
180
|
*
|
|
149
181
|
* ```typescript
|
|
150
182
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -171,7 +203,7 @@ const utilities = require("../utilities");
|
|
|
171
203
|
* ```
|
|
172
204
|
*
|
|
173
205
|
* > **NOTE:** You cannot create a metric alarm consisting of both `statistic` and `extendedStatistic` parameters.
|
|
174
|
-
* You must choose one or the other
|
|
206
|
+
* You must choose one or the other.
|
|
175
207
|
*
|
|
176
208
|
* ## Import
|
|
177
209
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metricAlarm.js","sourceRoot":"","sources":["../../cloudwatch/metricAlarm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAI1C
|
|
1
|
+
{"version":3,"file":"metricAlarm.js","sourceRoot":"","sources":["../../cloudwatch/metricAlarm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2NG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvNL,kCAwNC;AA1MG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
package/codebuild/project.d.ts
CHANGED
|
@@ -264,6 +264,11 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
264
264
|
* Configuration block. Detailed below.
|
|
265
265
|
*/
|
|
266
266
|
readonly artifacts: pulumi.Output<outputs.codebuild.ProjectArtifacts>;
|
|
267
|
+
/**
|
|
268
|
+
* Specify a maximum number of additional automatic retries after a failed build.
|
|
269
|
+
* The default is 0.
|
|
270
|
+
*/
|
|
271
|
+
readonly autoRetryLimit: pulumi.Output<number>;
|
|
267
272
|
/**
|
|
268
273
|
* Generates a publicly-accessible URL for the projects build badge. Available as
|
|
269
274
|
* `badgeUrl` attribute when enabled.
|
|
@@ -410,6 +415,11 @@ export interface ProjectState {
|
|
|
410
415
|
* Configuration block. Detailed below.
|
|
411
416
|
*/
|
|
412
417
|
artifacts?: pulumi.Input<inputs.codebuild.ProjectArtifacts>;
|
|
418
|
+
/**
|
|
419
|
+
* Specify a maximum number of additional automatic retries after a failed build.
|
|
420
|
+
* The default is 0.
|
|
421
|
+
*/
|
|
422
|
+
autoRetryLimit?: pulumi.Input<number>;
|
|
413
423
|
/**
|
|
414
424
|
* Generates a publicly-accessible URL for the projects build badge. Available as
|
|
415
425
|
* `badgeUrl` attribute when enabled.
|
|
@@ -544,6 +554,11 @@ export interface ProjectArgs {
|
|
|
544
554
|
* Configuration block. Detailed below.
|
|
545
555
|
*/
|
|
546
556
|
artifacts: pulumi.Input<inputs.codebuild.ProjectArtifacts>;
|
|
557
|
+
/**
|
|
558
|
+
* Specify a maximum number of additional automatic retries after a failed build.
|
|
559
|
+
* The default is 0.
|
|
560
|
+
*/
|
|
561
|
+
autoRetryLimit?: pulumi.Input<number>;
|
|
547
562
|
/**
|
|
548
563
|
* Generates a publicly-accessible URL for the projects build badge. Available as
|
|
549
564
|
* `badgeUrl` attribute when enabled.
|
package/codebuild/project.js
CHANGED
|
@@ -274,6 +274,7 @@ class Project extends pulumi.CustomResource {
|
|
|
274
274
|
const state = argsOrState;
|
|
275
275
|
resourceInputs["arn"] = state?.arn;
|
|
276
276
|
resourceInputs["artifacts"] = state?.artifacts;
|
|
277
|
+
resourceInputs["autoRetryLimit"] = state?.autoRetryLimit;
|
|
277
278
|
resourceInputs["badgeEnabled"] = state?.badgeEnabled;
|
|
278
279
|
resourceInputs["badgeUrl"] = state?.badgeUrl;
|
|
279
280
|
resourceInputs["buildBatchConfig"] = state?.buildBatchConfig;
|
|
@@ -316,6 +317,7 @@ class Project extends pulumi.CustomResource {
|
|
|
316
317
|
throw new Error("Missing required property 'source'");
|
|
317
318
|
}
|
|
318
319
|
resourceInputs["artifacts"] = args?.artifacts;
|
|
320
|
+
resourceInputs["autoRetryLimit"] = args?.autoRetryLimit;
|
|
319
321
|
resourceInputs["badgeEnabled"] = args?.badgeEnabled;
|
|
320
322
|
resourceInputs["buildBatchConfig"] = args?.buildBatchConfig;
|
|
321
323
|
resourceInputs["buildTimeout"] = args?.buildTimeout;
|
package/codebuild/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../codebuild/project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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types/output";
|
|
|
14
14
|
*
|
|
15
15
|
* const example = new aws.datazone.Environment("example", {
|
|
16
16
|
* name: "example",
|
|
17
|
-
*
|
|
18
|
-
* accountRegion: testAwsRegion.name,
|
|
19
|
-
* blueprintIdentifier: testAwsDatazoneEnvironmentBlueprintConfiguration.environmentBlueprintId,
|
|
17
|
+
* blueprintIdentifier: test.environmentBlueprintId,
|
|
20
18
|
* profileIdentifier: testAwsDatazoneEnvironmentProfile.id,
|
|
21
19
|
* projectIdentifier: testAwsDatazoneProject.id,
|
|
22
20
|
* domainIdentifier: testAwsDatazoneDomain.id,
|
|
@@ -122,7 +120,9 @@ export declare class Environment extends pulumi.CustomResource {
|
|
|
122
120
|
readonly region: pulumi.Output<string>;
|
|
123
121
|
readonly timeouts: pulumi.Output<outputs.datazone.EnvironmentTimeouts | undefined>;
|
|
124
122
|
/**
|
|
125
|
-
* The user parameters that are used in the environment.
|
|
123
|
+
* The user parameters that are used in the environment.
|
|
124
|
+
* See User Parameters for more information.
|
|
125
|
+
* Changing these values recreates the resource.
|
|
126
126
|
*/
|
|
127
127
|
readonly userParameters: pulumi.Output<outputs.datazone.EnvironmentUserParameter[] | undefined>;
|
|
128
128
|
/**
|
|
@@ -199,7 +199,9 @@ export interface EnvironmentState {
|
|
|
199
199
|
region?: pulumi.Input<string>;
|
|
200
200
|
timeouts?: pulumi.Input<inputs.datazone.EnvironmentTimeouts>;
|
|
201
201
|
/**
|
|
202
|
-
* The user parameters that are used in the environment.
|
|
202
|
+
* The user parameters that are used in the environment.
|
|
203
|
+
* See User Parameters for more information.
|
|
204
|
+
* Changing these values recreates the resource.
|
|
203
205
|
*/
|
|
204
206
|
userParameters?: pulumi.Input<pulumi.Input<inputs.datazone.EnvironmentUserParameter>[]>;
|
|
205
207
|
}
|
|
@@ -251,7 +253,9 @@ export interface EnvironmentArgs {
|
|
|
251
253
|
region?: pulumi.Input<string>;
|
|
252
254
|
timeouts?: pulumi.Input<inputs.datazone.EnvironmentTimeouts>;
|
|
253
255
|
/**
|
|
254
|
-
* The user parameters that are used in the environment.
|
|
256
|
+
* The user parameters that are used in the environment.
|
|
257
|
+
* See User Parameters for more information.
|
|
258
|
+
* Changing these values recreates the resource.
|
|
255
259
|
*/
|
|
256
260
|
userParameters?: pulumi.Input<pulumi.Input<inputs.datazone.EnvironmentUserParameter>[]>;
|
|
257
261
|
}
|
package/datazone/environment.js
CHANGED
|
@@ -18,9 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const example = new aws.datazone.Environment("example", {
|
|
20
20
|
* name: "example",
|
|
21
|
-
*
|
|
22
|
-
* accountRegion: testAwsRegion.name,
|
|
23
|
-
* blueprintIdentifier: testAwsDatazoneEnvironmentBlueprintConfiguration.environmentBlueprintId,
|
|
21
|
+
* blueprintIdentifier: test.environmentBlueprintId,
|
|
24
22
|
* profileIdentifier: testAwsDatazoneEnvironmentProfile.id,
|
|
25
23
|
* projectIdentifier: testAwsDatazoneProject.id,
|
|
26
24
|
* domainIdentifier: testAwsDatazoneDomain.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../datazone/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../datazone/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE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mB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5JL,kCA6JC;AA/IG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/dms/endpoint.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare class Endpoint extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly endpointType: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
81
|
-
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `
|
|
81
|
+
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `sqlserver`, `neptune` ,`sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).
|
|
82
82
|
*/
|
|
83
83
|
readonly engineName: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
@@ -209,7 +209,7 @@ export interface EndpointState {
|
|
|
209
209
|
*/
|
|
210
210
|
endpointType?: pulumi.Input<string>;
|
|
211
211
|
/**
|
|
212
|
-
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `
|
|
212
|
+
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `sqlserver`, `neptune` ,`sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).
|
|
213
213
|
*/
|
|
214
214
|
engineName?: pulumi.Input<string>;
|
|
215
215
|
/**
|
|
@@ -328,7 +328,7 @@ export interface EndpointArgs {
|
|
|
328
328
|
*/
|
|
329
329
|
endpointType: pulumi.Input<string>;
|
|
330
330
|
/**
|
|
331
|
-
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `
|
|
331
|
+
* Type of engine for the endpoint. Valid values are `aurora`, `aurora-postgresql`, `aurora-serverless`, `aurora-postgresql-serverless`,`azuredb`, `azure-sql-managed-instance`, `babelfish`, `db2`, `db2-zos`, `docdb`, `dynamodb`, `elasticsearch`, `kafka`, `kinesis`, `mariadb`, `mongodb`, `mysql`, `opensearch`, `oracle`, `postgres`, `redshift`,`redshift-serverless`, `sqlserver`, `neptune` ,`sybase`. Please note that some of engine names are available only for `target` endpoint type (e.g. `redshift`).
|
|
332
332
|
*/
|
|
333
333
|
engineName: pulumi.Input<string>;
|
|
334
334
|
/**
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Fetches details of a Site-to-Site VPN connection. A Site-to-Site VPN connection is an Internet Protocol security (IPsec) VPN connection between a VPC and an on-premises network.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = aws.ec2.getVpnConnection({
|
|
16
|
+
* filters: [{
|
|
17
|
+
* name: "customer-gateway-id",
|
|
18
|
+
* values: ["cgw-1234567890"],
|
|
19
|
+
* }],
|
|
20
|
+
* });
|
|
21
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ### Find by VPN Connection ID
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as aws from "@pulumi/aws";
|
|
29
|
+
*
|
|
30
|
+
* const example = aws.ec2.getVpnConnection({
|
|
31
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
32
|
+
* });
|
|
33
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare function getVpnConnection(args?: GetVpnConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetVpnConnectionResult>;
|
|
37
|
+
/**
|
|
38
|
+
* A collection of arguments for invoking getVpnConnection.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetVpnConnectionArgs {
|
|
41
|
+
/**
|
|
42
|
+
* Configuration block(s) for filtering. Detailed below.
|
|
43
|
+
*/
|
|
44
|
+
filters?: inputs.ec2.GetVpnConnectionFilter[];
|
|
45
|
+
/**
|
|
46
|
+
* 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.
|
|
47
|
+
*/
|
|
48
|
+
region?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Identifier of the EC2 VPN Connection.
|
|
51
|
+
*/
|
|
52
|
+
vpnConnectionId?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A collection of values returned by getVpnConnection.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetVpnConnectionResult {
|
|
58
|
+
/**
|
|
59
|
+
* Category of the VPN connection. A value of VPN indicates an AWS VPN connection. A value of VPN-Classic indicates an AWS Classic VPN connection.
|
|
60
|
+
*/
|
|
61
|
+
readonly category: string;
|
|
62
|
+
/**
|
|
63
|
+
* ARN of the core network.
|
|
64
|
+
*/
|
|
65
|
+
readonly coreNetworkArn: string;
|
|
66
|
+
/**
|
|
67
|
+
* ARN of the core network attachment.
|
|
68
|
+
*/
|
|
69
|
+
readonly coreNetworkAttachmentArn: string;
|
|
70
|
+
/**
|
|
71
|
+
* Configuration information for the VPN connection's customer gateway (in the native XML format).
|
|
72
|
+
*/
|
|
73
|
+
readonly customerGatewayConfiguration: string;
|
|
74
|
+
/**
|
|
75
|
+
* ID of the customer gateway at your end of the VPN connection.
|
|
76
|
+
*/
|
|
77
|
+
readonly customerGatewayId: string;
|
|
78
|
+
readonly filters?: outputs.ec2.GetVpnConnectionFilter[];
|
|
79
|
+
/**
|
|
80
|
+
* Current state of the gateway association.
|
|
81
|
+
*/
|
|
82
|
+
readonly gatewayAssociationState: string;
|
|
83
|
+
/**
|
|
84
|
+
* The provider-assigned unique ID for this managed resource.
|
|
85
|
+
*/
|
|
86
|
+
readonly id: string;
|
|
87
|
+
/**
|
|
88
|
+
* (ARN) of the Secrets Manager secret storing the pre-shared key(s) for the VPN connection.
|
|
89
|
+
*/
|
|
90
|
+
readonly preSharedKeyArn: string;
|
|
91
|
+
readonly region: string;
|
|
92
|
+
/**
|
|
93
|
+
* List of static routes associated with the VPN connection.
|
|
94
|
+
*/
|
|
95
|
+
readonly routes: outputs.ec2.GetVpnConnectionRoute[];
|
|
96
|
+
/**
|
|
97
|
+
* Current state of the VPN connection.
|
|
98
|
+
*/
|
|
99
|
+
readonly state: string;
|
|
100
|
+
/**
|
|
101
|
+
* Tags associated to the VPN Connection.
|
|
102
|
+
*/
|
|
103
|
+
readonly tags: {
|
|
104
|
+
[key: string]: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* ID of a transit gateway associated with the VPN connection.
|
|
108
|
+
*/
|
|
109
|
+
readonly transitGatewayId: string;
|
|
110
|
+
/**
|
|
111
|
+
* Type of VPN connection. Currently the only supported type is ipsec.1.
|
|
112
|
+
*/
|
|
113
|
+
readonly type: string;
|
|
114
|
+
/**
|
|
115
|
+
* List of objects containing information about the VPN tunnel.
|
|
116
|
+
*/
|
|
117
|
+
readonly vgwTelemetries: outputs.ec2.GetVpnConnectionVgwTelemetry[];
|
|
118
|
+
readonly vpnConnectionId: string;
|
|
119
|
+
/**
|
|
120
|
+
* ID of a virtual private gateway associated with the VPN connection.
|
|
121
|
+
*/
|
|
122
|
+
readonly vpnGatewayId: string;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Fetches details of a Site-to-Site VPN connection. A Site-to-Site VPN connection is an Internet Protocol security (IPsec) VPN connection between a VPC and an on-premises network.
|
|
126
|
+
*
|
|
127
|
+
* ## Example Usage
|
|
128
|
+
*
|
|
129
|
+
* ### Basic Usage
|
|
130
|
+
*
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
133
|
+
* import * as aws from "@pulumi/aws";
|
|
134
|
+
*
|
|
135
|
+
* const example = aws.ec2.getVpnConnection({
|
|
136
|
+
* filters: [{
|
|
137
|
+
* name: "customer-gateway-id",
|
|
138
|
+
* values: ["cgw-1234567890"],
|
|
139
|
+
* }],
|
|
140
|
+
* });
|
|
141
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
142
|
+
* ```
|
|
143
|
+
*
|
|
144
|
+
* ### Find by VPN Connection ID
|
|
145
|
+
*
|
|
146
|
+
* ```typescript
|
|
147
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
148
|
+
* import * as aws from "@pulumi/aws";
|
|
149
|
+
*
|
|
150
|
+
* const example = aws.ec2.getVpnConnection({
|
|
151
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
152
|
+
* });
|
|
153
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
154
|
+
* ```
|
|
155
|
+
*/
|
|
156
|
+
export declare function getVpnConnectionOutput(args?: GetVpnConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpnConnectionResult>;
|
|
157
|
+
/**
|
|
158
|
+
* A collection of arguments for invoking getVpnConnection.
|
|
159
|
+
*/
|
|
160
|
+
export interface GetVpnConnectionOutputArgs {
|
|
161
|
+
/**
|
|
162
|
+
* Configuration block(s) for filtering. Detailed below.
|
|
163
|
+
*/
|
|
164
|
+
filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetVpnConnectionFilterArgs>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* 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.
|
|
167
|
+
*/
|
|
168
|
+
region?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Identifier of the EC2 VPN Connection.
|
|
171
|
+
*/
|
|
172
|
+
vpnConnectionId?: pulumi.Input<string>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getVpnConnectionOutput = exports.getVpnConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Fetches details of a Site-to-Site VPN connection. A Site-to-Site VPN connection is an Internet Protocol security (IPsec) VPN connection between a VPC and an on-premises network.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = aws.ec2.getVpnConnection({
|
|
20
|
+
* filters: [{
|
|
21
|
+
* name: "customer-gateway-id",
|
|
22
|
+
* values: ["cgw-1234567890"],
|
|
23
|
+
* }],
|
|
24
|
+
* });
|
|
25
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ### Find by VPN Connection ID
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const example = aws.ec2.getVpnConnection({
|
|
35
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
36
|
+
* });
|
|
37
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getVpnConnection(args, opts) {
|
|
41
|
+
args = args || {};
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invoke("aws:ec2/getVpnConnection:getVpnConnection", {
|
|
44
|
+
"filters": args.filters,
|
|
45
|
+
"region": args.region,
|
|
46
|
+
"vpnConnectionId": args.vpnConnectionId,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getVpnConnection = getVpnConnection;
|
|
50
|
+
/**
|
|
51
|
+
* Fetches details of a Site-to-Site VPN connection. A Site-to-Site VPN connection is an Internet Protocol security (IPsec) VPN connection between a VPC and an on-premises network.
|
|
52
|
+
*
|
|
53
|
+
* ## Example Usage
|
|
54
|
+
*
|
|
55
|
+
* ### Basic Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as aws from "@pulumi/aws";
|
|
60
|
+
*
|
|
61
|
+
* const example = aws.ec2.getVpnConnection({
|
|
62
|
+
* filters: [{
|
|
63
|
+
* name: "customer-gateway-id",
|
|
64
|
+
* values: ["cgw-1234567890"],
|
|
65
|
+
* }],
|
|
66
|
+
* });
|
|
67
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ### Find by VPN Connection ID
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as aws from "@pulumi/aws";
|
|
75
|
+
*
|
|
76
|
+
* const example = aws.ec2.getVpnConnection({
|
|
77
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
78
|
+
* });
|
|
79
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
function getVpnConnectionOutput(args, opts) {
|
|
83
|
+
args = args || {};
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
85
|
+
return pulumi.runtime.invokeOutput("aws:ec2/getVpnConnection:getVpnConnection", {
|
|
86
|
+
"filters": args.filters,
|
|
87
|
+
"region": args.region,
|
|
88
|
+
"vpnConnectionId": args.vpnConnectionId,
|
|
89
|
+
}, opts);
|
|
90
|
+
}
|
|
91
|
+
exports.getVpnConnectionOutput = getVpnConnectionOutput;
|
|
92
|
+
//# sourceMappingURL=getVpnConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVpnConnection.js","sourceRoot":"","sources":["../../ec2/getVpnConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAwFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAAiC;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
|
package/ec2/index.d.ts
CHANGED
|
@@ -253,6 +253,9 @@ export declare const getVpcPeeringConnectionsOutput: typeof import("./getVpcPeer
|
|
|
253
253
|
export { GetVpcsArgs, GetVpcsResult, GetVpcsOutputArgs } from "./getVpcs";
|
|
254
254
|
export declare const getVpcs: typeof import("./getVpcs").getVpcs;
|
|
255
255
|
export declare const getVpcsOutput: typeof import("./getVpcs").getVpcsOutput;
|
|
256
|
+
export { GetVpnConnectionArgs, GetVpnConnectionResult, GetVpnConnectionOutputArgs } from "./getVpnConnection";
|
|
257
|
+
export declare const getVpnConnection: typeof import("./getVpnConnection").getVpnConnection;
|
|
258
|
+
export declare const getVpnConnectionOutput: typeof import("./getVpnConnection").getVpnConnectionOutput;
|
|
256
259
|
export { GetVpnGatewayArgs, GetVpnGatewayResult, GetVpnGatewayOutputArgs } from "./getVpnGateway";
|
|
257
260
|
export declare const getVpnGateway: typeof import("./getVpnGateway").getVpnGateway;
|
|
258
261
|
export declare const getVpnGatewayOutput: typeof import("./getVpnGateway").getVpnGatewayOutput;
|