@pulumi/aws 4.30.0 → 4.32.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/accessanalyzer/analyzer.d.ts +6 -0
- package/accessanalyzer/analyzer.js.map +1 -1
- package/account/alternativeContact.d.ts +12 -0
- package/account/alternativeContact.js +2 -0
- package/account/alternativeContact.js.map +1 -1
- package/alb/getTargetGroup.d.ts +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/loadBalancer.d.ts +2 -2
- package/alb/loadBalancer.js +2 -2
- package/alb/targetGroup.d.ts +12 -0
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/applicationloadbalancing/getTargetGroup.d.ts +1 -0
- package/applicationloadbalancing/getTargetGroup.js.map +1 -1
- package/applicationloadbalancing/loadBalancer.d.ts +2 -2
- package/applicationloadbalancing/loadBalancer.js +2 -2
- package/applicationloadbalancing/targetGroup.d.ts +12 -0
- package/applicationloadbalancing/targetGroup.js +2 -0
- package/applicationloadbalancing/targetGroup.js.map +1 -1
- package/autoscaling/getAmiIds.d.ts +4 -4
- package/autoscaling/getAmiIds.js +4 -4
- package/backup/regionSettings.d.ts +25 -0
- package/backup/regionSettings.js +9 -0
- package/backup/regionSettings.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +4 -0
- package/cloudwatch/eventTarget.js +4 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codecommit/approvalRuleTemplate.d.ts +144 -0
- package/codecommit/approvalRuleTemplate.js +100 -0
- package/codecommit/approvalRuleTemplate.js.map +1 -0
- package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
- package/codecommit/approvalRuleTemplateAssociation.js +82 -0
- package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
- package/codecommit/getApprovalRuleTemplate.d.ts +73 -0
- package/codecommit/getApprovalRuleTemplate.js +38 -0
- package/codecommit/getApprovalRuleTemplate.js.map +1 -0
- package/codecommit/index.d.ts +3 -0
- package/codecommit/index.js +11 -0
- package/codecommit/index.js.map +1 -1
- package/detective/graph.d.ts +103 -0
- package/detective/graph.js +81 -0
- package/detective/graph.js.map +1 -0
- package/detective/index.d.ts +1 -0
- package/detective/index.js +33 -0
- package/detective/index.js.map +1 -0
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/table.d.ts +12 -0
- package/dynamodb/table.js +2 -0
- package/dynamodb/table.js.map +1 -1
- package/ec2/defaultVpc.d.ts +16 -0
- package/ec2/defaultVpc.js +9 -1
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getVpcIamPool.d.ts +151 -0
- package/ec2/getVpcIamPool.js +53 -0
- package/ec2/getVpcIamPool.js.map +1 -0
- package/ec2/index.d.ts +8 -0
- package/ec2/index.js +36 -0
- package/ec2/index.js.map +1 -1
- package/ec2/subnetCidrReservation.d.ts +116 -0
- package/ec2/subnetCidrReservation.js +92 -0
- package/ec2/subnetCidrReservation.js.map +1 -0
- package/ec2/vpc.d.ts +95 -25
- package/ec2/vpc.js +36 -4
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +178 -0
- package/ec2/vpcIpam.js +121 -0
- package/ec2/vpcIpam.js.map +1 -0
- package/ec2/vpcIpamPool.d.ts +299 -0
- package/ec2/vpcIpamPool.js +151 -0
- package/ec2/vpcIpamPool.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +136 -0
- package/ec2/vpcIpamPoolCidr.js +121 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -0
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +150 -0
- package/ec2/vpcIpamPoolCidrAllocation.js +108 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -0
- package/ec2/vpcIpamScope.d.ts +132 -0
- package/ec2/vpcIpamScope.js +99 -0
- package/ec2/vpcIpamScope.js.map +1 -0
- package/ec2/vpcIpv4CidrBlockAssociation.d.ts +28 -4
- package/ec2/vpcIpv4CidrBlockAssociation.js +4 -3
- package/ec2/vpcIpv4CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +110 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js +89 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +71 -0
- package/ecs/accountSettingDefault.js +67 -0
- package/ecs/accountSettingDefault.js.map +1 -0
- package/ecs/index.d.ts +2 -0
- package/ecs/index.js +10 -0
- package/ecs/index.js.map +1 -1
- package/ecs/taskDefinition.d.ts +58 -18
- package/ecs/taskDefinition.js +48 -18
- package/ecs/taskDefinition.js.map +1 -1
- package/ecs/taskSet.d.ts +264 -0
- package/ecs/taskSet.js +107 -0
- package/ecs/taskSet.js.map +1 -0
- package/elasticache/replicationGroup.d.ts +12 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticloadbalancingv2/getTargetGroup.d.ts +1 -0
- package/elasticloadbalancingv2/getTargetGroup.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.js +2 -2
- package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
- package/elasticloadbalancingv2/targetGroup.js +2 -0
- package/elasticloadbalancingv2/targetGroup.js.map +1 -1
- package/elasticsearch/domain.d.ts +12 -0
- package/elasticsearch/domain.js +2 -0
- package/elasticsearch/domain.js.map +1 -1
- package/elasticsearch/getDomain.d.ts +4 -0
- package/elasticsearch/getDomain.js.map +1 -1
- package/emr/index.d.ts +2 -0
- package/emr/index.js +10 -0
- package/emr/index.js.map +1 -1
- package/emr/studio.d.ts +237 -0
- package/emr/studio.js +131 -0
- package/emr/studio.js.map +1 -0
- package/emr/studioSessionMapping.d.ts +121 -0
- package/emr/studioSessionMapping.js +93 -0
- package/emr/studioSessionMapping.js.map +1 -0
- package/fsx/ontapStorageVirtualMachine.d.ts +0 -6
- package/fsx/ontapStorageVirtualMachine.js +1 -1
- package/fsx/ontapStorageVirtualMachine.js.map +1 -1
- package/fsx/ontapVolume.d.ts +0 -6
- package/fsx/ontapVolume.js +1 -1
- package/fsx/ontapVolume.js.map +1 -1
- package/getAutoscalingGroups.d.ts +4 -4
- package/getAutoscalingGroups.js +4 -4
- package/iam/role.d.ts +6 -6
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingGroup.d.ts +0 -3
- package/iot/thingGroup.js +1 -1
- package/iot/thingGroup.js.map +1 -1
- package/iot/thingType.d.ts +0 -6
- package/iot/thingType.js +1 -1
- package/iot/thingType.js.map +1 -1
- package/kinesis/getStream.d.ts +5 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +22 -6
- package/kinesis/stream.js +5 -3
- package/kinesis/stream.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +40 -0
- package/lambda/eventSourceMapping.js +30 -0
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/getTargetGroup.d.ts +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/loadBalancer.d.ts +2 -2
- package/lb/loadBalancer.js +2 -2
- package/lb/targetGroup.d.ts +12 -0
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/servicequotas/getServiceQuota.d.ts +6 -6
- package/sqs/queue.d.ts +25 -0
- package/sqs/queue.js +15 -0
- package/sqs/queue.js.map +1 -1
- package/synthetics/canary.d.ts +15 -3
- package/synthetics/canary.js +2 -0
- package/synthetics/canary.js.map +1 -1
- package/transfer/server.d.ts +26 -3
- package/transfer/server.js +13 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +298 -118
- package/types/output.d.ts +223 -3
package/ecs/taskDefinition.js
CHANGED
|
@@ -162,30 +162,30 @@ const utilities = require("../utilities");
|
|
|
162
162
|
*
|
|
163
163
|
* const test = new aws.ecs.TaskDefinition("test", {
|
|
164
164
|
* containerDefinitions: `[
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
165
|
+
* {
|
|
166
|
+
* "cpu": 10,
|
|
167
|
+
* "command": ["sleep", "10"],
|
|
168
|
+
* "entryPoint": ["/"],
|
|
169
|
+
* "environment": [
|
|
170
|
+
* {"name": "VARNAME", "value": "VARVAL"}
|
|
171
|
+
* ],
|
|
172
|
+
* "essential": true,
|
|
173
|
+
* "image": "jenkins",
|
|
174
|
+
* "memory": 128,
|
|
175
|
+
* "name": "jenkins",
|
|
176
|
+
* "portMappings": [
|
|
177
|
+
* {
|
|
178
|
+
* "containerPort": 80,
|
|
179
|
+
* "hostPort": 8080
|
|
180
|
+
* }
|
|
181
|
+
* ],
|
|
182
182
|
* "resourceRequirements":[
|
|
183
183
|
* {
|
|
184
184
|
* "type":"InferenceAccelerator",
|
|
185
185
|
* "value":"device_1"
|
|
186
186
|
* }
|
|
187
187
|
* ]
|
|
188
|
-
*
|
|
188
|
+
* }
|
|
189
189
|
* ]
|
|
190
190
|
* `,
|
|
191
191
|
* family: "test",
|
|
@@ -195,6 +195,34 @@ const utilities = require("../utilities");
|
|
|
195
195
|
* }],
|
|
196
196
|
* });
|
|
197
197
|
* ```
|
|
198
|
+
* ### Example Using `runtimePlatform` and `fargate`
|
|
199
|
+
*
|
|
200
|
+
* ```typescript
|
|
201
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
202
|
+
* import * as aws from "@pulumi/aws";
|
|
203
|
+
*
|
|
204
|
+
* const test = new aws.ecs.TaskDefinition("test", {
|
|
205
|
+
* containerDefinitions: `[
|
|
206
|
+
* {
|
|
207
|
+
* "name": "iis",
|
|
208
|
+
* "image": "mcr.microsoft.com/windows/servercore/iis",
|
|
209
|
+
* "cpu": 1024,
|
|
210
|
+
* "memory": 2048,
|
|
211
|
+
* "essential": true
|
|
212
|
+
* }
|
|
213
|
+
* ]
|
|
214
|
+
* `,
|
|
215
|
+
* cpu: "1024",
|
|
216
|
+
* family: "test",
|
|
217
|
+
* memory: "2048",
|
|
218
|
+
* networkMode: "awsvpc",
|
|
219
|
+
* requiresCompatibilities: ["FARGATE"],
|
|
220
|
+
* runtimePlatform: {
|
|
221
|
+
* cpuArchitecture: "X86_64",
|
|
222
|
+
* operatingSystemFamily: "WINDOWS_SERVER_2019_CORE",
|
|
223
|
+
* },
|
|
224
|
+
* });
|
|
225
|
+
* ```
|
|
198
226
|
*
|
|
199
227
|
* ## Import
|
|
200
228
|
*
|
|
@@ -225,6 +253,7 @@ class TaskDefinition extends pulumi.CustomResource {
|
|
|
225
253
|
inputs["proxyConfiguration"] = state ? state.proxyConfiguration : undefined;
|
|
226
254
|
inputs["requiresCompatibilities"] = state ? state.requiresCompatibilities : undefined;
|
|
227
255
|
inputs["revision"] = state ? state.revision : undefined;
|
|
256
|
+
inputs["runtimePlatform"] = state ? state.runtimePlatform : undefined;
|
|
228
257
|
inputs["tags"] = state ? state.tags : undefined;
|
|
229
258
|
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
230
259
|
inputs["taskRoleArn"] = state ? state.taskRoleArn : undefined;
|
|
@@ -251,6 +280,7 @@ class TaskDefinition extends pulumi.CustomResource {
|
|
|
251
280
|
inputs["placementConstraints"] = args ? args.placementConstraints : undefined;
|
|
252
281
|
inputs["proxyConfiguration"] = args ? args.proxyConfiguration : undefined;
|
|
253
282
|
inputs["requiresCompatibilities"] = args ? args.requiresCompatibilities : undefined;
|
|
283
|
+
inputs["runtimePlatform"] = args ? args.runtimePlatform : undefined;
|
|
254
284
|
inputs["tags"] = args ? args.tags : undefined;
|
|
255
285
|
inputs["taskRoleArn"] = args ? args.taskRoleArn : undefined;
|
|
256
286
|
inputs["volumes"] = args ? args.volumes : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskDefinition.js","sourceRoot":"","sources":["../../ecs/taskDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"taskDefinition.js","sourceRoot":"","sources":["../../ecs/taskDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkOG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqHrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,C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AAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAgLC;AAlKG,gBAAgB;AACO,2BAAY,GAAG,uCAAuC,CAAC"}
|
package/ecs/taskSet.d.ts
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* ECS Task Sets can be imported via the `task_set_id`, `service`, and `cluster` separated by commas (`,`) e.g.
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import aws:ecs/taskSet:TaskSet example ecs-svc/7177320696926227436,arn:aws:ecs:us-west-2:123456789101:service/example/example-1234567890,arn:aws:ecs:us-west-2:123456789101:cluster/example
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare class TaskSet extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing TaskSet resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TaskSetState, opts?: pulumi.CustomResourceOptions): TaskSet;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of TaskSet. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is TaskSet;
|
|
28
|
+
/**
|
|
29
|
+
* The Amazon Resource Name (ARN) that identifies the task set.
|
|
30
|
+
*/
|
|
31
|
+
readonly arn: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The capacity provider strategy to use for the service. Can be one or more. Defined below.
|
|
34
|
+
*/
|
|
35
|
+
readonly capacityProviderStrategies: pulumi.Output<outputs.ecs.TaskSetCapacityProviderStrategy[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The short name or ARN of the cluster that hosts the service to create the task set in.
|
|
38
|
+
*/
|
|
39
|
+
readonly cluster: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The external ID associated with the task set.
|
|
42
|
+
*/
|
|
43
|
+
readonly externalId: pulumi.Output<string>;
|
|
44
|
+
readonly forceDelete: pulumi.Output<boolean | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
|
|
47
|
+
*/
|
|
48
|
+
readonly launchType: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Details on load balancers that are used with a task set. Detailed below.
|
|
51
|
+
*/
|
|
52
|
+
readonly loadBalancers: pulumi.Output<outputs.ecs.TaskSetLoadBalancer[] | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
|
|
55
|
+
*/
|
|
56
|
+
readonly networkConfiguration: pulumi.Output<outputs.ecs.TaskSetNetworkConfiguration | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
|
59
|
+
*/
|
|
60
|
+
readonly platformVersion: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
|
|
63
|
+
*/
|
|
64
|
+
readonly scale: pulumi.Output<outputs.ecs.TaskSetScale>;
|
|
65
|
+
/**
|
|
66
|
+
* The short name or ARN of the ECS service.
|
|
67
|
+
*/
|
|
68
|
+
readonly service: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
|
|
71
|
+
*/
|
|
72
|
+
readonly serviceRegistries: pulumi.Output<outputs.ecs.TaskSetServiceRegistries | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* The stability status. This indicates whether the task set has reached a steady state.
|
|
75
|
+
*/
|
|
76
|
+
readonly stabilityStatus: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The status of the task set.
|
|
79
|
+
*/
|
|
80
|
+
readonly status: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* A map of tags to assign to the file system. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
} | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
89
|
+
*/
|
|
90
|
+
readonly tagsAll: pulumi.Output<{
|
|
91
|
+
[key: string]: string;
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service.
|
|
95
|
+
*/
|
|
96
|
+
readonly taskDefinition: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the task set.
|
|
99
|
+
*/
|
|
100
|
+
readonly taskSetId: pulumi.Output<string>;
|
|
101
|
+
readonly waitUntilStable: pulumi.Output<boolean | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`.
|
|
104
|
+
*/
|
|
105
|
+
readonly waitUntilStableTimeout: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a TaskSet resource with the given unique name, arguments, and options.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resource.
|
|
110
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
111
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
112
|
+
*/
|
|
113
|
+
constructor(name: string, args: TaskSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Input properties used for looking up and filtering TaskSet resources.
|
|
117
|
+
*/
|
|
118
|
+
export interface TaskSetState {
|
|
119
|
+
/**
|
|
120
|
+
* The Amazon Resource Name (ARN) that identifies the task set.
|
|
121
|
+
*/
|
|
122
|
+
arn?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The capacity provider strategy to use for the service. Can be one or more. Defined below.
|
|
125
|
+
*/
|
|
126
|
+
capacityProviderStrategies?: pulumi.Input<pulumi.Input<inputs.ecs.TaskSetCapacityProviderStrategy>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* The short name or ARN of the cluster that hosts the service to create the task set in.
|
|
129
|
+
*/
|
|
130
|
+
cluster?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The external ID associated with the task set.
|
|
133
|
+
*/
|
|
134
|
+
externalId?: pulumi.Input<string>;
|
|
135
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
|
|
138
|
+
*/
|
|
139
|
+
launchType?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Details on load balancers that are used with a task set. Detailed below.
|
|
142
|
+
*/
|
|
143
|
+
loadBalancers?: pulumi.Input<pulumi.Input<inputs.ecs.TaskSetLoadBalancer>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
|
|
146
|
+
*/
|
|
147
|
+
networkConfiguration?: pulumi.Input<inputs.ecs.TaskSetNetworkConfiguration>;
|
|
148
|
+
/**
|
|
149
|
+
* The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
|
150
|
+
*/
|
|
151
|
+
platformVersion?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
|
|
154
|
+
*/
|
|
155
|
+
scale?: pulumi.Input<inputs.ecs.TaskSetScale>;
|
|
156
|
+
/**
|
|
157
|
+
* The short name or ARN of the ECS service.
|
|
158
|
+
*/
|
|
159
|
+
service?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
|
|
162
|
+
*/
|
|
163
|
+
serviceRegistries?: pulumi.Input<inputs.ecs.TaskSetServiceRegistries>;
|
|
164
|
+
/**
|
|
165
|
+
* The stability status. This indicates whether the task set has reached a steady state.
|
|
166
|
+
*/
|
|
167
|
+
stabilityStatus?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The status of the task set.
|
|
170
|
+
*/
|
|
171
|
+
status?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* A map of tags to assign to the file system. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
|
|
174
|
+
*/
|
|
175
|
+
tags?: pulumi.Input<{
|
|
176
|
+
[key: string]: pulumi.Input<string>;
|
|
177
|
+
}>;
|
|
178
|
+
/**
|
|
179
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
180
|
+
*/
|
|
181
|
+
tagsAll?: pulumi.Input<{
|
|
182
|
+
[key: string]: pulumi.Input<string>;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service.
|
|
186
|
+
*/
|
|
187
|
+
taskDefinition?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The ID of the task set.
|
|
190
|
+
*/
|
|
191
|
+
taskSetId?: pulumi.Input<string>;
|
|
192
|
+
waitUntilStable?: pulumi.Input<boolean>;
|
|
193
|
+
/**
|
|
194
|
+
* Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`.
|
|
195
|
+
*/
|
|
196
|
+
waitUntilStableTimeout?: pulumi.Input<string>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* The set of arguments for constructing a TaskSet resource.
|
|
200
|
+
*/
|
|
201
|
+
export interface TaskSetArgs {
|
|
202
|
+
/**
|
|
203
|
+
* The capacity provider strategy to use for the service. Can be one or more. Defined below.
|
|
204
|
+
*/
|
|
205
|
+
capacityProviderStrategies?: pulumi.Input<pulumi.Input<inputs.ecs.TaskSetCapacityProviderStrategy>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* The short name or ARN of the cluster that hosts the service to create the task set in.
|
|
208
|
+
*/
|
|
209
|
+
cluster: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* The external ID associated with the task set.
|
|
212
|
+
*/
|
|
213
|
+
externalId?: pulumi.Input<string>;
|
|
214
|
+
forceDelete?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
|
|
217
|
+
*/
|
|
218
|
+
launchType?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* Details on load balancers that are used with a task set. Detailed below.
|
|
221
|
+
*/
|
|
222
|
+
loadBalancers?: pulumi.Input<pulumi.Input<inputs.ecs.TaskSetLoadBalancer>[]>;
|
|
223
|
+
/**
|
|
224
|
+
* The network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. Detailed below.
|
|
225
|
+
*/
|
|
226
|
+
networkConfiguration?: pulumi.Input<inputs.ecs.TaskSetNetworkConfiguration>;
|
|
227
|
+
/**
|
|
228
|
+
* The platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
|
229
|
+
*/
|
|
230
|
+
platformVersion?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
|
|
233
|
+
*/
|
|
234
|
+
scale?: pulumi.Input<inputs.ecs.TaskSetScale>;
|
|
235
|
+
/**
|
|
236
|
+
* The short name or ARN of the ECS service.
|
|
237
|
+
*/
|
|
238
|
+
service: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* The service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. Detailed below.
|
|
241
|
+
*/
|
|
242
|
+
serviceRegistries?: pulumi.Input<inputs.ecs.TaskSetServiceRegistries>;
|
|
243
|
+
/**
|
|
244
|
+
* A map of tags to assign to the file system. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copyTagsToBackups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
|
|
245
|
+
*/
|
|
246
|
+
tags?: pulumi.Input<{
|
|
247
|
+
[key: string]: pulumi.Input<string>;
|
|
248
|
+
}>;
|
|
249
|
+
/**
|
|
250
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
251
|
+
*/
|
|
252
|
+
tagsAll?: pulumi.Input<{
|
|
253
|
+
[key: string]: pulumi.Input<string>;
|
|
254
|
+
}>;
|
|
255
|
+
/**
|
|
256
|
+
* The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service.
|
|
257
|
+
*/
|
|
258
|
+
taskDefinition: pulumi.Input<string>;
|
|
259
|
+
waitUntilStable?: pulumi.Input<boolean>;
|
|
260
|
+
/**
|
|
261
|
+
* Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`.
|
|
262
|
+
*/
|
|
263
|
+
waitUntilStableTimeout?: pulumi.Input<string>;
|
|
264
|
+
}
|
package/ecs/taskSet.js
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.TaskSet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ECS Task Sets can be imported via the `task_set_id`, `service`, and `cluster` separated by commas (`,`) e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:ecs/taskSet:TaskSet example ecs-svc/7177320696926227436,arn:aws:ecs:us-west-2:123456789101:service/example/example-1234567890,arn:aws:ecs:us-west-2:123456789101:cluster/example
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class TaskSet extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
24
|
+
inputs["capacityProviderStrategies"] = state ? state.capacityProviderStrategies : undefined;
|
|
25
|
+
inputs["cluster"] = state ? state.cluster : undefined;
|
|
26
|
+
inputs["externalId"] = state ? state.externalId : undefined;
|
|
27
|
+
inputs["forceDelete"] = state ? state.forceDelete : undefined;
|
|
28
|
+
inputs["launchType"] = state ? state.launchType : undefined;
|
|
29
|
+
inputs["loadBalancers"] = state ? state.loadBalancers : undefined;
|
|
30
|
+
inputs["networkConfiguration"] = state ? state.networkConfiguration : undefined;
|
|
31
|
+
inputs["platformVersion"] = state ? state.platformVersion : undefined;
|
|
32
|
+
inputs["scale"] = state ? state.scale : undefined;
|
|
33
|
+
inputs["service"] = state ? state.service : undefined;
|
|
34
|
+
inputs["serviceRegistries"] = state ? state.serviceRegistries : undefined;
|
|
35
|
+
inputs["stabilityStatus"] = state ? state.stabilityStatus : undefined;
|
|
36
|
+
inputs["status"] = state ? state.status : undefined;
|
|
37
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
38
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
39
|
+
inputs["taskDefinition"] = state ? state.taskDefinition : undefined;
|
|
40
|
+
inputs["taskSetId"] = state ? state.taskSetId : undefined;
|
|
41
|
+
inputs["waitUntilStable"] = state ? state.waitUntilStable : undefined;
|
|
42
|
+
inputs["waitUntilStableTimeout"] = state ? state.waitUntilStableTimeout : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'cluster'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.service === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'service'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.taskDefinition === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'taskDefinition'");
|
|
54
|
+
}
|
|
55
|
+
inputs["capacityProviderStrategies"] = args ? args.capacityProviderStrategies : undefined;
|
|
56
|
+
inputs["cluster"] = args ? args.cluster : undefined;
|
|
57
|
+
inputs["externalId"] = args ? args.externalId : undefined;
|
|
58
|
+
inputs["forceDelete"] = args ? args.forceDelete : undefined;
|
|
59
|
+
inputs["launchType"] = args ? args.launchType : undefined;
|
|
60
|
+
inputs["loadBalancers"] = args ? args.loadBalancers : undefined;
|
|
61
|
+
inputs["networkConfiguration"] = args ? args.networkConfiguration : undefined;
|
|
62
|
+
inputs["platformVersion"] = args ? args.platformVersion : undefined;
|
|
63
|
+
inputs["scale"] = args ? args.scale : undefined;
|
|
64
|
+
inputs["service"] = args ? args.service : undefined;
|
|
65
|
+
inputs["serviceRegistries"] = args ? args.serviceRegistries : undefined;
|
|
66
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
67
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
68
|
+
inputs["taskDefinition"] = args ? args.taskDefinition : undefined;
|
|
69
|
+
inputs["waitUntilStable"] = args ? args.waitUntilStable : undefined;
|
|
70
|
+
inputs["waitUntilStableTimeout"] = args ? args.waitUntilStableTimeout : undefined;
|
|
71
|
+
inputs["arn"] = undefined /*out*/;
|
|
72
|
+
inputs["stabilityStatus"] = undefined /*out*/;
|
|
73
|
+
inputs["status"] = undefined /*out*/;
|
|
74
|
+
inputs["taskSetId"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
if (!opts.version) {
|
|
77
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
78
|
+
}
|
|
79
|
+
super(TaskSet.__pulumiType, name, inputs, opts);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing TaskSet resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new TaskSet(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of TaskSet. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj) {
|
|
98
|
+
if (obj === undefined || obj === null) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
return obj['__pulumiType'] === TaskSet.__pulumiType;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.TaskSet = TaskSet;
|
|
105
|
+
/** @internal */
|
|
106
|
+
TaskSet.__pulumiType = 'aws:ecs/taskSet:TaskSet';
|
|
107
|
+
//# sourceMappingURL=taskSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskSet.js","sourceRoot":"","sources":["../../ecs/taskSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA+G9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,MAAM,GAAkB,EAAE,CAAC;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f,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IA3KD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA6KC;AA/JG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -191,6 +191,10 @@ export declare class ReplicationGroup extends pulumi.CustomResource {
|
|
|
191
191
|
* The address of the replication group configuration endpoint when cluster mode is enabled.
|
|
192
192
|
*/
|
|
193
193
|
readonly configurationEndpointAddress: pulumi.Output<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to `true` when using r6gd nodes.
|
|
196
|
+
*/
|
|
197
|
+
readonly dataTieringEnabled: pulumi.Output<boolean>;
|
|
194
198
|
/**
|
|
195
199
|
* The name of the cache engine to be used for the clusters in this replication group. The only valid value is `redis`.
|
|
196
200
|
*/
|
|
@@ -357,6 +361,10 @@ export interface ReplicationGroupState {
|
|
|
357
361
|
* The address of the replication group configuration endpoint when cluster mode is enabled.
|
|
358
362
|
*/
|
|
359
363
|
configurationEndpointAddress?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to `true` when using r6gd nodes.
|
|
366
|
+
*/
|
|
367
|
+
dataTieringEnabled?: pulumi.Input<boolean>;
|
|
360
368
|
/**
|
|
361
369
|
* The name of the cache engine to be used for the clusters in this replication group. The only valid value is `redis`.
|
|
362
370
|
*/
|
|
@@ -503,6 +511,10 @@ export interface ReplicationGroupArgs {
|
|
|
503
511
|
* Create a native Redis cluster. `automaticFailoverEnabled` must be set to true. Cluster Mode documented below. Only 1 `clusterMode` block is allowed. Note that configuring this block does not enable cluster mode, i.e., data sharding, this requires using a parameter group that has the parameter `cluster-enabled` set to true.
|
|
504
512
|
*/
|
|
505
513
|
clusterMode?: pulumi.Input<inputs.elasticache.ReplicationGroupClusterMode>;
|
|
514
|
+
/**
|
|
515
|
+
* Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to `true` when using r6gd nodes.
|
|
516
|
+
*/
|
|
517
|
+
dataTieringEnabled?: pulumi.Input<boolean>;
|
|
506
518
|
/**
|
|
507
519
|
* The name of the cache engine to be used for the clusters in this replication group. The only valid value is `redis`.
|
|
508
520
|
*/
|
|
@@ -156,6 +156,7 @@ class ReplicationGroup extends pulumi.CustomResource {
|
|
|
156
156
|
inputs["clusterEnabled"] = state ? state.clusterEnabled : undefined;
|
|
157
157
|
inputs["clusterMode"] = state ? state.clusterMode : undefined;
|
|
158
158
|
inputs["configurationEndpointAddress"] = state ? state.configurationEndpointAddress : undefined;
|
|
159
|
+
inputs["dataTieringEnabled"] = state ? state.dataTieringEnabled : undefined;
|
|
159
160
|
inputs["engine"] = state ? state.engine : undefined;
|
|
160
161
|
inputs["engineVersion"] = state ? state.engineVersion : undefined;
|
|
161
162
|
inputs["engineVersionActual"] = state ? state.engineVersionActual : undefined;
|
|
@@ -197,6 +198,7 @@ class ReplicationGroup extends pulumi.CustomResource {
|
|
|
197
198
|
inputs["automaticFailoverEnabled"] = args ? args.automaticFailoverEnabled : undefined;
|
|
198
199
|
inputs["availabilityZones"] = args ? args.availabilityZones : undefined;
|
|
199
200
|
inputs["clusterMode"] = args ? args.clusterMode : undefined;
|
|
201
|
+
inputs["dataTieringEnabled"] = args ? args.dataTieringEnabled : undefined;
|
|
200
202
|
inputs["engine"] = args ? args.engine : undefined;
|
|
201
203
|
inputs["engineVersion"] = args ? args.engineVersion : undefined;
|
|
202
204
|
inputs["finalSnapshotIdentifier"] = args ? args.finalSnapshotIdentifier : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replicationGroup.js","sourceRoot":"","sources":["../../elasticache/replicationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"replicationGroup.js","sourceRoot":"","sources":["../../elasticache/replicationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA8LvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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I,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA1RD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA4RC;AA9QG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -48,6 +48,7 @@ export interface GetTargetGroupArgs {
|
|
|
48
48
|
export interface GetTargetGroupResult {
|
|
49
49
|
readonly arn: string;
|
|
50
50
|
readonly arnSuffix: string;
|
|
51
|
+
readonly connectionTermination: boolean;
|
|
51
52
|
readonly deregistrationDelay: number;
|
|
52
53
|
readonly healthCheck: outputs.elasticloadbalancingv2.GetTargetGroupHealthCheck;
|
|
53
54
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTargetGroup.js","sourceRoot":"","sources":["../../elasticloadbalancingv2/getTargetGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG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B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,wCAeC;AA6CD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
|
@@ -16,7 +16,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
16
16
|
* internal: false,
|
|
17
17
|
* loadBalancerType: "application",
|
|
18
18
|
* securityGroups: [aws_security_group.lb_sg.id],
|
|
19
|
-
* subnets:
|
|
19
|
+
* subnets: .map(subnet => subnet.id),
|
|
20
20
|
* enableDeletionProtection: true,
|
|
21
21
|
* accessLogs: {
|
|
22
22
|
* bucket: aws_s3_bucket.lb_logs.bucket,
|
|
@@ -37,7 +37,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
37
37
|
* const test = new aws.lb.LoadBalancer("test", {
|
|
38
38
|
* internal: false,
|
|
39
39
|
* loadBalancerType: "network",
|
|
40
|
-
* subnets:
|
|
40
|
+
* subnets: .map(subnet => subnet.id),
|
|
41
41
|
* enableDeletionProtection: true,
|
|
42
42
|
* tags: {
|
|
43
43
|
* Environment: "production",
|