@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
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;;;AAs52EjF,IAAiB,GAAG,CA4cnB;AA5cD,WAAiB,GAAG;IA4XhB;;OAEG;IACH,SAAgB,sCAAsC,CAAC,GAA4B;;QAC/E,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,WAAW,IAC/C;IACN,CAAC;IALe,0CAAsC,yCAKrD,CAAA;AAwEL,CAAC,EA5cgB,GAAG,GAAH,WAAG,KAAH,WAAG,QA4cnB"}
|
package/vpc/index.d.ts
CHANGED
|
@@ -13,6 +13,21 @@ export declare const getSecurityGroupRulesOutput: typeof import("./getSecurityGr
|
|
|
13
13
|
export { GetVpcEndpointAssociationsArgs, GetVpcEndpointAssociationsResult, GetVpcEndpointAssociationsOutputArgs } from "./getVpcEndpointAssociations";
|
|
14
14
|
export declare const getVpcEndpointAssociations: typeof import("./getVpcEndpointAssociations").getVpcEndpointAssociations;
|
|
15
15
|
export declare const getVpcEndpointAssociationsOutput: typeof import("./getVpcEndpointAssociations").getVpcEndpointAssociationsOutput;
|
|
16
|
+
export { RouteServerArgs, RouteServerState } from "./routeServer";
|
|
17
|
+
export type RouteServer = import("./routeServer").RouteServer;
|
|
18
|
+
export declare const RouteServer: typeof import("./routeServer").RouteServer;
|
|
19
|
+
export { RouteServerEndpointArgs, RouteServerEndpointState } from "./routeServerEndpoint";
|
|
20
|
+
export type RouteServerEndpoint = import("./routeServerEndpoint").RouteServerEndpoint;
|
|
21
|
+
export declare const RouteServerEndpoint: typeof import("./routeServerEndpoint").RouteServerEndpoint;
|
|
22
|
+
export { RouteServerPeerArgs, RouteServerPeerState } from "./routeServerPeer";
|
|
23
|
+
export type RouteServerPeer = import("./routeServerPeer").RouteServerPeer;
|
|
24
|
+
export declare const RouteServerPeer: typeof import("./routeServerPeer").RouteServerPeer;
|
|
25
|
+
export { RouteServerPropagationArgs, RouteServerPropagationState } from "./routeServerPropagation";
|
|
26
|
+
export type RouteServerPropagation = import("./routeServerPropagation").RouteServerPropagation;
|
|
27
|
+
export declare const RouteServerPropagation: typeof import("./routeServerPropagation").RouteServerPropagation;
|
|
28
|
+
export { RouteServerVpcAssociationArgs, RouteServerVpcAssociationState } from "./routeServerVpcAssociation";
|
|
29
|
+
export type RouteServerVpcAssociation = import("./routeServerVpcAssociation").RouteServerVpcAssociation;
|
|
30
|
+
export declare const RouteServerVpcAssociation: typeof import("./routeServerVpcAssociation").RouteServerVpcAssociation;
|
|
16
31
|
export { SecurityGroupEgressRuleArgs, SecurityGroupEgressRuleState } from "./securityGroupEgressRule";
|
|
17
32
|
export type SecurityGroupEgressRule = import("./securityGroupEgressRule").SecurityGroupEgressRule;
|
|
18
33
|
export declare const SecurityGroupEgressRule: typeof import("./securityGroupEgressRule").SecurityGroupEgressRule;
|
package/vpc/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SecurityGroupVpcAssociation = exports.SecurityGroupIngressRule = exports.SecurityGroupEgressRule = exports.getVpcEndpointAssociationsOutput = exports.getVpcEndpointAssociations = exports.getSecurityGroupRulesOutput = exports.getSecurityGroupRules = exports.getSecurityGroupRuleOutput = exports.getSecurityGroupRule = exports.EndpointServicePrivateDnsVerification = exports.EndpointPrivateDns = void 0;
|
|
5
|
+
exports.SecurityGroupVpcAssociation = exports.SecurityGroupIngressRule = exports.SecurityGroupEgressRule = exports.RouteServerVpcAssociation = exports.RouteServerPropagation = exports.RouteServerPeer = exports.RouteServerEndpoint = exports.RouteServer = exports.getVpcEndpointAssociationsOutput = exports.getVpcEndpointAssociations = exports.getSecurityGroupRulesOutput = exports.getSecurityGroupRules = exports.getSecurityGroupRuleOutput = exports.getSecurityGroupRule = exports.EndpointServicePrivateDnsVerification = exports.EndpointPrivateDns = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.EndpointPrivateDns = null;
|
|
@@ -18,6 +18,16 @@ utilities.lazyLoad(exports, ["getSecurityGroupRules", "getSecurityGroupRulesOutp
|
|
|
18
18
|
exports.getVpcEndpointAssociations = null;
|
|
19
19
|
exports.getVpcEndpointAssociationsOutput = null;
|
|
20
20
|
utilities.lazyLoad(exports, ["getVpcEndpointAssociations", "getVpcEndpointAssociationsOutput"], () => require("./getVpcEndpointAssociations"));
|
|
21
|
+
exports.RouteServer = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["RouteServer"], () => require("./routeServer"));
|
|
23
|
+
exports.RouteServerEndpoint = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["RouteServerEndpoint"], () => require("./routeServerEndpoint"));
|
|
25
|
+
exports.RouteServerPeer = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["RouteServerPeer"], () => require("./routeServerPeer"));
|
|
27
|
+
exports.RouteServerPropagation = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["RouteServerPropagation"], () => require("./routeServerPropagation"));
|
|
29
|
+
exports.RouteServerVpcAssociation = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["RouteServerVpcAssociation"], () => require("./routeServerVpcAssociation"));
|
|
21
31
|
exports.SecurityGroupEgressRule = null;
|
|
22
32
|
utilities.lazyLoad(exports, ["SecurityGroupEgressRule"], () => require("./securityGroupEgressRule"));
|
|
23
33
|
exports.SecurityGroupIngressRule = null;
|
|
@@ -32,6 +42,16 @@ const _module = {
|
|
|
32
42
|
return new exports.EndpointPrivateDns(name, undefined, { urn });
|
|
33
43
|
case "aws:vpc/endpointServicePrivateDnsVerification:EndpointServicePrivateDnsVerification":
|
|
34
44
|
return new exports.EndpointServicePrivateDnsVerification(name, undefined, { urn });
|
|
45
|
+
case "aws:vpc/routeServer:RouteServer":
|
|
46
|
+
return new exports.RouteServer(name, undefined, { urn });
|
|
47
|
+
case "aws:vpc/routeServerEndpoint:RouteServerEndpoint":
|
|
48
|
+
return new exports.RouteServerEndpoint(name, undefined, { urn });
|
|
49
|
+
case "aws:vpc/routeServerPeer:RouteServerPeer":
|
|
50
|
+
return new exports.RouteServerPeer(name, undefined, { urn });
|
|
51
|
+
case "aws:vpc/routeServerPropagation:RouteServerPropagation":
|
|
52
|
+
return new exports.RouteServerPropagation(name, undefined, { urn });
|
|
53
|
+
case "aws:vpc/routeServerVpcAssociation:RouteServerVpcAssociation":
|
|
54
|
+
return new exports.RouteServerVpcAssociation(name, undefined, { urn });
|
|
35
55
|
case "aws:vpc/securityGroupEgressRule:SecurityGroupEgressRule":
|
|
36
56
|
return new exports.SecurityGroupEgressRule(name, undefined, { urn });
|
|
37
57
|
case "aws:vpc/securityGroupIngressRule:SecurityGroupIngressRule":
|
|
@@ -45,6 +65,11 @@ const _module = {
|
|
|
45
65
|
};
|
|
46
66
|
pulumi.runtime.registerResourceModule("aws", "vpc/endpointPrivateDns", _module);
|
|
47
67
|
pulumi.runtime.registerResourceModule("aws", "vpc/endpointServicePrivateDnsVerification", _module);
|
|
68
|
+
pulumi.runtime.registerResourceModule("aws", "vpc/routeServer", _module);
|
|
69
|
+
pulumi.runtime.registerResourceModule("aws", "vpc/routeServerEndpoint", _module);
|
|
70
|
+
pulumi.runtime.registerResourceModule("aws", "vpc/routeServerPeer", _module);
|
|
71
|
+
pulumi.runtime.registerResourceModule("aws", "vpc/routeServerPropagation", _module);
|
|
72
|
+
pulumi.runtime.registerResourceModule("aws", "vpc/routeServerVpcAssociation", _module);
|
|
48
73
|
pulumi.runtime.registerResourceModule("aws", "vpc/securityGroupEgressRule", _module);
|
|
49
74
|
pulumi.runtime.registerResourceModule("aws", "vpc/securityGroupIngressRule", _module);
|
|
50
75
|
pulumi.runtime.registerResourceModule("aws", "vpc/securityGroupVpcAssociation", _module);
|
package/vpc/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vpc/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,qCAAqC,GAAmG,IAAW,CAAC;AACjK,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uCAAuC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC,CAAC;AAGpH,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC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,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2CAA2C,EAAE,OAAO,CAAC,CAAA;AAClG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,197 @@
|
|
|
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 a VPC (Virtual Private Cloud) Route Server.
|
|
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.RouteServer("test", {
|
|
16
|
+
* amazonSideAsn: 65534,
|
|
17
|
+
* tags: {
|
|
18
|
+
* Name: "Test",
|
|
19
|
+
* },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Persist Route and SNS Notification
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const test = new aws.vpc.RouteServer("test", {
|
|
30
|
+
* amazonSideAsn: 65534,
|
|
31
|
+
* persistRoutes: "enable",
|
|
32
|
+
* persistRoutesDuration: 2,
|
|
33
|
+
* snsNotificationsEnabled: true,
|
|
34
|
+
* tags: {
|
|
35
|
+
* Name: "Main Route Server",
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## Import
|
|
41
|
+
*
|
|
42
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_id`. For example:
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import aws:vpc/routeServer:RouteServer example rs-12345678
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare class RouteServer extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing RouteServer resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteServerState, opts?: pulumi.CustomResourceOptions): RouteServer;
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of RouteServer. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj: any): obj is RouteServer;
|
|
64
|
+
/**
|
|
65
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
|
|
66
|
+
*
|
|
67
|
+
* The following arguments are optional:
|
|
68
|
+
*/
|
|
69
|
+
readonly amazonSideAsn: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The ARN of the route server.
|
|
72
|
+
*/
|
|
73
|
+
readonly arn: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
|
|
76
|
+
*/
|
|
77
|
+
readonly persistRoutes: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
|
|
80
|
+
*/
|
|
81
|
+
readonly persistRoutesDuration: pulumi.Output<number | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The unique identifier of the route server.
|
|
84
|
+
*/
|
|
85
|
+
readonly routeServerId: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
|
|
88
|
+
*/
|
|
89
|
+
readonly snsNotificationsEnabled: pulumi.Output<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The ARN of the SNS topic where notifications are published.
|
|
92
|
+
*/
|
|
93
|
+
readonly snsTopicArn: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
96
|
+
*/
|
|
97
|
+
readonly tags: pulumi.Output<{
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
} | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
102
|
+
*
|
|
103
|
+
* @deprecated Please use `tags` instead.
|
|
104
|
+
*/
|
|
105
|
+
readonly tagsAll: pulumi.Output<{
|
|
106
|
+
[key: string]: string;
|
|
107
|
+
}>;
|
|
108
|
+
readonly timeouts: pulumi.Output<outputs.vpc.RouteServerTimeouts | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a RouteServer resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: RouteServerArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering RouteServer resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface RouteServerState {
|
|
122
|
+
/**
|
|
123
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
|
|
124
|
+
*
|
|
125
|
+
* The following arguments are optional:
|
|
126
|
+
*/
|
|
127
|
+
amazonSideAsn?: pulumi.Input<number>;
|
|
128
|
+
/**
|
|
129
|
+
* The ARN of the route server.
|
|
130
|
+
*/
|
|
131
|
+
arn?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
|
|
134
|
+
*/
|
|
135
|
+
persistRoutes?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
|
|
138
|
+
*/
|
|
139
|
+
persistRoutesDuration?: pulumi.Input<number>;
|
|
140
|
+
/**
|
|
141
|
+
* The unique identifier of the route server.
|
|
142
|
+
*/
|
|
143
|
+
routeServerId?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
|
|
146
|
+
*/
|
|
147
|
+
snsNotificationsEnabled?: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* The ARN of the SNS topic where notifications are published.
|
|
150
|
+
*/
|
|
151
|
+
snsTopicArn?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
154
|
+
*/
|
|
155
|
+
tags?: pulumi.Input<{
|
|
156
|
+
[key: string]: pulumi.Input<string>;
|
|
157
|
+
}>;
|
|
158
|
+
/**
|
|
159
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
160
|
+
*
|
|
161
|
+
* @deprecated Please use `tags` instead.
|
|
162
|
+
*/
|
|
163
|
+
tagsAll?: pulumi.Input<{
|
|
164
|
+
[key: string]: pulumi.Input<string>;
|
|
165
|
+
}>;
|
|
166
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerTimeouts>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a RouteServer resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface RouteServerArgs {
|
|
172
|
+
/**
|
|
173
|
+
* The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
|
|
174
|
+
*
|
|
175
|
+
* The following arguments are optional:
|
|
176
|
+
*/
|
|
177
|
+
amazonSideAsn: pulumi.Input<number>;
|
|
178
|
+
/**
|
|
179
|
+
* Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are `enable`, `disable`, `reset`
|
|
180
|
+
*/
|
|
181
|
+
persistRoutes?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if `persistRoutes` is enabled.
|
|
184
|
+
*/
|
|
185
|
+
persistRoutesDuration?: pulumi.Input<number>;
|
|
186
|
+
/**
|
|
187
|
+
* Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
|
|
188
|
+
*/
|
|
189
|
+
snsNotificationsEnabled?: pulumi.Input<boolean>;
|
|
190
|
+
/**
|
|
191
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
192
|
+
*/
|
|
193
|
+
tags?: pulumi.Input<{
|
|
194
|
+
[key: string]: pulumi.Input<string>;
|
|
195
|
+
}>;
|
|
196
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerTimeouts>;
|
|
197
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.RouteServer = 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.
|
|
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.RouteServer("test", {
|
|
20
|
+
* amazonSideAsn: 65534,
|
|
21
|
+
* tags: {
|
|
22
|
+
* Name: "Test",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ### Persist Route and SNS Notification
|
|
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: 65534,
|
|
35
|
+
* persistRoutes: "enable",
|
|
36
|
+
* persistRoutesDuration: 2,
|
|
37
|
+
* snsNotificationsEnabled: true,
|
|
38
|
+
* tags: {
|
|
39
|
+
* Name: "Main Route Server",
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server using the `route_server_id`. For example:
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import aws:vpc/routeServer:RouteServer example rs-12345678
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class RouteServer extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing RouteServer resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new RouteServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of RouteServer. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === RouteServer.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
constructor(name, argsOrState, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (opts.id) {
|
|
79
|
+
const state = argsOrState;
|
|
80
|
+
resourceInputs["amazonSideAsn"] = state ? state.amazonSideAsn : undefined;
|
|
81
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
82
|
+
resourceInputs["persistRoutes"] = state ? state.persistRoutes : undefined;
|
|
83
|
+
resourceInputs["persistRoutesDuration"] = state ? state.persistRoutesDuration : undefined;
|
|
84
|
+
resourceInputs["routeServerId"] = state ? state.routeServerId : undefined;
|
|
85
|
+
resourceInputs["snsNotificationsEnabled"] = state ? state.snsNotificationsEnabled : undefined;
|
|
86
|
+
resourceInputs["snsTopicArn"] = state ? state.snsTopicArn : undefined;
|
|
87
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
88
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
89
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if ((!args || args.amazonSideAsn === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'amazonSideAsn'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["amazonSideAsn"] = args ? args.amazonSideAsn : undefined;
|
|
97
|
+
resourceInputs["persistRoutes"] = args ? args.persistRoutes : undefined;
|
|
98
|
+
resourceInputs["persistRoutesDuration"] = args ? args.persistRoutesDuration : undefined;
|
|
99
|
+
resourceInputs["snsNotificationsEnabled"] = args ? args.snsNotificationsEnabled : undefined;
|
|
100
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
101
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
102
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["routeServerId"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["snsTopicArn"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
106
|
+
}
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
|
+
super(RouteServer.__pulumiType, name, resourceInputs, opts);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.RouteServer = RouteServer;
|
|
112
|
+
/** @internal */
|
|
113
|
+
RouteServer.__pulumiType = 'aws:vpc/routeServer:RouteServer';
|
|
114
|
+
//# sourceMappingURL=routeServer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeServer.js","sourceRoot":"","sources":["../../vpc/routeServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA/GL,kCAgHC;AAlGG,gBAAgB;AACO,wBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource for managing a VPC (Virtual Private Cloud) Route Server Endpoint.
|
|
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.RouteServerEndpoint("test", {
|
|
16
|
+
* routeServerId: example.routeServerId,
|
|
17
|
+
* subnetId: main.id,
|
|
18
|
+
* tags: {
|
|
19
|
+
* Name: "Endpoint A",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Using `pulumi import`, import VPC (Virtual Private Cloud) Route Server Endpoint using the `route_server_endpoint_id`. For example:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:vpc/routeServerEndpoint:RouteServerEndpoint example rse-12345678
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class RouteServerEndpoint extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing RouteServerEndpoint resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteServerEndpointState, opts?: pulumi.CustomResourceOptions): RouteServerEndpoint;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of RouteServerEndpoint. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is RouteServerEndpoint;
|
|
48
|
+
/**
|
|
49
|
+
* The ARN of the route server endpoint.
|
|
50
|
+
*/
|
|
51
|
+
readonly arn: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The IP address of the Elastic network interface for the endpoint.
|
|
54
|
+
*/
|
|
55
|
+
readonly eniAddress: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the Elastic network interface for the endpoint.
|
|
58
|
+
*/
|
|
59
|
+
readonly eniId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The unique identifier of the route server endpoint.
|
|
62
|
+
*/
|
|
63
|
+
readonly routeServerEndpointId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the route server for which to create an endpoint.
|
|
66
|
+
*/
|
|
67
|
+
readonly routeServerId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the subnet in which to create the route server endpoint.
|
|
70
|
+
*
|
|
71
|
+
* The following arguments are optional:
|
|
72
|
+
*/
|
|
73
|
+
readonly subnetId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
76
|
+
*/
|
|
77
|
+
readonly tags: pulumi.Output<{
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
82
|
+
*
|
|
83
|
+
* @deprecated Please use `tags` instead.
|
|
84
|
+
*/
|
|
85
|
+
readonly tagsAll: pulumi.Output<{
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
}>;
|
|
88
|
+
readonly timeouts: pulumi.Output<outputs.vpc.RouteServerEndpointTimeouts | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the VPC containing the endpoint.
|
|
91
|
+
*/
|
|
92
|
+
readonly vpcId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a RouteServerEndpoint resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: RouteServerEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering RouteServerEndpoint resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface RouteServerEndpointState {
|
|
106
|
+
/**
|
|
107
|
+
* The ARN of the route server endpoint.
|
|
108
|
+
*/
|
|
109
|
+
arn?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The IP address of the Elastic network interface for the endpoint.
|
|
112
|
+
*/
|
|
113
|
+
eniAddress?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the Elastic network interface for the endpoint.
|
|
116
|
+
*/
|
|
117
|
+
eniId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The unique identifier of the route server endpoint.
|
|
120
|
+
*/
|
|
121
|
+
routeServerEndpointId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the route server for which to create an endpoint.
|
|
124
|
+
*/
|
|
125
|
+
routeServerId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the subnet in which to create the route server endpoint.
|
|
128
|
+
*
|
|
129
|
+
* The following arguments are optional:
|
|
130
|
+
*/
|
|
131
|
+
subnetId?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
134
|
+
*/
|
|
135
|
+
tags?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<string>;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
140
|
+
*
|
|
141
|
+
* @deprecated Please use `tags` instead.
|
|
142
|
+
*/
|
|
143
|
+
tagsAll?: pulumi.Input<{
|
|
144
|
+
[key: string]: pulumi.Input<string>;
|
|
145
|
+
}>;
|
|
146
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerEndpointTimeouts>;
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the VPC containing the endpoint.
|
|
149
|
+
*/
|
|
150
|
+
vpcId?: pulumi.Input<string>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The set of arguments for constructing a RouteServerEndpoint resource.
|
|
154
|
+
*/
|
|
155
|
+
export interface RouteServerEndpointArgs {
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the route server for which to create an endpoint.
|
|
158
|
+
*/
|
|
159
|
+
routeServerId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The ID of the subnet in which to create the route server endpoint.
|
|
162
|
+
*
|
|
163
|
+
* The following arguments are optional:
|
|
164
|
+
*/
|
|
165
|
+
subnetId: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<{
|
|
170
|
+
[key: string]: pulumi.Input<string>;
|
|
171
|
+
}>;
|
|
172
|
+
timeouts?: pulumi.Input<inputs.vpc.RouteServerEndpointTimeouts>;
|
|
173
|
+
}
|