@pulumi/aws 4.29.0 → 4.31.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.
Files changed (170) hide show
  1. package/accessanalyzer/analyzer.d.ts +6 -0
  2. package/accessanalyzer/analyzer.js.map +1 -1
  3. package/account/alternativeContact.d.ts +133 -0
  4. package/account/alternativeContact.js +98 -0
  5. package/account/alternativeContact.js.map +1 -0
  6. package/account/index.d.ts +1 -0
  7. package/account/index.js +33 -0
  8. package/account/index.js.map +1 -0
  9. package/alb/getLoadBalancer.d.ts +2 -0
  10. package/alb/getLoadBalancer.js.map +1 -1
  11. package/alb/getTargetGroup.d.ts +1 -0
  12. package/alb/getTargetGroup.js.map +1 -1
  13. package/alb/loadBalancer.d.ts +27 -3
  14. package/alb/loadBalancer.js +4 -0
  15. package/alb/loadBalancer.js.map +1 -1
  16. package/alb/targetGroup.d.ts +12 -0
  17. package/alb/targetGroup.js +2 -0
  18. package/alb/targetGroup.js.map +1 -1
  19. package/applicationloadbalancing/getLoadBalancer.d.ts +2 -0
  20. package/applicationloadbalancing/getLoadBalancer.js.map +1 -1
  21. package/applicationloadbalancing/getTargetGroup.d.ts +1 -0
  22. package/applicationloadbalancing/getTargetGroup.js.map +1 -1
  23. package/applicationloadbalancing/loadBalancer.d.ts +27 -3
  24. package/applicationloadbalancing/loadBalancer.js +4 -0
  25. package/applicationloadbalancing/loadBalancer.js.map +1 -1
  26. package/applicationloadbalancing/targetGroup.d.ts +12 -0
  27. package/applicationloadbalancing/targetGroup.js +2 -0
  28. package/applicationloadbalancing/targetGroup.js.map +1 -1
  29. package/appstream/fleetStackAssociation.d.ts +91 -0
  30. package/appstream/fleetStackAssociation.js +90 -0
  31. package/appstream/fleetStackAssociation.js.map +1 -0
  32. package/appstream/index.d.ts +3 -0
  33. package/appstream/index.js +15 -0
  34. package/appstream/index.js.map +1 -1
  35. package/appstream/user.d.ts +149 -0
  36. package/appstream/user.js +96 -0
  37. package/appstream/user.js.map +1 -0
  38. package/appstream/userStackAssociation.d.ts +113 -0
  39. package/appstream/userStackAssociation.js +95 -0
  40. package/appstream/userStackAssociation.js.map +1 -0
  41. package/cfg/remediationConfiguration.d.ts +74 -20
  42. package/cfg/remediationConfiguration.js +17 -0
  43. package/cfg/remediationConfiguration.js.map +1 -1
  44. package/codecommit/approvalRuleTemplate.d.ts +144 -0
  45. package/codecommit/approvalRuleTemplate.js +100 -0
  46. package/codecommit/approvalRuleTemplate.js.map +1 -0
  47. package/codecommit/getApprovalRuleTemplate.d.ts +73 -0
  48. package/codecommit/getApprovalRuleTemplate.js +38 -0
  49. package/codecommit/getApprovalRuleTemplate.js.map +1 -0
  50. package/codecommit/index.d.ts +2 -0
  51. package/codecommit/index.js +6 -0
  52. package/codecommit/index.js.map +1 -1
  53. package/dlm/lifecyclePolicy.d.ts +67 -1
  54. package/dlm/lifecyclePolicy.js +67 -1
  55. package/dlm/lifecyclePolicy.js.map +1 -1
  56. package/ec2/defaultVpc.d.ts +16 -0
  57. package/ec2/defaultVpc.js +9 -1
  58. package/ec2/defaultVpc.js.map +1 -1
  59. package/ec2/getInstanceTypes.d.ts +70 -0
  60. package/ec2/getInstanceTypes.js +59 -0
  61. package/ec2/getInstanceTypes.js.map +1 -0
  62. package/ec2/getVpcIamPool.d.ts +151 -0
  63. package/ec2/getVpcIamPool.js +53 -0
  64. package/ec2/getVpcIamPool.js.map +1 -0
  65. package/ec2/index.d.ts +8 -0
  66. package/ec2/index.js +32 -0
  67. package/ec2/index.js.map +1 -1
  68. package/ec2/vpc.d.ts +69 -11
  69. package/ec2/vpc.js +36 -4
  70. package/ec2/vpc.js.map +1 -1
  71. package/ec2/vpcIpam.d.ts +178 -0
  72. package/ec2/vpcIpam.js +121 -0
  73. package/ec2/vpcIpam.js.map +1 -0
  74. package/ec2/vpcIpamPool.d.ts +299 -0
  75. package/ec2/vpcIpamPool.js +151 -0
  76. package/ec2/vpcIpamPool.js.map +1 -0
  77. package/ec2/vpcIpamPoolCidr.d.ts +136 -0
  78. package/ec2/vpcIpamPoolCidr.js +121 -0
  79. package/ec2/vpcIpamPoolCidr.js.map +1 -0
  80. package/ec2/vpcIpamPoolCidrAllocation.d.ts +150 -0
  81. package/ec2/vpcIpamPoolCidrAllocation.js +108 -0
  82. package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -0
  83. package/ec2/vpcIpamScope.d.ts +132 -0
  84. package/ec2/vpcIpamScope.js +99 -0
  85. package/ec2/vpcIpamScope.js.map +1 -0
  86. package/ec2/vpcIpv4CidrBlockAssociation.d.ts +28 -4
  87. package/ec2/vpcIpv4CidrBlockAssociation.js +4 -3
  88. package/ec2/vpcIpv4CidrBlockAssociation.js.map +1 -1
  89. package/ec2/vpcIpv6CidrBlockAssociation.d.ts +102 -0
  90. package/ec2/vpcIpv6CidrBlockAssociation.js +90 -0
  91. package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -0
  92. package/ecs/accountSettingDefault.d.ts +71 -0
  93. package/ecs/accountSettingDefault.js +67 -0
  94. package/ecs/accountSettingDefault.js.map +1 -0
  95. package/ecs/capacityProvider.d.ts +1 -1
  96. package/ecs/capacityProvider.js +1 -1
  97. package/ecs/index.d.ts +1 -0
  98. package/ecs/index.js +5 -0
  99. package/ecs/index.js.map +1 -1
  100. package/ecs/service.d.ts +30 -30
  101. package/elasticloadbalancing/getLoadBalancer.d.ts +1 -0
  102. package/elasticloadbalancing/getLoadBalancer.js.map +1 -1
  103. package/elasticloadbalancing/loadBalancer.d.ts +12 -0
  104. package/elasticloadbalancing/loadBalancer.js +2 -0
  105. package/elasticloadbalancing/loadBalancer.js.map +1 -1
  106. package/elasticloadbalancingv2/getLoadBalancer.d.ts +2 -0
  107. package/elasticloadbalancingv2/getLoadBalancer.js.map +1 -1
  108. package/elasticloadbalancingv2/getTargetGroup.d.ts +1 -0
  109. package/elasticloadbalancingv2/getTargetGroup.js.map +1 -1
  110. package/elasticloadbalancingv2/loadBalancer.d.ts +27 -3
  111. package/elasticloadbalancingv2/loadBalancer.js +4 -0
  112. package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
  113. package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
  114. package/elasticloadbalancingv2/targetGroup.js +2 -0
  115. package/elasticloadbalancingv2/targetGroup.js.map +1 -1
  116. package/elb/getLoadBalancer.d.ts +1 -0
  117. package/elb/getLoadBalancer.js.map +1 -1
  118. package/elb/loadBalancer.d.ts +12 -0
  119. package/elb/loadBalancer.js +2 -0
  120. package/elb/loadBalancer.js.map +1 -1
  121. package/fsx/index.d.ts +2 -0
  122. package/fsx/index.js +10 -0
  123. package/fsx/index.js.map +1 -1
  124. package/fsx/ontapStorageVirtualMachine.d.ts +210 -0
  125. package/fsx/ontapStorageVirtualMachine.js +134 -0
  126. package/fsx/ontapStorageVirtualMachine.js.map +1 -0
  127. package/fsx/ontapVolume.d.ts +240 -0
  128. package/fsx/ontapVolume.js +137 -0
  129. package/fsx/ontapVolume.js.map +1 -0
  130. package/imagebuilder/getImageRecipes.d.ts +67 -0
  131. package/imagebuilder/getImageRecipes.js +44 -0
  132. package/imagebuilder/getImageRecipes.js.map +1 -0
  133. package/imagebuilder/index.d.ts +1 -0
  134. package/imagebuilder/index.js +1 -0
  135. package/imagebuilder/index.js.map +1 -1
  136. package/index.d.ts +2 -1
  137. package/index.js +5 -3
  138. package/index.js.map +1 -1
  139. package/iot/thingGroup.d.ts +0 -3
  140. package/iot/thingGroup.js +1 -1
  141. package/iot/thingGroup.js.map +1 -1
  142. package/iot/thingType.d.ts +0 -6
  143. package/iot/thingType.js +1 -1
  144. package/iot/thingType.js.map +1 -1
  145. package/lambda/getFunction.d.ts +4 -0
  146. package/lambda/getFunction.js.map +1 -1
  147. package/lb/getLoadBalancer.d.ts +2 -0
  148. package/lb/getLoadBalancer.js.map +1 -1
  149. package/lb/getTargetGroup.d.ts +1 -0
  150. package/lb/getTargetGroup.js.map +1 -1
  151. package/lb/loadBalancer.d.ts +27 -3
  152. package/lb/loadBalancer.js +4 -0
  153. package/lb/loadBalancer.js.map +1 -1
  154. package/lb/targetGroup.d.ts +12 -0
  155. package/lb/targetGroup.js +2 -0
  156. package/lb/targetGroup.js.map +1 -1
  157. package/package.json +2 -2
  158. package/package.json.dev +1 -1
  159. package/quicksight/user.d.ts +6 -6
  160. package/synthetics/canary.d.ts +15 -3
  161. package/synthetics/canary.js +2 -0
  162. package/synthetics/canary.js.map +1 -1
  163. package/types/input.d.ts +1556 -126
  164. package/types/output.d.ts +1424 -18
  165. package/wafv2/ruleGroup.d.ts +15 -3
  166. package/wafv2/ruleGroup.js +2 -0
  167. package/wafv2/ruleGroup.js.map +1 -1
  168. package/wafv2/webAcl.d.ts +20 -7
  169. package/wafv2/webAcl.js +7 -4
  170. package/wafv2/webAcl.js.map +1 -1
@@ -0,0 +1,121 @@
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.VpcIpamPoolCidr = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provisions a CIDR from an IPAM address pool.
10
+ *
11
+ * > **NOTE:** Provisioning Public IPv4 or Public IPv6 require [steps outside the scope of this resource](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip). The resource accepts `message` and `signature` as part of the `cidrAuthorizationContext` attribute but those must be generated ahead of time. Public IPv6 CIDRs that are provisioned into a Pool with `publiclyAdvertisable = true` and all public IPv4 CIDRs also require creating a Route Origin Authorization (ROA) object in your Regional Internet Registry (RIR).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Basic usage:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const current = aws.getRegion({});
22
+ * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
23
+ * regionName: current.then(current => current.name),
24
+ * }]});
25
+ * const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("exampleVpcIpamPool", {
26
+ * addressFamily: "ipv4",
27
+ * ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
28
+ * locale: current.then(current => current.name),
29
+ * });
30
+ * const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("exampleVpcIpamPoolCidr", {
31
+ * ipamPoolId: exampleVpcIpamPool.id,
32
+ * cidr: "172.2.0.0/16",
33
+ * });
34
+ * ```
35
+ *
36
+ * Provision Public IPv6 Pool CIDRs:
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const current = aws.getRegion({});
43
+ * const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
44
+ * regionName: current.then(current => current.name),
45
+ * }]});
46
+ * const ipv6TestPublicVpcIpamPool = new aws.ec2.VpcIpamPool("ipv6TestPublicVpcIpamPool", {
47
+ * addressFamily: "ipv6",
48
+ * ipamScopeId: example.publicDefaultScopeId,
49
+ * locale: "us-east-1",
50
+ * description: "public ipv6",
51
+ * advertisable: false,
52
+ * });
53
+ * const ipv6TestPublicVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("ipv6TestPublicVpcIpamPoolCidr", {
54
+ * ipamPoolId: ipv6TestPublicVpcIpamPool.id,
55
+ * cidr: _var.ipv6_cidr,
56
+ * cidrAuthorizationContext: {
57
+ * message: _var.message,
58
+ * signature: _var.signature,
59
+ * },
60
+ * });
61
+ * ```
62
+ *
63
+ * ## Import
64
+ *
65
+ * IPAMs can be imported using the `<cidr>_<ipam-pool-id>`, e.g.
66
+ *
67
+ * ```sh
68
+ * $ pulumi import aws:ec2/vpcIpamPoolCidr:VpcIpamPoolCidr example 172.2.0.0/24_ipam-pool-0e634f5a1517cccdc
69
+ * ```
70
+ */
71
+ class VpcIpamPoolCidr extends pulumi.CustomResource {
72
+ constructor(name, argsOrState, opts) {
73
+ let inputs = {};
74
+ opts = opts || {};
75
+ if (opts.id) {
76
+ const state = argsOrState;
77
+ inputs["cidr"] = state ? state.cidr : undefined;
78
+ inputs["cidrAuthorizationContext"] = state ? state.cidrAuthorizationContext : undefined;
79
+ inputs["ipamPoolId"] = state ? state.ipamPoolId : undefined;
80
+ }
81
+ else {
82
+ const args = argsOrState;
83
+ if ((!args || args.ipamPoolId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'ipamPoolId'");
85
+ }
86
+ inputs["cidr"] = args ? args.cidr : undefined;
87
+ inputs["cidrAuthorizationContext"] = args ? args.cidrAuthorizationContext : undefined;
88
+ inputs["ipamPoolId"] = args ? args.ipamPoolId : undefined;
89
+ }
90
+ if (!opts.version) {
91
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
92
+ }
93
+ super(VpcIpamPoolCidr.__pulumiType, name, inputs, opts);
94
+ }
95
+ /**
96
+ * Get an existing VpcIpamPoolCidr resource's state with the given name, ID, and optional extra
97
+ * properties used to qualify the lookup.
98
+ *
99
+ * @param name The _unique_ name of the resulting resource.
100
+ * @param id The _unique_ provider ID of the resource to lookup.
101
+ * @param state Any extra arguments used during the lookup.
102
+ * @param opts Optional settings to control the behavior of the CustomResource.
103
+ */
104
+ static get(name, id, state, opts) {
105
+ return new VpcIpamPoolCidr(name, state, Object.assign(Object.assign({}, opts), { id: id }));
106
+ }
107
+ /**
108
+ * Returns true if the given object is an instance of VpcIpamPoolCidr. This is designed to work even
109
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
110
+ */
111
+ static isInstance(obj) {
112
+ if (obj === undefined || obj === null) {
113
+ return false;
114
+ }
115
+ return obj['__pulumiType'] === VpcIpamPoolCidr.__pulumiType;
116
+ }
117
+ }
118
+ exports.VpcIpamPoolCidr = VpcIpamPoolCidr;
119
+ /** @internal */
120
+ VpcIpamPoolCidr.__pulumiType = 'aws:ec2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C9C,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IArED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAuEC;AAzDG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
@@ -0,0 +1,150 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Allocates (reserves) a CIDR from an IPAM address pool, preventing usage by IPAM. Only works for private IPv4.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * Basic usage:
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const current = aws.getRegion({});
14
+ * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
15
+ * regionName: current.then(current => current.name),
16
+ * }]});
17
+ * const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("exampleVpcIpamPool", {
18
+ * addressFamily: "ipv4",
19
+ * ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
20
+ * locale: current.then(current => current.name),
21
+ * });
22
+ * const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("exampleVpcIpamPoolCidr", {
23
+ * ipamPoolId: exampleVpcIpamPool.id,
24
+ * cidr: "172.2.0.0/16",
25
+ * });
26
+ * const exampleVpcIpamPoolCidrAllocation = new aws.ec2.VpcIpamPoolCidrAllocation("exampleVpcIpamPoolCidrAllocation", {
27
+ * ipamPoolId: exampleVpcIpamPool.id,
28
+ * cidr: "172.2.0.0/24",
29
+ * }, {
30
+ * dependsOn: [exampleVpcIpamPoolCidr],
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * IPAMs can be imported using the `allocation id`, e.g.
37
+ *
38
+ * ```sh
39
+ * $ pulumi import aws:ec2/vpcIpamPoolCidrAllocation:VpcIpamPoolCidrAllocation example
40
+ * ```
41
+ */
42
+ export declare class VpcIpamPoolCidrAllocation extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing VpcIpamPoolCidrAllocation resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcIpamPoolCidrAllocationState, opts?: pulumi.CustomResourceOptions): VpcIpamPoolCidrAllocation;
53
+ /**
54
+ * Returns true if the given object is an instance of VpcIpamPoolCidrAllocation. 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: any): obj is VpcIpamPoolCidrAllocation;
58
+ /**
59
+ * The CIDR you want to assign to the pool.
60
+ */
61
+ readonly cidr: pulumi.Output<string>;
62
+ /**
63
+ * The description for the allocation.
64
+ */
65
+ readonly description: pulumi.Output<string | undefined>;
66
+ readonly ipamPoolAllocationId: pulumi.Output<string>;
67
+ /**
68
+ * The ID of the pool to which you want to assign a CIDR.
69
+ */
70
+ readonly ipamPoolId: pulumi.Output<string>;
71
+ /**
72
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool.
73
+ */
74
+ readonly netmaskLength: pulumi.Output<number | undefined>;
75
+ /**
76
+ * The ID of the resource.
77
+ */
78
+ readonly resourceId: pulumi.Output<string>;
79
+ /**
80
+ * The owner of the resource.
81
+ */
82
+ readonly resourceOwner: pulumi.Output<string>;
83
+ /**
84
+ * The type of the resource.
85
+ */
86
+ readonly resourceType: pulumi.Output<string>;
87
+ /**
88
+ * Create a VpcIpamPoolCidrAllocation resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: VpcIpamPoolCidrAllocationArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering VpcIpamPoolCidrAllocation resources.
98
+ */
99
+ export interface VpcIpamPoolCidrAllocationState {
100
+ /**
101
+ * The CIDR you want to assign to the pool.
102
+ */
103
+ cidr?: pulumi.Input<string>;
104
+ /**
105
+ * The description for the allocation.
106
+ */
107
+ description?: pulumi.Input<string>;
108
+ ipamPoolAllocationId?: pulumi.Input<string>;
109
+ /**
110
+ * The ID of the pool to which you want to assign a CIDR.
111
+ */
112
+ ipamPoolId?: pulumi.Input<string>;
113
+ /**
114
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool.
115
+ */
116
+ netmaskLength?: pulumi.Input<number>;
117
+ /**
118
+ * The ID of the resource.
119
+ */
120
+ resourceId?: pulumi.Input<string>;
121
+ /**
122
+ * The owner of the resource.
123
+ */
124
+ resourceOwner?: pulumi.Input<string>;
125
+ /**
126
+ * The type of the resource.
127
+ */
128
+ resourceType?: pulumi.Input<string>;
129
+ }
130
+ /**
131
+ * The set of arguments for constructing a VpcIpamPoolCidrAllocation resource.
132
+ */
133
+ export interface VpcIpamPoolCidrAllocationArgs {
134
+ /**
135
+ * The CIDR you want to assign to the pool.
136
+ */
137
+ cidr?: pulumi.Input<string>;
138
+ /**
139
+ * The description for the allocation.
140
+ */
141
+ description?: pulumi.Input<string>;
142
+ /**
143
+ * The ID of the pool to which you want to assign a CIDR.
144
+ */
145
+ ipamPoolId: pulumi.Input<string>;
146
+ /**
147
+ * The netmask length of the CIDR you would like to allocate to the IPAM pool.
148
+ */
149
+ netmaskLength?: pulumi.Input<number>;
150
+ }
@@ -0,0 +1,108 @@
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.VpcIpamPoolCidrAllocation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Allocates (reserves) a CIDR from an IPAM address pool, preventing usage by IPAM. Only works for private IPv4.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Basic usage:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const current = aws.getRegion({});
20
+ * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
21
+ * regionName: current.then(current => current.name),
22
+ * }]});
23
+ * const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("exampleVpcIpamPool", {
24
+ * addressFamily: "ipv4",
25
+ * ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
26
+ * locale: current.then(current => current.name),
27
+ * });
28
+ * const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("exampleVpcIpamPoolCidr", {
29
+ * ipamPoolId: exampleVpcIpamPool.id,
30
+ * cidr: "172.2.0.0/16",
31
+ * });
32
+ * const exampleVpcIpamPoolCidrAllocation = new aws.ec2.VpcIpamPoolCidrAllocation("exampleVpcIpamPoolCidrAllocation", {
33
+ * ipamPoolId: exampleVpcIpamPool.id,
34
+ * cidr: "172.2.0.0/24",
35
+ * }, {
36
+ * dependsOn: [exampleVpcIpamPoolCidr],
37
+ * });
38
+ * ```
39
+ *
40
+ * ## Import
41
+ *
42
+ * IPAMs can be imported using the `allocation id`, e.g.
43
+ *
44
+ * ```sh
45
+ * $ pulumi import aws:ec2/vpcIpamPoolCidrAllocation:VpcIpamPoolCidrAllocation example
46
+ * ```
47
+ */
48
+ class VpcIpamPoolCidrAllocation extends pulumi.CustomResource {
49
+ constructor(name, argsOrState, opts) {
50
+ let inputs = {};
51
+ opts = opts || {};
52
+ if (opts.id) {
53
+ const state = argsOrState;
54
+ inputs["cidr"] = state ? state.cidr : undefined;
55
+ inputs["description"] = state ? state.description : undefined;
56
+ inputs["ipamPoolAllocationId"] = state ? state.ipamPoolAllocationId : undefined;
57
+ inputs["ipamPoolId"] = state ? state.ipamPoolId : undefined;
58
+ inputs["netmaskLength"] = state ? state.netmaskLength : undefined;
59
+ inputs["resourceId"] = state ? state.resourceId : undefined;
60
+ inputs["resourceOwner"] = state ? state.resourceOwner : undefined;
61
+ inputs["resourceType"] = state ? state.resourceType : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ if ((!args || args.ipamPoolId === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'ipamPoolId'");
67
+ }
68
+ inputs["cidr"] = args ? args.cidr : undefined;
69
+ inputs["description"] = args ? args.description : undefined;
70
+ inputs["ipamPoolId"] = args ? args.ipamPoolId : undefined;
71
+ inputs["netmaskLength"] = args ? args.netmaskLength : undefined;
72
+ inputs["ipamPoolAllocationId"] = undefined /*out*/;
73
+ inputs["resourceId"] = undefined /*out*/;
74
+ inputs["resourceOwner"] = undefined /*out*/;
75
+ inputs["resourceType"] = undefined /*out*/;
76
+ }
77
+ if (!opts.version) {
78
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
79
+ }
80
+ super(VpcIpamPoolCidrAllocation.__pulumiType, name, inputs, opts);
81
+ }
82
+ /**
83
+ * Get an existing VpcIpamPoolCidrAllocation resource's state with the given name, ID, and optional extra
84
+ * properties used to qualify the lookup.
85
+ *
86
+ * @param name The _unique_ name of the resulting resource.
87
+ * @param id The _unique_ provider ID of the resource to lookup.
88
+ * @param state Any extra arguments used during the lookup.
89
+ * @param opts Optional settings to control the behavior of the CustomResource.
90
+ */
91
+ static get(name, id, state, opts) {
92
+ return new VpcIpamPoolCidrAllocation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
93
+ }
94
+ /**
95
+ * Returns true if the given object is an instance of VpcIpamPoolCidrAllocation. This is designed to work even
96
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
+ */
98
+ static isInstance(obj) {
99
+ if (obj === undefined || obj === null) {
100
+ return false;
101
+ }
102
+ return obj['__pulumiType'] === VpcIpamPoolCidrAllocation.__pulumiType;
103
+ }
104
+ }
105
+ exports.VpcIpamPoolCidrAllocation = VpcIpamPoolCidrAllocation;
106
+ /** @internal */
107
+ VpcIpamPoolCidrAllocation.__pulumiType = 'aws:ec2/vpcIpamPoolCidrAllocation:VpcIpamPoolCidrAllocation';
108
+ //# sourceMappingURL=vpcIpamPoolCidrAllocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vpcIpamPoolCidrAllocation.js","sourceRoot":"","sources":["../../ec2/vpcIpamPoolCidrAllocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;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kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DAkGC;AApFG,gBAAgB;AACO,sCAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,132 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates a scope for AWS IPAM.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * Basic usage:
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const current = aws.getRegion({});
14
+ * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
15
+ * regionName: current.then(current => current.name),
16
+ * }]});
17
+ * const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("exampleVpcIpamScope", {
18
+ * ipamId: exampleVpcIpam.id,
19
+ * description: "Another Scope",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * IPAMs can be imported using the `scope_id`, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:ec2/vpcIpamScope:VpcIpamScope example ipam-scope-0513c69f283d11dfb
29
+ * ```
30
+ */
31
+ export declare class VpcIpamScope extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing VpcIpamScope resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcIpamScopeState, opts?: pulumi.CustomResourceOptions): VpcIpamScope;
42
+ /**
43
+ * Returns true if the given object is an instance of VpcIpamScope. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is VpcIpamScope;
47
+ readonly arn: pulumi.Output<string>;
48
+ /**
49
+ * A description for the scope you're creating.
50
+ */
51
+ readonly description: pulumi.Output<string | undefined>;
52
+ /**
53
+ * The ARN of the IPAM for which you're creating this scope.
54
+ */
55
+ readonly ipamArn: pulumi.Output<string>;
56
+ /**
57
+ * The ID of the IPAM for which you're creating this scope.
58
+ */
59
+ readonly ipamId: pulumi.Output<string>;
60
+ readonly ipamScopeType: pulumi.Output<string>;
61
+ /**
62
+ * Defines if the scope is the default scope or not.
63
+ */
64
+ readonly isDefault: pulumi.Output<boolean>;
65
+ /**
66
+ * Count of pools under this scope
67
+ */
68
+ readonly poolCount: pulumi.Output<number>;
69
+ readonly tags: pulumi.Output<{
70
+ [key: string]: string;
71
+ } | undefined>;
72
+ readonly tagsAll: pulumi.Output<{
73
+ [key: string]: string;
74
+ }>;
75
+ /**
76
+ * Create a VpcIpamScope resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name: string, args: VpcIpamScopeArgs, opts?: pulumi.CustomResourceOptions);
83
+ }
84
+ /**
85
+ * Input properties used for looking up and filtering VpcIpamScope resources.
86
+ */
87
+ export interface VpcIpamScopeState {
88
+ arn?: pulumi.Input<string>;
89
+ /**
90
+ * A description for the scope you're creating.
91
+ */
92
+ description?: pulumi.Input<string>;
93
+ /**
94
+ * The ARN of the IPAM for which you're creating this scope.
95
+ */
96
+ ipamArn?: pulumi.Input<string>;
97
+ /**
98
+ * The ID of the IPAM for which you're creating this scope.
99
+ */
100
+ ipamId?: pulumi.Input<string>;
101
+ ipamScopeType?: pulumi.Input<string>;
102
+ /**
103
+ * Defines if the scope is the default scope or not.
104
+ */
105
+ isDefault?: pulumi.Input<boolean>;
106
+ /**
107
+ * Count of pools under this scope
108
+ */
109
+ poolCount?: pulumi.Input<number>;
110
+ tags?: pulumi.Input<{
111
+ [key: string]: pulumi.Input<string>;
112
+ }>;
113
+ tagsAll?: pulumi.Input<{
114
+ [key: string]: pulumi.Input<string>;
115
+ }>;
116
+ }
117
+ /**
118
+ * The set of arguments for constructing a VpcIpamScope resource.
119
+ */
120
+ export interface VpcIpamScopeArgs {
121
+ /**
122
+ * A description for the scope you're creating.
123
+ */
124
+ description?: pulumi.Input<string>;
125
+ /**
126
+ * The ID of the IPAM for which you're creating this scope.
127
+ */
128
+ ipamId: pulumi.Input<string>;
129
+ tags?: pulumi.Input<{
130
+ [key: string]: pulumi.Input<string>;
131
+ }>;
132
+ }
@@ -0,0 +1,99 @@
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.VpcIpamScope = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates a scope for AWS IPAM.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Basic usage:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const current = aws.getRegion({});
20
+ * const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
21
+ * regionName: current.then(current => current.name),
22
+ * }]});
23
+ * const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("exampleVpcIpamScope", {
24
+ * ipamId: exampleVpcIpam.id,
25
+ * description: "Another Scope",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * IPAMs can be imported using the `scope_id`, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import aws:ec2/vpcIpamScope:VpcIpamScope example ipam-scope-0513c69f283d11dfb
35
+ * ```
36
+ */
37
+ class VpcIpamScope extends pulumi.CustomResource {
38
+ constructor(name, argsOrState, opts) {
39
+ let inputs = {};
40
+ opts = opts || {};
41
+ if (opts.id) {
42
+ const state = argsOrState;
43
+ inputs["arn"] = state ? state.arn : undefined;
44
+ inputs["description"] = state ? state.description : undefined;
45
+ inputs["ipamArn"] = state ? state.ipamArn : undefined;
46
+ inputs["ipamId"] = state ? state.ipamId : undefined;
47
+ inputs["ipamScopeType"] = state ? state.ipamScopeType : undefined;
48
+ inputs["isDefault"] = state ? state.isDefault : undefined;
49
+ inputs["poolCount"] = state ? state.poolCount : undefined;
50
+ inputs["tags"] = state ? state.tags : undefined;
51
+ inputs["tagsAll"] = state ? state.tagsAll : undefined;
52
+ }
53
+ else {
54
+ const args = argsOrState;
55
+ if ((!args || args.ipamId === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'ipamId'");
57
+ }
58
+ inputs["description"] = args ? args.description : undefined;
59
+ inputs["ipamId"] = args ? args.ipamId : undefined;
60
+ inputs["tags"] = args ? args.tags : undefined;
61
+ inputs["arn"] = undefined /*out*/;
62
+ inputs["ipamArn"] = undefined /*out*/;
63
+ inputs["ipamScopeType"] = undefined /*out*/;
64
+ inputs["isDefault"] = undefined /*out*/;
65
+ inputs["poolCount"] = undefined /*out*/;
66
+ inputs["tagsAll"] = undefined /*out*/;
67
+ }
68
+ if (!opts.version) {
69
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
70
+ }
71
+ super(VpcIpamScope.__pulumiType, name, inputs, opts);
72
+ }
73
+ /**
74
+ * Get an existing VpcIpamScope resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param state Any extra arguments used during the lookup.
80
+ * @param opts Optional settings to control the behavior of the CustomResource.
81
+ */
82
+ static get(name, id, state, opts) {
83
+ return new VpcIpamScope(name, state, Object.assign(Object.assign({}, opts), { id: id }));
84
+ }
85
+ /**
86
+ * Returns true if the given object is an instance of VpcIpamScope. This is designed to work even
87
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
+ */
89
+ static isInstance(obj) {
90
+ if (obj === undefined || obj === null) {
91
+ return false;
92
+ }
93
+ return obj['__pulumiType'] === VpcIpamScope.__pulumiType;
94
+ }
95
+ }
96
+ exports.VpcIpamScope = VpcIpamScope;
97
+ /** @internal */
98
+ VpcIpamScope.__pulumiType = 'aws:ec2/vpcIpamScope:VpcIpamScope';
99
+ //# sourceMappingURL=vpcIpamScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vpcIpamScope.js","sourceRoot":"","sources":["../../ec2/vpcIpamScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA6DnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAA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