@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
|
@@ -43,9 +43,17 @@ export declare class VpcIpv4CidrBlockAssociation extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
static isInstance(obj: any): obj is VpcIpv4CidrBlockAssociation;
|
|
45
45
|
/**
|
|
46
|
-
* The
|
|
46
|
+
* The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
|
|
47
47
|
*/
|
|
48
48
|
readonly cidrBlock: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
|
|
51
|
+
*/
|
|
52
|
+
readonly ipv4IpamPoolId: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
|
|
55
|
+
*/
|
|
56
|
+
readonly ipv4NetmaskLength: pulumi.Output<number | undefined>;
|
|
49
57
|
/**
|
|
50
58
|
* The ID of the VPC to make the association with.
|
|
51
59
|
*/
|
|
@@ -64,9 +72,17 @@ export declare class VpcIpv4CidrBlockAssociation extends pulumi.CustomResource {
|
|
|
64
72
|
*/
|
|
65
73
|
export interface VpcIpv4CidrBlockAssociationState {
|
|
66
74
|
/**
|
|
67
|
-
* The
|
|
75
|
+
* The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
|
|
68
76
|
*/
|
|
69
77
|
cidrBlock?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
|
|
80
|
+
*/
|
|
81
|
+
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
|
|
84
|
+
*/
|
|
85
|
+
ipv4NetmaskLength?: pulumi.Input<number>;
|
|
70
86
|
/**
|
|
71
87
|
* The ID of the VPC to make the association with.
|
|
72
88
|
*/
|
|
@@ -77,9 +93,17 @@ export interface VpcIpv4CidrBlockAssociationState {
|
|
|
77
93
|
*/
|
|
78
94
|
export interface VpcIpv4CidrBlockAssociationArgs {
|
|
79
95
|
/**
|
|
80
|
-
* The
|
|
96
|
+
* The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4NetmaskLength`.
|
|
97
|
+
*/
|
|
98
|
+
cidrBlock?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
|
|
101
|
+
*/
|
|
102
|
+
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4IpamPoolId`.
|
|
81
105
|
*/
|
|
82
|
-
|
|
106
|
+
ipv4NetmaskLength?: pulumi.Input<number>;
|
|
83
107
|
/**
|
|
84
108
|
* The ID of the VPC to make the association with.
|
|
85
109
|
*/
|
|
@@ -39,17 +39,18 @@ class VpcIpv4CidrBlockAssociation extends pulumi.CustomResource {
|
|
|
39
39
|
if (opts.id) {
|
|
40
40
|
const state = argsOrState;
|
|
41
41
|
inputs["cidrBlock"] = state ? state.cidrBlock : undefined;
|
|
42
|
+
inputs["ipv4IpamPoolId"] = state ? state.ipv4IpamPoolId : undefined;
|
|
43
|
+
inputs["ipv4NetmaskLength"] = state ? state.ipv4NetmaskLength : undefined;
|
|
42
44
|
inputs["vpcId"] = state ? state.vpcId : undefined;
|
|
43
45
|
}
|
|
44
46
|
else {
|
|
45
47
|
const args = argsOrState;
|
|
46
|
-
if ((!args || args.cidrBlock === undefined) && !opts.urn) {
|
|
47
|
-
throw new Error("Missing required property 'cidrBlock'");
|
|
48
|
-
}
|
|
49
48
|
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
50
49
|
throw new Error("Missing required property 'vpcId'");
|
|
51
50
|
}
|
|
52
51
|
inputs["cidrBlock"] = args ? args.cidrBlock : undefined;
|
|
52
|
+
inputs["ipv4IpamPoolId"] = args ? args.ipv4IpamPoolId : undefined;
|
|
53
|
+
inputs["ipv4NetmaskLength"] = args ? args.ipv4NetmaskLength : undefined;
|
|
53
54
|
inputs["vpcId"] = args ? args.vpcId : undefined;
|
|
54
55
|
}
|
|
55
56
|
if (!opts.version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcIpv4CidrBlockAssociation.js","sourceRoot":"","sources":["../../ec2/vpcIpv4CidrBlockAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"vpcIpv4CidrBlockAssociation.js","sourceRoot":"","sources":["../../ec2/vpcIpv4CidrBlockAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAqDlE,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,MAAM,CAAC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,CAAC;SACxE;QACD,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;;AA1BL,kEA6EC;AA/DG,gBAAgB;AACO,wCAAY,GAAG,iEAAiE,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to associate additional IPv6 CIDR blocks with a VPC.
|
|
4
|
+
*
|
|
5
|
+
* The `aws.ec2.VpcIpv6CidrBlockAssociation` resource allows IPv6 CIDR blocks to be added to the VPC.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.0.0.0/16"});
|
|
14
|
+
* const testVpcIpv6CidrBlockAssociation = new aws.ec2.VpcIpv6CidrBlockAssociation("testVpcIpv6CidrBlockAssociation", {
|
|
15
|
+
* ipv6IpamPoolId: aws_vpc_ipam_pool.test.id,
|
|
16
|
+
* vpcId: testVpc.id,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* `aws_vpc_ipv6_cidr_block_association` can be imported by using the VPC CIDR Association ID, e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation example vpc-cidr-assoc-xxxxxxxx
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class VpcIpv6CidrBlockAssociation extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing VpcIpv6CidrBlockAssociation resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcIpv6CidrBlockAssociationState, opts?: pulumi.CustomResourceOptions): VpcIpv6CidrBlockAssociation;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of VpcIpv6CidrBlockAssociation. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is VpcIpv6CidrBlockAssociation;
|
|
44
|
+
/**
|
|
45
|
+
* The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
|
|
46
|
+
*/
|
|
47
|
+
readonly ipv6CidrBlock: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
|
|
50
|
+
*/
|
|
51
|
+
readonly ipv6IpamPoolId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
|
|
54
|
+
*/
|
|
55
|
+
readonly ipv6NetmaskLength: pulumi.Output<number | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the VPC to make the association with.
|
|
58
|
+
*/
|
|
59
|
+
readonly vpcId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a VpcIpv6CidrBlockAssociation resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: VpcIpv6CidrBlockAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering VpcIpv6CidrBlockAssociation resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface VpcIpv6CidrBlockAssociationState {
|
|
73
|
+
/**
|
|
74
|
+
* The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
|
|
75
|
+
*/
|
|
76
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
|
|
79
|
+
*/
|
|
80
|
+
ipv6IpamPoolId?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
|
|
83
|
+
*/
|
|
84
|
+
ipv6NetmaskLength?: pulumi.Input<number>;
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the VPC to make the association with.
|
|
87
|
+
*/
|
|
88
|
+
vpcId?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a VpcIpv6CidrBlockAssociation resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface VpcIpv6CidrBlockAssociationArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and he IPAM pool does not have `allocationDefaultNetmask` set.
|
|
96
|
+
*/
|
|
97
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts.
|
|
100
|
+
*/
|
|
101
|
+
ipv6IpamPoolId: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required
|
|
104
|
+
*/
|
|
105
|
+
ipv6NetmaskLength?: pulumi.Input<number>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the VPC to make the association with.
|
|
108
|
+
*/
|
|
109
|
+
vpcId: pulumi.Input<string>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.VpcIpv6CidrBlockAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to associate additional IPv6 CIDR blocks with a VPC.
|
|
10
|
+
*
|
|
11
|
+
* The `aws.ec2.VpcIpv6CidrBlockAssociation` resource allows IPv6 CIDR blocks to be added to the VPC.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {cidrBlock: "10.0.0.0/16"});
|
|
20
|
+
* const testVpcIpv6CidrBlockAssociation = new aws.ec2.VpcIpv6CidrBlockAssociation("testVpcIpv6CidrBlockAssociation", {
|
|
21
|
+
* ipv6IpamPoolId: aws_vpc_ipam_pool.test.id,
|
|
22
|
+
* vpcId: testVpc.id,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* `aws_vpc_ipv6_cidr_block_association` can be imported by using the VPC CIDR Association ID, e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation example vpc-cidr-assoc-xxxxxxxx
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class VpcIpv6CidrBlockAssociation extends pulumi.CustomResource {
|
|
35
|
+
constructor(name, argsOrState, opts) {
|
|
36
|
+
let inputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (opts.id) {
|
|
39
|
+
const state = argsOrState;
|
|
40
|
+
inputs["ipv6CidrBlock"] = state ? state.ipv6CidrBlock : undefined;
|
|
41
|
+
inputs["ipv6IpamPoolId"] = state ? state.ipv6IpamPoolId : undefined;
|
|
42
|
+
inputs["ipv6NetmaskLength"] = state ? state.ipv6NetmaskLength : undefined;
|
|
43
|
+
inputs["vpcId"] = state ? state.vpcId : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.ipv6IpamPoolId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'ipv6IpamPoolId'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'vpcId'");
|
|
52
|
+
}
|
|
53
|
+
inputs["ipv6CidrBlock"] = args ? args.ipv6CidrBlock : undefined;
|
|
54
|
+
inputs["ipv6IpamPoolId"] = args ? args.ipv6IpamPoolId : undefined;
|
|
55
|
+
inputs["ipv6NetmaskLength"] = args ? args.ipv6NetmaskLength : undefined;
|
|
56
|
+
inputs["vpcId"] = args ? args.vpcId : undefined;
|
|
57
|
+
}
|
|
58
|
+
if (!opts.version) {
|
|
59
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
60
|
+
}
|
|
61
|
+
super(VpcIpv6CidrBlockAssociation.__pulumiType, name, inputs, opts);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing VpcIpv6CidrBlockAssociation resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name, id, state, opts) {
|
|
73
|
+
return new VpcIpv6CidrBlockAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of VpcIpv6CidrBlockAssociation. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj) {
|
|
80
|
+
if (obj === undefined || obj === null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return obj['__pulumiType'] === VpcIpv6CidrBlockAssociation.__pulumiType;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.VpcIpv6CidrBlockAssociation = VpcIpv6CidrBlockAssociation;
|
|
87
|
+
/** @internal */
|
|
88
|
+
VpcIpv6CidrBlockAssociation.__pulumiType = 'aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation';
|
|
89
|
+
//# sourceMappingURL=vpcIpv6CidrBlockAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcIpv6CidrBlockAssociation.js","sourceRoot":"","sources":["../../ec2/vpcIpv6CidrBlockAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAqDlE,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CA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,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,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IA9ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;;AA1BL,kEAgFC;AAlEG,gBAAgB;AACO,wCAAY,GAAG,iEAAiE,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* ECS Account Setting defaults can be imported using the `name`, e.g.,
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import aws:ecs/accountSettingDefault:AccountSettingDefault example taskLongArnFormat
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class AccountSettingDefault extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing AccountSettingDefault resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountSettingDefaultState, opts?: pulumi.CustomResourceOptions): AccountSettingDefault;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of AccountSettingDefault. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is AccountSettingDefault;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`.
|
|
29
|
+
*/
|
|
30
|
+
readonly name: pulumi.Output<string>;
|
|
31
|
+
readonly principalArn: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* State of the setting. Valid values are `enabled` and `disabled`.
|
|
34
|
+
*/
|
|
35
|
+
readonly value: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a AccountSettingDefault resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: AccountSettingDefaultArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Input properties used for looking up and filtering AccountSettingDefault resources.
|
|
47
|
+
*/
|
|
48
|
+
export interface AccountSettingDefaultState {
|
|
49
|
+
/**
|
|
50
|
+
* Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`.
|
|
51
|
+
*/
|
|
52
|
+
name?: pulumi.Input<string>;
|
|
53
|
+
principalArn?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* State of the setting. Valid values are `enabled` and `disabled`.
|
|
56
|
+
*/
|
|
57
|
+
value?: pulumi.Input<string>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a AccountSettingDefault resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface AccountSettingDefaultArgs {
|
|
63
|
+
/**
|
|
64
|
+
* Name of the account setting to set. Valid values are `serviceLongArnFormat`, `taskLongArnFormat`, `containerInstanceLongArnFormat`, `awsvpcTrunking` and `containerInsights`.
|
|
65
|
+
*/
|
|
66
|
+
name?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* State of the setting. Valid values are `enabled` and `disabled`.
|
|
69
|
+
*/
|
|
70
|
+
value: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.AccountSettingDefault = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ECS Account Setting defaults can be imported using the `name`, e.g.,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:ecs/accountSettingDefault:AccountSettingDefault example taskLongArnFormat
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class AccountSettingDefault extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["name"] = state ? state.name : undefined;
|
|
24
|
+
inputs["principalArn"] = state ? state.principalArn : undefined;
|
|
25
|
+
inputs["value"] = state ? state.value : undefined;
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
const args = argsOrState;
|
|
29
|
+
if ((!args || args.value === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'value'");
|
|
31
|
+
}
|
|
32
|
+
inputs["name"] = args ? args.name : undefined;
|
|
33
|
+
inputs["value"] = args ? args.value : undefined;
|
|
34
|
+
inputs["principalArn"] = undefined /*out*/;
|
|
35
|
+
}
|
|
36
|
+
if (!opts.version) {
|
|
37
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
38
|
+
}
|
|
39
|
+
super(AccountSettingDefault.__pulumiType, name, inputs, opts);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing AccountSettingDefault resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new AccountSettingDefault(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of AccountSettingDefault. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === AccountSettingDefault.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.AccountSettingDefault = AccountSettingDefault;
|
|
65
|
+
/** @internal */
|
|
66
|
+
AccountSettingDefault.__pulumiType = 'aws:ecs/accountSettingDefault:AccountSettingDefault';
|
|
67
|
+
//# sourceMappingURL=accountSettingDefault.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountSettingDefault.js","sourceRoot":"","sources":["../../ecs/accountSettingDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IA8C5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SACrD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,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,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAoEC;AAtDG,gBAAgB;AACO,kCAAY,GAAG,qDAAqD,CAAC"}
|
package/ecs/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./accountSettingDefault";
|
|
1
2
|
export * from "./capacityProvider";
|
|
2
3
|
export * from "./cluster";
|
|
3
4
|
export * from "./container";
|
|
@@ -8,3 +9,4 @@ export * from "./getTaskDefinition";
|
|
|
8
9
|
export * from "./service";
|
|
9
10
|
export * from "./tag";
|
|
10
11
|
export * from "./taskDefinition";
|
|
12
|
+
export * from "./taskSet";
|
package/ecs/index.js
CHANGED
|
@@ -15,6 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const pulumi = require("@pulumi/pulumi");
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
|
+
__exportStar(require("./accountSettingDefault"), exports);
|
|
18
19
|
__exportStar(require("./capacityProvider"), exports);
|
|
19
20
|
__exportStar(require("./cluster"), exports);
|
|
20
21
|
__exportStar(require("./container"), exports);
|
|
@@ -25,16 +26,21 @@ __exportStar(require("./getTaskDefinition"), exports);
|
|
|
25
26
|
__exportStar(require("./service"), exports);
|
|
26
27
|
__exportStar(require("./tag"), exports);
|
|
27
28
|
__exportStar(require("./taskDefinition"), exports);
|
|
29
|
+
__exportStar(require("./taskSet"), exports);
|
|
28
30
|
// Import resources to register:
|
|
31
|
+
const accountSettingDefault_1 = require("./accountSettingDefault");
|
|
29
32
|
const capacityProvider_1 = require("./capacityProvider");
|
|
30
33
|
const cluster_1 = require("./cluster");
|
|
31
34
|
const service_1 = require("./service");
|
|
32
35
|
const tag_1 = require("./tag");
|
|
33
36
|
const taskDefinition_1 = require("./taskDefinition");
|
|
37
|
+
const taskSet_1 = require("./taskSet");
|
|
34
38
|
const _module = {
|
|
35
39
|
version: utilities.getVersion(),
|
|
36
40
|
construct: (name, type, urn) => {
|
|
37
41
|
switch (type) {
|
|
42
|
+
case "aws:ecs/accountSettingDefault:AccountSettingDefault":
|
|
43
|
+
return new accountSettingDefault_1.AccountSettingDefault(name, undefined, { urn });
|
|
38
44
|
case "aws:ecs/capacityProvider:CapacityProvider":
|
|
39
45
|
return new capacityProvider_1.CapacityProvider(name, undefined, { urn });
|
|
40
46
|
case "aws:ecs/cluster:Cluster":
|
|
@@ -45,14 +51,18 @@ const _module = {
|
|
|
45
51
|
return new tag_1.Tag(name, undefined, { urn });
|
|
46
52
|
case "aws:ecs/taskDefinition:TaskDefinition":
|
|
47
53
|
return new taskDefinition_1.TaskDefinition(name, undefined, { urn });
|
|
54
|
+
case "aws:ecs/taskSet:TaskSet":
|
|
55
|
+
return new taskSet_1.TaskSet(name, undefined, { urn });
|
|
48
56
|
default:
|
|
49
57
|
throw new Error(`unknown resource type ${type}`);
|
|
50
58
|
}
|
|
51
59
|
},
|
|
52
60
|
};
|
|
61
|
+
pulumi.runtime.registerResourceModule("aws", "ecs/accountSettingDefault", _module);
|
|
53
62
|
pulumi.runtime.registerResourceModule("aws", "ecs/capacityProvider", _module);
|
|
54
63
|
pulumi.runtime.registerResourceModule("aws", "ecs/cluster", _module);
|
|
55
64
|
pulumi.runtime.registerResourceModule("aws", "ecs/service", _module);
|
|
56
65
|
pulumi.runtime.registerResourceModule("aws", "ecs/tag", _module);
|
|
57
66
|
pulumi.runtime.registerResourceModule("aws", "ecs/taskDefinition", _module);
|
|
67
|
+
pulumi.runtime.registerResourceModule("aws", "ecs/taskSet", _module);
|
|
58
68
|
//# sourceMappingURL=index.js.map
|
package/ecs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,qDAAmC;AACnC,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,2DAAyC;AACzC,+CAA6B;AAC7B,sDAAoC;AACpC,4CAA0B;AAC1B,wCAAsB;AACtB,mDAAiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0DAAwC;AACxC,qDAAmC;AACnC,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,2DAAyC;AACzC,+CAA6B;AAC7B,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AAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AAChE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
|
package/ecs/taskDefinition.d.ts
CHANGED
|
@@ -157,30 +157,30 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
157
157
|
*
|
|
158
158
|
* const test = new aws.ecs.TaskDefinition("test", {
|
|
159
159
|
* containerDefinitions: `[
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
160
|
+
* {
|
|
161
|
+
* "cpu": 10,
|
|
162
|
+
* "command": ["sleep", "10"],
|
|
163
|
+
* "entryPoint": ["/"],
|
|
164
|
+
* "environment": [
|
|
165
|
+
* {"name": "VARNAME", "value": "VARVAL"}
|
|
166
|
+
* ],
|
|
167
|
+
* "essential": true,
|
|
168
|
+
* "image": "jenkins",
|
|
169
|
+
* "memory": 128,
|
|
170
|
+
* "name": "jenkins",
|
|
171
|
+
* "portMappings": [
|
|
172
|
+
* {
|
|
173
|
+
* "containerPort": 80,
|
|
174
|
+
* "hostPort": 8080
|
|
175
|
+
* }
|
|
176
|
+
* ],
|
|
177
177
|
* "resourceRequirements":[
|
|
178
178
|
* {
|
|
179
179
|
* "type":"InferenceAccelerator",
|
|
180
180
|
* "value":"device_1"
|
|
181
181
|
* }
|
|
182
182
|
* ]
|
|
183
|
-
*
|
|
183
|
+
* }
|
|
184
184
|
* ]
|
|
185
185
|
* `,
|
|
186
186
|
* family: "test",
|
|
@@ -190,6 +190,34 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
190
190
|
* }],
|
|
191
191
|
* });
|
|
192
192
|
* ```
|
|
193
|
+
* ### Example Using `runtimePlatform` and `fargate`
|
|
194
|
+
*
|
|
195
|
+
* ```typescript
|
|
196
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
197
|
+
* import * as aws from "@pulumi/aws";
|
|
198
|
+
*
|
|
199
|
+
* const test = new aws.ecs.TaskDefinition("test", {
|
|
200
|
+
* containerDefinitions: `[
|
|
201
|
+
* {
|
|
202
|
+
* "name": "iis",
|
|
203
|
+
* "image": "mcr.microsoft.com/windows/servercore/iis",
|
|
204
|
+
* "cpu": 1024,
|
|
205
|
+
* "memory": 2048,
|
|
206
|
+
* "essential": true
|
|
207
|
+
* }
|
|
208
|
+
* ]
|
|
209
|
+
* `,
|
|
210
|
+
* cpu: "1024",
|
|
211
|
+
* family: "test",
|
|
212
|
+
* memory: "2048",
|
|
213
|
+
* networkMode: "awsvpc",
|
|
214
|
+
* requiresCompatibilities: ["FARGATE"],
|
|
215
|
+
* runtimePlatform: {
|
|
216
|
+
* cpuArchitecture: "X86_64",
|
|
217
|
+
* operatingSystemFamily: "WINDOWS_SERVER_2019_CORE",
|
|
218
|
+
* },
|
|
219
|
+
* });
|
|
220
|
+
* ```
|
|
193
221
|
*
|
|
194
222
|
* ## Import
|
|
195
223
|
*
|
|
@@ -275,6 +303,10 @@ export declare class TaskDefinition extends pulumi.CustomResource {
|
|
|
275
303
|
* Revision of the task in a particular family.
|
|
276
304
|
*/
|
|
277
305
|
readonly revision: pulumi.Output<number>;
|
|
306
|
+
/**
|
|
307
|
+
* Configuration block for runtimePlatform that containers in your task may use.
|
|
308
|
+
*/
|
|
309
|
+
readonly runtimePlatform: pulumi.Output<outputs.ecs.TaskDefinitionRuntimePlatform | undefined>;
|
|
278
310
|
/**
|
|
279
311
|
* Key-value map of resource tags.
|
|
280
312
|
*/
|
|
@@ -368,6 +400,10 @@ export interface TaskDefinitionState {
|
|
|
368
400
|
* Revision of the task in a particular family.
|
|
369
401
|
*/
|
|
370
402
|
revision?: pulumi.Input<number>;
|
|
403
|
+
/**
|
|
404
|
+
* Configuration block for runtimePlatform that containers in your task may use.
|
|
405
|
+
*/
|
|
406
|
+
runtimePlatform?: pulumi.Input<inputs.ecs.TaskDefinitionRuntimePlatform>;
|
|
371
407
|
/**
|
|
372
408
|
* Key-value map of resource tags.
|
|
373
409
|
*/
|
|
@@ -445,6 +481,10 @@ export interface TaskDefinitionArgs {
|
|
|
445
481
|
* Set of launch types required by the task. The valid values are `EC2` and `FARGATE`.
|
|
446
482
|
*/
|
|
447
483
|
requiresCompatibilities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
484
|
+
/**
|
|
485
|
+
* Configuration block for runtimePlatform that containers in your task may use.
|
|
486
|
+
*/
|
|
487
|
+
runtimePlatform?: pulumi.Input<inputs.ecs.TaskDefinitionRuntimePlatform>;
|
|
448
488
|
/**
|
|
449
489
|
* Key-value map of resource tags.
|
|
450
490
|
*/
|