@pulumi/aws 6.0.0-alpha.6 → 6.0.0-alpha.8

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.
Files changed (94) hide show
  1. package/apigateway/authorizer.d.ts +55 -0
  2. package/apigateway/authorizer.js +55 -0
  3. package/apigateway/authorizer.js.map +1 -1
  4. package/apigateway/methodSettings.d.ts +72 -0
  5. package/apigateway/methodSettings.js +72 -0
  6. package/apigateway/methodSettings.js.map +1 -1
  7. package/apigateway/stage.d.ts +1 -1
  8. package/apigateway/stage.js +1 -1
  9. package/appmesh/virtualRouter.d.ts +1 -1
  10. package/appmesh/virtualRouter.js +1 -1
  11. package/athena/database.d.ts +1 -1
  12. package/athena/database.js +1 -1
  13. package/autoscaling/policy.d.ts +1 -1
  14. package/autoscaling/policy.js +1 -1
  15. package/budgets/getBudget.d.ts +4 -1
  16. package/budgets/getBudget.js.map +1 -1
  17. package/cloudfront/distribution.d.ts +229 -0
  18. package/cloudfront/distribution.js +229 -0
  19. package/cloudfront/distribution.js.map +1 -1
  20. package/codepipeline/customActionType.d.ts +1 -1
  21. package/codepipeline/customActionType.js +1 -1
  22. package/dlm/lifecyclePolicy.d.ts +41 -0
  23. package/dlm/lifecyclePolicy.js +41 -0
  24. package/dlm/lifecyclePolicy.js.map +1 -1
  25. package/ec2/defaultRouteTable.d.ts +1 -1
  26. package/ec2/defaultRouteTable.js +1 -1
  27. package/ec2/getNatGateway.d.ts +31 -21
  28. package/ec2/getNatGateway.js +4 -6
  29. package/ec2/getNatGateway.js.map +1 -1
  30. package/ec2/natGateway.d.ts +79 -18
  31. package/ec2/natGateway.js +31 -0
  32. package/ec2/natGateway.js.map +1 -1
  33. package/ec2/routeTable.d.ts +43 -0
  34. package/ec2/routeTable.js +43 -0
  35. package/ec2/routeTable.js.map +1 -1
  36. package/ec2transitgateway/vpcAttachment.d.ts +2 -2
  37. package/glue/job.d.ts +39 -6
  38. package/glue/job.js +18 -0
  39. package/glue/job.js.map +1 -1
  40. package/grafana/workspace.d.ts +3 -3
  41. package/iam/index.d.ts +3 -0
  42. package/iam/index.js +7 -2
  43. package/iam/index.js.map +1 -1
  44. package/iam/securityTokenServicePreferences.d.ts +60 -0
  45. package/iam/securityTokenServicePreferences.js +64 -0
  46. package/iam/securityTokenServicePreferences.js.map +1 -0
  47. package/licensemanager/licenseGrantAccepter.d.ts +9 -0
  48. package/licensemanager/licenseGrantAccepter.js +9 -0
  49. package/licensemanager/licenseGrantAccepter.js.map +1 -1
  50. package/networkfirewall/firewallPolicy.d.ts +32 -0
  51. package/networkfirewall/firewallPolicy.js +32 -0
  52. package/networkfirewall/firewallPolicy.js.map +1 -1
  53. package/opensearch/serverlessAccessPolicy.d.ts +78 -18
  54. package/opensearch/serverlessAccessPolicy.js +78 -18
  55. package/opensearch/serverlessAccessPolicy.js.map +1 -1
  56. package/opensearch/serverlessCollection.d.ts +7 -3
  57. package/opensearch/serverlessCollection.js +4 -0
  58. package/opensearch/serverlessCollection.js.map +1 -1
  59. package/package.json +2 -2
  60. package/package.json.dev +2 -2
  61. package/rds/getClusterSnapshot.d.ts +4 -2
  62. package/rds/getClusterSnapshot.js.map +1 -1
  63. package/rds/getInstance.d.ts +12 -6
  64. package/rds/getInstance.js +1 -0
  65. package/rds/getInstance.js.map +1 -1
  66. package/rds/getInstances.d.ts +41 -2
  67. package/rds/getInstances.js +25 -0
  68. package/rds/getInstances.js.map +1 -1
  69. package/rds/getSnapshot.d.ts +13 -0
  70. package/rds/getSnapshot.js +1 -0
  71. package/rds/getSnapshot.js.map +1 -1
  72. package/rds/instance.d.ts +6 -12
  73. package/rds/instance.js.map +1 -1
  74. package/sagemaker/index.d.ts +3 -0
  75. package/sagemaker/index.js +6 -1
  76. package/sagemaker/index.js.map +1 -1
  77. package/sagemaker/pipeline.d.ts +195 -0
  78. package/sagemaker/pipeline.js +108 -0
  79. package/sagemaker/pipeline.js.map +1 -0
  80. package/ssm/association.d.ts +3 -3
  81. package/ssm/parameter.d.ts +4 -4
  82. package/ssm/parameter.js +1 -1
  83. package/transfer/getServer.d.ts +1 -0
  84. package/transfer/getServer.js.map +1 -1
  85. package/transfer/server.d.ts +41 -0
  86. package/transfer/server.js +31 -0
  87. package/transfer/server.js.map +1 -1
  88. package/types/input.d.ts +534 -32
  89. package/types/output.d.ts +567 -50
  90. package/vpclattice/getService.d.ts +20 -8
  91. package/vpclattice/getService.js +8 -2
  92. package/vpclattice/getService.js.map +1 -1
  93. package/vpclattice/getServiceNetwork.d.ts +1 -1
  94. package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
@@ -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 gateway. Required for `connectivityType` of `public`.
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 gateway. Only available when `connectivityType` is `public`.
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 gateway. Valid values are `private` and `public`. Defaults to `public`.
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 gateway.
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 gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
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 gateway.
104
+ * The Elastic IP address associated with the NAT Gateway.
80
105
  */
81
106
  readonly publicIp: pulumi.Output<string>;
82
107
  /**
83
- * The Subnet ID of the subnet in which to place the gateway.
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 gateway. Required for `connectivityType` of `public`.
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 gateway. Only available when `connectivityType` is `public`.
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 gateway. Valid values are `private` and `public`. Defaults to `public`.
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 gateway.
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 gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
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 gateway.
169
+ * The Elastic IP address associated with the NAT Gateway.
133
170
  */
134
171
  publicIp?: pulumi.Input<string>;
135
172
  /**
136
- * The Subnet ID of the subnet in which to place the gateway.
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 gateway. Required for `connectivityType` of `public`.
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 gateway. Valid values are `private` and `public`. Defaults to `public`.
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 gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
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
- * The Subnet ID of the subnet in which to place the gateway.
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*/;
@@ -1 +1 @@
1
- {"version":3,"file":"natGateway.js","sourceRoot":"","sources":["../../ec2/natGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;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;IA+CD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE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;AA7GG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
@@ -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
  *
@@ -1 +1 @@
1
- {"version":3,"file":"routeTable.js","sourceRoot":"","sources":["../../ec2/routeTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;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,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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C,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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;;AA7FL,gCA8FC;AAhFG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
@@ -70,11 +70,11 @@ export declare class VpcAttachment extends pulumi.CustomResource {
70
70
  /**
71
71
  * Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
72
72
  */
73
- readonly transitGatewayDefaultRouteTableAssociation: pulumi.Output<boolean | undefined>;
73
+ readonly transitGatewayDefaultRouteTableAssociation: pulumi.Output<boolean>;
74
74
  /**
75
75
  * Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
76
76
  */
77
- readonly transitGatewayDefaultRouteTablePropagation: pulumi.Output<boolean | undefined>;
77
+ readonly transitGatewayDefaultRouteTablePropagation: pulumi.Output<boolean>;
78
78
  /**
79
79
  * Identifier of EC2 Transit Gateway.
80
80
  */
package/glue/job.d.ts CHANGED
@@ -20,6 +20,24 @@ import * as outputs from "../types/output";
20
20
  * },
21
21
  * });
22
22
  * ```
23
+ * ### Ray Job
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as aws from "@pulumi/aws";
28
+ *
29
+ * const example = new aws.glue.Job("example", {
30
+ * roleArn: aws_iam_role.example.arn,
31
+ * glueVersion: "4.0",
32
+ * workerType: "Z.2X",
33
+ * command: {
34
+ * name: "glueray",
35
+ * pythonVersion: "3.9",
36
+ * runtime: "Ray2.4",
37
+ * scriptLocation: `s3://${aws_s3_bucket.example.bucket}/example.py`,
38
+ * },
39
+ * });
40
+ * ```
23
41
  * ### Scala Job
24
42
  *
25
43
  * ```typescript
@@ -121,7 +139,7 @@ export declare class Job extends pulumi.CustomResource {
121
139
  */
122
140
  readonly executionProperty: pulumi.Output<outputs.glue.JobExecutionProperty>;
123
141
  /**
124
- * The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
142
+ * The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
125
143
  */
126
144
  readonly glueVersion: pulumi.Output<string>;
127
145
  /**
@@ -175,7 +193,12 @@ export declare class Job extends pulumi.CustomResource {
175
193
  */
176
194
  readonly timeout: pulumi.Output<number>;
177
195
  /**
178
- * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
196
+ * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, G.2X, or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.
197
+ * * For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.
198
+ * * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
199
+ * * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
200
+ * * For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPU, 4GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for low volume streaming jobs. Only available for Glue version 3.0.
201
+ * * For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPU, 64 GB of m emory, 128 GB disk), and provides up to 8 Ray workers based on the autoscaler.
179
202
  */
180
203
  readonly workerType: pulumi.Output<string | undefined>;
181
204
  /**
@@ -222,7 +245,7 @@ export interface JobState {
222
245
  */
223
246
  executionProperty?: pulumi.Input<inputs.glue.JobExecutionProperty>;
224
247
  /**
225
- * The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
248
+ * The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
226
249
  */
227
250
  glueVersion?: pulumi.Input<string>;
228
251
  /**
@@ -276,7 +299,12 @@ export interface JobState {
276
299
  */
277
300
  timeout?: pulumi.Input<number>;
278
301
  /**
279
- * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
302
+ * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, G.2X, or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.
303
+ * * For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.
304
+ * * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
305
+ * * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
306
+ * * For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPU, 4GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for low volume streaming jobs. Only available for Glue version 3.0.
307
+ * * For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPU, 64 GB of m emory, 128 GB disk), and provides up to 8 Ray workers based on the autoscaler.
280
308
  */
281
309
  workerType?: pulumi.Input<string>;
282
310
  }
@@ -311,7 +339,7 @@ export interface JobArgs {
311
339
  */
312
340
  executionProperty?: pulumi.Input<inputs.glue.JobExecutionProperty>;
313
341
  /**
314
- * The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
342
+ * The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
315
343
  */
316
344
  glueVersion?: pulumi.Input<string>;
317
345
  /**
@@ -359,7 +387,12 @@ export interface JobArgs {
359
387
  */
360
388
  timeout?: pulumi.Input<number>;
361
389
  /**
362
- * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
390
+ * The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, G.2X, or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.
391
+ * * For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.
392
+ * * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
393
+ * * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. Recommended for memory-intensive jobs.
394
+ * * For the G.025X worker type, each worker maps to 0.25 DPU (2 vCPU, 4GB of memory, 64 GB disk), and provides 1 executor per worker. Recommended for low volume streaming jobs. Only available for Glue version 3.0.
395
+ * * For the Z.2X worker type, each worker maps to 2 M-DPU (8vCPU, 64 GB of m emory, 128 GB disk), and provides up to 8 Ray workers based on the autoscaler.
363
396
  */
364
397
  workerType?: pulumi.Input<string>;
365
398
  }
package/glue/job.js CHANGED
@@ -24,6 +24,24 @@ const utilities = require("../utilities");
24
24
  * },
25
25
  * });
26
26
  * ```
27
+ * ### Ray Job
28
+ *
29
+ * ```typescript
30
+ * import * as pulumi from "@pulumi/pulumi";
31
+ * import * as aws from "@pulumi/aws";
32
+ *
33
+ * const example = new aws.glue.Job("example", {
34
+ * roleArn: aws_iam_role.example.arn,
35
+ * glueVersion: "4.0",
36
+ * workerType: "Z.2X",
37
+ * command: {
38
+ * name: "glueray",
39
+ * pythonVersion: "3.9",
40
+ * runtime: "Ray2.4",
41
+ * scriptLocation: `s3://${aws_s3_bucket.example.bucket}/example.py`,
42
+ * },
43
+ * });
44
+ * ```
27
45
  * ### Scala Job
28
46
  *
29
47
  * ```typescript
package/glue/job.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"job.js","sourceRoot":"","sources":["../../glue/job.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,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ustomResource {
83
83
  */
84
84
  readonly endpoint: pulumi.Output<string>;
85
85
  /**
86
- * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official [migration tool](https://github.com/aws-observability/amazon-managed-grafana-migrator).
86
+ * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`.
87
87
  */
88
88
  readonly grafanaVersion: pulumi.Output<string>;
89
89
  /**
@@ -179,7 +179,7 @@ export interface WorkspaceState {
179
179
  */
180
180
  endpoint?: pulumi.Input<string>;
181
181
  /**
182
- * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official [migration tool](https://github.com/aws-observability/amazon-managed-grafana-migrator).
182
+ * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`.
183
183
  */
184
184
  grafanaVersion?: pulumi.Input<string>;
185
185
  /**
@@ -259,7 +259,7 @@ export interface WorkspaceArgs {
259
259
  */
260
260
  description?: pulumi.Input<string>;
261
261
  /**
262
- * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`. Upgrading the workspace version isn't supported, however it's possible to copy content from the old version to the new one using AWS official [migration tool](https://github.com/aws-observability/amazon-managed-grafana-migrator).
262
+ * Specifies the version of Grafana to support in the new workspace. Supported values are `8.4` and `9.4`. If not specified, defaults to `8.4`.
263
263
  */
264
264
  grafanaVersion?: pulumi.Input<string>;
265
265
  /**
package/iam/index.d.ts CHANGED
@@ -96,6 +96,9 @@ export declare const RolePolicyAttachment: typeof import("./rolePolicyAttachment
96
96
  export { SamlProviderArgs, SamlProviderState } from "./samlProvider";
97
97
  export type SamlProvider = import("./samlProvider").SamlProvider;
98
98
  export declare const SamlProvider: typeof import("./samlProvider").SamlProvider;
99
+ export { SecurityTokenServicePreferencesArgs, SecurityTokenServicePreferencesState } from "./securityTokenServicePreferences";
100
+ export type SecurityTokenServicePreferences = import("./securityTokenServicePreferences").SecurityTokenServicePreferences;
101
+ export declare const SecurityTokenServicePreferences: typeof import("./securityTokenServicePreferences").SecurityTokenServicePreferences;
99
102
  export { ServerCertificateArgs, ServerCertificateState } from "./serverCertificate";
100
103
  export type ServerCertificate = import("./serverCertificate").ServerCertificate;
101
104
  export declare const ServerCertificate: typeof import("./serverCertificate").ServerCertificate;
package/iam/index.js CHANGED
@@ -16,8 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ServiceLinkedRole = exports.ServerCertificate = exports.SamlProvider = exports.RolePolicyAttachment = exports.RolePolicy = exports.Role = exports.PolicyAttachment = exports.Policy = exports.OpenIdConnectProvider = exports.InstanceProfile = exports.GroupPolicyAttachment = exports.GroupPolicy = exports.GroupMembership = exports.Group = exports.getUsersOutput = exports.getUsers = exports.getUserSshKeyOutput = exports.getUserSshKey = exports.getUserOutput = exports.getUser = exports.getSessionContextOutput = exports.getSessionContext = exports.getServerCertificateOutput = exports.getServerCertificate = exports.getSamlProviderOutput = exports.getSamlProvider = exports.getRolesOutput = exports.getRoles = exports.getRoleOutput = exports.getRole = exports.getPrincipalPolicySimulationOutput = exports.getPrincipalPolicySimulation = exports.getPolicyDocumentOutput = exports.getPolicyDocument = exports.getPolicyOutput = exports.getPolicy = exports.getOpenIdConnectProviderOutput = exports.getOpenIdConnectProvider = exports.getInstanceProfilesOutput = exports.getInstanceProfiles = exports.getInstanceProfileOutput = exports.getInstanceProfile = exports.getGroupOutput = exports.getGroup = exports.getAccountAlias = exports.getAccessKeysOutput = exports.getAccessKeys = exports.AccountPasswordPolicy = exports.AccountAlias = exports.AccessKey = void 0;
20
- exports.VirtualMfaDevice = exports.UserPolicyAttachment = exports.UserPolicy = exports.UserLoginProfile = exports.UserGroupMembership = exports.User = exports.SshKey = exports.SigningCertificate = exports.ServiceSpecificCredential = void 0;
19
+ exports.ServerCertificate = exports.SecurityTokenServicePreferences = exports.SamlProvider = exports.RolePolicyAttachment = exports.RolePolicy = exports.Role = exports.PolicyAttachment = exports.Policy = exports.OpenIdConnectProvider = exports.InstanceProfile = exports.GroupPolicyAttachment = exports.GroupPolicy = exports.GroupMembership = exports.Group = exports.getUsersOutput = exports.getUsers = exports.getUserSshKeyOutput = exports.getUserSshKey = exports.getUserOutput = exports.getUser = exports.getSessionContextOutput = exports.getSessionContext = exports.getServerCertificateOutput = exports.getServerCertificate = exports.getSamlProviderOutput = exports.getSamlProvider = exports.getRolesOutput = exports.getRoles = exports.getRoleOutput = exports.getRole = exports.getPrincipalPolicySimulationOutput = exports.getPrincipalPolicySimulation = exports.getPolicyDocumentOutput = exports.getPolicyDocument = exports.getPolicyOutput = exports.getPolicy = exports.getOpenIdConnectProviderOutput = exports.getOpenIdConnectProvider = exports.getInstanceProfilesOutput = exports.getInstanceProfiles = exports.getInstanceProfileOutput = exports.getInstanceProfile = exports.getGroupOutput = exports.getGroup = exports.getAccountAlias = exports.getAccessKeysOutput = exports.getAccessKeys = exports.AccountPasswordPolicy = exports.AccountAlias = exports.AccessKey = void 0;
20
+ exports.VirtualMfaDevice = exports.UserPolicyAttachment = exports.UserPolicy = exports.UserLoginProfile = exports.UserGroupMembership = exports.User = exports.SshKey = exports.SigningCertificate = exports.ServiceSpecificCredential = exports.ServiceLinkedRole = void 0;
21
21
  const pulumi = require("@pulumi/pulumi");
22
22
  const utilities = require("../utilities");
23
23
  exports.AccessKey = null;
@@ -103,6 +103,8 @@ exports.RolePolicyAttachment = null;
103
103
  utilities.lazyLoad(exports, ["RolePolicyAttachment"], () => require("./rolePolicyAttachment"));
104
104
  exports.SamlProvider = null;
105
105
  utilities.lazyLoad(exports, ["SamlProvider"], () => require("./samlProvider"));
106
+ exports.SecurityTokenServicePreferences = null;
107
+ utilities.lazyLoad(exports, ["SecurityTokenServicePreferences"], () => require("./securityTokenServicePreferences"));
106
108
  exports.ServerCertificate = null;
107
109
  utilities.lazyLoad(exports, ["ServerCertificate"], () => require("./serverCertificate"));
108
110
  exports.ServiceLinkedRole = null;
@@ -161,6 +163,8 @@ const _module = {
161
163
  return new exports.RolePolicyAttachment(name, undefined, { urn });
162
164
  case "aws:iam/samlProvider:SamlProvider":
163
165
  return new exports.SamlProvider(name, undefined, { urn });
166
+ case "aws:iam/securityTokenServicePreferences:SecurityTokenServicePreferences":
167
+ return new exports.SecurityTokenServicePreferences(name, undefined, { urn });
164
168
  case "aws:iam/serverCertificate:ServerCertificate":
165
169
  return new exports.ServerCertificate(name, undefined, { urn });
166
170
  case "aws:iam/serviceLinkedRole:ServiceLinkedRole":
@@ -203,6 +207,7 @@ pulumi.runtime.registerResourceModule("aws", "iam/role", _module);
203
207
  pulumi.runtime.registerResourceModule("aws", "iam/rolePolicy", _module);
204
208
  pulumi.runtime.registerResourceModule("aws", "iam/rolePolicyAttachment", _module);
205
209
  pulumi.runtime.registerResourceModule("aws", "iam/samlProvider", _module);
210
+ pulumi.runtime.registerResourceModule("aws", "iam/securityTokenServicePreferences", _module);
206
211
  pulumi.runtime.registerResourceModule("aws", "iam/serverCertificate", _module);
207
212
  pulumi.runtime.registerResourceModule("aws", "iam/serviceLinkedRole", _module);
208
213
  pulumi.runtime.registerResourceModule("aws", "iam/serviceSpecificCredential", _module);