@pulumi/aws 7.52.0 → 7.52.1
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/acm/certificate.d.ts +1 -1
- package/acm/certificate.js +1 -1
- package/acm/certificateValidation.d.ts +2 -2
- package/acm/certificateValidation.js +2 -2
- package/appmesh/getVirtualGateway.d.ts +24 -0
- package/appmesh/getVirtualGateway.d.ts.map +1 -1
- package/appmesh/getVirtualGateway.js +24 -0
- package/appmesh/getVirtualGateway.js.map +1 -1
- package/cloudwatch/logS3TableIntegrationSource.d.ts +1 -1
- package/cloudwatch/logS3TableIntegrationSource.js +1 -1
- package/ebs/getEbsVolumes.d.ts +2 -2
- package/ebs/getEbsVolumes.js +2 -2
- package/ec2/flowLog.d.ts +58 -0
- package/ec2/flowLog.d.ts.map +1 -1
- package/ec2/flowLog.js +58 -0
- package/ec2/flowLog.js.map +1 -1
- package/ec2/getCoipPool.d.ts +22 -0
- package/ec2/getCoipPool.d.ts.map +1 -1
- package/ec2/getCoipPool.js +22 -0
- package/ec2/getCoipPool.js.map +1 -1
- package/ec2/getInstances.d.ts +42 -38
- package/ec2/getInstances.d.ts.map +1 -1
- package/ec2/getInstances.js +42 -38
- package/ec2/getInstances.js.map +1 -1
- package/ec2/getManagedPrefixLists.d.ts +2 -6
- package/ec2/getManagedPrefixLists.d.ts.map +1 -1
- package/ec2/getManagedPrefixLists.js +2 -6
- package/ec2/getManagedPrefixLists.js.map +1 -1
- package/ec2/getNatGateways.d.ts +2 -6
- package/ec2/getNatGateways.d.ts.map +1 -1
- package/ec2/getNatGateways.js +2 -6
- package/ec2/getNatGateways.js.map +1 -1
- package/ec2/getRouteTables.d.ts +38 -34
- package/ec2/getRouteTables.d.ts.map +1 -1
- package/ec2/getRouteTables.js +38 -34
- package/ec2/getRouteTables.js.map +1 -1
- package/ec2/getSubnets.d.ts +2 -2
- package/ec2/getSubnets.js +2 -2
- package/ec2/getVpcEndpoint.d.ts +2 -2
- package/ec2/getVpcEndpoint.js +2 -2
- package/ec2/getVpcEndpointService.d.ts +2 -2
- package/ec2/getVpcEndpointService.js +2 -2
- package/ec2/getVpcPeeringConnection.d.ts +2 -2
- package/ec2/getVpcPeeringConnection.js +2 -2
- package/ec2/getVpcPeeringConnections.d.ts +4 -8
- package/ec2/getVpcPeeringConnections.d.ts.map +1 -1
- package/ec2/getVpcPeeringConnections.js +4 -8
- package/ec2/getVpcPeeringConnections.js.map +1 -1
- package/ec2/getVpcs.d.ts +6 -6
- package/ec2/getVpcs.js +6 -6
- package/ec2/vpcEndpoint.d.ts +1 -1
- package/ec2/vpcEndpoint.js +1 -1
- package/ec2transitgateway/getAttachments.d.ts +2 -6
- package/ec2transitgateway/getAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getAttachments.js +2 -6
- package/ec2transitgateway/getAttachments.js.map +1 -1
- package/ec2transitgateway/getPeeringAttachments.d.ts +2 -6
- package/ec2transitgateway/getPeeringAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getPeeringAttachments.js +2 -6
- package/ec2transitgateway/getPeeringAttachments.js.map +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +2 -6
- package/ec2transitgateway/getVpcAttachments.d.ts.map +1 -1
- package/ec2transitgateway/getVpcAttachments.js +2 -6
- package/ec2transitgateway/getVpcAttachments.js.map +1 -1
- package/getAvailabilityZone.d.ts +4 -4
- package/getAvailabilityZone.js +4 -4
- package/getAvailabilityZones.d.ts +2 -2
- package/getAvailabilityZones.js +2 -2
- package/glue/getDataCatalogEncryptionSettings.d.ts +18 -0
- package/glue/getDataCatalogEncryptionSettings.d.ts.map +1 -1
- package/glue/getDataCatalogEncryptionSettings.js +18 -0
- package/glue/getDataCatalogEncryptionSettings.js.map +1 -1
- package/inspector/getRulesPackages.d.ts +2 -2
- package/inspector/getRulesPackages.js +2 -2
- package/iot/roleAlias.d.ts +22 -0
- package/iot/roleAlias.d.ts.map +1 -1
- package/iot/roleAlias.js +22 -0
- package/iot/roleAlias.js.map +1 -1
- package/lambda/getFunction.d.ts +8 -8
- package/lambda/getFunction.js +8 -8
- package/lambda/getFunctionUrl.d.ts +2 -2
- package/lambda/getFunctionUrl.js +2 -2
- package/lambda/getFunctions.d.ts +70 -66
- package/lambda/getFunctions.d.ts.map +1 -1
- package/lambda/getFunctions.js +70 -66
- package/lambda/getFunctions.js.map +1 -1
- package/lambda/getInvocation.d.ts +8 -8
- package/lambda/getInvocation.js +8 -8
- package/lambda/layerVersionPermission.d.ts +5 -5
- package/lambda/layerVersionPermission.js +5 -5
- package/mq/broker.d.ts +2 -2
- package/mq/broker.js +2 -2
- package/mskconnect/connector.d.ts +1 -1
- package/mskconnect/connector.js +1 -1
- package/outposts/getOutpostInstanceType.d.ts +2 -2
- package/outposts/getOutpostInstanceType.js +2 -2
- package/package.json +2 -2
- package/quicksight/templateAlias.d.ts +1 -1
- package/quicksight/templateAlias.js +1 -1
- package/rds/instance.d.ts +5 -5
- package/rds/instance.js +5 -5
- package/secretsmanager/secretRotation.d.ts +1 -1
- package/secretsmanager/secretRotation.js +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.js +1 -1
- package/storagegateway/cachesIscsiVolume.d.ts +1 -1
- package/storagegateway/cachesIscsiVolume.js +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +1 -1
- package/storagegateway/fileSystemAssociation.js +1 -1
package/ec2/getInstances.js
CHANGED
|
@@ -43,25 +43,27 @@ const utilities = __importStar(require("../utilities"));
|
|
|
43
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
44
|
* import * as aws from "@pulumi/aws";
|
|
45
45
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
46
|
+
* export = async () => {
|
|
47
|
+
* const test = await aws.ec2.getInstances({
|
|
48
|
+
* filters: [{
|
|
49
|
+
* name: "instance.group-id",
|
|
50
|
+
* values: ["sg-12345678"],
|
|
51
|
+
* }],
|
|
52
|
+
* instanceTags: {
|
|
53
|
+
* Role: "HardWorker",
|
|
54
|
+
* },
|
|
55
|
+
* instanceStateNames: [
|
|
56
|
+
* "running",
|
|
57
|
+
* "stopped",
|
|
58
|
+
* ],
|
|
59
|
+
* });
|
|
60
|
+
* const testEip: aws.ec2.Eip[] = [];
|
|
61
|
+
* test.ids.length.apply(rangeBody => {
|
|
62
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
63
|
+
* testEip.push(new aws.ec2.Eip(`test-${range}`, {instance: test.ids[range]}));
|
|
64
|
+
* }
|
|
65
|
+
* });
|
|
66
|
+
* }
|
|
65
67
|
* ```
|
|
66
68
|
*/
|
|
67
69
|
function getInstances(args, opts) {
|
|
@@ -90,25 +92,27 @@ exports.getInstances = getInstances;
|
|
|
90
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
91
93
|
* import * as aws from "@pulumi/aws";
|
|
92
94
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
95
|
+
* export = async () => {
|
|
96
|
+
* const test = await aws.ec2.getInstances({
|
|
97
|
+
* filters: [{
|
|
98
|
+
* name: "instance.group-id",
|
|
99
|
+
* values: ["sg-12345678"],
|
|
100
|
+
* }],
|
|
101
|
+
* instanceTags: {
|
|
102
|
+
* Role: "HardWorker",
|
|
103
|
+
* },
|
|
104
|
+
* instanceStateNames: [
|
|
105
|
+
* "running",
|
|
106
|
+
* "stopped",
|
|
107
|
+
* ],
|
|
108
|
+
* });
|
|
109
|
+
* const testEip: aws.ec2.Eip[] = [];
|
|
110
|
+
* test.ids.length.apply(rangeBody => {
|
|
111
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
112
|
+
* testEip.push(new aws.ec2.Eip(`test-${range}`, {instance: test.ids[range]}));
|
|
113
|
+
* }
|
|
114
|
+
* });
|
|
115
|
+
* }
|
|
112
116
|
* ```
|
|
113
117
|
*/
|
|
114
118
|
function getInstancesOutput(args, opts) {
|
package/ec2/getInstances.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../../ec2/getInstances.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../../ec2/getInstances.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,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,mCAAmC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC"}
|
|
@@ -17,9 +17,7 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* Env: "test",
|
|
18
18
|
* },
|
|
19
19
|
* });
|
|
20
|
-
* const testEnvGetManagedPrefixList =
|
|
21
|
-
* id: _arg0_.ids[__index],
|
|
22
|
-
* })));
|
|
20
|
+
* const testEnvGetManagedPrefixList = _arg1_;
|
|
23
21
|
* ```
|
|
24
22
|
*/
|
|
25
23
|
export declare function getManagedPrefixLists(args?: GetManagedPrefixListsArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedPrefixListsResult>;
|
|
@@ -80,9 +78,7 @@ export interface GetManagedPrefixListsResult {
|
|
|
80
78
|
* Env: "test",
|
|
81
79
|
* },
|
|
82
80
|
* });
|
|
83
|
-
* const testEnvGetManagedPrefixList =
|
|
84
|
-
* id: _arg0_.ids[__index],
|
|
85
|
-
* })));
|
|
81
|
+
* const testEnvGetManagedPrefixList = _arg1_;
|
|
86
82
|
* ```
|
|
87
83
|
*/
|
|
88
84
|
export declare function getManagedPrefixListsOutput(args?: GetManagedPrefixListsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedPrefixListsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getManagedPrefixLists.d.ts","sourceRoot":"","sources":["../../ec2/getManagedPrefixLists.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{"version":3,"file":"getManagedPrefixLists.d.ts","sourceRoot":"","sources":["../../ec2/getManagedPrefixLists.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAQzI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAC1C;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAQjK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,+BAA+B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/F;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAC1E"}
|
|
@@ -44,9 +44,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
44
44
|
* Env: "test",
|
|
45
45
|
* },
|
|
46
46
|
* });
|
|
47
|
-
* const testEnvGetManagedPrefixList =
|
|
48
|
-
* id: _arg0_.ids[__index],
|
|
49
|
-
* })));
|
|
47
|
+
* const testEnvGetManagedPrefixList = _arg1_;
|
|
50
48
|
* ```
|
|
51
49
|
*/
|
|
52
50
|
function getManagedPrefixLists(args, opts) {
|
|
@@ -75,9 +73,7 @@ exports.getManagedPrefixLists = getManagedPrefixLists;
|
|
|
75
73
|
* Env: "test",
|
|
76
74
|
* },
|
|
77
75
|
* });
|
|
78
|
-
* const testEnvGetManagedPrefixList =
|
|
79
|
-
* id: _arg0_.ids[__index],
|
|
80
|
-
* })));
|
|
76
|
+
* const testEnvGetManagedPrefixList = _arg1_;
|
|
81
77
|
* ```
|
|
82
78
|
*/
|
|
83
79
|
function getManagedPrefixListsOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getManagedPrefixLists.js","sourceRoot":"","sources":["../../ec2/getManagedPrefixLists.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getManagedPrefixLists.js","sourceRoot":"","sources":["../../ec2/getManagedPrefixLists.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,qDAAqD,EAAE;QAChF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AAwCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,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,qDAAqD,EAAE;QACtF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC"}
|
package/ec2/getNatGateways.d.ts
CHANGED
|
@@ -19,9 +19,7 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* }],
|
|
20
20
|
* vpcId: vpcId,
|
|
21
21
|
* });
|
|
22
|
-
* const ngw =
|
|
23
|
-
* id: _arg0_.ids[__index],
|
|
24
|
-
* })));
|
|
22
|
+
* const ngw = _arg1_;
|
|
25
23
|
* ```
|
|
26
24
|
*/
|
|
27
25
|
export declare function getNatGateways(args?: GetNatGatewaysArgs, opts?: pulumi.InvokeOptions): Promise<GetNatGatewaysResult>;
|
|
@@ -86,9 +84,7 @@ export interface GetNatGatewaysResult {
|
|
|
86
84
|
* }],
|
|
87
85
|
* vpcId: vpcId,
|
|
88
86
|
* });
|
|
89
|
-
* const ngw =
|
|
90
|
-
* id: _arg0_.ids[__index],
|
|
91
|
-
* })));
|
|
87
|
+
* const ngw = _arg1_;
|
|
92
88
|
* ```
|
|
93
89
|
*/
|
|
94
90
|
export declare function getNatGatewaysOutput(args?: GetNatGatewaysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatGatewaysResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatGateways.d.ts","sourceRoot":"","sources":["../../ec2/getNatGateways.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{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,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAS5I;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
package/ec2/getNatGateways.js
CHANGED
|
@@ -46,9 +46,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
46
|
* }],
|
|
47
47
|
* vpcId: vpcId,
|
|
48
48
|
* });
|
|
49
|
-
* const ngw =
|
|
50
|
-
* id: _arg0_.ids[__index],
|
|
51
|
-
* })));
|
|
49
|
+
* const ngw = _arg1_;
|
|
52
50
|
* ```
|
|
53
51
|
*/
|
|
54
52
|
function getNatGateways(args, opts) {
|
|
@@ -80,9 +78,7 @@ exports.getNatGateways = getNatGateways;
|
|
|
80
78
|
* }],
|
|
81
79
|
* vpcId: vpcId,
|
|
82
80
|
* });
|
|
83
|
-
* const ngw =
|
|
84
|
-
* id: _arg0_.ids[__index],
|
|
85
|
-
* })));
|
|
81
|
+
* const ngw = _arg1_;
|
|
86
82
|
* ```
|
|
87
83
|
*/
|
|
88
84
|
function getNatGatewaysOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatGateways.js","sourceRoot":"","sources":["../../ec2/getNatGateways.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getNatGateways.js","sourceRoot":"","sources":["../../ec2/getNatGateways.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,uCAAuC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AA0CD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,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,uCAAuC,EAAE;QACxE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC"}
|
package/ec2/getRouteTables.d.ts
CHANGED
|
@@ -14,23 +14,25 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
17
|
+
* export = async () => {
|
|
18
|
+
* const rts = await aws.ec2.getRouteTables({
|
|
19
|
+
* filters: [{
|
|
20
|
+
* name: "tag:kubernetes.io/kops/role",
|
|
21
|
+
* values: ["private*"],
|
|
22
|
+
* }],
|
|
23
|
+
* vpcId: vpcId,
|
|
24
|
+
* });
|
|
25
|
+
* const r: aws.ec2.Route[] = [];
|
|
26
|
+
* rts.ids.length.apply(rangeBody => {
|
|
27
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
28
|
+
* r.push(new aws.ec2.Route(`r-${range}`, {
|
|
29
|
+
* routeTableId: rts.ids[range],
|
|
30
|
+
* destinationCidrBlock: "10.0.0.0/22",
|
|
31
|
+
* vpcPeeringConnectionId: "pcx-0e9a7a9ecd137dc54",
|
|
32
|
+
* }));
|
|
33
|
+
* }
|
|
34
|
+
* });
|
|
35
|
+
* }
|
|
34
36
|
* ```
|
|
35
37
|
*/
|
|
36
38
|
export declare function getRouteTables(args?: GetRouteTablesArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteTablesResult>;
|
|
@@ -90,23 +92,25 @@ export interface GetRouteTablesResult {
|
|
|
90
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
91
93
|
* import * as aws from "@pulumi/aws";
|
|
92
94
|
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
95
|
+
* export = async () => {
|
|
96
|
+
* const rts = await aws.ec2.getRouteTables({
|
|
97
|
+
* filters: [{
|
|
98
|
+
* name: "tag:kubernetes.io/kops/role",
|
|
99
|
+
* values: ["private*"],
|
|
100
|
+
* }],
|
|
101
|
+
* vpcId: vpcId,
|
|
102
|
+
* });
|
|
103
|
+
* const r: aws.ec2.Route[] = [];
|
|
104
|
+
* rts.ids.length.apply(rangeBody => {
|
|
105
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
106
|
+
* r.push(new aws.ec2.Route(`r-${range}`, {
|
|
107
|
+
* routeTableId: rts.ids[range],
|
|
108
|
+
* destinationCidrBlock: "10.0.0.0/22",
|
|
109
|
+
* vpcPeeringConnectionId: "pcx-0e9a7a9ecd137dc54",
|
|
110
|
+
* }));
|
|
111
|
+
* }
|
|
112
|
+
* });
|
|
113
|
+
* }
|
|
110
114
|
* ```
|
|
111
115
|
*/
|
|
112
116
|
export declare function getRouteTablesOutput(args?: GetRouteTablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRouteTablesResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRouteTables.d.ts","sourceRoot":"","sources":["../../ec2/getRouteTables.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
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AC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAS5I;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
package/ec2/getRouteTables.js
CHANGED
|
@@ -41,23 +41,25 @@ const utilities = __importStar(require("../utilities"));
|
|
|
41
41
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
42
|
* import * as aws from "@pulumi/aws";
|
|
43
43
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
44
|
+
* export = async () => {
|
|
45
|
+
* const rts = await aws.ec2.getRouteTables({
|
|
46
|
+
* filters: [{
|
|
47
|
+
* name: "tag:kubernetes.io/kops/role",
|
|
48
|
+
* values: ["private*"],
|
|
49
|
+
* }],
|
|
50
|
+
* vpcId: vpcId,
|
|
51
|
+
* });
|
|
52
|
+
* const r: aws.ec2.Route[] = [];
|
|
53
|
+
* rts.ids.length.apply(rangeBody => {
|
|
54
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
55
|
+
* r.push(new aws.ec2.Route(`r-${range}`, {
|
|
56
|
+
* routeTableId: rts.ids[range],
|
|
57
|
+
* destinationCidrBlock: "10.0.0.0/22",
|
|
58
|
+
* vpcPeeringConnectionId: "pcx-0e9a7a9ecd137dc54",
|
|
59
|
+
* }));
|
|
60
|
+
* }
|
|
61
|
+
* });
|
|
62
|
+
* }
|
|
61
63
|
* ```
|
|
62
64
|
*/
|
|
63
65
|
function getRouteTables(args, opts) {
|
|
@@ -84,23 +86,25 @@ exports.getRouteTables = getRouteTables;
|
|
|
84
86
|
* import * as pulumi from "@pulumi/pulumi";
|
|
85
87
|
* import * as aws from "@pulumi/aws";
|
|
86
88
|
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
89
|
+
* export = async () => {
|
|
90
|
+
* const rts = await aws.ec2.getRouteTables({
|
|
91
|
+
* filters: [{
|
|
92
|
+
* name: "tag:kubernetes.io/kops/role",
|
|
93
|
+
* values: ["private*"],
|
|
94
|
+
* }],
|
|
95
|
+
* vpcId: vpcId,
|
|
96
|
+
* });
|
|
97
|
+
* const r: aws.ec2.Route[] = [];
|
|
98
|
+
* rts.ids.length.apply(rangeBody => {
|
|
99
|
+
* for (let range = 0; range < rangeBody; range++) {
|
|
100
|
+
* r.push(new aws.ec2.Route(`r-${range}`, {
|
|
101
|
+
* routeTableId: rts.ids[range],
|
|
102
|
+
* destinationCidrBlock: "10.0.0.0/22",
|
|
103
|
+
* vpcPeeringConnectionId: "pcx-0e9a7a9ecd137dc54",
|
|
104
|
+
* }));
|
|
105
|
+
* }
|
|
106
|
+
* });
|
|
107
|
+
* }
|
|
104
108
|
* ```
|
|
105
109
|
*/
|
|
106
110
|
function getRouteTablesOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRouteTables.js","sourceRoot":"","sources":["../../ec2/getRouteTables.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getRouteTables.js","sourceRoot":"","sources":["../../ec2/getRouteTables.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,uCAAuC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,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,uCAAuC,EAAE;QACxE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC"}
|
package/ec2/getSubnets.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: aws.ec2.getSubnet({
|
|
25
25
|
* id: __value,
|
|
26
26
|
* }) }), {}));
|
|
27
|
-
* export const subnetCidrBlocks =
|
|
27
|
+
* export const subnetCidrBlocks = Object.values(exampleGetSubnet).map(s => (s.cidrBlock));
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
30
|
* The following example retrieves a set of all subnets in a VPC with a custom
|
|
@@ -118,7 +118,7 @@ export interface GetSubnetsResult {
|
|
|
118
118
|
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: aws.ec2.getSubnet({
|
|
119
119
|
* id: __value,
|
|
120
120
|
* }) }), {}));
|
|
121
|
-
* export const subnetCidrBlocks =
|
|
121
|
+
* export const subnetCidrBlocks = Object.values(exampleGetSubnet).map(s => (s.cidrBlock));
|
|
122
122
|
* ```
|
|
123
123
|
*
|
|
124
124
|
* The following example retrieves a set of all subnets in a VPC with a custom
|
package/ec2/getSubnets.js
CHANGED
|
@@ -51,7 +51,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
51
51
|
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: aws.ec2.getSubnet({
|
|
52
52
|
* id: __value,
|
|
53
53
|
* }) }), {}));
|
|
54
|
-
* export const subnetCidrBlocks =
|
|
54
|
+
* export const subnetCidrBlocks = Object.values(exampleGetSubnet).map(s => (s.cidrBlock));
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
57
|
* The following example retrieves a set of all subnets in a VPC with a custom
|
|
@@ -116,7 +116,7 @@ exports.getSubnets = getSubnets;
|
|
|
116
116
|
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: aws.ec2.getSubnet({
|
|
117
117
|
* id: __value,
|
|
118
118
|
* }) }), {}));
|
|
119
|
-
* export const subnetCidrBlocks =
|
|
119
|
+
* export const subnetCidrBlocks = Object.values(exampleGetSubnet).map(s => (s.cidrBlock));
|
|
120
120
|
* ```
|
|
121
121
|
*
|
|
122
122
|
* The following example retrieves a set of all subnets in a VPC with a custom
|
package/ec2/getVpcEndpoint.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as aws from "@pulumi/aws";
|
|
13
13
|
*
|
|
14
|
-
* // Declare the
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const s3 = aws.ec2.getVpcEndpoint({
|
|
16
16
|
* vpcId: foo.id,
|
|
17
17
|
* serviceName: "com.amazonaws.us-west-2.s3",
|
|
@@ -148,7 +148,7 @@ export interface GetVpcEndpointResult {
|
|
|
148
148
|
* import * as pulumi from "@pulumi/pulumi";
|
|
149
149
|
* import * as aws from "@pulumi/aws";
|
|
150
150
|
*
|
|
151
|
-
* // Declare the
|
|
151
|
+
* // Declare the function
|
|
152
152
|
* const s3 = aws.ec2.getVpcEndpoint({
|
|
153
153
|
* vpcId: foo.id,
|
|
154
154
|
* serviceName: "com.amazonaws.us-west-2.s3",
|
package/ec2/getVpcEndpoint.js
CHANGED
|
@@ -38,7 +38,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
39
|
* import * as aws from "@pulumi/aws";
|
|
40
40
|
*
|
|
41
|
-
* // Declare the
|
|
41
|
+
* // Declare the function
|
|
42
42
|
* const s3 = aws.ec2.getVpcEndpoint({
|
|
43
43
|
* vpcId: foo.id,
|
|
44
44
|
* serviceName: "com.amazonaws.us-west-2.s3",
|
|
@@ -75,7 +75,7 @@ exports.getVpcEndpoint = getVpcEndpoint;
|
|
|
75
75
|
* import * as pulumi from "@pulumi/pulumi";
|
|
76
76
|
* import * as aws from "@pulumi/aws";
|
|
77
77
|
*
|
|
78
|
-
* // Declare the
|
|
78
|
+
* // Declare the function
|
|
79
79
|
* const s3 = aws.ec2.getVpcEndpoint({
|
|
80
80
|
* vpcId: foo.id,
|
|
81
81
|
* serviceName: "com.amazonaws.us-west-2.s3",
|
|
@@ -13,7 +13,7 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as aws from "@pulumi/aws";
|
|
15
15
|
*
|
|
16
|
-
* // Declare the
|
|
16
|
+
* // Declare the function
|
|
17
17
|
* const s3 = aws.ec2.getVpcEndpointService({
|
|
18
18
|
* service: "s3",
|
|
19
19
|
* serviceType: "Gateway",
|
|
@@ -172,7 +172,7 @@ export interface GetVpcEndpointServiceResult {
|
|
|
172
172
|
* import * as pulumi from "@pulumi/pulumi";
|
|
173
173
|
* import * as aws from "@pulumi/aws";
|
|
174
174
|
*
|
|
175
|
-
* // Declare the
|
|
175
|
+
* // Declare the function
|
|
176
176
|
* const s3 = aws.ec2.getVpcEndpointService({
|
|
177
177
|
* service: "s3",
|
|
178
178
|
* serviceType: "Gateway",
|
|
@@ -40,7 +40,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
41
|
* import * as aws from "@pulumi/aws";
|
|
42
42
|
*
|
|
43
|
-
* // Declare the
|
|
43
|
+
* // Declare the function
|
|
44
44
|
* const s3 = aws.ec2.getVpcEndpointService({
|
|
45
45
|
* service: "s3",
|
|
46
46
|
* serviceType: "Gateway",
|
|
@@ -104,7 +104,7 @@ exports.getVpcEndpointService = getVpcEndpointService;
|
|
|
104
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
105
105
|
* import * as aws from "@pulumi/aws";
|
|
106
106
|
*
|
|
107
|
-
* // Declare the
|
|
107
|
+
* // Declare the function
|
|
108
108
|
* const s3 = aws.ec2.getVpcEndpointService({
|
|
109
109
|
* service: "s3",
|
|
110
110
|
* serviceType: "Gateway",
|
|
@@ -13,7 +13,7 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as aws from "@pulumi/aws";
|
|
15
15
|
*
|
|
16
|
-
* // Declare the
|
|
16
|
+
* // Declare the function
|
|
17
17
|
* const pc = aws.ec2.getVpcPeeringConnection({
|
|
18
18
|
* vpcId: foo.id,
|
|
19
19
|
* peerCidrBlock: "10.0.1.0/22",
|
|
@@ -150,7 +150,7 @@ export interface GetVpcPeeringConnectionResult {
|
|
|
150
150
|
* import * as pulumi from "@pulumi/pulumi";
|
|
151
151
|
* import * as aws from "@pulumi/aws";
|
|
152
152
|
*
|
|
153
|
-
* // Declare the
|
|
153
|
+
* // Declare the function
|
|
154
154
|
* const pc = aws.ec2.getVpcPeeringConnection({
|
|
155
155
|
* vpcId: foo.id,
|
|
156
156
|
* peerCidrBlock: "10.0.1.0/22",
|
|
@@ -40,7 +40,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
41
|
* import * as aws from "@pulumi/aws";
|
|
42
42
|
*
|
|
43
|
-
* // Declare the
|
|
43
|
+
* // Declare the function
|
|
44
44
|
* const pc = aws.ec2.getVpcPeeringConnection({
|
|
45
45
|
* vpcId: foo.id,
|
|
46
46
|
* peerCidrBlock: "10.0.1.0/22",
|
|
@@ -84,7 +84,7 @@ exports.getVpcPeeringConnection = getVpcPeeringConnection;
|
|
|
84
84
|
* import * as pulumi from "@pulumi/pulumi";
|
|
85
85
|
* import * as aws from "@pulumi/aws";
|
|
86
86
|
*
|
|
87
|
-
* // Declare the
|
|
87
|
+
* // Declare the function
|
|
88
88
|
* const pc = aws.ec2.getVpcPeeringConnection({
|
|
89
89
|
* vpcId: foo.id,
|
|
90
90
|
* peerCidrBlock: "10.0.1.0/22",
|
|
@@ -14,7 +14,7 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
* // Declare the
|
|
17
|
+
* // Declare the function
|
|
18
18
|
* const pcs = aws.ec2.getVpcPeeringConnections({
|
|
19
19
|
* filters: [{
|
|
20
20
|
* name: "requester-vpc-info.vpc-id",
|
|
@@ -22,9 +22,7 @@ import * as outputs from "../types/output";
|
|
|
22
22
|
* }],
|
|
23
23
|
* });
|
|
24
24
|
* // get the details of each resource
|
|
25
|
-
* const pc =
|
|
26
|
-
* id: _arg0_.ids[__index],
|
|
27
|
-
* })));
|
|
25
|
+
* const pc = _arg1_;
|
|
28
26
|
* ```
|
|
29
27
|
*/
|
|
30
28
|
export declare function getVpcPeeringConnections(args?: GetVpcPeeringConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPeeringConnectionsResult>;
|
|
@@ -78,7 +76,7 @@ export interface GetVpcPeeringConnectionsResult {
|
|
|
78
76
|
* import * as pulumi from "@pulumi/pulumi";
|
|
79
77
|
* import * as aws from "@pulumi/aws";
|
|
80
78
|
*
|
|
81
|
-
* // Declare the
|
|
79
|
+
* // Declare the function
|
|
82
80
|
* const pcs = aws.ec2.getVpcPeeringConnections({
|
|
83
81
|
* filters: [{
|
|
84
82
|
* name: "requester-vpc-info.vpc-id",
|
|
@@ -86,9 +84,7 @@ export interface GetVpcPeeringConnectionsResult {
|
|
|
86
84
|
* }],
|
|
87
85
|
* });
|
|
88
86
|
* // get the details of each resource
|
|
89
|
-
* const pc =
|
|
90
|
-
* id: _arg0_.ids[__index],
|
|
91
|
-
* })));
|
|
87
|
+
* const pc = _arg1_;
|
|
92
88
|
* ```
|
|
93
89
|
*/
|
|
94
90
|
export declare function getVpcPeeringConnectionsOutput(args?: GetVpcPeeringConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcPeeringConnectionsResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVpcPeeringConnections.d.ts","sourceRoot":"","sources":["../../ec2/getVpcPeeringConnections.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{"version":3,"file":"getVpcPeeringConnections.d.ts","sourceRoot":"","sources":["../../ec2/getVpcPeeringConnections.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,CAAC,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAQlJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,8BAA8B,EAAE,CAAC;IACtD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAClC;AAED;;GAEG;AAC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