@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
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage an [AWS Detective Graph](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateGraph.html). As an AWS account may own only one Detective graph per region, provisioning multiple Detective graphs requires a separate provider configuration for each graph.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.detective.Graph("example", {
|
|
12
|
+
* tags: {
|
|
13
|
+
* Name: "example-detective-graph",
|
|
14
|
+
* },
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* `aws_detective_graph` can be imported using the arn, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Graph extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Graph resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GraphState, opts?: pulumi.CustomResourceOptions): Graph;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Graph. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is Graph;
|
|
42
|
+
/**
|
|
43
|
+
* Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdTime: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* ARN of the Detective Graph.
|
|
48
|
+
*/
|
|
49
|
+
readonly graphArn: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<{
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
readonly tagsAll: pulumi.Output<{
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a Graph resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args?: GraphArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering Graph resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface GraphState {
|
|
72
|
+
/**
|
|
73
|
+
* Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
|
|
74
|
+
*/
|
|
75
|
+
createdTime?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* ARN of the Detective Graph.
|
|
78
|
+
*/
|
|
79
|
+
graphArn?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
82
|
+
*/
|
|
83
|
+
tags?: pulumi.Input<{
|
|
84
|
+
[key: string]: pulumi.Input<string>;
|
|
85
|
+
}>;
|
|
86
|
+
tagsAll?: pulumi.Input<{
|
|
87
|
+
[key: string]: pulumi.Input<string>;
|
|
88
|
+
}>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a Graph resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface GraphArgs {
|
|
94
|
+
/**
|
|
95
|
+
* A map of tags to assign to the instance. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
96
|
+
*/
|
|
97
|
+
tags?: pulumi.Input<{
|
|
98
|
+
[key: string]: pulumi.Input<string>;
|
|
99
|
+
}>;
|
|
100
|
+
tagsAll?: pulumi.Input<{
|
|
101
|
+
[key: string]: pulumi.Input<string>;
|
|
102
|
+
}>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.Graph = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage an [AWS Detective Graph](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateGraph.html). As an AWS account may own only one Detective graph per region, provisioning multiple Detective graphs requires a separate provider configuration for each graph.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.detective.Graph("example", {
|
|
18
|
+
* tags: {
|
|
19
|
+
* Name: "example-detective-graph",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* `aws_detective_graph` can be imported using the arn, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class Graph extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let inputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
inputs["createdTime"] = state ? state.createdTime : undefined;
|
|
39
|
+
inputs["graphArn"] = state ? state.graphArn : undefined;
|
|
40
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
41
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
46
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
47
|
+
inputs["createdTime"] = undefined /*out*/;
|
|
48
|
+
inputs["graphArn"] = undefined /*out*/;
|
|
49
|
+
}
|
|
50
|
+
if (!opts.version) {
|
|
51
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
52
|
+
}
|
|
53
|
+
super(Graph.__pulumiType, name, inputs, opts);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing Graph resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, state, opts) {
|
|
65
|
+
return new Graph(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of Graph. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === Graph.__pulumiType;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.Graph = Graph;
|
|
79
|
+
/** @internal */
|
|
80
|
+
Graph.__pulumiType = 'aws:detective/graph:Graph';
|
|
81
|
+
//# sourceMappingURL=graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../detective/graph.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAkD5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,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Ac,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAuEC;AAzDG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./graph";
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./graph"), exports);
|
|
19
|
+
// Import resources to register:
|
|
20
|
+
const graph_1 = require("./graph");
|
|
21
|
+
const _module = {
|
|
22
|
+
version: utilities.getVersion(),
|
|
23
|
+
construct: (name, type, urn) => {
|
|
24
|
+
switch (type) {
|
|
25
|
+
case "aws:detective/graph:Graph":
|
|
26
|
+
return new graph_1.Graph(name, undefined, { urn });
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`unknown resource type ${type}`);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
pulumi.runtime.registerResourceModule("aws", "detective/graph", _module);
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../detective/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0CAAwB;AAExB,gCAAgC;AAChC,mCAAgC;AAEhC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
package/dynamodb/getTable.d.ts
CHANGED
package/dynamodb/getTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTable.js","sourceRoot":"","sources":["../../dynamodb/getTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4BAaC;
|
|
1
|
+
{"version":3,"file":"getTable.js","sourceRoot":"","sources":["../../dynamodb/getTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4BAaC;AA4CD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/dynamodb/table.d.ts
CHANGED
|
@@ -177,6 +177,10 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
177
177
|
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
178
178
|
*/
|
|
179
179
|
readonly streamViewType: pulumi.Output<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The storage class of the table. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
|
182
|
+
*/
|
|
183
|
+
readonly tableClass: pulumi.Output<string | undefined>;
|
|
180
184
|
/**
|
|
181
185
|
* A map of tags to populate on the created table. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
182
186
|
*/
|
|
@@ -282,6 +286,10 @@ export interface TableState {
|
|
|
282
286
|
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
283
287
|
*/
|
|
284
288
|
streamViewType?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* The storage class of the table. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
|
291
|
+
*/
|
|
292
|
+
tableClass?: pulumi.Input<string>;
|
|
285
293
|
/**
|
|
286
294
|
* A map of tags to populate on the created table. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
287
295
|
*/
|
|
@@ -364,6 +372,10 @@ export interface TableArgs {
|
|
|
364
372
|
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
365
373
|
*/
|
|
366
374
|
streamViewType?: pulumi.Input<string>;
|
|
375
|
+
/**
|
|
376
|
+
* The storage class of the table. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
|
377
|
+
*/
|
|
378
|
+
tableClass?: pulumi.Input<string>;
|
|
367
379
|
/**
|
|
368
380
|
* A map of tags to populate on the created table. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
369
381
|
*/
|
package/dynamodb/table.js
CHANGED
|
@@ -116,6 +116,7 @@ class Table extends pulumi.CustomResource {
|
|
|
116
116
|
inputs["streamEnabled"] = state ? state.streamEnabled : undefined;
|
|
117
117
|
inputs["streamLabel"] = state ? state.streamLabel : undefined;
|
|
118
118
|
inputs["streamViewType"] = state ? state.streamViewType : undefined;
|
|
119
|
+
inputs["tableClass"] = state ? state.tableClass : undefined;
|
|
119
120
|
inputs["tags"] = state ? state.tags : undefined;
|
|
120
121
|
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
121
122
|
inputs["ttl"] = state ? state.ttl : undefined;
|
|
@@ -142,6 +143,7 @@ class Table extends pulumi.CustomResource {
|
|
|
142
143
|
inputs["serverSideEncryption"] = args ? args.serverSideEncryption : undefined;
|
|
143
144
|
inputs["streamEnabled"] = args ? args.streamEnabled : undefined;
|
|
144
145
|
inputs["streamViewType"] = args ? args.streamViewType : undefined;
|
|
146
|
+
inputs["tableClass"] = args ? args.tableClass : undefined;
|
|
145
147
|
inputs["tags"] = args ? args.tags : undefined;
|
|
146
148
|
inputs["ttl"] = args ? args.ttl : undefined;
|
|
147
149
|
inputs["writeCapacity"] = args ? args.writeCapacity : undefined;
|
package/dynamodb/table.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../dynamodb/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ClC,MAAM,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxC,MAAM,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,MAAM,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzC;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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IA5LD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA8LC;AAhLG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/ec2/defaultVpc.d.ts
CHANGED
|
@@ -95,6 +95,8 @@ export declare class DefaultVpc extends pulumi.CustomResource {
|
|
|
95
95
|
* Tenancy of instances spin up within VPC.
|
|
96
96
|
*/
|
|
97
97
|
readonly instanceTenancy: pulumi.Output<string>;
|
|
98
|
+
readonly ipv4IpamPoolId: pulumi.Output<string | undefined>;
|
|
99
|
+
readonly ipv4NetmaskLength: pulumi.Output<number | undefined>;
|
|
98
100
|
/**
|
|
99
101
|
* The association ID for the IPv6 CIDR block of the VPC
|
|
100
102
|
*/
|
|
@@ -103,6 +105,8 @@ export declare class DefaultVpc extends pulumi.CustomResource {
|
|
|
103
105
|
* The IPv6 CIDR block of the VPC
|
|
104
106
|
*/
|
|
105
107
|
readonly ipv6CidrBlock: pulumi.Output<string>;
|
|
108
|
+
readonly ipv6IpamPoolId: pulumi.Output<string | undefined>;
|
|
109
|
+
readonly ipv6NetmaskLength: pulumi.Output<number | undefined>;
|
|
106
110
|
/**
|
|
107
111
|
* The ID of the main route table associated with
|
|
108
112
|
* this VPC. Note that you can change a VPC's main route table by using an
|
|
@@ -180,6 +184,8 @@ export interface DefaultVpcState {
|
|
|
180
184
|
* Tenancy of instances spin up within VPC.
|
|
181
185
|
*/
|
|
182
186
|
instanceTenancy?: pulumi.Input<string>;
|
|
187
|
+
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
188
|
+
ipv4NetmaskLength?: pulumi.Input<number>;
|
|
183
189
|
/**
|
|
184
190
|
* The association ID for the IPv6 CIDR block of the VPC
|
|
185
191
|
*/
|
|
@@ -188,6 +194,8 @@ export interface DefaultVpcState {
|
|
|
188
194
|
* The IPv6 CIDR block of the VPC
|
|
189
195
|
*/
|
|
190
196
|
ipv6CidrBlock?: pulumi.Input<string>;
|
|
197
|
+
ipv6IpamPoolId?: pulumi.Input<string>;
|
|
198
|
+
ipv6NetmaskLength?: pulumi.Input<number>;
|
|
191
199
|
/**
|
|
192
200
|
* The ID of the main route table associated with
|
|
193
201
|
* this VPC. Note that you can change a VPC's main route table by using an
|
|
@@ -227,6 +235,14 @@ export interface DefaultVpcArgs {
|
|
|
227
235
|
* A boolean flag to enable/disable DNS support in the VPC. Defaults true.
|
|
228
236
|
*/
|
|
229
237
|
enableDnsSupport?: pulumi.Input<boolean>;
|
|
238
|
+
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
239
|
+
ipv4NetmaskLength?: pulumi.Input<number>;
|
|
240
|
+
/**
|
|
241
|
+
* The IPv6 CIDR block of the VPC
|
|
242
|
+
*/
|
|
243
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
244
|
+
ipv6IpamPoolId?: pulumi.Input<string>;
|
|
245
|
+
ipv6NetmaskLength?: pulumi.Input<number>;
|
|
230
246
|
/**
|
|
231
247
|
* A map of tags to assign to the resource.
|
|
232
248
|
*/
|
package/ec2/defaultVpc.js
CHANGED
|
@@ -58,8 +58,12 @@ class DefaultVpc extends pulumi.CustomResource {
|
|
|
58
58
|
inputs["enableDnsHostnames"] = state ? state.enableDnsHostnames : undefined;
|
|
59
59
|
inputs["enableDnsSupport"] = state ? state.enableDnsSupport : undefined;
|
|
60
60
|
inputs["instanceTenancy"] = state ? state.instanceTenancy : undefined;
|
|
61
|
+
inputs["ipv4IpamPoolId"] = state ? state.ipv4IpamPoolId : undefined;
|
|
62
|
+
inputs["ipv4NetmaskLength"] = state ? state.ipv4NetmaskLength : undefined;
|
|
61
63
|
inputs["ipv6AssociationId"] = state ? state.ipv6AssociationId : undefined;
|
|
62
64
|
inputs["ipv6CidrBlock"] = state ? state.ipv6CidrBlock : undefined;
|
|
65
|
+
inputs["ipv6IpamPoolId"] = state ? state.ipv6IpamPoolId : undefined;
|
|
66
|
+
inputs["ipv6NetmaskLength"] = state ? state.ipv6NetmaskLength : undefined;
|
|
63
67
|
inputs["mainRouteTableId"] = state ? state.mainRouteTableId : undefined;
|
|
64
68
|
inputs["ownerId"] = state ? state.ownerId : undefined;
|
|
65
69
|
inputs["tags"] = state ? state.tags : undefined;
|
|
@@ -71,6 +75,11 @@ class DefaultVpc extends pulumi.CustomResource {
|
|
|
71
75
|
inputs["enableClassiclinkDnsSupport"] = args ? args.enableClassiclinkDnsSupport : undefined;
|
|
72
76
|
inputs["enableDnsHostnames"] = args ? args.enableDnsHostnames : undefined;
|
|
73
77
|
inputs["enableDnsSupport"] = args ? args.enableDnsSupport : undefined;
|
|
78
|
+
inputs["ipv4IpamPoolId"] = args ? args.ipv4IpamPoolId : undefined;
|
|
79
|
+
inputs["ipv4NetmaskLength"] = args ? args.ipv4NetmaskLength : undefined;
|
|
80
|
+
inputs["ipv6CidrBlock"] = args ? args.ipv6CidrBlock : undefined;
|
|
81
|
+
inputs["ipv6IpamPoolId"] = args ? args.ipv6IpamPoolId : undefined;
|
|
82
|
+
inputs["ipv6NetmaskLength"] = args ? args.ipv6NetmaskLength : undefined;
|
|
74
83
|
inputs["tags"] = args ? args.tags : undefined;
|
|
75
84
|
inputs["arn"] = undefined /*out*/;
|
|
76
85
|
inputs["assignGeneratedIpv6CidrBlock"] = undefined /*out*/;
|
|
@@ -81,7 +90,6 @@ class DefaultVpc extends pulumi.CustomResource {
|
|
|
81
90
|
inputs["dhcpOptionsId"] = undefined /*out*/;
|
|
82
91
|
inputs["instanceTenancy"] = undefined /*out*/;
|
|
83
92
|
inputs["ipv6AssociationId"] = undefined /*out*/;
|
|
84
|
-
inputs["ipv6CidrBlock"] = undefined /*out*/;
|
|
85
93
|
inputs["mainRouteTableId"] = undefined /*out*/;
|
|
86
94
|
inputs["ownerId"] = undefined /*out*/;
|
|
87
95
|
inputs["tagsAll"] = undefined /*out*/;
|
package/ec2/defaultVpc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultVpc.js","sourceRoot":"","sources":["../../ec2/defaultVpc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"defaultVpc.js","sourceRoot":"","sources":["../../ec2/defaultVpc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC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AAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAsKC;AAxJG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* `aws.ec2.VpcIpamPool` provides details about an IPAM pool.
|
|
5
|
+
*
|
|
6
|
+
* This resource can prove useful when an ipam pool was created in another root
|
|
7
|
+
* module and you need the pool's id as an input variable. For example, pools
|
|
8
|
+
* can be shared via RAM and used to create vpcs with CIDRs from that pool.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* The following example shows an account that has only 1 pool, perhaps shared
|
|
13
|
+
* via RAM, and using that pool id to create a VPC with a CIDR derived from
|
|
14
|
+
* AWS IPAM.
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const testVpcIamPool = aws.ec2.getVpcIamPool({});
|
|
21
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {
|
|
22
|
+
* ipv4IpamPoolId: testVpcIamPool.then(testVpcIamPool => testVpcIamPool.id),
|
|
23
|
+
* ipv4NetmaskLength: 28,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare function getVpcIamPool(args?: GetVpcIamPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcIamPoolResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getVpcIamPool.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetVpcIamPoolArgs {
|
|
32
|
+
/**
|
|
33
|
+
* Tags that are required to create resources in using this pool.
|
|
34
|
+
*/
|
|
35
|
+
allocationResourceTags?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Custom filter block as described below.
|
|
40
|
+
*/
|
|
41
|
+
filters?: inputs.ec2.GetVpcIamPoolFilter[];
|
|
42
|
+
/**
|
|
43
|
+
* -
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
ipamPoolId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A map of tags to assigned to the resource.
|
|
49
|
+
*/
|
|
50
|
+
tags?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A collection of values returned by getVpcIamPool.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetVpcIamPoolResult {
|
|
58
|
+
/**
|
|
59
|
+
* The IP protocol assigned to this pool.
|
|
60
|
+
*/
|
|
61
|
+
readonly addressFamily: string;
|
|
62
|
+
/**
|
|
63
|
+
* A default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
|
|
64
|
+
*/
|
|
65
|
+
readonly allocationDefaultNetmaskLength: number;
|
|
66
|
+
/**
|
|
67
|
+
* The maximum netmask length that will be required for CIDR allocations in this pool.
|
|
68
|
+
*/
|
|
69
|
+
readonly allocationMaxNetmaskLength: number;
|
|
70
|
+
/**
|
|
71
|
+
* The minimum netmask length that will be required for CIDR allocations in this pool.
|
|
72
|
+
*/
|
|
73
|
+
readonly allocationMinNetmaskLength: number;
|
|
74
|
+
/**
|
|
75
|
+
* Tags that are required to create resources in using this pool.
|
|
76
|
+
*/
|
|
77
|
+
readonly allocationResourceTags?: {
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Amazon Resource Name (ARN) of the pool
|
|
82
|
+
*/
|
|
83
|
+
readonly arn: string;
|
|
84
|
+
/**
|
|
85
|
+
* If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM.
|
|
86
|
+
*/
|
|
87
|
+
readonly autoImport: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Limits which service in AWS that the pool can be used in. "ec2", for example, allows users to use space for Elastic IP addresses and VPCs.
|
|
90
|
+
*/
|
|
91
|
+
readonly awsService: string;
|
|
92
|
+
/**
|
|
93
|
+
* A description for the IPAM pool.
|
|
94
|
+
*/
|
|
95
|
+
readonly description: string;
|
|
96
|
+
readonly filters?: outputs.ec2.GetVpcIamPoolFilter[];
|
|
97
|
+
readonly id?: string;
|
|
98
|
+
readonly ipamPoolId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the scope the pool belongs to.
|
|
101
|
+
*/
|
|
102
|
+
readonly ipamScopeId: string;
|
|
103
|
+
readonly ipamScopeType: string;
|
|
104
|
+
/**
|
|
105
|
+
* Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region.
|
|
106
|
+
*/
|
|
107
|
+
readonly locale: string;
|
|
108
|
+
readonly poolDepth: number;
|
|
109
|
+
/**
|
|
110
|
+
* Defines whether or not IPv6 pool space is publicly ∂advertisable over the internet.
|
|
111
|
+
*/
|
|
112
|
+
readonly publiclyAdvertisable: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the source IPAM pool.
|
|
115
|
+
*/
|
|
116
|
+
readonly sourceIpamPoolId: string;
|
|
117
|
+
readonly state: string;
|
|
118
|
+
/**
|
|
119
|
+
* A map of tags to assigned to the resource.
|
|
120
|
+
*/
|
|
121
|
+
readonly tags: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export declare function getVpcIamPoolOutput(args?: GetVpcIamPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcIamPoolResult>;
|
|
126
|
+
/**
|
|
127
|
+
* A collection of arguments for invoking getVpcIamPool.
|
|
128
|
+
*/
|
|
129
|
+
export interface GetVpcIamPoolOutputArgs {
|
|
130
|
+
/**
|
|
131
|
+
* Tags that are required to create resources in using this pool.
|
|
132
|
+
*/
|
|
133
|
+
allocationResourceTags?: pulumi.Input<{
|
|
134
|
+
[key: string]: pulumi.Input<string>;
|
|
135
|
+
}>;
|
|
136
|
+
/**
|
|
137
|
+
* Custom filter block as described below.
|
|
138
|
+
*/
|
|
139
|
+
filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetVpcIamPoolFilterArgs>[]>;
|
|
140
|
+
/**
|
|
141
|
+
* -
|
|
142
|
+
*/
|
|
143
|
+
id?: pulumi.Input<string>;
|
|
144
|
+
ipamPoolId?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* A map of tags to assigned to the resource.
|
|
147
|
+
*/
|
|
148
|
+
tags?: pulumi.Input<{
|
|
149
|
+
[key: string]: pulumi.Input<string>;
|
|
150
|
+
}>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getVpcIamPoolOutput = exports.getVpcIamPool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `aws.ec2.VpcIpamPool` provides details about an IPAM pool.
|
|
10
|
+
*
|
|
11
|
+
* This resource can prove useful when an ipam pool was created in another root
|
|
12
|
+
* module and you need the pool's id as an input variable. For example, pools
|
|
13
|
+
* can be shared via RAM and used to create vpcs with CIDRs from that pool.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* The following example shows an account that has only 1 pool, perhaps shared
|
|
18
|
+
* via RAM, and using that pool id to create a VPC with a CIDR derived from
|
|
19
|
+
* AWS IPAM.
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as aws from "@pulumi/aws";
|
|
24
|
+
*
|
|
25
|
+
* const testVpcIamPool = aws.ec2.getVpcIamPool({});
|
|
26
|
+
* const testVpc = new aws.ec2.Vpc("testVpc", {
|
|
27
|
+
* ipv4IpamPoolId: testVpcIamPool.then(testVpcIamPool => testVpcIamPool.id),
|
|
28
|
+
* ipv4NetmaskLength: 28,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
function getVpcIamPool(args, opts) {
|
|
33
|
+
args = args || {};
|
|
34
|
+
if (!opts) {
|
|
35
|
+
opts = {};
|
|
36
|
+
}
|
|
37
|
+
if (!opts.version) {
|
|
38
|
+
opts.version = utilities.getVersion();
|
|
39
|
+
}
|
|
40
|
+
return pulumi.runtime.invoke("aws:ec2/getVpcIamPool:getVpcIamPool", {
|
|
41
|
+
"allocationResourceTags": args.allocationResourceTags,
|
|
42
|
+
"filters": args.filters,
|
|
43
|
+
"id": args.id,
|
|
44
|
+
"ipamPoolId": args.ipamPoolId,
|
|
45
|
+
"tags": args.tags,
|
|
46
|
+
}, opts);
|
|
47
|
+
}
|
|
48
|
+
exports.getVpcIamPool = getVpcIamPool;
|
|
49
|
+
function getVpcIamPoolOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply(a => getVpcIamPool(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getVpcIamPoolOutput = getVpcIamPoolOutput;
|
|
53
|
+
//# sourceMappingURL=getVpcIamPool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVpcIamPool.js","sourceRoot":"","sources":["../../ec2/getVpcIamPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,sCAgBC;AA6FD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|