@pulumi/aws-native 0.8.0 → 0.8.1-alpha.1638703271
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/amplifyuibuilder/component.d.ts +58 -0
- package/amplifyuibuilder/component.js +84 -0
- package/amplifyuibuilder/component.js.map +1 -0
- package/amplifyuibuilder/index.d.ts +2 -0
- package/amplifyuibuilder/index.js +37 -0
- package/amplifyuibuilder/index.js.map +1 -0
- package/amplifyuibuilder/theme.d.ts +46 -0
- package/amplifyuibuilder/theme.js +75 -0
- package/amplifyuibuilder/theme.js.map +1 -0
- package/apigateway/basePathMapping.d.ts +0 -24
- package/apigateway/basePathMapping.js.map +1 -1
- package/dynamodb/table.d.ts +2 -0
- package/dynamodb/table.js +2 -0
- package/dynamodb/table.js.map +1 -1
- package/ec2/index.d.ts +4 -0
- package/ec2/index.js +16 -0
- package/ec2/index.js.map +1 -1
- package/ec2/instance.d.ts +2 -0
- package/ec2/instance.js +2 -0
- package/ec2/instance.js.map +1 -1
- package/ec2/ipam.d.ts +72 -0
- package/ec2/ipam.js +72 -0
- package/ec2/ipam.js.map +1 -0
- package/ec2/ipamallocation.d.ts +57 -0
- package/ec2/ipamallocation.js +69 -0
- package/ec2/ipamallocation.js.map +1 -0
- package/ec2/ipampool.d.ts +164 -0
- package/ec2/ipampool.js +104 -0
- package/ec2/ipampool.js.map +1 -0
- package/ec2/ipamscope.d.ts +80 -0
- package/ec2/ipamscope.js +77 -0
- package/ec2/ipamscope.js.map +1 -0
- package/elasticache/replicationGroup.d.ts +2 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/emr/instanceGroupConfig.d.ts +2 -0
- package/emr/instanceGroupConfig.js +2 -0
- package/emr/instanceGroupConfig.js.map +1 -1
- package/fsx/fileSystem.d.ts +3 -0
- package/fsx/fileSystem.js +4 -0
- package/fsx/fileSystem.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/lex/botVersion.d.ts +2 -2
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/enums/ec2/index.d.ts +36 -0
- package/types/enums/ec2/index.js +21 -1
- package/types/enums/ec2/index.js.map +1 -1
- package/types/input.d.ts +187 -3
- package/types/output.d.ts +187 -3
package/ec2/ipam.d.ts
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Schema of AWS::EC2::IPAM Type
|
|
5
|
+
*/
|
|
6
|
+
export declare class IPAM extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing IPAM resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IPAM;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of IPAM. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is IPAM;
|
|
21
|
+
/**
|
|
22
|
+
* The Amazon Resource Name (ARN) of the IPAM.
|
|
23
|
+
*/
|
|
24
|
+
readonly arn: pulumi.Output<string>;
|
|
25
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Id of the IPAM.
|
|
28
|
+
*/
|
|
29
|
+
readonly ipamId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring
|
|
32
|
+
*/
|
|
33
|
+
readonly operatingRegions: pulumi.Output<outputs.ec2.IPAMIpamOperatingRegion[] | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The Id of the default scope for publicly routable IP space, created with this IPAM.
|
|
36
|
+
*/
|
|
37
|
+
readonly privateDefaultScopeId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The Id of the default scope for publicly routable IP space, created with this IPAM.
|
|
40
|
+
*/
|
|
41
|
+
readonly publicDefaultScopeId: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The number of scopes that currently exist in this IPAM.
|
|
44
|
+
*/
|
|
45
|
+
readonly scopeCount: pulumi.Output<number>;
|
|
46
|
+
/**
|
|
47
|
+
* An array of key-value pairs to apply to this resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly tags: pulumi.Output<outputs.ec2.IPAMTag[] | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a IPAM resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args?: IPAMArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a IPAM resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface IPAMArgs {
|
|
63
|
+
description?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring
|
|
66
|
+
*/
|
|
67
|
+
operatingRegions?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMIpamOperatingRegionArgs>[]>;
|
|
68
|
+
/**
|
|
69
|
+
* An array of key-value pairs to apply to this resource.
|
|
70
|
+
*/
|
|
71
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMTagArgs>[]>;
|
|
72
|
+
}
|
package/ec2/ipam.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.IPAM = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Schema of AWS::EC2::IPAM Type
|
|
10
|
+
*/
|
|
11
|
+
class IPAM extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a IPAM resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
inputs["description"] = args ? args.description : undefined;
|
|
24
|
+
inputs["operatingRegions"] = args ? args.operatingRegions : undefined;
|
|
25
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
26
|
+
inputs["arn"] = undefined /*out*/;
|
|
27
|
+
inputs["ipamId"] = undefined /*out*/;
|
|
28
|
+
inputs["privateDefaultScopeId"] = undefined /*out*/;
|
|
29
|
+
inputs["publicDefaultScopeId"] = undefined /*out*/;
|
|
30
|
+
inputs["scopeCount"] = undefined /*out*/;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
inputs["arn"] = undefined /*out*/;
|
|
34
|
+
inputs["description"] = undefined /*out*/;
|
|
35
|
+
inputs["ipamId"] = undefined /*out*/;
|
|
36
|
+
inputs["operatingRegions"] = undefined /*out*/;
|
|
37
|
+
inputs["privateDefaultScopeId"] = undefined /*out*/;
|
|
38
|
+
inputs["publicDefaultScopeId"] = undefined /*out*/;
|
|
39
|
+
inputs["scopeCount"] = undefined /*out*/;
|
|
40
|
+
inputs["tags"] = undefined /*out*/;
|
|
41
|
+
}
|
|
42
|
+
if (!opts.version) {
|
|
43
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
44
|
+
}
|
|
45
|
+
super(IPAM.__pulumiType, name, inputs, opts);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing IPAM resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, opts) {
|
|
56
|
+
return new IPAM(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of IPAM. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === IPAM.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.IPAM = IPAM;
|
|
70
|
+
/** @internal */
|
|
71
|
+
IPAM.__pulumiType = 'aws-native:ec2:IPAM';
|
|
72
|
+
//# sourceMappingURL=ipam.js.map
|
package/ec2/ipam.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipam.js","sourceRoot":"","sources":["../../ec2/ipam.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG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,CAAC,OAAO,CAAC;YACnD,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAzFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AAzBL,oBA2FC;AA9EG,gBAAgB;AACO,iBAAY,GAAG,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Schema of AWS::EC2::IPAMAllocation Type
|
|
4
|
+
*/
|
|
5
|
+
export declare class IPAMAllocation extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing IPAMAllocation resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IPAMAllocation;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of IPAMAllocation. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is IPAMAllocation;
|
|
20
|
+
readonly cidr: pulumi.Output<string | undefined>;
|
|
21
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Id of the allocation.
|
|
24
|
+
*/
|
|
25
|
+
readonly ipamPoolAllocationId: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Id of the IPAM Pool.
|
|
28
|
+
*/
|
|
29
|
+
readonly ipamPoolId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The desired netmask length of the allocation. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
|
|
32
|
+
*/
|
|
33
|
+
readonly netmaskLength: pulumi.Output<number | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a IPAMAllocation resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: IPAMAllocationArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a IPAMAllocation resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface IPAMAllocationArgs {
|
|
47
|
+
cidr?: pulumi.Input<string>;
|
|
48
|
+
description?: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Id of the IPAM Pool.
|
|
51
|
+
*/
|
|
52
|
+
ipamPoolId: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The desired netmask length of the allocation. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
|
|
55
|
+
*/
|
|
56
|
+
netmaskLength?: pulumi.Input<number>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.IPAMAllocation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Schema of AWS::EC2::IPAMAllocation Type
|
|
10
|
+
*/
|
|
11
|
+
class IPAMAllocation extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a IPAMAllocation resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.ipamPoolId === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'ipamPoolId'");
|
|
25
|
+
}
|
|
26
|
+
inputs["cidr"] = args ? args.cidr : undefined;
|
|
27
|
+
inputs["description"] = args ? args.description : undefined;
|
|
28
|
+
inputs["ipamPoolId"] = args ? args.ipamPoolId : undefined;
|
|
29
|
+
inputs["netmaskLength"] = args ? args.netmaskLength : undefined;
|
|
30
|
+
inputs["ipamPoolAllocationId"] = undefined /*out*/;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
inputs["cidr"] = undefined /*out*/;
|
|
34
|
+
inputs["description"] = undefined /*out*/;
|
|
35
|
+
inputs["ipamPoolAllocationId"] = undefined /*out*/;
|
|
36
|
+
inputs["ipamPoolId"] = undefined /*out*/;
|
|
37
|
+
inputs["netmaskLength"] = undefined /*out*/;
|
|
38
|
+
}
|
|
39
|
+
if (!opts.version) {
|
|
40
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
41
|
+
}
|
|
42
|
+
super(IPAMAllocation.__pulumiType, name, inputs, opts);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing IPAMAllocation resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, opts) {
|
|
53
|
+
return new IPAMAllocation(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of IPAMAllocation. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === IPAMAllocation.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.IPAMAllocation = IPAMAllocation;
|
|
67
|
+
/** @internal */
|
|
68
|
+
IPAMAllocation.__pulumiType = 'aws-native:ec2:IPAMAllocation';
|
|
69
|
+
//# sourceMappingURL=ipamallocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipamallocation.js","sourceRoot":"","sources":["../../ec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S,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAvED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AAzBL,wCAyEC;AA5DG,gBAAgB;AACO,2BAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Schema of AWS::EC2::IPAMPool Type
|
|
5
|
+
*/
|
|
6
|
+
export declare class IPAMPool extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing IPAMPool resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IPAMPool;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of IPAMPool. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is IPAMPool;
|
|
21
|
+
/**
|
|
22
|
+
* The address family of the address space in this pool. Either IPv4 or IPv6.
|
|
23
|
+
*/
|
|
24
|
+
readonly addressFamily: pulumi.Output<enums.ec2.IPAMPoolAddressFamily>;
|
|
25
|
+
/**
|
|
26
|
+
* The default netmask length for allocations made from this pool. This value is used when the netmask length of an allocation isn't specified.
|
|
27
|
+
*/
|
|
28
|
+
readonly allocationDefaultNetmaskLength: pulumi.Output<number | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum allowed netmask length for allocations made from this pool.
|
|
31
|
+
*/
|
|
32
|
+
readonly allocationMaxNetmaskLength: pulumi.Output<number | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The minimum allowed netmask length for allocations made from this pool.
|
|
35
|
+
*/
|
|
36
|
+
readonly allocationMinNetmaskLength: pulumi.Output<number | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* When specified, an allocation will not be allowed unless a resource has a matching set of tags.
|
|
39
|
+
*/
|
|
40
|
+
readonly allocationResourceTags: pulumi.Output<outputs.ec2.IPAMPoolTag[] | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The Amazon Resource Name (ARN) of the IPAM Pool.
|
|
43
|
+
*/
|
|
44
|
+
readonly arn: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Determines what to do if IPAM discovers resources that haven't been assigned an allocation. If set to true, an allocation will be made automatically.
|
|
47
|
+
*/
|
|
48
|
+
readonly autoImport: pulumi.Output<boolean | undefined>;
|
|
49
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The Amazon Resource Name (ARN) of the IPAM this pool is a part of.
|
|
52
|
+
*/
|
|
53
|
+
readonly ipamArn: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Id of the IPAM Pool.
|
|
56
|
+
*/
|
|
57
|
+
readonly ipamPoolId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The Amazon Resource Name (ARN) of the scope this pool is a part of.
|
|
60
|
+
*/
|
|
61
|
+
readonly ipamScopeArn: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The Id of the scope this pool is a part of.
|
|
64
|
+
*/
|
|
65
|
+
readonly ipamScopeId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Determines whether this scope contains publicly routable space or space for a private network
|
|
68
|
+
*/
|
|
69
|
+
readonly ipamScopeType: pulumi.Output<enums.ec2.IPAMPoolIpamScopeType>;
|
|
70
|
+
/**
|
|
71
|
+
* The region of this pool. If not set, this will default to "None" which will disable non-custom allocations. If the locale has been specified for the source pool, this value must match.
|
|
72
|
+
*/
|
|
73
|
+
readonly locale: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The depth of this pool in the source pool hierarchy.
|
|
76
|
+
*/
|
|
77
|
+
readonly poolDepth: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* A list of cidrs representing the address space available for allocation in this pool.
|
|
80
|
+
*/
|
|
81
|
+
readonly provisionedCidrs: pulumi.Output<outputs.ec2.IPAMPoolProvisionedCidr[] | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Determines whether or not address space from this pool is publicly advertised. Must be set if and only if the pool is IPv6.
|
|
84
|
+
*/
|
|
85
|
+
readonly publiclyAdvertisable: pulumi.Output<boolean | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The Id of this pool's source. If set, all space provisioned in this pool must be free space provisioned in the parent pool.
|
|
88
|
+
*/
|
|
89
|
+
readonly sourceIpamPoolId: pulumi.Output<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* The state of this pool. This can be one of the following values: "create-in-progress", "create-complete", "modify-in-progress", "modify-complete", "delete-in-progress", or "delete-complete"
|
|
92
|
+
*/
|
|
93
|
+
readonly state: pulumi.Output<enums.ec2.IPAMPoolState>;
|
|
94
|
+
/**
|
|
95
|
+
* An explanation of how the pool arrived at it current state.
|
|
96
|
+
*/
|
|
97
|
+
readonly stateMessage: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* An array of key-value pairs to apply to this resource.
|
|
100
|
+
*/
|
|
101
|
+
readonly tags: pulumi.Output<outputs.ec2.IPAMPoolTag[] | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a IPAMPool resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: IPAMPoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The set of arguments for constructing a IPAMPool resource.
|
|
113
|
+
*/
|
|
114
|
+
export interface IPAMPoolArgs {
|
|
115
|
+
/**
|
|
116
|
+
* The address family of the address space in this pool. Either IPv4 or IPv6.
|
|
117
|
+
*/
|
|
118
|
+
addressFamily: pulumi.Input<enums.ec2.IPAMPoolAddressFamily>;
|
|
119
|
+
/**
|
|
120
|
+
* The default netmask length for allocations made from this pool. This value is used when the netmask length of an allocation isn't specified.
|
|
121
|
+
*/
|
|
122
|
+
allocationDefaultNetmaskLength?: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* The maximum allowed netmask length for allocations made from this pool.
|
|
125
|
+
*/
|
|
126
|
+
allocationMaxNetmaskLength?: pulumi.Input<number>;
|
|
127
|
+
/**
|
|
128
|
+
* The minimum allowed netmask length for allocations made from this pool.
|
|
129
|
+
*/
|
|
130
|
+
allocationMinNetmaskLength?: pulumi.Input<number>;
|
|
131
|
+
/**
|
|
132
|
+
* When specified, an allocation will not be allowed unless a resource has a matching set of tags.
|
|
133
|
+
*/
|
|
134
|
+
allocationResourceTags?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMPoolTagArgs>[]>;
|
|
135
|
+
/**
|
|
136
|
+
* Determines what to do if IPAM discovers resources that haven't been assigned an allocation. If set to true, an allocation will be made automatically.
|
|
137
|
+
*/
|
|
138
|
+
autoImport?: pulumi.Input<boolean>;
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The Id of the scope this pool is a part of.
|
|
142
|
+
*/
|
|
143
|
+
ipamScopeId: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The region of this pool. If not set, this will default to "None" which will disable non-custom allocations. If the locale has been specified for the source pool, this value must match.
|
|
146
|
+
*/
|
|
147
|
+
locale?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* A list of cidrs representing the address space available for allocation in this pool.
|
|
150
|
+
*/
|
|
151
|
+
provisionedCidrs?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMPoolProvisionedCidrArgs>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Determines whether or not address space from this pool is publicly advertised. Must be set if and only if the pool is IPv6.
|
|
154
|
+
*/
|
|
155
|
+
publiclyAdvertisable?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* The Id of this pool's source. If set, all space provisioned in this pool must be free space provisioned in the parent pool.
|
|
158
|
+
*/
|
|
159
|
+
sourceIpamPoolId?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* An array of key-value pairs to apply to this resource.
|
|
162
|
+
*/
|
|
163
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMPoolTagArgs>[]>;
|
|
164
|
+
}
|
package/ec2/ipampool.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.IPAMPool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Schema of AWS::EC2::IPAMPool Type
|
|
10
|
+
*/
|
|
11
|
+
class IPAMPool extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a IPAMPool resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let inputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.addressFamily === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'addressFamily'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.ipamScopeId === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'ipamScopeId'");
|
|
28
|
+
}
|
|
29
|
+
inputs["addressFamily"] = args ? args.addressFamily : undefined;
|
|
30
|
+
inputs["allocationDefaultNetmaskLength"] = args ? args.allocationDefaultNetmaskLength : undefined;
|
|
31
|
+
inputs["allocationMaxNetmaskLength"] = args ? args.allocationMaxNetmaskLength : undefined;
|
|
32
|
+
inputs["allocationMinNetmaskLength"] = args ? args.allocationMinNetmaskLength : undefined;
|
|
33
|
+
inputs["allocationResourceTags"] = args ? args.allocationResourceTags : undefined;
|
|
34
|
+
inputs["autoImport"] = args ? args.autoImport : undefined;
|
|
35
|
+
inputs["description"] = args ? args.description : undefined;
|
|
36
|
+
inputs["ipamScopeId"] = args ? args.ipamScopeId : undefined;
|
|
37
|
+
inputs["locale"] = args ? args.locale : undefined;
|
|
38
|
+
inputs["provisionedCidrs"] = args ? args.provisionedCidrs : undefined;
|
|
39
|
+
inputs["publiclyAdvertisable"] = args ? args.publiclyAdvertisable : undefined;
|
|
40
|
+
inputs["sourceIpamPoolId"] = args ? args.sourceIpamPoolId : undefined;
|
|
41
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
42
|
+
inputs["arn"] = undefined /*out*/;
|
|
43
|
+
inputs["ipamArn"] = undefined /*out*/;
|
|
44
|
+
inputs["ipamPoolId"] = undefined /*out*/;
|
|
45
|
+
inputs["ipamScopeArn"] = undefined /*out*/;
|
|
46
|
+
inputs["ipamScopeType"] = undefined /*out*/;
|
|
47
|
+
inputs["poolDepth"] = undefined /*out*/;
|
|
48
|
+
inputs["state"] = undefined /*out*/;
|
|
49
|
+
inputs["stateMessage"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
inputs["addressFamily"] = undefined /*out*/;
|
|
53
|
+
inputs["allocationDefaultNetmaskLength"] = undefined /*out*/;
|
|
54
|
+
inputs["allocationMaxNetmaskLength"] = undefined /*out*/;
|
|
55
|
+
inputs["allocationMinNetmaskLength"] = undefined /*out*/;
|
|
56
|
+
inputs["allocationResourceTags"] = undefined /*out*/;
|
|
57
|
+
inputs["arn"] = undefined /*out*/;
|
|
58
|
+
inputs["autoImport"] = undefined /*out*/;
|
|
59
|
+
inputs["description"] = undefined /*out*/;
|
|
60
|
+
inputs["ipamArn"] = undefined /*out*/;
|
|
61
|
+
inputs["ipamPoolId"] = undefined /*out*/;
|
|
62
|
+
inputs["ipamScopeArn"] = undefined /*out*/;
|
|
63
|
+
inputs["ipamScopeId"] = undefined /*out*/;
|
|
64
|
+
inputs["ipamScopeType"] = undefined /*out*/;
|
|
65
|
+
inputs["locale"] = undefined /*out*/;
|
|
66
|
+
inputs["poolDepth"] = undefined /*out*/;
|
|
67
|
+
inputs["provisionedCidrs"] = undefined /*out*/;
|
|
68
|
+
inputs["publiclyAdvertisable"] = undefined /*out*/;
|
|
69
|
+
inputs["sourceIpamPoolId"] = undefined /*out*/;
|
|
70
|
+
inputs["state"] = undefined /*out*/;
|
|
71
|
+
inputs["stateMessage"] = undefined /*out*/;
|
|
72
|
+
inputs["tags"] = undefined /*out*/;
|
|
73
|
+
}
|
|
74
|
+
if (!opts.version) {
|
|
75
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
76
|
+
}
|
|
77
|
+
super(IPAMPool.__pulumiType, name, inputs, opts);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing IPAMPool resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
+
*/
|
|
87
|
+
static get(name, id, opts) {
|
|
88
|
+
return new IPAMPool(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Returns true if the given object is an instance of IPAMPool. This is designed to work even
|
|
92
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
+
*/
|
|
94
|
+
static isInstance(obj) {
|
|
95
|
+
if (obj === undefined || obj === null) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return obj['__pulumiType'] === IPAMPool.__pulumiType;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.IPAMPool = IPAMPool;
|
|
102
|
+
/** @internal */
|
|
103
|
+
IPAMPool.__pulumiType = 'aws-native:ec2:IPAMPool';
|
|
104
|
+
//# sourceMappingURL=ipampool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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ACnD,MAAM,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,MAAM,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpC,MAAM,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IA7KD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAzBL,4BA+KC;AAlKG,gBAAgB;AACO,qBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs, enums } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Schema of AWS::EC2::IPAMScope Type
|
|
5
|
+
*/
|
|
6
|
+
export declare class IPAMScope extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing IPAMScope resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IPAMScope;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of IPAMScope. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is IPAMScope;
|
|
21
|
+
/**
|
|
22
|
+
* The Amazon Resource Name (ARN) of the IPAM scope.
|
|
23
|
+
*/
|
|
24
|
+
readonly arn: pulumi.Output<string>;
|
|
25
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The Amazon Resource Name (ARN) of the IPAM this scope is a part of.
|
|
28
|
+
*/
|
|
29
|
+
readonly ipamArn: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The Id of the IPAM this scope is a part of.
|
|
32
|
+
*/
|
|
33
|
+
readonly ipamId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Id of the IPAM scope.
|
|
36
|
+
*/
|
|
37
|
+
readonly ipamScopeId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Determines whether this scope contains publicly routable space or space for a private network
|
|
40
|
+
*/
|
|
41
|
+
readonly ipamScopeType: pulumi.Output<enums.ec2.IPAMScopeIpamScopeType | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Is this one of the default scopes created with the IPAM.
|
|
44
|
+
*/
|
|
45
|
+
readonly isDefault: pulumi.Output<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* The number of pools that currently exist in this scope.
|
|
48
|
+
*/
|
|
49
|
+
readonly poolCount: pulumi.Output<number>;
|
|
50
|
+
/**
|
|
51
|
+
* An array of key-value pairs to apply to this resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<outputs.ec2.IPAMScopeTag[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a IPAMScope resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: IPAMScopeArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The set of arguments for constructing a IPAMScope resource.
|
|
65
|
+
*/
|
|
66
|
+
export interface IPAMScopeArgs {
|
|
67
|
+
description?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The Id of the IPAM this scope is a part of.
|
|
70
|
+
*/
|
|
71
|
+
ipamId: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Determines whether this scope contains publicly routable space or space for a private network
|
|
74
|
+
*/
|
|
75
|
+
ipamScopeType?: pulumi.Input<enums.ec2.IPAMScopeIpamScopeType>;
|
|
76
|
+
/**
|
|
77
|
+
* An array of key-value pairs to apply to this resource.
|
|
78
|
+
*/
|
|
79
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ec2.IPAMScopeTagArgs>[]>;
|
|
80
|
+
}
|