@pulumi/aws 6.0.0-alpha.5 → 6.0.0-alpha.7
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/apigateway/authorizer.d.ts +55 -0
- package/apigateway/authorizer.js +55 -0
- package/apigateway/authorizer.js.map +1 -1
- package/apigateway/methodSettings.d.ts +72 -0
- package/apigateway/methodSettings.js +72 -0
- package/apigateway/methodSettings.js.map +1 -1
- package/apigateway/stage.d.ts +1 -1
- package/apigateway/stage.js +1 -1
- package/appintegrations/dataIntegration.d.ts +1 -2
- package/appintegrations/dataIntegration.js +0 -4
- package/appintegrations/dataIntegration.js.map +1 -1
- package/appmesh/virtualRouter.d.ts +1 -1
- package/appmesh/virtualRouter.js +1 -1
- package/athena/database.d.ts +1 -1
- package/athena/database.js +1 -1
- package/auditmanager/assessment.d.ts +1 -2
- package/auditmanager/assessment.js +0 -4
- package/auditmanager/assessment.js.map +1 -1
- package/auditmanager/assessmentReport.d.ts +2 -5
- package/auditmanager/assessmentReport.js +1 -7
- package/auditmanager/assessmentReport.js.map +1 -1
- package/auditmanager/control.d.ts +7 -10
- package/auditmanager/control.js +5 -11
- package/auditmanager/control.js.map +1 -1
- package/auditmanager/framework.d.ts +6 -9
- package/auditmanager/framework.js +4 -10
- package/auditmanager/framework.js.map +1 -1
- package/auditmanager/getControl.d.ts +28 -34
- package/auditmanager/getControl.js +28 -34
- package/auditmanager/getControl.js.map +1 -1
- package/autoscaling/policy.d.ts +1 -1
- package/autoscaling/policy.js +1 -1
- package/budgets/getBudget.d.ts +4 -1
- package/budgets/getBudget.js.map +1 -1
- package/chime/sdkvoiceSipMediaApplication.d.ts +1 -2
- package/chime/sdkvoiceSipMediaApplication.js +0 -4
- package/chime/sdkvoiceSipMediaApplication.js.map +1 -1
- package/chime/sdkvoiceSipRule.d.ts +1 -2
- package/chime/sdkvoiceSipRule.js +0 -4
- package/chime/sdkvoiceSipRule.js.map +1 -1
- package/chime/sdkvoiceVoiceProfileDomain.d.ts +1 -2
- package/chime/sdkvoiceVoiceProfileDomain.js +0 -4
- package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +1 -2
- package/cleanrooms/collaboration.js +0 -4
- package/cleanrooms/collaboration.js.map +1 -1
- package/cloudfront/distribution.d.ts +229 -0
- package/cloudfront/distribution.js +229 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/fieldLevelEncryptionProfile.d.ts +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
- package/cloudfront/keyGroup.d.ts +0 -1
- package/cloudfront/keyGroup.js +0 -1
- package/cloudfront/keyGroup.js.map +1 -1
- package/cloudfront/publicKey.d.ts +0 -1
- package/cloudfront/publicKey.js +0 -1
- package/cloudfront/publicKey.js.map +1 -1
- package/codepipeline/customActionType.d.ts +1 -1
- package/codepipeline/customActionType.js +1 -1
- package/dlm/lifecyclePolicy.d.ts +41 -0
- package/dlm/lifecyclePolicy.js +41 -0
- package/dlm/lifecyclePolicy.js.map +1 -1
- package/ec2/defaultRouteTable.d.ts +1 -1
- package/ec2/defaultRouteTable.js +1 -1
- package/ec2/getNatGateway.d.ts +31 -21
- package/ec2/getNatGateway.js +4 -6
- package/ec2/getNatGateway.js.map +1 -1
- package/ec2/natGateway.d.ts +79 -18
- package/ec2/natGateway.js +31 -0
- package/ec2/natGateway.js.map +1 -1
- package/ec2/routeTable.d.ts +43 -0
- package/ec2/routeTable.js +43 -0
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +2 -2
- package/emrcontainers/jobTemplate.d.ts +8 -11
- package/emrcontainers/jobTemplate.js +7 -13
- package/emrcontainers/jobTemplate.js.map +1 -1
- package/finspace/kxCluster.d.ts +1 -1
- package/finspace/kxCluster.js +0 -3
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDatabase.d.ts +2 -6
- package/finspace/kxDatabase.js +1 -8
- package/finspace/kxDatabase.js.map +1 -1
- package/finspace/kxEnvironment.d.ts +2 -6
- package/finspace/kxEnvironment.js +1 -8
- package/finspace/kxEnvironment.js.map +1 -1
- package/finspace/kxUser.d.ts +2 -6
- package/finspace/kxUser.js +1 -8
- package/finspace/kxUser.js.map +1 -1
- package/globalaccelerator/customRoutingAccelerator.d.ts +2 -3
- package/globalaccelerator/customRoutingAccelerator.js +0 -4
- package/globalaccelerator/customRoutingAccelerator.js.map +1 -1
- package/globalaccelerator/customRoutingListener.d.ts +0 -1
- package/globalaccelerator/customRoutingListener.js +0 -1
- package/globalaccelerator/customRoutingListener.js.map +1 -1
- package/glue/dataQualityRuleset.d.ts +2 -8
- package/glue/dataQualityRuleset.js +1 -10
- package/glue/dataQualityRuleset.js.map +1 -1
- package/glue/job.d.ts +39 -6
- package/glue/job.js +18 -0
- package/glue/job.js.map +1 -1
- package/grafana/workspace.d.ts +3 -3
- package/iam/index.d.ts +3 -0
- package/iam/index.js +7 -2
- package/iam/index.js.map +1 -1
- package/iam/securityTokenServicePreferences.d.ts +60 -0
- package/iam/securityTokenServicePreferences.js +64 -0
- package/iam/securityTokenServicePreferences.js.map +1 -0
- package/index.d.ts +1 -2
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/lambda/lambdaMixins.d.ts +5 -9
- package/lambda/lambdaMixins.js.map +1 -1
- package/licensemanager/licenseGrantAccepter.d.ts +9 -0
- package/licensemanager/licenseGrantAccepter.js +9 -0
- package/licensemanager/licenseGrantAccepter.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +32 -0
- package/networkfirewall/firewallPolicy.js +32 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/opensearch/serverlessAccessPolicy.d.ts +79 -20
- package/opensearch/serverlessAccessPolicy.js +78 -22
- package/opensearch/serverlessAccessPolicy.js.map +1 -1
- package/opensearch/serverlessCollection.d.ts +10 -7
- package/opensearch/serverlessCollection.js +5 -5
- package/opensearch/serverlessCollection.js.map +1 -1
- package/opensearch/serverlessSecurityConfig.d.ts +1 -1
- package/opensearch/serverlessSecurityConfig.js +0 -3
- package/opensearch/serverlessSecurityConfig.js.map +1 -1
- package/opensearch/serverlessSecurityPolicy.d.ts +1 -7
- package/opensearch/serverlessSecurityPolicy.js +0 -9
- package/opensearch/serverlessSecurityPolicy.js.map +1 -1
- package/opensearch/serverlessVpcEndpoint.d.ts +1 -2
- package/opensearch/serverlessVpcEndpoint.js +0 -4
- package/opensearch/serverlessVpcEndpoint.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +0 -1
- package/package.json.dev +2 -3
- package/quicksight/theme.d.ts +1 -1
- package/quicksight/theme.js +0 -3
- package/quicksight/theme.js.map +1 -1
- package/quicksight/vpcConnection.d.ts +1 -2
- package/quicksight/vpcConnection.js +0 -4
- package/quicksight/vpcConnection.js.map +1 -1
- package/rds/getClusterSnapshot.d.ts +4 -2
- package/rds/getClusterSnapshot.js.map +1 -1
- package/rds/getInstance.d.ts +12 -6
- package/rds/getInstance.js +1 -0
- package/rds/getInstance.js.map +1 -1
- package/rds/getInstances.d.ts +41 -2
- package/rds/getInstances.js +25 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/getSnapshot.d.ts +13 -0
- package/rds/getSnapshot.js +1 -0
- package/rds/getSnapshot.js.map +1 -1
- package/rds/instance.d.ts +6 -12
- package/rds/instance.js.map +1 -1
- package/resourceexplorer/view.d.ts +2 -3
- package/resourceexplorer/view.js +0 -4
- package/resourceexplorer/view.js.map +1 -1
- package/route53/cidrCollection.d.ts +3 -3
- package/route53/cidrCollection.js +1 -4
- package/route53/cidrCollection.js.map +1 -1
- package/route53/cidrLocation.d.ts +2 -3
- package/route53/cidrLocation.js +1 -5
- package/route53/cidrLocation.js.map +1 -1
- package/sagemaker/index.d.ts +3 -0
- package/sagemaker/index.js +6 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/pipeline.d.ts +195 -0
- package/sagemaker/pipeline.js +108 -0
- package/sagemaker/pipeline.js.map +1 -0
- package/sfn/alias.d.ts +15 -21
- package/sfn/alias.js +14 -23
- package/sfn/alias.js.map +1 -1
- package/sns/topicSubscription.d.ts +2 -2
- package/sns/topicSubscription.js +2 -2
- package/ssm/association.d.ts +3 -3
- package/ssm/parameter.d.ts +4 -4
- package/ssm/parameter.js +1 -1
- package/transfer/getServer.d.ts +1 -0
- package/transfer/getServer.js.map +1 -1
- package/transfer/server.d.ts +41 -0
- package/transfer/server.js +31 -0
- package/transfer/server.js.map +1 -1
- package/types/enums/lambda/index.d.ts +2 -0
- package/types/enums/lambda/index.js +2 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +534 -32
- package/types/output.d.ts +567 -50
- package/vpclattice/getService.d.ts +20 -8
- package/vpclattice/getService.js +8 -2
- package/vpclattice/getService.js.map +1 -1
- package/vpclattice/getServiceNetwork.d.ts +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
- package/serverless/function.d.ts +0 -79
- package/serverless/function.js +0 -48
- package/serverless/function.js.map +0 -1
- package/serverless/index.d.ts +0 -1
- package/serverless/index.js +0 -21
- package/serverless/index.js.map +0 -1
package/dlm/lifecyclePolicy.js
CHANGED
|
@@ -9,6 +9,47 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Provides a [Data Lifecycle Manager (DLM) lifecycle policy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html) for managing snapshots.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
* ### Example Event Based Policy Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const current = aws.getCallerIdentity({});
|
|
19
|
+
* const exampleLifecyclePolicy = new aws.dlm.LifecyclePolicy("exampleLifecyclePolicy", {
|
|
20
|
+
* description: "tf-acc-basic",
|
|
21
|
+
* executionRoleArn: aws_iam_role.example.arn,
|
|
22
|
+
* policyDetails: {
|
|
23
|
+
* policyType: "EVENT_BASED_POLICY",
|
|
24
|
+
* action: {
|
|
25
|
+
* name: "tf-acc-basic",
|
|
26
|
+
* crossRegionCopies: [{
|
|
27
|
+
* encryptionConfiguration: {},
|
|
28
|
+
* retainRule: {
|
|
29
|
+
* interval: 15,
|
|
30
|
+
* intervalUnit: "MONTHS",
|
|
31
|
+
* },
|
|
32
|
+
* target: "us-east-1",
|
|
33
|
+
* }],
|
|
34
|
+
* },
|
|
35
|
+
* eventSource: {
|
|
36
|
+
* type: "MANAGED_CWE",
|
|
37
|
+
* parameters: {
|
|
38
|
+
* descriptionRegex: "^.*Created for policy: policy-1234567890abcdef0.*$",
|
|
39
|
+
* eventType: "shareSnapshot",
|
|
40
|
+
* snapshotOwners: [current.then(current => current.accountId)],
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* const examplePolicy = aws.iam.getPolicy({
|
|
46
|
+
* name: "AWSDataLifecycleManagerServiceRole",
|
|
47
|
+
* });
|
|
48
|
+
* const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("exampleRolePolicyAttachment", {
|
|
49
|
+
* role: aws_iam_role.example.id,
|
|
50
|
+
* policyArn: examplePolicy.then(examplePolicy => examplePolicy.arn),
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
12
53
|
*
|
|
13
54
|
* ## Import
|
|
14
55
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecyclePolicy.js","sourceRoot":"","sources":["../../dlm/lifecyclePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lifecyclePolicy.js","sourceRoot":"","sources":["../../dlm/lifecyclePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAi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AI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,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;;AAlGL,0CAmGC;AArFG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -55,7 +55,7 @@ import * as outputs from "../types/output";
|
|
|
55
55
|
*
|
|
56
56
|
* to = aws_default_route_table.example
|
|
57
57
|
*
|
|
58
|
-
* id = "vpc-33cc44dd" } Using `pulumi import`, import Default VPC route tables using the `vpc_id`. For exampleconsole % pulumi import aws_default_route_table.example vpc-33cc44dd
|
|
58
|
+
* id = "vpc-33cc44dd" } Using `pulumi import`, import Default VPC route tables using the `vpc_id`. For exampleconsole % pulumi import aws_default_route_table.example vpc-33cc44dd [tf-main-route-table-association]/docs/providers/aws/r/main_route_table_association.html
|
|
59
59
|
*/
|
|
60
60
|
export declare class DefaultRouteTable extends pulumi.CustomResource {
|
|
61
61
|
/**
|
package/ec2/defaultRouteTable.js
CHANGED
|
@@ -59,7 +59,7 @@ const utilities = require("../utilities");
|
|
|
59
59
|
*
|
|
60
60
|
* to = aws_default_route_table.example
|
|
61
61
|
*
|
|
62
|
-
* id = "vpc-33cc44dd" } Using `pulumi import`, import Default VPC route tables using the `vpc_id`. For exampleconsole % pulumi import aws_default_route_table.example vpc-33cc44dd
|
|
62
|
+
* id = "vpc-33cc44dd" } Using `pulumi import`, import Default VPC route tables using the `vpc_id`. For exampleconsole % pulumi import aws_default_route_table.example vpc-33cc44dd [tf-main-route-table-association]/docs/providers/aws/r/main_route_table_association.html
|
|
63
63
|
*/
|
|
64
64
|
class DefaultRouteTable extends pulumi.CustomResource {
|
|
65
65
|
/**
|
package/ec2/getNatGateway.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides details about a specific
|
|
5
|
+
* Provides details about a specific VPC NAT Gateway.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -14,8 +14,7 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* subnetId: aws_subnet["public"].id,
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
|
-
*
|
|
18
|
-
* Usage with tags:
|
|
17
|
+
* ### With tags
|
|
19
18
|
*
|
|
20
19
|
* ```typescript
|
|
21
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -42,26 +41,26 @@ export interface GetNatGatewayArgs {
|
|
|
42
41
|
*/
|
|
43
42
|
filters?: inputs.ec2.GetNatGatewayFilter[];
|
|
44
43
|
/**
|
|
45
|
-
* ID of the specific
|
|
44
|
+
* ID of the specific NAT Gateway to retrieve.
|
|
46
45
|
*/
|
|
47
46
|
id?: string;
|
|
48
47
|
/**
|
|
49
|
-
* State of the NAT
|
|
48
|
+
* State of the NAT Gateway (pending | failed | available | deleting | deleted ).
|
|
50
49
|
*/
|
|
51
50
|
state?: string;
|
|
52
51
|
/**
|
|
53
|
-
* ID of subnet that the
|
|
52
|
+
* ID of subnet that the NAT Gateway resides in.
|
|
54
53
|
*/
|
|
55
54
|
subnetId?: string;
|
|
56
55
|
/**
|
|
57
56
|
* Map of tags, each pair of which must exactly match
|
|
58
|
-
* a pair on the desired
|
|
57
|
+
* a pair on the desired NAT Gateway.
|
|
59
58
|
*/
|
|
60
59
|
tags?: {
|
|
61
60
|
[key: string]: string;
|
|
62
61
|
};
|
|
63
62
|
/**
|
|
64
|
-
* ID of the VPC that the
|
|
63
|
+
* ID of the VPC that the NAT Gateway resides in.
|
|
65
64
|
*/
|
|
66
65
|
vpcId?: string;
|
|
67
66
|
}
|
|
@@ -70,11 +69,11 @@ export interface GetNatGatewayArgs {
|
|
|
70
69
|
*/
|
|
71
70
|
export interface GetNatGatewayResult {
|
|
72
71
|
/**
|
|
73
|
-
* ID of the EIP allocated to the selected
|
|
72
|
+
* ID of the EIP allocated to the selected NAT Gateway.
|
|
74
73
|
*/
|
|
75
74
|
readonly allocationId: string;
|
|
76
75
|
/**
|
|
77
|
-
* The association ID of the Elastic IP address that's associated with the NAT
|
|
76
|
+
* The association ID of the Elastic IP address that's associated with the NAT Gateway. Only available when `connectivityType` is `public`.
|
|
78
77
|
*/
|
|
79
78
|
readonly associationId: string;
|
|
80
79
|
/**
|
|
@@ -84,17 +83,29 @@ export interface GetNatGatewayResult {
|
|
|
84
83
|
readonly filters?: outputs.ec2.GetNatGatewayFilter[];
|
|
85
84
|
readonly id: string;
|
|
86
85
|
/**
|
|
87
|
-
* The ID of the ENI allocated to the selected
|
|
86
|
+
* The ID of the ENI allocated to the selected NAT Gateway.
|
|
88
87
|
*/
|
|
89
88
|
readonly networkInterfaceId: string;
|
|
90
89
|
/**
|
|
91
|
-
* Private
|
|
90
|
+
* Private IP address of the selected NAT Gateway.
|
|
92
91
|
*/
|
|
93
92
|
readonly privateIp: string;
|
|
94
93
|
/**
|
|
95
|
-
* Public
|
|
94
|
+
* Public IP (EIP) address of the selected NAT Gateway.
|
|
96
95
|
*/
|
|
97
96
|
readonly publicIp: string;
|
|
97
|
+
/**
|
|
98
|
+
* Secondary allocation EIP IDs for the selected NAT Gateway.
|
|
99
|
+
*/
|
|
100
|
+
readonly secondaryAllocationIds: string[];
|
|
101
|
+
/**
|
|
102
|
+
* The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
|
|
103
|
+
*/
|
|
104
|
+
readonly secondaryPrivateIpAddressCount: number;
|
|
105
|
+
/**
|
|
106
|
+
* Secondary private IPv4 addresses assigned to the selected NAT Gateway.
|
|
107
|
+
*/
|
|
108
|
+
readonly secondaryPrivateIpAddresses: string[];
|
|
98
109
|
readonly state: string;
|
|
99
110
|
readonly subnetId: string;
|
|
100
111
|
readonly tags: {
|
|
@@ -103,7 +114,7 @@ export interface GetNatGatewayResult {
|
|
|
103
114
|
readonly vpcId: string;
|
|
104
115
|
}
|
|
105
116
|
/**
|
|
106
|
-
* Provides details about a specific
|
|
117
|
+
* Provides details about a specific VPC NAT Gateway.
|
|
107
118
|
*
|
|
108
119
|
* ## Example Usage
|
|
109
120
|
*
|
|
@@ -115,8 +126,7 @@ export interface GetNatGatewayResult {
|
|
|
115
126
|
* subnetId: aws_subnet["public"].id,
|
|
116
127
|
* });
|
|
117
128
|
* ```
|
|
118
|
-
*
|
|
119
|
-
* Usage with tags:
|
|
129
|
+
* ### With tags
|
|
120
130
|
*
|
|
121
131
|
* ```typescript
|
|
122
132
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -143,26 +153,26 @@ export interface GetNatGatewayOutputArgs {
|
|
|
143
153
|
*/
|
|
144
154
|
filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetNatGatewayFilterArgs>[]>;
|
|
145
155
|
/**
|
|
146
|
-
* ID of the specific
|
|
156
|
+
* ID of the specific NAT Gateway to retrieve.
|
|
147
157
|
*/
|
|
148
158
|
id?: pulumi.Input<string>;
|
|
149
159
|
/**
|
|
150
|
-
* State of the NAT
|
|
160
|
+
* State of the NAT Gateway (pending | failed | available | deleting | deleted ).
|
|
151
161
|
*/
|
|
152
162
|
state?: pulumi.Input<string>;
|
|
153
163
|
/**
|
|
154
|
-
* ID of subnet that the
|
|
164
|
+
* ID of subnet that the NAT Gateway resides in.
|
|
155
165
|
*/
|
|
156
166
|
subnetId?: pulumi.Input<string>;
|
|
157
167
|
/**
|
|
158
168
|
* Map of tags, each pair of which must exactly match
|
|
159
|
-
* a pair on the desired
|
|
169
|
+
* a pair on the desired NAT Gateway.
|
|
160
170
|
*/
|
|
161
171
|
tags?: pulumi.Input<{
|
|
162
172
|
[key: string]: pulumi.Input<string>;
|
|
163
173
|
}>;
|
|
164
174
|
/**
|
|
165
|
-
* ID of the VPC that the
|
|
175
|
+
* ID of the VPC that the NAT Gateway resides in.
|
|
166
176
|
*/
|
|
167
177
|
vpcId?: pulumi.Input<string>;
|
|
168
178
|
}
|
package/ec2/getNatGateway.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getNatGatewayOutput = exports.getNatGateway = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides details about a specific
|
|
9
|
+
* Provides details about a specific VPC NAT Gateway.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -18,8 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* subnetId: aws_subnet["public"].id,
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
*
|
|
22
|
-
* Usage with tags:
|
|
21
|
+
* ### With tags
|
|
23
22
|
*
|
|
24
23
|
* ```typescript
|
|
25
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -47,7 +46,7 @@ function getNatGateway(args, opts) {
|
|
|
47
46
|
}
|
|
48
47
|
exports.getNatGateway = getNatGateway;
|
|
49
48
|
/**
|
|
50
|
-
* Provides details about a specific
|
|
49
|
+
* Provides details about a specific VPC NAT Gateway.
|
|
51
50
|
*
|
|
52
51
|
* ## Example Usage
|
|
53
52
|
*
|
|
@@ -59,8 +58,7 @@ exports.getNatGateway = getNatGateway;
|
|
|
59
58
|
* subnetId: aws_subnet["public"].id,
|
|
60
59
|
* });
|
|
61
60
|
* ```
|
|
62
|
-
*
|
|
63
|
-
* Usage with tags:
|
|
61
|
+
* ### With tags
|
|
64
62
|
*
|
|
65
63
|
* ```typescript
|
|
66
64
|
* import * as pulumi from "@pulumi/pulumi";
|
package/ec2/getNatGateway.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatGateway.js","sourceRoot":"","sources":["../../ec2/getNatGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getNatGateway.js","sourceRoot":"","sources":["../../ec2/getNatGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAmFD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/ec2/natGateway.d.ts
CHANGED
|
@@ -19,6 +19,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* dependsOn: [aws_internet_gateway.example],
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
+
* ### Public NAT with Secondary Private IP Addresses
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.ec2.NatGateway("example", {
|
|
29
|
+
* allocationId: aws_eip.example.id,
|
|
30
|
+
* subnetId: aws_subnet.example.id,
|
|
31
|
+
* secondaryAllocationIds: [aws_eip.secondary.id],
|
|
32
|
+
* secondaryPrivateIpAddresses: ["10.0.1.5"],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
22
35
|
* ### Private NAT
|
|
23
36
|
*
|
|
24
37
|
* ```typescript
|
|
@@ -30,6 +43,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
43
|
* subnetId: aws_subnet.example.id,
|
|
31
44
|
* });
|
|
32
45
|
* ```
|
|
46
|
+
* ### Private NAT with Secondary Private IP Addresses
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const example = new aws.ec2.NatGateway("example", {
|
|
53
|
+
* connectivityType: "private",
|
|
54
|
+
* subnetId: aws_subnet.example.id,
|
|
55
|
+
* secondaryPrivateIpAddressCount: 7,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
33
58
|
*
|
|
34
59
|
* ## Import
|
|
35
60
|
*
|
|
@@ -56,31 +81,43 @@ export declare class NatGateway extends pulumi.CustomResource {
|
|
|
56
81
|
*/
|
|
57
82
|
static isInstance(obj: any): obj is NatGateway;
|
|
58
83
|
/**
|
|
59
|
-
* The Allocation ID of the Elastic IP address for the
|
|
84
|
+
* The Allocation ID of the Elastic IP address for the NAT Gateway. Required for `connectivityType` of `public`.
|
|
60
85
|
*/
|
|
61
86
|
readonly allocationId: pulumi.Output<string | undefined>;
|
|
62
87
|
/**
|
|
63
|
-
* The association ID of the Elastic IP address that's associated with the NAT
|
|
88
|
+
* The association ID of the Elastic IP address that's associated with the NAT Gateway. Only available when `connectivityType` is `public`.
|
|
64
89
|
*/
|
|
65
90
|
readonly associationId: pulumi.Output<string>;
|
|
66
91
|
/**
|
|
67
|
-
* Connectivity type for the
|
|
92
|
+
* Connectivity type for the NAT Gateway. Valid values are `private` and `public`. Defaults to `public`.
|
|
68
93
|
*/
|
|
69
94
|
readonly connectivityType: pulumi.Output<string | undefined>;
|
|
70
95
|
/**
|
|
71
|
-
* The ID of the network interface associated with the NAT
|
|
96
|
+
* The ID of the network interface associated with the NAT Gateway.
|
|
72
97
|
*/
|
|
73
98
|
readonly networkInterfaceId: pulumi.Output<string>;
|
|
74
99
|
/**
|
|
75
|
-
* The private IPv4 address to assign to the NAT
|
|
100
|
+
* The private IPv4 address to assign to the NAT Gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
|
|
76
101
|
*/
|
|
77
102
|
readonly privateIp: pulumi.Output<string>;
|
|
78
103
|
/**
|
|
79
|
-
* The Elastic IP address associated with the NAT
|
|
104
|
+
* The Elastic IP address associated with the NAT Gateway.
|
|
80
105
|
*/
|
|
81
106
|
readonly publicIp: pulumi.Output<string>;
|
|
82
107
|
/**
|
|
83
|
-
*
|
|
108
|
+
* A list of secondary allocation EIP IDs for this NAT Gateway.
|
|
109
|
+
*/
|
|
110
|
+
readonly secondaryAllocationIds: pulumi.Output<string[] | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* [Private NAT Gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
|
|
113
|
+
*/
|
|
114
|
+
readonly secondaryPrivateIpAddressCount: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* A list of secondary private IPv4 addresses to assign to the NAT Gateway.
|
|
117
|
+
*/
|
|
118
|
+
readonly secondaryPrivateIpAddresses: pulumi.Output<string[]>;
|
|
119
|
+
/**
|
|
120
|
+
* The Subnet ID of the subnet in which to place the NAT Gateway.
|
|
84
121
|
*/
|
|
85
122
|
readonly subnetId: pulumi.Output<string>;
|
|
86
123
|
/**
|
|
@@ -109,31 +146,43 @@ export declare class NatGateway extends pulumi.CustomResource {
|
|
|
109
146
|
*/
|
|
110
147
|
export interface NatGatewayState {
|
|
111
148
|
/**
|
|
112
|
-
* The Allocation ID of the Elastic IP address for the
|
|
149
|
+
* The Allocation ID of the Elastic IP address for the NAT Gateway. Required for `connectivityType` of `public`.
|
|
113
150
|
*/
|
|
114
151
|
allocationId?: pulumi.Input<string>;
|
|
115
152
|
/**
|
|
116
|
-
* The association ID of the Elastic IP address that's associated with the NAT
|
|
153
|
+
* The association ID of the Elastic IP address that's associated with the NAT Gateway. Only available when `connectivityType` is `public`.
|
|
117
154
|
*/
|
|
118
155
|
associationId?: pulumi.Input<string>;
|
|
119
156
|
/**
|
|
120
|
-
* Connectivity type for the
|
|
157
|
+
* Connectivity type for the NAT Gateway. Valid values are `private` and `public`. Defaults to `public`.
|
|
121
158
|
*/
|
|
122
159
|
connectivityType?: pulumi.Input<string>;
|
|
123
160
|
/**
|
|
124
|
-
* The ID of the network interface associated with the NAT
|
|
161
|
+
* The ID of the network interface associated with the NAT Gateway.
|
|
125
162
|
*/
|
|
126
163
|
networkInterfaceId?: pulumi.Input<string>;
|
|
127
164
|
/**
|
|
128
|
-
* The private IPv4 address to assign to the NAT
|
|
165
|
+
* The private IPv4 address to assign to the NAT Gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
|
|
129
166
|
*/
|
|
130
167
|
privateIp?: pulumi.Input<string>;
|
|
131
168
|
/**
|
|
132
|
-
* The Elastic IP address associated with the NAT
|
|
169
|
+
* The Elastic IP address associated with the NAT Gateway.
|
|
133
170
|
*/
|
|
134
171
|
publicIp?: pulumi.Input<string>;
|
|
135
172
|
/**
|
|
136
|
-
*
|
|
173
|
+
* A list of secondary allocation EIP IDs for this NAT Gateway.
|
|
174
|
+
*/
|
|
175
|
+
secondaryAllocationIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* [Private NAT Gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
|
|
178
|
+
*/
|
|
179
|
+
secondaryPrivateIpAddressCount?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* A list of secondary private IPv4 addresses to assign to the NAT Gateway.
|
|
182
|
+
*/
|
|
183
|
+
secondaryPrivateIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
184
|
+
/**
|
|
185
|
+
* The Subnet ID of the subnet in which to place the NAT Gateway.
|
|
137
186
|
*/
|
|
138
187
|
subnetId?: pulumi.Input<string>;
|
|
139
188
|
/**
|
|
@@ -154,19 +203,31 @@ export interface NatGatewayState {
|
|
|
154
203
|
*/
|
|
155
204
|
export interface NatGatewayArgs {
|
|
156
205
|
/**
|
|
157
|
-
* The Allocation ID of the Elastic IP address for the
|
|
206
|
+
* The Allocation ID of the Elastic IP address for the NAT Gateway. Required for `connectivityType` of `public`.
|
|
158
207
|
*/
|
|
159
208
|
allocationId?: pulumi.Input<string>;
|
|
160
209
|
/**
|
|
161
|
-
* Connectivity type for the
|
|
210
|
+
* Connectivity type for the NAT Gateway. Valid values are `private` and `public`. Defaults to `public`.
|
|
162
211
|
*/
|
|
163
212
|
connectivityType?: pulumi.Input<string>;
|
|
164
213
|
/**
|
|
165
|
-
* The private IPv4 address to assign to the NAT
|
|
214
|
+
* The private IPv4 address to assign to the NAT Gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
|
|
166
215
|
*/
|
|
167
216
|
privateIp?: pulumi.Input<string>;
|
|
168
217
|
/**
|
|
169
|
-
*
|
|
218
|
+
* A list of secondary allocation EIP IDs for this NAT Gateway.
|
|
219
|
+
*/
|
|
220
|
+
secondaryAllocationIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
221
|
+
/**
|
|
222
|
+
* [Private NAT Gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT Gateway.
|
|
223
|
+
*/
|
|
224
|
+
secondaryPrivateIpAddressCount?: pulumi.Input<number>;
|
|
225
|
+
/**
|
|
226
|
+
* A list of secondary private IPv4 addresses to assign to the NAT Gateway.
|
|
227
|
+
*/
|
|
228
|
+
secondaryPrivateIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
229
|
+
/**
|
|
230
|
+
* The Subnet ID of the subnet in which to place the NAT Gateway.
|
|
170
231
|
*/
|
|
171
232
|
subnetId: pulumi.Input<string>;
|
|
172
233
|
/**
|
package/ec2/natGateway.js
CHANGED
|
@@ -25,6 +25,19 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* dependsOn: [aws_internet_gateway.example],
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
+
* ### Public NAT with Secondary Private IP Addresses
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const example = new aws.ec2.NatGateway("example", {
|
|
35
|
+
* allocationId: aws_eip.example.id,
|
|
36
|
+
* subnetId: aws_subnet.example.id,
|
|
37
|
+
* secondaryAllocationIds: [aws_eip.secondary.id],
|
|
38
|
+
* secondaryPrivateIpAddresses: ["10.0.1.5"],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
28
41
|
* ### Private NAT
|
|
29
42
|
*
|
|
30
43
|
* ```typescript
|
|
@@ -36,6 +49,18 @@ const utilities = require("../utilities");
|
|
|
36
49
|
* subnetId: aws_subnet.example.id,
|
|
37
50
|
* });
|
|
38
51
|
* ```
|
|
52
|
+
* ### Private NAT with Secondary Private IP Addresses
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as aws from "@pulumi/aws";
|
|
57
|
+
*
|
|
58
|
+
* const example = new aws.ec2.NatGateway("example", {
|
|
59
|
+
* connectivityType: "private",
|
|
60
|
+
* subnetId: aws_subnet.example.id,
|
|
61
|
+
* secondaryPrivateIpAddressCount: 7,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
39
64
|
*
|
|
40
65
|
* ## Import
|
|
41
66
|
*
|
|
@@ -79,6 +104,9 @@ class NatGateway extends pulumi.CustomResource {
|
|
|
79
104
|
resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined;
|
|
80
105
|
resourceInputs["privateIp"] = state ? state.privateIp : undefined;
|
|
81
106
|
resourceInputs["publicIp"] = state ? state.publicIp : undefined;
|
|
107
|
+
resourceInputs["secondaryAllocationIds"] = state ? state.secondaryAllocationIds : undefined;
|
|
108
|
+
resourceInputs["secondaryPrivateIpAddressCount"] = state ? state.secondaryPrivateIpAddressCount : undefined;
|
|
109
|
+
resourceInputs["secondaryPrivateIpAddresses"] = state ? state.secondaryPrivateIpAddresses : undefined;
|
|
82
110
|
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
83
111
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
84
112
|
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
@@ -91,6 +119,9 @@ class NatGateway extends pulumi.CustomResource {
|
|
|
91
119
|
resourceInputs["allocationId"] = args ? args.allocationId : undefined;
|
|
92
120
|
resourceInputs["connectivityType"] = args ? args.connectivityType : undefined;
|
|
93
121
|
resourceInputs["privateIp"] = args ? args.privateIp : undefined;
|
|
122
|
+
resourceInputs["secondaryAllocationIds"] = args ? args.secondaryAllocationIds : undefined;
|
|
123
|
+
resourceInputs["secondaryPrivateIpAddressCount"] = args ? args.secondaryPrivateIpAddressCount : undefined;
|
|
124
|
+
resourceInputs["secondaryPrivateIpAddresses"] = args ? args.secondaryPrivateIpAddresses : undefined;
|
|
94
125
|
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
95
126
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
96
127
|
resourceInputs["associationId"] = undefined /*out*/;
|
package/ec2/natGateway.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"natGateway.js","sourceRoot":"","sources":["../../ec2/natGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"natGateway.js","sourceRoot":"","sources":["../../ec2/natGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA2DD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,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C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA1HL,gCA2HC;AA7GG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
|
package/ec2/routeTable.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* the separate resource.
|
|
25
25
|
*
|
|
26
26
|
* ## Example Usage
|
|
27
|
+
* ### Basic example
|
|
27
28
|
*
|
|
28
29
|
* ```typescript
|
|
29
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -61,6 +62,48 @@ import * as outputs from "../types/output";
|
|
|
61
62
|
* },
|
|
62
63
|
* });
|
|
63
64
|
* ```
|
|
65
|
+
* ### Adopting an existing local route
|
|
66
|
+
*
|
|
67
|
+
* AWS creates certain routes that the AWS provider mostly ignores. You can manage them by importing or adopting them. See Import below for information on importing. This example shows adopting a route and then updating its target.
|
|
68
|
+
*
|
|
69
|
+
* First, adopt an existing AWS-created route:
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as aws from "@pulumi/aws";
|
|
74
|
+
*
|
|
75
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.1.0.0/16"});
|
|
76
|
+
* const testRouteTable = new aws.ec2.RouteTable("testRouteTable", {
|
|
77
|
+
* vpcId: testVpc.id,
|
|
78
|
+
* routes: [{
|
|
79
|
+
* cidrBlock: "10.1.0.0/16",
|
|
80
|
+
* gatewayId: "local",
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* Next, update the target of the route:
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as aws from "@pulumi/aws";
|
|
90
|
+
*
|
|
91
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.1.0.0/16"});
|
|
92
|
+
* const testSubnet = new aws.ec2.Subnet("testSubnet", {
|
|
93
|
+
* cidrBlock: "10.1.1.0/24",
|
|
94
|
+
* vpcId: testVpc.id,
|
|
95
|
+
* });
|
|
96
|
+
* const testNetworkInterface = new aws.ec2.NetworkInterface("testNetworkInterface", {subnetId: testSubnet.id});
|
|
97
|
+
* const testRouteTable = new aws.ec2.RouteTable("testRouteTable", {
|
|
98
|
+
* vpcId: testVpc.id,
|
|
99
|
+
* routes: [{
|
|
100
|
+
* cidrBlock: testVpc.cidrBlock,
|
|
101
|
+
* networkInterfaceId: testNetworkInterface.id,
|
|
102
|
+
* }],
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* The target could then be updated again back to `local`.
|
|
64
107
|
*
|
|
65
108
|
* ## Import
|
|
66
109
|
*
|
package/ec2/routeTable.js
CHANGED
|
@@ -28,6 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* the separate resource.
|
|
29
29
|
*
|
|
30
30
|
* ## Example Usage
|
|
31
|
+
* ### Basic example
|
|
31
32
|
*
|
|
32
33
|
* ```typescript
|
|
33
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -65,6 +66,48 @@ const utilities = require("../utilities");
|
|
|
65
66
|
* },
|
|
66
67
|
* });
|
|
67
68
|
* ```
|
|
69
|
+
* ### Adopting an existing local route
|
|
70
|
+
*
|
|
71
|
+
* AWS creates certain routes that the AWS provider mostly ignores. You can manage them by importing or adopting them. See Import below for information on importing. This example shows adopting a route and then updating its target.
|
|
72
|
+
*
|
|
73
|
+
* First, adopt an existing AWS-created route:
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as aws from "@pulumi/aws";
|
|
78
|
+
*
|
|
79
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.1.0.0/16"});
|
|
80
|
+
* const testRouteTable = new aws.ec2.RouteTable("testRouteTable", {
|
|
81
|
+
* vpcId: testVpc.id,
|
|
82
|
+
* routes: [{
|
|
83
|
+
* cidrBlock: "10.1.0.0/16",
|
|
84
|
+
* gatewayId: "local",
|
|
85
|
+
* }],
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* Next, update the target of the route:
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as aws from "@pulumi/aws";
|
|
94
|
+
*
|
|
95
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.1.0.0/16"});
|
|
96
|
+
* const testSubnet = new aws.ec2.Subnet("testSubnet", {
|
|
97
|
+
* cidrBlock: "10.1.1.0/24",
|
|
98
|
+
* vpcId: testVpc.id,
|
|
99
|
+
* });
|
|
100
|
+
* const testNetworkInterface = new aws.ec2.NetworkInterface("testNetworkInterface", {subnetId: testSubnet.id});
|
|
101
|
+
* const testRouteTable = new aws.ec2.RouteTable("testRouteTable", {
|
|
102
|
+
* vpcId: testVpc.id,
|
|
103
|
+
* routes: [{
|
|
104
|
+
* cidrBlock: testVpc.cidrBlock,
|
|
105
|
+
* networkInterfaceId: testNetworkInterface.id,
|
|
106
|
+
* }],
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* The target could then be updated again back to `local`.
|
|
68
111
|
*
|
|
69
112
|
* ## Import
|
|
70
113
|
*
|
package/ec2/routeTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routeTable.js","sourceRoot":"","sources":["../../ec2/routeTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"routeTable.js","sourceRoot":"","sources":["../../ec2/routeTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAwCD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,I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