@pulumi/aws 7.9.0-alpha.1760704543 → 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
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAi58EjF,IAAiB,GAAG,CAudnB;AAvdD,WAAiB,GAAG;IAuYhB;;OAEG;IACH,SAAgB,sCAAsC,CAAC,GAA4B;QAC/E,OAAO;YACH,GAAG,GAAG;YACN,WAAW,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,WAAW;SAChD,CAAC;IACN,CAAC;IALe,0CAAsC,yCAKrD,CAAA;AAwEL,CAAC,EAvdgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAudnB"}
|
|
@@ -85,6 +85,10 @@ export declare class ResourceGateway extends pulumi.CustomResource {
|
|
|
85
85
|
* IP address type used by the resource gateway. Valid values are `IPV4`, `IPV6`, and `DUALSTACK`. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource.
|
|
86
86
|
*/
|
|
87
87
|
readonly ipAddressType: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The number of IPv4 addresses per ENI for your resource. This argument is only applicable to `IPV4` and `DUALSTACK` IP address types. Defaults to `16`.
|
|
90
|
+
*/
|
|
91
|
+
readonly ipv4AddressesPerEni: pulumi.Output<number>;
|
|
88
92
|
/**
|
|
89
93
|
* Name of the resource gateway.
|
|
90
94
|
*/
|
|
@@ -145,6 +149,10 @@ export interface ResourceGatewayState {
|
|
|
145
149
|
* IP address type used by the resource gateway. Valid values are `IPV4`, `IPV6`, and `DUALSTACK`. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource.
|
|
146
150
|
*/
|
|
147
151
|
ipAddressType?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The number of IPv4 addresses per ENI for your resource. This argument is only applicable to `IPV4` and `DUALSTACK` IP address types. Defaults to `16`.
|
|
154
|
+
*/
|
|
155
|
+
ipv4AddressesPerEni?: pulumi.Input<number>;
|
|
148
156
|
/**
|
|
149
157
|
* Name of the resource gateway.
|
|
150
158
|
*/
|
|
@@ -193,6 +201,10 @@ export interface ResourceGatewayArgs {
|
|
|
193
201
|
* IP address type used by the resource gateway. Valid values are `IPV4`, `IPV6`, and `DUALSTACK`. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource.
|
|
194
202
|
*/
|
|
195
203
|
ipAddressType?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The number of IPv4 addresses per ENI for your resource. This argument is only applicable to `IPV4` and `DUALSTACK` IP address types. Defaults to `16`.
|
|
206
|
+
*/
|
|
207
|
+
ipv4AddressesPerEni?: pulumi.Input<number>;
|
|
196
208
|
/**
|
|
197
209
|
* Name of the resource gateway.
|
|
198
210
|
*/
|
|
@@ -95,6 +95,7 @@ class ResourceGateway extends pulumi.CustomResource {
|
|
|
95
95
|
const state = argsOrState;
|
|
96
96
|
resourceInputs["arn"] = state?.arn;
|
|
97
97
|
resourceInputs["ipAddressType"] = state?.ipAddressType;
|
|
98
|
+
resourceInputs["ipv4AddressesPerEni"] = state?.ipv4AddressesPerEni;
|
|
98
99
|
resourceInputs["name"] = state?.name;
|
|
99
100
|
resourceInputs["region"] = state?.region;
|
|
100
101
|
resourceInputs["securityGroupIds"] = state?.securityGroupIds;
|
|
@@ -114,6 +115,7 @@ class ResourceGateway extends pulumi.CustomResource {
|
|
|
114
115
|
throw new Error("Missing required property 'vpcId'");
|
|
115
116
|
}
|
|
116
117
|
resourceInputs["ipAddressType"] = args?.ipAddressType;
|
|
118
|
+
resourceInputs["ipv4AddressesPerEni"] = args?.ipv4AddressesPerEni;
|
|
117
119
|
resourceInputs["name"] = args?.name;
|
|
118
120
|
resourceInputs["region"] = args?.region;
|
|
119
121
|
resourceInputs["securityGroupIds"] = args?.securityGroupIds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceGateway.js","sourceRoot":"","sources":["../../vpclattice/resourceGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"resourceGateway.js","sourceRoot":"","sources":["../../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,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5HL,0CA6HC;AA/GG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,175 @@
|
|
|
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
|
+
/** @deprecated aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection */
|
|
37
|
+
export declare function getConnection(args?: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking getConnection.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetConnectionArgs {
|
|
42
|
+
/**
|
|
43
|
+
* Configuration block(s) for filtering. Detailed below.
|
|
44
|
+
*/
|
|
45
|
+
filters?: inputs.vpn.GetConnectionFilter[];
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
*/
|
|
49
|
+
region?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Identifier of the EC2 VPN Connection.
|
|
52
|
+
*/
|
|
53
|
+
vpnConnectionId?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* A collection of values returned by getConnection.
|
|
57
|
+
*/
|
|
58
|
+
export interface GetConnectionResult {
|
|
59
|
+
/**
|
|
60
|
+
* 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.
|
|
61
|
+
*/
|
|
62
|
+
readonly category: string;
|
|
63
|
+
/**
|
|
64
|
+
* ARN of the core network.
|
|
65
|
+
*/
|
|
66
|
+
readonly coreNetworkArn: string;
|
|
67
|
+
/**
|
|
68
|
+
* ARN of the core network attachment.
|
|
69
|
+
*/
|
|
70
|
+
readonly coreNetworkAttachmentArn: string;
|
|
71
|
+
/**
|
|
72
|
+
* Configuration information for the VPN connection's customer gateway (in the native XML format).
|
|
73
|
+
*/
|
|
74
|
+
readonly customerGatewayConfiguration: string;
|
|
75
|
+
/**
|
|
76
|
+
* ID of the customer gateway at your end of the VPN connection.
|
|
77
|
+
*/
|
|
78
|
+
readonly customerGatewayId: string;
|
|
79
|
+
readonly filters?: outputs.vpn.GetConnectionFilter[];
|
|
80
|
+
/**
|
|
81
|
+
* Current state of the gateway association.
|
|
82
|
+
*/
|
|
83
|
+
readonly gatewayAssociationState: string;
|
|
84
|
+
/**
|
|
85
|
+
* The provider-assigned unique ID for this managed resource.
|
|
86
|
+
*/
|
|
87
|
+
readonly id: string;
|
|
88
|
+
/**
|
|
89
|
+
* (ARN) of the Secrets Manager secret storing the pre-shared key(s) for the VPN connection.
|
|
90
|
+
*/
|
|
91
|
+
readonly preSharedKeyArn: string;
|
|
92
|
+
readonly region: string;
|
|
93
|
+
/**
|
|
94
|
+
* List of static routes associated with the VPN connection.
|
|
95
|
+
*/
|
|
96
|
+
readonly routes: outputs.vpn.GetConnectionRoute[];
|
|
97
|
+
/**
|
|
98
|
+
* Current state of the VPN connection.
|
|
99
|
+
*/
|
|
100
|
+
readonly state: string;
|
|
101
|
+
/**
|
|
102
|
+
* Tags associated to the VPN Connection.
|
|
103
|
+
*/
|
|
104
|
+
readonly tags: {
|
|
105
|
+
[key: string]: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* ID of a transit gateway associated with the VPN connection.
|
|
109
|
+
*/
|
|
110
|
+
readonly transitGatewayId: string;
|
|
111
|
+
/**
|
|
112
|
+
* Type of VPN connection. Currently the only supported type is ipsec.1.
|
|
113
|
+
*/
|
|
114
|
+
readonly type: string;
|
|
115
|
+
/**
|
|
116
|
+
* List of objects containing information about the VPN tunnel.
|
|
117
|
+
*/
|
|
118
|
+
readonly vgwTelemetries: outputs.vpn.GetConnectionVgwTelemetry[];
|
|
119
|
+
readonly vpnConnectionId: string;
|
|
120
|
+
/**
|
|
121
|
+
* ID of a virtual private gateway associated with the VPN connection.
|
|
122
|
+
*/
|
|
123
|
+
readonly vpnGatewayId: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* 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.
|
|
127
|
+
*
|
|
128
|
+
* ## Example Usage
|
|
129
|
+
*
|
|
130
|
+
* ### Basic Usage
|
|
131
|
+
*
|
|
132
|
+
* ```typescript
|
|
133
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
134
|
+
* import * as aws from "@pulumi/aws";
|
|
135
|
+
*
|
|
136
|
+
* const example = aws.ec2.getVpnConnection({
|
|
137
|
+
* filters: [{
|
|
138
|
+
* name: "customer-gateway-id",
|
|
139
|
+
* values: ["cgw-1234567890"],
|
|
140
|
+
* }],
|
|
141
|
+
* });
|
|
142
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* ### Find by VPN Connection ID
|
|
146
|
+
*
|
|
147
|
+
* ```typescript
|
|
148
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
149
|
+
* import * as aws from "@pulumi/aws";
|
|
150
|
+
*
|
|
151
|
+
* const example = aws.ec2.getVpnConnection({
|
|
152
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
153
|
+
* });
|
|
154
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
/** @deprecated aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection */
|
|
158
|
+
export declare function getConnectionOutput(args?: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
|
|
159
|
+
/**
|
|
160
|
+
* A collection of arguments for invoking getConnection.
|
|
161
|
+
*/
|
|
162
|
+
export interface GetConnectionOutputArgs {
|
|
163
|
+
/**
|
|
164
|
+
* Configuration block(s) for filtering. Detailed below.
|
|
165
|
+
*/
|
|
166
|
+
filters?: pulumi.Input<pulumi.Input<inputs.vpn.GetConnectionFilterArgs>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* 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.
|
|
169
|
+
*/
|
|
170
|
+
region?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Identifier of the EC2 VPN Connection.
|
|
173
|
+
*/
|
|
174
|
+
vpnConnectionId?: pulumi.Input<string>;
|
|
175
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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.getConnectionOutput = exports.getConnection = 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
|
+
/** @deprecated aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection */
|
|
41
|
+
function getConnection(args, opts) {
|
|
42
|
+
pulumi.log.warn("getConnection is deprecated: aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection");
|
|
43
|
+
args = args || {};
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invoke("aws:vpn/getConnection:getConnection", {
|
|
46
|
+
"filters": args.filters,
|
|
47
|
+
"region": args.region,
|
|
48
|
+
"vpnConnectionId": args.vpnConnectionId,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getConnection = getConnection;
|
|
52
|
+
/**
|
|
53
|
+
* 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.
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ### Basic Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as aws from "@pulumi/aws";
|
|
62
|
+
*
|
|
63
|
+
* const example = aws.ec2.getVpnConnection({
|
|
64
|
+
* filters: [{
|
|
65
|
+
* name: "customer-gateway-id",
|
|
66
|
+
* values: ["cgw-1234567890"],
|
|
67
|
+
* }],
|
|
68
|
+
* });
|
|
69
|
+
* export const vpnConnectionId = example.then(example => example.vpnConnectionId);
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ### Find by VPN Connection ID
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as aws from "@pulumi/aws";
|
|
77
|
+
*
|
|
78
|
+
* const example = aws.ec2.getVpnConnection({
|
|
79
|
+
* vpnConnectionId: "vpn-abcd1234567890",
|
|
80
|
+
* });
|
|
81
|
+
* export const gatewayAssociationState = example.then(example => example.gatewayAssociationState);
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
/** @deprecated aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection */
|
|
85
|
+
function getConnectionOutput(args, opts) {
|
|
86
|
+
pulumi.log.warn("getConnection is deprecated: aws.vpn/getconnection.getConnection has been deprecated in favor of aws.ec2/getvpnconnection.getVpnConnection");
|
|
87
|
+
args = args || {};
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
89
|
+
return pulumi.runtime.invokeOutput("aws:vpn/getConnection:getConnection", {
|
|
90
|
+
"filters": args.filters,
|
|
91
|
+
"region": args.region,
|
|
92
|
+
"vpnConnectionId": args.vpnConnectionId,
|
|
93
|
+
}, opts);
|
|
94
|
+
}
|
|
95
|
+
exports.getConnectionOutput = getConnectionOutput;
|
|
96
|
+
//# sourceMappingURL=getConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../vpn/getConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,gIAAgI;AAChI,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4IAA4I,CAAC,CAAA;IAC7J,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,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAwFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,gIAAgI;AAChI,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4IAA4I,CAAC,CAAA;IAC7J,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,qCAAqC,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;AATD,kDASC"}
|
package/vpn/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GetConnectionArgs, GetConnectionResult, GetConnectionOutputArgs } from "./getConnection";
|
|
2
|
+
export declare const getConnection: typeof import("./getConnection").getConnection;
|
|
3
|
+
export declare const getConnectionOutput: typeof import("./getConnection").getConnectionOutput;
|
package/vpn/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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.getConnectionOutput = exports.getConnection = void 0;
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
exports.getConnection = null;
|
|
8
|
+
exports.getConnectionOutput = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["getConnection", "getConnectionOutput"], () => require("./getConnection"));
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
package/vpn/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vpn/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
|