@pulumi/aws 6.83.0-alpha.1749735083 → 6.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/workspaceConfiguration.d.ts +149 -0
- package/amp/workspaceConfiguration.js +124 -0
- package/amp/workspaceConfiguration.js.map +1 -0
- package/cloudfront/keyvaluestoreKeysExclusive.d.ts +12 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js +2 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -1
- package/dsql/cluster.d.ts +170 -0
- package/dsql/cluster.js +94 -0
- package/dsql/cluster.js.map +1 -0
- package/dsql/clusterPeering.d.ts +114 -0
- package/dsql/clusterPeering.js +101 -0
- package/dsql/clusterPeering.js.map +1 -0
- package/dsql/index.d.ts +6 -0
- package/dsql/index.js +27 -0
- package/dsql/index.js.map +1 -0
- package/ec2/vpnConnection.d.ts +20 -0
- package/ec2/vpnConnection.js +4 -0
- package/ec2/vpnConnection.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +18 -3
- package/fsx/lustreFileSystem.js +4 -0
- package/fsx/lustreFileSystem.js.map +1 -1
- package/glue/job.d.ts +102 -5
- package/glue/job.js +102 -5
- package/glue/job.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/lambda/codeSigningConfig.d.ts +2 -2
- package/lambda/codeSigningConfig.js +2 -2
- package/lightsail/bucket.d.ts +40 -28
- package/lightsail/bucket.js +4 -4
- package/lightsail/bucket.js.map +1 -1
- package/lightsail/bucketAccessKey.d.ts +16 -16
- package/lightsail/bucketAccessKey.js +5 -5
- package/lightsail/bucketResourceAccess.d.ts +30 -8
- package/lightsail/bucketResourceAccess.js +24 -2
- package/lightsail/bucketResourceAccess.js.map +1 -1
- package/lightsail/certificate.d.ts +29 -23
- package/lightsail/certificate.js +6 -6
- package/lightsail/certificate.js.map +1 -1
- package/lightsail/containerService.d.ts +62 -97
- package/lightsail/containerService.js +11 -15
- package/lightsail/containerService.js.map +1 -1
- package/lightsail/containerServiceDeploymentVersion.d.ts +22 -16
- package/lightsail/containerServiceDeploymentVersion.js +1 -1
- package/lightsail/containerServiceDeploymentVersion.js.map +1 -1
- package/lightsail/database.d.ts +113 -109
- package/lightsail/database.js +36 -38
- package/lightsail/database.js.map +1 -1
- package/lightsail/disk.d.ts +30 -24
- package/lightsail/disk.js +4 -4
- package/lightsail/disk.js.map +1 -1
- package/lightsail/disk_attachment.d.ts +19 -19
- package/lightsail/disk_attachment.js +10 -10
- package/lightsail/distribution.d.ts +84 -88
- package/lightsail/distribution.js +32 -38
- package/lightsail/distribution.js.map +1 -1
- package/lightsail/domain.d.ts +10 -12
- package/lightsail/domain.js +5 -7
- package/lightsail/domain.js.map +1 -1
- package/lightsail/domainEntry.d.ts +27 -21
- package/lightsail/domainEntry.js +6 -6
- package/lightsail/domainEntry.js.map +1 -1
- package/lightsail/instance.d.ts +60 -78
- package/lightsail/instance.js +9 -12
- package/lightsail/instance.js.map +1 -1
- package/lightsail/instancePublicPorts.d.ts +29 -14
- package/lightsail/instancePublicPorts.js +26 -11
- package/lightsail/instancePublicPorts.js.map +1 -1
- package/lightsail/keyPair.d.ts +44 -34
- package/lightsail/keyPair.js +6 -9
- package/lightsail/keyPair.js.map +1 -1
- package/lightsail/lb.d.ts +47 -30
- package/lightsail/lb.js +6 -4
- package/lightsail/lb.js.map +1 -1
- package/lightsail/lbAttachment.d.ts +15 -15
- package/lightsail/lbAttachment.js +9 -9
- package/lightsail/lbCertificate.d.ts +41 -21
- package/lightsail/lbCertificate.js +10 -8
- package/lightsail/lbCertificate.js.map +1 -1
- package/lightsail/lbCertificateAttachment.d.ts +19 -17
- package/lightsail/lbCertificateAttachment.js +13 -11
- package/lightsail/lbCertificateAttachment.js.map +1 -1
- package/lightsail/lbHttpsRedirectionPolicy.d.ts +21 -19
- package/lightsail/lbHttpsRedirectionPolicy.js +15 -13
- package/lightsail/lbHttpsRedirectionPolicy.js.map +1 -1
- package/lightsail/lbStickinessPolicy.d.ts +17 -15
- package/lightsail/lbStickinessPolicy.js +8 -6
- package/lightsail/lbStickinessPolicy.js.map +1 -1
- package/lightsail/staticIp.d.ts +22 -12
- package/lightsail/staticIp.js +13 -3
- package/lightsail/staticIp.js.map +1 -1
- package/lightsail/staticIpAttachment.d.ts +28 -19
- package/lightsail/staticIpAttachment.js +20 -11
- package/lightsail/staticIpAttachment.js.map +1 -1
- package/neptune/cluster.d.ts +81 -90
- package/neptune/cluster.js.map +1 -1
- package/neptune/getEngineVersion.d.ts +95 -13
- package/neptune/getEngineVersion.js +22 -6
- package/neptune/getEngineVersion.js.map +1 -1
- package/neptune/globalCluster.d.ts +11 -14
- package/neptune/globalCluster.js.map +1 -1
- package/networkfirewall/ruleGroup.d.ts +46 -0
- package/networkfirewall/ruleGroup.js +46 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +12 -0
- package/pinpoint/smsvoicev2PhoneNumber.js +2 -0
- package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
- package/s3/accessPoint.d.ts +22 -1
- package/s3/accessPoint.js +22 -1
- package/s3/accessPoint.js.map +1 -1
- package/s3control/directoryBucketAccessPointScope.d.ts +120 -0
- package/s3control/directoryBucketAccessPointScope.js +102 -0
- package/s3control/directoryBucketAccessPointScope.js.map +1 -0
- package/s3control/index.d.ts +3 -0
- package/s3control/index.js +6 -1
- package/s3control/index.js.map +1 -1
- package/ssm/association.d.ts +155 -0
- package/ssm/association.js +155 -0
- package/ssm/association.js.map +1 -1
- package/types/input.d.ts +579 -56
- package/types/input.js.map +1 -1
- package/types/output.d.ts +579 -56
- package/types/output.js.map +1 -1
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +26 -1
- package/vpc/index.js.map +1 -1
- package/vpc/routeServer.d.ts +197 -0
- package/vpc/routeServer.js +114 -0
- package/vpc/routeServer.js.map +1 -0
- package/vpc/routeServerEndpoint.d.ts +173 -0
- package/vpc/routeServerEndpoint.js +101 -0
- package/vpc/routeServerEndpoint.js.map +1 -0
- package/vpc/routeServerPeer.d.ts +233 -0
- package/vpc/routeServerPeer.js +154 -0
- package/vpc/routeServerPeer.js.map +1 -0
- package/vpc/routeServerPropagation.d.ts +90 -0
- package/vpc/routeServerPropagation.js +84 -0
- package/vpc/routeServerPropagation.js.map +1 -0
- package/vpc/routeServerVpcAssociation.d.ts +90 -0
- package/vpc/routeServerVpcAssociation.js +84 -0
- package/vpc/routeServerVpcAssociation.js.map +1 -0
- package/workspaces/index.d.ts +9 -0
- package/workspaces/index.js +16 -1
- package/workspaces/index.js.map +1 -1
- package/workspaces/webBrowserSettings.d.ts +5 -2
- package/workspaces/webBrowserSettings.js +7 -2
- package/workspaces/webBrowserSettings.js.map +1 -1
- package/workspaces/webDataProtectionSettings.d.ts +264 -0
- package/workspaces/webDataProtectionSettings.js +174 -0
- package/workspaces/webDataProtectionSettings.js.map +1 -0
- package/workspaces/webIpAccessSettings.d.ts +245 -0
- package/workspaces/webIpAccessSettings.js +155 -0
- package/workspaces/webIpAccessSettings.js.map +1 -0
- package/workspaces/webNetworkSettings.d.ts +4 -1
- package/workspaces/webNetworkSettings.js +6 -1
- package/workspaces/webNetworkSettings.js.map +1 -1
- package/workspaces/webUserAccessLoggingSettings.d.ts +152 -0
- package/workspaces/webUserAccessLoggingSettings.js +110 -0
- package/workspaces/webUserAccessLoggingSettings.js.map +1 -0
- package/workspaces/webUserSettings.d.ts +6 -3
- package/workspaces/webUserSettings.js +8 -3
- package/workspaces/webUserSettings.js.map +1 -1
- package/workspacesweb/browserSettings.d.ts +190 -0
- package/workspacesweb/browserSettings.js +122 -0
- package/workspacesweb/browserSettings.js.map +1 -0
- package/workspacesweb/dataProtectionSettings.d.ts +261 -0
- package/workspacesweb/dataProtectionSettings.js +171 -0
- package/workspacesweb/dataProtectionSettings.js.map +1 -0
- package/workspacesweb/index.d.ts +18 -0
- package/workspacesweb/index.js +47 -0
- package/workspacesweb/index.js.map +1 -0
- package/workspacesweb/ipAccessSettings.d.ts +242 -0
- package/workspacesweb/ipAccessSettings.js +152 -0
- package/workspacesweb/ipAccessSettings.js.map +1 -0
- package/workspacesweb/networkSettings.d.ts +181 -0
- package/workspacesweb/networkSettings.js +125 -0
- package/workspacesweb/networkSettings.js.map +1 -0
- package/workspacesweb/userAccessLoggingSettings.d.ts +149 -0
- package/workspacesweb/userAccessLoggingSettings.js +107 -0
- package/workspacesweb/userAccessLoggingSettings.js.map +1 -0
- package/workspacesweb/userSettings.d.ts +342 -0
- package/workspacesweb/userSettings.js +194 -0
- package/workspacesweb/userSettings.js.map +1 -0
|
@@ -0,0 +1,101 @@
|
|
|
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.RouteServerEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Endpoint.
|
|
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 test = new aws.vpc.RouteServerEndpoint("test", {
|
|
20
|
+
* routeServerId: example.routeServerId,
|
|
21
|
+
* subnetId: main.id,
|
|
22
|
+
* tags: {
|
|
23
|
+
* Name: "Endpoint A",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server Endpoint using the `route_server_endpoint_id`. For example:
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:vpc/routeServerEndpoint:RouteServerEndpoint example rse-12345678
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class RouteServerEndpoint extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing RouteServerEndpoint resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new RouteServerEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of RouteServerEndpoint. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === RouteServerEndpoint.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
65
|
+
resourceInputs["eniAddress"] = state ? state.eniAddress : undefined;
|
|
66
|
+
resourceInputs["eniId"] = state ? state.eniId : undefined;
|
|
67
|
+
resourceInputs["routeServerEndpointId"] = state ? state.routeServerEndpointId : undefined;
|
|
68
|
+
resourceInputs["routeServerId"] = state ? state.routeServerId : undefined;
|
|
69
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
70
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
71
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
72
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
73
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.routeServerId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'routeServerId'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.subnetId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'subnetId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["routeServerId"] = args ? args.routeServerId : undefined;
|
|
84
|
+
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
85
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
86
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
87
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["eniAddress"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["eniId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["routeServerEndpointId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["vpcId"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
super(RouteServerEndpoint.__pulumiType, name, resourceInputs, opts);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.RouteServerEndpoint = RouteServerEndpoint;
|
|
99
|
+
/** @internal */
|
|
100
|
+
RouteServerEndpoint.__pulumiType = 'aws:vpc/routeServerEndpoint:RouteServerEndpoint';
|
|
101
|
+
//# sourceMappingURL=routeServerEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeServerEndpoint.js","sourceRoot":"","sources":["../../vpc/routeServerEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAoDD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc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|
+
* Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Peer.
|
|
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 test = new aws.vpc.RouteServerPeer("test", {
|
|
16
|
+
* routeServerEndpointId: example.routeServerEndpointId,
|
|
17
|
+
* peerAddress: "10.0.1.250",
|
|
18
|
+
* bgpOptions: {
|
|
19
|
+
* peerAsn: 65200,
|
|
20
|
+
* },
|
|
21
|
+
* tags: {
|
|
22
|
+
* Name: "Appliance 1",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ### Complete Configuration
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as aws from "@pulumi/aws";
|
|
32
|
+
*
|
|
33
|
+
* const test = new aws.vpc.RouteServer("test", {
|
|
34
|
+
* amazonSideAsn: 4294967294,
|
|
35
|
+
* tags: {
|
|
36
|
+
* Name: "Test",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const testVpcRouteServerAssociation = new aws.index.VpcRouteServerAssociation("test", {
|
|
40
|
+
* routeServerId: test.routeServerId,
|
|
41
|
+
* vpcId: testAwsVpc.id,
|
|
42
|
+
* });
|
|
43
|
+
* const testRouteServerEndpoint = new aws.vpc.RouteServerEndpoint("test", {
|
|
44
|
+
* routeServerId: test.routeServerId,
|
|
45
|
+
* subnetId: testAwsSubnet.id,
|
|
46
|
+
* tags: {
|
|
47
|
+
* Name: "Test Endpoint",
|
|
48
|
+
* },
|
|
49
|
+
* }, {
|
|
50
|
+
* dependsOn: [testVpcRouteServerAssociation],
|
|
51
|
+
* });
|
|
52
|
+
* const testRouteServerPropagation = new aws.vpc.RouteServerPropagation("test", {
|
|
53
|
+
* routeServerId: test.routeServerId,
|
|
54
|
+
* routeTableId: testAwsRouteTable.id,
|
|
55
|
+
* }, {
|
|
56
|
+
* dependsOn: [testVpcRouteServerAssociation],
|
|
57
|
+
* });
|
|
58
|
+
* const testRouteServerPeer = new aws.vpc.RouteServerPeer("test", {
|
|
59
|
+
* routeServerEndpointId: testRouteServerEndpoint.routeServerEndpointId,
|
|
60
|
+
* peerAddress: "10.0.1.250",
|
|
61
|
+
* bgpOptions: {
|
|
62
|
+
* peerAsn: 65000,
|
|
63
|
+
* peerLivenessDetection: "bgp-keepalive",
|
|
64
|
+
* },
|
|
65
|
+
* tags: {
|
|
66
|
+
* Name: "Test Appliance",
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* ## Import
|
|
72
|
+
*
|
|
73
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_peer_id`. For example:
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* $ pulumi import aws:vpc/routeServerPeer:RouteServerPeer example rsp-12345678
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare class RouteServerPeer extends pulumi.CustomResource {
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing RouteServerPeer resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteServerPeerState, opts?: pulumi.CustomResourceOptions): RouteServerPeer;
|
|
90
|
+
/**
|
|
91
|
+
* Returns true if the given object is an instance of RouteServerPeer. This is designed to work even
|
|
92
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
+
*/
|
|
94
|
+
static isInstance(obj: any): obj is RouteServerPeer;
|
|
95
|
+
/**
|
|
96
|
+
* The ARN of the route server peer.
|
|
97
|
+
*/
|
|
98
|
+
readonly arn: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
|
|
101
|
+
*/
|
|
102
|
+
readonly bgpOptions: pulumi.Output<outputs.vpc.RouteServerPeerBgpOptions | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* The IP address of the Elastic network interface for the route server endpoint.
|
|
105
|
+
*/
|
|
106
|
+
readonly endpointEniAddress: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the Elastic network interface for the route server endpoint.
|
|
109
|
+
*/
|
|
110
|
+
readonly endpointEniId: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The IPv4 address of the peer device.
|
|
113
|
+
*/
|
|
114
|
+
readonly peerAddress: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The ID of the route server endpoint for which to create a peer.
|
|
117
|
+
*/
|
|
118
|
+
readonly routeServerEndpointId: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the route server associated with this peer.
|
|
121
|
+
*/
|
|
122
|
+
readonly routeServerId: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The unique identifier of the route server peer.
|
|
125
|
+
*/
|
|
126
|
+
readonly routeServerPeerId: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the subnet containing the route server peer.
|
|
129
|
+
*/
|
|
130
|
+
readonly subnetId: pulumi.Output<string>;
|
|
131
|
+
readonly tags: pulumi.Output<{
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
} | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
136
|
+
*
|
|
137
|
+
* @deprecated Please use `tags` instead.
|
|
138
|
+
*/
|
|
139
|
+
readonly tagsAll: pulumi.Output<{
|
|
140
|
+
[key: string]: string;
|
|
141
|
+
}>;
|
|
142
|
+
readonly timeouts: pulumi.Output<outputs.vpc.RouteServerPeerTimeouts | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* The ID of the VPC containing the route server peer.
|
|
145
|
+
*/
|
|
146
|
+
readonly vpcId: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Create a RouteServerPeer resource with the given unique name, arguments, and options.
|
|
149
|
+
*
|
|
150
|
+
* @param name The _unique_ name of the resource.
|
|
151
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
152
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
153
|
+
*/
|
|
154
|
+
constructor(name: string, args: RouteServerPeerArgs, opts?: pulumi.CustomResourceOptions);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Input properties used for looking up and filtering RouteServerPeer resources.
|
|
158
|
+
*/
|
|
159
|
+
export interface RouteServerPeerState {
|
|
160
|
+
/**
|
|
161
|
+
* The ARN of the route server peer.
|
|
162
|
+
*/
|
|
163
|
+
arn?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
|
|
166
|
+
*/
|
|
167
|
+
bgpOptions?: pulumi.Input<inputs.vpc.RouteServerPeerBgpOptions>;
|
|
168
|
+
/**
|
|
169
|
+
* The IP address of the Elastic network interface for the route server endpoint.
|
|
170
|
+
*/
|
|
171
|
+
endpointEniAddress?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The ID of the Elastic network interface for the route server endpoint.
|
|
174
|
+
*/
|
|
175
|
+
endpointEniId?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The IPv4 address of the peer device.
|
|
178
|
+
*/
|
|
179
|
+
peerAddress?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The ID of the route server endpoint for which to create a peer.
|
|
182
|
+
*/
|
|
183
|
+
routeServerEndpointId?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The ID of the route server associated with this peer.
|
|
186
|
+
*/
|
|
187
|
+
routeServerId?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The unique identifier of the route server peer.
|
|
190
|
+
*/
|
|
191
|
+
routeServerPeerId?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The ID of the subnet containing the route server peer.
|
|
194
|
+
*/
|
|
195
|
+
subnetId?: pulumi.Input<string>;
|
|
196
|
+
tags?: pulumi.Input<{
|
|
197
|
+
[key: string]: pulumi.Input<string>;
|
|
198
|
+
}>;
|
|
199
|
+
/**
|
|
200
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
201
|
+
*
|
|
202
|
+
* @deprecated Please use `tags` instead.
|
|
203
|
+
*/
|
|
204
|
+
tagsAll?: pulumi.Input<{
|
|
205
|
+
[key: string]: pulumi.Input<string>;
|
|
206
|
+
}>;
|
|
207
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerPeerTimeouts>;
|
|
208
|
+
/**
|
|
209
|
+
* The ID of the VPC containing the route server peer.
|
|
210
|
+
*/
|
|
211
|
+
vpcId?: pulumi.Input<string>;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* The set of arguments for constructing a RouteServerPeer resource.
|
|
215
|
+
*/
|
|
216
|
+
export interface RouteServerPeerArgs {
|
|
217
|
+
/**
|
|
218
|
+
* The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. Configuration block with BGP Options configuration Detailed below
|
|
219
|
+
*/
|
|
220
|
+
bgpOptions?: pulumi.Input<inputs.vpc.RouteServerPeerBgpOptions>;
|
|
221
|
+
/**
|
|
222
|
+
* The IPv4 address of the peer device.
|
|
223
|
+
*/
|
|
224
|
+
peerAddress: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The ID of the route server endpoint for which to create a peer.
|
|
227
|
+
*/
|
|
228
|
+
routeServerEndpointId: pulumi.Input<string>;
|
|
229
|
+
tags?: pulumi.Input<{
|
|
230
|
+
[key: string]: pulumi.Input<string>;
|
|
231
|
+
}>;
|
|
232
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerPeerTimeouts>;
|
|
233
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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.RouteServerPeer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Peer.
|
|
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 test = new aws.vpc.RouteServerPeer("test", {
|
|
20
|
+
* routeServerEndpointId: example.routeServerEndpointId,
|
|
21
|
+
* peerAddress: "10.0.1.250",
|
|
22
|
+
* bgpOptions: {
|
|
23
|
+
* peerAsn: 65200,
|
|
24
|
+
* },
|
|
25
|
+
* tags: {
|
|
26
|
+
* Name: "Appliance 1",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### Complete Configuration
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
*
|
|
37
|
+
* const test = new aws.vpc.RouteServer("test", {
|
|
38
|
+
* amazonSideAsn: 4294967294,
|
|
39
|
+
* tags: {
|
|
40
|
+
* Name: "Test",
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* const testVpcRouteServerAssociation = new aws.index.VpcRouteServerAssociation("test", {
|
|
44
|
+
* routeServerId: test.routeServerId,
|
|
45
|
+
* vpcId: testAwsVpc.id,
|
|
46
|
+
* });
|
|
47
|
+
* const testRouteServerEndpoint = new aws.vpc.RouteServerEndpoint("test", {
|
|
48
|
+
* routeServerId: test.routeServerId,
|
|
49
|
+
* subnetId: testAwsSubnet.id,
|
|
50
|
+
* tags: {
|
|
51
|
+
* Name: "Test Endpoint",
|
|
52
|
+
* },
|
|
53
|
+
* }, {
|
|
54
|
+
* dependsOn: [testVpcRouteServerAssociation],
|
|
55
|
+
* });
|
|
56
|
+
* const testRouteServerPropagation = new aws.vpc.RouteServerPropagation("test", {
|
|
57
|
+
* routeServerId: test.routeServerId,
|
|
58
|
+
* routeTableId: testAwsRouteTable.id,
|
|
59
|
+
* }, {
|
|
60
|
+
* dependsOn: [testVpcRouteServerAssociation],
|
|
61
|
+
* });
|
|
62
|
+
* const testRouteServerPeer = new aws.vpc.RouteServerPeer("test", {
|
|
63
|
+
* routeServerEndpointId: testRouteServerEndpoint.routeServerEndpointId,
|
|
64
|
+
* peerAddress: "10.0.1.250",
|
|
65
|
+
* bgpOptions: {
|
|
66
|
+
* peerAsn: 65000,
|
|
67
|
+
* peerLivenessDetection: "bgp-keepalive",
|
|
68
|
+
* },
|
|
69
|
+
* tags: {
|
|
70
|
+
* Name: "Test Appliance",
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* ## Import
|
|
76
|
+
*
|
|
77
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_peer_id`. For example:
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import aws:vpc/routeServerPeer:RouteServerPeer example rsp-12345678
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
class RouteServerPeer extends pulumi.CustomResource {
|
|
84
|
+
/**
|
|
85
|
+
* Get an existing RouteServerPeer resource's state with the given name, ID, and optional extra
|
|
86
|
+
* properties used to qualify the lookup.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resulting resource.
|
|
89
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
+
* @param state Any extra arguments used during the lookup.
|
|
91
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
+
*/
|
|
93
|
+
static get(name, id, state, opts) {
|
|
94
|
+
return new RouteServerPeer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Returns true if the given object is an instance of RouteServerPeer. This is designed to work even
|
|
98
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
99
|
+
*/
|
|
100
|
+
static isInstance(obj) {
|
|
101
|
+
if (obj === undefined || obj === null) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
return obj['__pulumiType'] === RouteServerPeer.__pulumiType;
|
|
105
|
+
}
|
|
106
|
+
constructor(name, argsOrState, opts) {
|
|
107
|
+
let resourceInputs = {};
|
|
108
|
+
opts = opts || {};
|
|
109
|
+
if (opts.id) {
|
|
110
|
+
const state = argsOrState;
|
|
111
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
112
|
+
resourceInputs["bgpOptions"] = state ? state.bgpOptions : undefined;
|
|
113
|
+
resourceInputs["endpointEniAddress"] = state ? state.endpointEniAddress : undefined;
|
|
114
|
+
resourceInputs["endpointEniId"] = state ? state.endpointEniId : undefined;
|
|
115
|
+
resourceInputs["peerAddress"] = state ? state.peerAddress : undefined;
|
|
116
|
+
resourceInputs["routeServerEndpointId"] = state ? state.routeServerEndpointId : undefined;
|
|
117
|
+
resourceInputs["routeServerId"] = state ? state.routeServerId : undefined;
|
|
118
|
+
resourceInputs["routeServerPeerId"] = state ? state.routeServerPeerId : undefined;
|
|
119
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
120
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
121
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
122
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
123
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
const args = argsOrState;
|
|
127
|
+
if ((!args || args.peerAddress === undefined) && !opts.urn) {
|
|
128
|
+
throw new Error("Missing required property 'peerAddress'");
|
|
129
|
+
}
|
|
130
|
+
if ((!args || args.routeServerEndpointId === undefined) && !opts.urn) {
|
|
131
|
+
throw new Error("Missing required property 'routeServerEndpointId'");
|
|
132
|
+
}
|
|
133
|
+
resourceInputs["bgpOptions"] = args ? args.bgpOptions : undefined;
|
|
134
|
+
resourceInputs["peerAddress"] = args ? args.peerAddress : undefined;
|
|
135
|
+
resourceInputs["routeServerEndpointId"] = args ? args.routeServerEndpointId : undefined;
|
|
136
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
137
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
138
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
139
|
+
resourceInputs["endpointEniAddress"] = undefined /*out*/;
|
|
140
|
+
resourceInputs["endpointEniId"] = undefined /*out*/;
|
|
141
|
+
resourceInputs["routeServerId"] = undefined /*out*/;
|
|
142
|
+
resourceInputs["routeServerPeerId"] = undefined /*out*/;
|
|
143
|
+
resourceInputs["subnetId"] = undefined /*out*/;
|
|
144
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["vpcId"] = undefined /*out*/;
|
|
146
|
+
}
|
|
147
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
148
|
+
super(RouteServerPeer.__pulumiType, name, resourceInputs, opts);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.RouteServerPeer = RouteServerPeer;
|
|
152
|
+
/** @internal */
|
|
153
|
+
RouteServerPeer.__pulumiType = 'aws:vpc/routeServerPeer:RouteServerPeer';
|
|
154
|
+
//# sourceMappingURL=routeServerPeer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeServerPeer.js","sourceRoot":"","sources":["../../vpc/routeServerPeer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;IA2DD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,I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CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;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;;AA/HL,0CAgIC;AAlHG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource for managing propagation between VPC (Virtual Private Cloud) route server and a route table.
|
|
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 = new aws.vpc.RouteServerPropagation("example", {
|
|
16
|
+
* routeServerId: exampleAwsVpcRouteServer.routeServerId,
|
|
17
|
+
* routeTableId: exampleAwsRouteTable.id,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Using `pulumi import`, to to import VPC (Virtual Private Cloud) Route Server Propagation using the associated resource ID and route table ID separated by a comma (,). For example:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import aws:vpc/routeServerPropagation:RouteServerPropagation example rs-12345678,rtb-656c65616e6f72
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class RouteServerPropagation extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing RouteServerPropagation resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteServerPropagationState, opts?: pulumi.CustomResourceOptions): RouteServerPropagation;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of RouteServerPropagation. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is RouteServerPropagation;
|
|
45
|
+
/**
|
|
46
|
+
* The unique identifier for the route server to be associated.
|
|
47
|
+
*/
|
|
48
|
+
readonly routeServerId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the route table to which route server will propagate routes.
|
|
51
|
+
*/
|
|
52
|
+
readonly routeTableId: pulumi.Output<string>;
|
|
53
|
+
readonly timeouts: pulumi.Output<outputs.vpc.RouteServerPropagationTimeouts | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a RouteServerPropagation resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: RouteServerPropagationArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering RouteServerPropagation resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface RouteServerPropagationState {
|
|
67
|
+
/**
|
|
68
|
+
* The unique identifier for the route server to be associated.
|
|
69
|
+
*/
|
|
70
|
+
routeServerId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the route table to which route server will propagate routes.
|
|
73
|
+
*/
|
|
74
|
+
routeTableId?: pulumi.Input<string>;
|
|
75
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerPropagationTimeouts>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The set of arguments for constructing a RouteServerPropagation resource.
|
|
79
|
+
*/
|
|
80
|
+
export interface RouteServerPropagationArgs {
|
|
81
|
+
/**
|
|
82
|
+
* The unique identifier for the route server to be associated.
|
|
83
|
+
*/
|
|
84
|
+
routeServerId: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the route table to which route server will propagate routes.
|
|
87
|
+
*/
|
|
88
|
+
routeTableId: pulumi.Input<string>;
|
|
89
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerPropagationTimeouts>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.RouteServerPropagation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource for managing propagation between VPC (Virtual Private Cloud) route server and a route table.
|
|
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 = new aws.vpc.RouteServerPropagation("example", {
|
|
20
|
+
* routeServerId: exampleAwsVpcRouteServer.routeServerId,
|
|
21
|
+
* routeTableId: exampleAwsRouteTable.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Using `pulumi import`, to to import VPC (Virtual Private Cloud) Route Server Propagation using the associated resource ID and route table ID separated by a comma (,). For example:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:vpc/routeServerPropagation:RouteServerPropagation example rs-12345678,rtb-656c65616e6f72
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class RouteServerPropagation extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing RouteServerPropagation resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new RouteServerPropagation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of RouteServerPropagation. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === RouteServerPropagation.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["routeServerId"] = state ? state.routeServerId : undefined;
|
|
62
|
+
resourceInputs["routeTableId"] = state ? state.routeTableId : undefined;
|
|
63
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.routeServerId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'routeServerId'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.routeTableId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'routeTableId'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["routeServerId"] = args ? args.routeServerId : undefined;
|
|
74
|
+
resourceInputs["routeTableId"] = args ? args.routeTableId : undefined;
|
|
75
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(RouteServerPropagation.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.RouteServerPropagation = RouteServerPropagation;
|
|
82
|
+
/** @internal */
|
|
83
|
+
RouteServerPropagation.__pulumiType = 'aws:vpc/routeServerPropagation:RouteServerPropagation';
|
|
84
|
+
//# sourceMappingURL=routeServerPropagation.js.map
|