@pulumi/aws 5.17.0 → 5.18.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/amp/workspace.d.ts +29 -5
- package/amp/workspace.js +17 -5
- package/amp/workspace.js.map +1 -1
- package/cloudfront/distribution.d.ts +1 -1
- package/cloudfront/distribution.js +1 -1
- package/codepipeline/customActionType.d.ts +188 -0
- package/codepipeline/customActionType.js +116 -0
- package/codepipeline/customActionType.js.map +1 -0
- package/codepipeline/index.d.ts +3 -0
- package/codepipeline/index.js +6 -1
- package/codepipeline/index.js.map +1 -1
- package/cognito/userPool.d.ts +12 -0
- package/cognito/userPool.js +2 -0
- package/cognito/userPool.js.map +1 -1
- package/comprehend/documentClassifier.d.ts +275 -0
- package/comprehend/documentClassifier.js +115 -0
- package/comprehend/documentClassifier.js.map +1 -0
- package/comprehend/index.d.ts +3 -0
- package/comprehend/index.js +6 -1
- package/comprehend/index.js.map +1 -1
- package/directconnect/connection.d.ts +8 -0
- package/directconnect/connection.js +2 -0
- package/directconnect/connection.js.map +1 -1
- package/directconnect/getConnection.d.ts +4 -0
- package/directconnect/getConnection.js.map +1 -1
- package/ebs/volume.d.ts +1 -1
- package/ebs/volume.js +1 -1
- package/ec2/defaultVpc.d.ts +3 -0
- package/ec2/defaultVpc.js +2 -0
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getNatGateway.d.ts +0 -2
- package/ec2/getNatGateway.js +0 -2
- package/ec2/getNatGateway.js.map +1 -1
- package/ec2/getVpc.d.ts +4 -0
- package/ec2/getVpc.js.map +1 -1
- package/ec2/getVpcIamPools.d.ts +64 -0
- package/ec2/getVpcIamPools.js +50 -0
- package/ec2/getVpcIamPools.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -3
- package/ec2/index.js.map +1 -1
- package/ec2/networkInterface.d.ts +9 -0
- package/ec2/networkInterface.js.map +1 -1
- package/ec2/securityGroupRule.d.ts +2 -2
- package/ec2/securityGroupRule.js +2 -2
- package/ec2/vpc.d.ts +15 -3
- package/ec2/vpc.js +2 -0
- package/ec2/vpc.js.map +1 -1
- package/ec2clientvpn/route.d.ts +3 -3
- package/ec2transitgateway/connectPeer.d.ts +1 -1
- package/ec2transitgateway/connectPeer.js +1 -1
- package/elasticache/getCluster.d.ts +1 -1
- package/elasticache/getCluster.js +1 -1
- package/elasticache/getReplicationGroup.d.ts +1 -1
- package/elasticache/getReplicationGroup.js +1 -1
- package/elasticache/getUser.d.ts +1 -1
- package/elasticache/getUser.js +1 -1
- package/elasticache/globalReplicationGroup.d.ts +30 -2
- package/elasticache/globalReplicationGroup.js +3 -1
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticache/parameterGroup.d.ts +1 -1
- package/elasticache/parameterGroup.js +1 -1
- package/elasticache/subnetGroup.d.ts +3 -3
- package/emrcontainers/virtualCluster.d.ts +2 -2
- package/emrcontainers/virtualCluster.js +2 -2
- package/globalaccelerator/accelerator.d.ts +13 -0
- package/globalaccelerator/accelerator.js +3 -0
- package/globalaccelerator/accelerator.js.map +1 -1
- package/identitystore/group.d.ts +3 -3
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/inspector2/delegatedAdminAccount.d.ts +76 -0
- package/inspector2/delegatedAdminAccount.js +74 -0
- package/inspector2/delegatedAdminAccount.js.map +1 -0
- package/inspector2/index.d.ts +3 -0
- package/inspector2/index.js +6 -1
- package/inspector2/index.js.map +1 -1
- package/networkmanager/link.d.ts +1 -1
- package/networkmanager/link.js +1 -1
- package/opsworks/customLayer.d.ts +12 -0
- package/opsworks/customLayer.js +2 -0
- package/opsworks/customLayer.js.map +1 -1
- package/opsworks/ecsClusterLayer.d.ts +3 -0
- package/opsworks/ecsClusterLayer.js +2 -0
- package/opsworks/ecsClusterLayer.js.map +1 -1
- package/opsworks/gangliaLayer.d.ts +3 -0
- package/opsworks/gangliaLayer.js +2 -0
- package/opsworks/gangliaLayer.js.map +1 -1
- package/opsworks/haproxyLayer.d.ts +3 -0
- package/opsworks/haproxyLayer.js +2 -0
- package/opsworks/haproxyLayer.js.map +1 -1
- package/opsworks/javaAppLayer.d.ts +3 -0
- package/opsworks/javaAppLayer.js +2 -0
- package/opsworks/javaAppLayer.js.map +1 -1
- package/opsworks/memcachedLayer.d.ts +3 -0
- package/opsworks/memcachedLayer.js +2 -0
- package/opsworks/memcachedLayer.js.map +1 -1
- package/opsworks/mysqlLayer.d.ts +3 -0
- package/opsworks/mysqlLayer.js +2 -0
- package/opsworks/mysqlLayer.js.map +1 -1
- package/opsworks/nodejsAppLayer.d.ts +3 -0
- package/opsworks/nodejsAppLayer.js +2 -0
- package/opsworks/nodejsAppLayer.js.map +1 -1
- package/opsworks/phpAppLayer.d.ts +3 -0
- package/opsworks/phpAppLayer.js +2 -0
- package/opsworks/phpAppLayer.js.map +1 -1
- package/opsworks/railsAppLayer.d.ts +3 -0
- package/opsworks/railsAppLayer.js +2 -0
- package/opsworks/railsAppLayer.js.map +1 -1
- package/opsworks/staticWebLayer.d.ts +3 -0
- package/opsworks/staticWebLayer.js +2 -0
- package/opsworks/staticWebLayer.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/ram/resourceShare.d.ts +1 -1
- package/ram/resourceShare.js +1 -1
- package/rds/getReservedInstanceOffering.d.ts +97 -0
- package/rds/getReservedInstanceOffering.js +44 -0
- package/rds/getReservedInstanceOffering.js.map +1 -0
- package/rds/index.d.ts +6 -0
- package/rds/index.js +9 -1
- package/rds/index.js.map +1 -1
- package/rds/optionGroup.d.ts +1 -1
- package/rds/optionGroup.js +1 -1
- package/rds/reservedInstance.d.ts +219 -0
- package/rds/reservedInstance.js +115 -0
- package/rds/reservedInstance.js.map +1 -0
- package/s3control/index.d.ts +3 -0
- package/s3control/index.js +6 -1
- package/s3control/index.js.map +1 -1
- package/s3control/storageLensConfiguration.d.ts +157 -0
- package/s3control/storageLensConfiguration.js +122 -0
- package/s3control/storageLensConfiguration.js.map +1 -0
- package/servicecatalog/product.d.ts +17 -0
- package/servicecatalog/product.js +17 -0
- package/servicecatalog/product.js.map +1 -1
- package/ses/domainDkim.d.ts +2 -2
- package/ses/domainDkim.js +2 -2
- package/sesv2/configurationSet.d.ts +175 -0
- package/sesv2/configurationSet.js +107 -0
- package/sesv2/configurationSet.js.map +1 -0
- package/sesv2/index.d.ts +3 -0
- package/sesv2/index.js +22 -0
- package/sesv2/index.js.map +1 -0
- package/transfer/index.d.ts +3 -0
- package/transfer/index.js +6 -1
- package/transfer/index.js.map +1 -1
- package/transfer/server.d.ts +2 -0
- package/transfer/server.js +2 -0
- package/transfer/server.js.map +1 -1
- package/transfer/tag.d.ts +100 -0
- package/transfer/tag.js +90 -0
- package/transfer/tag.js.map +1 -0
- package/types/input.d.ts +714 -22
- package/types/output.d.ts +762 -4
- package/waf/getSubscribedRuleGroup.d.ts +16 -17
- package/waf/getSubscribedRuleGroup.js +16 -17
- package/waf/getSubscribedRuleGroup.js.map +1 -1
- package/wafregional/getSubscribedRuleGroup.d.ts +16 -17
- package/wafregional/getSubscribedRuleGroup.js +16 -17
- package/wafregional/getSubscribedRuleGroup.js.map +1 -1
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Basic Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const documents = new aws.s3.BucketObjectv2("documents", {});
|
|
13
|
+
* // ...
|
|
14
|
+
* const example = new aws.comprehend.DocumentClassifier("example", {
|
|
15
|
+
* dataAccessRoleArn: aws_iam_role.example.arn,
|
|
16
|
+
* languageCode: "en",
|
|
17
|
+
* inputDataConfig: {
|
|
18
|
+
* s3Uri: pulumi.interpolate`s3://${aws_s3_bucket.test.bucket}/${documents.id}`,
|
|
19
|
+
* },
|
|
20
|
+
* }, {
|
|
21
|
+
* dependsOn: [aws_iam_role_policy.example],
|
|
22
|
+
* });
|
|
23
|
+
* const entities = new aws.s3.BucketObjectv2("entities", {});
|
|
24
|
+
* // ...
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Comprehend Document Classifier can be imported using the ARN, e.g.,
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import aws:comprehend/documentClassifier:DocumentClassifier example arn:aws:comprehend:us-west-2:123456789012:document_classifier/example
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class DocumentClassifier extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing DocumentClassifier resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DocumentClassifierState, opts?: pulumi.CustomResourceOptions): DocumentClassifier;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of DocumentClassifier. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is DocumentClassifier;
|
|
51
|
+
/**
|
|
52
|
+
* ARN of the Document Classifier version.
|
|
53
|
+
*/
|
|
54
|
+
readonly arn: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The ARN for an IAM Role which allows Comprehend to read the training and testing data.
|
|
57
|
+
*/
|
|
58
|
+
readonly dataAccessRoleArn: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Configuration for the training and testing data.
|
|
61
|
+
* See the `inputDataConfig` Configuration Block section below.
|
|
62
|
+
*/
|
|
63
|
+
readonly inputDataConfig: pulumi.Output<outputs.comprehend.DocumentClassifierInputDataConfig>;
|
|
64
|
+
/**
|
|
65
|
+
* Two-letter language code for the language.
|
|
66
|
+
* One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
|
|
67
|
+
*/
|
|
68
|
+
readonly languageCode: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The document classification mode.
|
|
71
|
+
* One of `MULTI_CLASS` or `MULTI_LABEL`.
|
|
72
|
+
* `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
|
|
73
|
+
*/
|
|
74
|
+
readonly mode: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* KMS Key used to encrypt trained Document Classifiers.
|
|
77
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
78
|
+
*/
|
|
79
|
+
readonly modelKmsKeyId: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Name for the Document Classifier.
|
|
82
|
+
* Has a maximum length of 63 characters.
|
|
83
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
84
|
+
*/
|
|
85
|
+
readonly name: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Configuration for the output results of training.
|
|
88
|
+
* See the `outputDataConfig` Configuration Block section below.
|
|
89
|
+
*/
|
|
90
|
+
readonly outputDataConfig: pulumi.Output<outputs.comprehend.DocumentClassifierOutputDataConfig>;
|
|
91
|
+
/**
|
|
92
|
+
* A map of tags to assign to the resource. 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.
|
|
93
|
+
*/
|
|
94
|
+
readonly tags: pulumi.Output<{
|
|
95
|
+
[key: string]: string;
|
|
96
|
+
} | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
99
|
+
*/
|
|
100
|
+
readonly tagsAll: pulumi.Output<{
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
}>;
|
|
103
|
+
readonly versionName: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Creates a unique version name beginning with the specified prefix.
|
|
106
|
+
* Has a maximum length of 37 characters.
|
|
107
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
108
|
+
* Conflicts with `versionName`.
|
|
109
|
+
*/
|
|
110
|
+
readonly versionNamePrefix: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* KMS Key used to encrypt storage volumes during job processing.
|
|
113
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
114
|
+
*/
|
|
115
|
+
readonly volumeKmsKeyId: pulumi.Output<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Configuration parameters for VPC to contain Document Classifier resources.
|
|
118
|
+
* See the `vpcConfig` Configuration Block section below.
|
|
119
|
+
*/
|
|
120
|
+
readonly vpcConfig: pulumi.Output<outputs.comprehend.DocumentClassifierVpcConfig | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Create a DocumentClassifier resource with the given unique name, arguments, and options.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resource.
|
|
125
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
126
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
127
|
+
*/
|
|
128
|
+
constructor(name: string, args: DocumentClassifierArgs, opts?: pulumi.CustomResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Input properties used for looking up and filtering DocumentClassifier resources.
|
|
132
|
+
*/
|
|
133
|
+
export interface DocumentClassifierState {
|
|
134
|
+
/**
|
|
135
|
+
* ARN of the Document Classifier version.
|
|
136
|
+
*/
|
|
137
|
+
arn?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The ARN for an IAM Role which allows Comprehend to read the training and testing data.
|
|
140
|
+
*/
|
|
141
|
+
dataAccessRoleArn?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Configuration for the training and testing data.
|
|
144
|
+
* See the `inputDataConfig` Configuration Block section below.
|
|
145
|
+
*/
|
|
146
|
+
inputDataConfig?: pulumi.Input<inputs.comprehend.DocumentClassifierInputDataConfig>;
|
|
147
|
+
/**
|
|
148
|
+
* Two-letter language code for the language.
|
|
149
|
+
* One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
|
|
150
|
+
*/
|
|
151
|
+
languageCode?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The document classification mode.
|
|
154
|
+
* One of `MULTI_CLASS` or `MULTI_LABEL`.
|
|
155
|
+
* `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
|
|
156
|
+
*/
|
|
157
|
+
mode?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* KMS Key used to encrypt trained Document Classifiers.
|
|
160
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
161
|
+
*/
|
|
162
|
+
modelKmsKeyId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Name for the Document Classifier.
|
|
165
|
+
* Has a maximum length of 63 characters.
|
|
166
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
167
|
+
*/
|
|
168
|
+
name?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Configuration for the output results of training.
|
|
171
|
+
* See the `outputDataConfig` Configuration Block section below.
|
|
172
|
+
*/
|
|
173
|
+
outputDataConfig?: pulumi.Input<inputs.comprehend.DocumentClassifierOutputDataConfig>;
|
|
174
|
+
/**
|
|
175
|
+
* A map of tags to assign to the resource. 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.
|
|
176
|
+
*/
|
|
177
|
+
tags?: pulumi.Input<{
|
|
178
|
+
[key: string]: pulumi.Input<string>;
|
|
179
|
+
}>;
|
|
180
|
+
/**
|
|
181
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
182
|
+
*/
|
|
183
|
+
tagsAll?: pulumi.Input<{
|
|
184
|
+
[key: string]: pulumi.Input<string>;
|
|
185
|
+
}>;
|
|
186
|
+
versionName?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Creates a unique version name beginning with the specified prefix.
|
|
189
|
+
* Has a maximum length of 37 characters.
|
|
190
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
191
|
+
* Conflicts with `versionName`.
|
|
192
|
+
*/
|
|
193
|
+
versionNamePrefix?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* KMS Key used to encrypt storage volumes during job processing.
|
|
196
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
197
|
+
*/
|
|
198
|
+
volumeKmsKeyId?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Configuration parameters for VPC to contain Document Classifier resources.
|
|
201
|
+
* See the `vpcConfig` Configuration Block section below.
|
|
202
|
+
*/
|
|
203
|
+
vpcConfig?: pulumi.Input<inputs.comprehend.DocumentClassifierVpcConfig>;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* The set of arguments for constructing a DocumentClassifier resource.
|
|
207
|
+
*/
|
|
208
|
+
export interface DocumentClassifierArgs {
|
|
209
|
+
/**
|
|
210
|
+
* The ARN for an IAM Role which allows Comprehend to read the training and testing data.
|
|
211
|
+
*/
|
|
212
|
+
dataAccessRoleArn: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Configuration for the training and testing data.
|
|
215
|
+
* See the `inputDataConfig` Configuration Block section below.
|
|
216
|
+
*/
|
|
217
|
+
inputDataConfig: pulumi.Input<inputs.comprehend.DocumentClassifierInputDataConfig>;
|
|
218
|
+
/**
|
|
219
|
+
* Two-letter language code for the language.
|
|
220
|
+
* One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
|
|
221
|
+
*/
|
|
222
|
+
languageCode: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* The document classification mode.
|
|
225
|
+
* One of `MULTI_CLASS` or `MULTI_LABEL`.
|
|
226
|
+
* `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
|
|
227
|
+
*/
|
|
228
|
+
mode?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* KMS Key used to encrypt trained Document Classifiers.
|
|
231
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
232
|
+
*/
|
|
233
|
+
modelKmsKeyId?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Name for the Document Classifier.
|
|
236
|
+
* Has a maximum length of 63 characters.
|
|
237
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
238
|
+
*/
|
|
239
|
+
name?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* Configuration for the output results of training.
|
|
242
|
+
* See the `outputDataConfig` Configuration Block section below.
|
|
243
|
+
*/
|
|
244
|
+
outputDataConfig?: pulumi.Input<inputs.comprehend.DocumentClassifierOutputDataConfig>;
|
|
245
|
+
/**
|
|
246
|
+
* A map of tags to assign to the resource. 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.
|
|
247
|
+
*/
|
|
248
|
+
tags?: pulumi.Input<{
|
|
249
|
+
[key: string]: pulumi.Input<string>;
|
|
250
|
+
}>;
|
|
251
|
+
/**
|
|
252
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
253
|
+
*/
|
|
254
|
+
tagsAll?: pulumi.Input<{
|
|
255
|
+
[key: string]: pulumi.Input<string>;
|
|
256
|
+
}>;
|
|
257
|
+
versionName?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Creates a unique version name beginning with the specified prefix.
|
|
260
|
+
* Has a maximum length of 37 characters.
|
|
261
|
+
* Can contain upper- and lower-case letters, numbers, and hypen (`-`).
|
|
262
|
+
* Conflicts with `versionName`.
|
|
263
|
+
*/
|
|
264
|
+
versionNamePrefix?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* KMS Key used to encrypt storage volumes during job processing.
|
|
267
|
+
* Can be a KMS Key ID or a KMS Key ARN.
|
|
268
|
+
*/
|
|
269
|
+
volumeKmsKeyId?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Configuration parameters for VPC to contain Document Classifier resources.
|
|
272
|
+
* See the `vpcConfig` Configuration Block section below.
|
|
273
|
+
*/
|
|
274
|
+
vpcConfig?: pulumi.Input<inputs.comprehend.DocumentClassifierVpcConfig>;
|
|
275
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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.DocumentClassifier = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const documents = new aws.s3.BucketObjectv2("documents", {});
|
|
17
|
+
* // ...
|
|
18
|
+
* const example = new aws.comprehend.DocumentClassifier("example", {
|
|
19
|
+
* dataAccessRoleArn: aws_iam_role.example.arn,
|
|
20
|
+
* languageCode: "en",
|
|
21
|
+
* inputDataConfig: {
|
|
22
|
+
* s3Uri: pulumi.interpolate`s3://${aws_s3_bucket.test.bucket}/${documents.id}`,
|
|
23
|
+
* },
|
|
24
|
+
* }, {
|
|
25
|
+
* dependsOn: [aws_iam_role_policy.example],
|
|
26
|
+
* });
|
|
27
|
+
* const entities = new aws.s3.BucketObjectv2("entities", {});
|
|
28
|
+
* // ...
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Comprehend Document Classifier can be imported using the ARN, e.g.,
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import aws:comprehend/documentClassifier:DocumentClassifier example arn:aws:comprehend:us-west-2:123456789012:document_classifier/example
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class DocumentClassifier extends pulumi.CustomResource {
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
46
|
+
resourceInputs["dataAccessRoleArn"] = state ? state.dataAccessRoleArn : undefined;
|
|
47
|
+
resourceInputs["inputDataConfig"] = state ? state.inputDataConfig : undefined;
|
|
48
|
+
resourceInputs["languageCode"] = state ? state.languageCode : undefined;
|
|
49
|
+
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
50
|
+
resourceInputs["modelKmsKeyId"] = state ? state.modelKmsKeyId : undefined;
|
|
51
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
52
|
+
resourceInputs["outputDataConfig"] = state ? state.outputDataConfig : undefined;
|
|
53
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
54
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
55
|
+
resourceInputs["versionName"] = state ? state.versionName : undefined;
|
|
56
|
+
resourceInputs["versionNamePrefix"] = state ? state.versionNamePrefix : undefined;
|
|
57
|
+
resourceInputs["volumeKmsKeyId"] = state ? state.volumeKmsKeyId : undefined;
|
|
58
|
+
resourceInputs["vpcConfig"] = state ? state.vpcConfig : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.dataAccessRoleArn === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'dataAccessRoleArn'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.inputDataConfig === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'inputDataConfig'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.languageCode === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'languageCode'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["dataAccessRoleArn"] = args ? args.dataAccessRoleArn : undefined;
|
|
72
|
+
resourceInputs["inputDataConfig"] = args ? args.inputDataConfig : undefined;
|
|
73
|
+
resourceInputs["languageCode"] = args ? args.languageCode : undefined;
|
|
74
|
+
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
75
|
+
resourceInputs["modelKmsKeyId"] = args ? args.modelKmsKeyId : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["outputDataConfig"] = args ? args.outputDataConfig : undefined;
|
|
78
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
79
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
80
|
+
resourceInputs["versionName"] = args ? args.versionName : undefined;
|
|
81
|
+
resourceInputs["versionNamePrefix"] = args ? args.versionNamePrefix : undefined;
|
|
82
|
+
resourceInputs["volumeKmsKeyId"] = args ? args.volumeKmsKeyId : undefined;
|
|
83
|
+
resourceInputs["vpcConfig"] = args ? args.vpcConfig : undefined;
|
|
84
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(DocumentClassifier.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing DocumentClassifier resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name, id, state, opts) {
|
|
99
|
+
return new DocumentClassifier(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns true if the given object is an instance of DocumentClassifier. This is designed to work even
|
|
103
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
104
|
+
*/
|
|
105
|
+
static isInstance(obj) {
|
|
106
|
+
if (obj === undefined || obj === null) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return obj['__pulumiType'] === DocumentClassifier.__pulumiType;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.DocumentClassifier = DocumentClassifier;
|
|
113
|
+
/** @internal */
|
|
114
|
+
DocumentClassifier.__pulumiType = 'aws:comprehend/documentClassifier:DocumentClassifier';
|
|
115
|
+
//# sourceMappingURL=documentClassifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentClassifier.js","sourceRoot":"","sources":["../../comprehend/documentClassifier.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFA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AAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IArJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAuJC;AAzIG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
package/comprehend/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { DocumentClassifierArgs, DocumentClassifierState } from "./documentClassifier";
|
|
2
|
+
export declare type DocumentClassifier = import("./documentClassifier").DocumentClassifier;
|
|
3
|
+
export declare const DocumentClassifier: typeof import("./documentClassifier").DocumentClassifier;
|
|
1
4
|
export { EntityRecognizerArgs, EntityRecognizerState } from "./entityRecognizer";
|
|
2
5
|
export declare type EntityRecognizer = import("./entityRecognizer").EntityRecognizer;
|
|
3
6
|
export declare const EntityRecognizer: typeof import("./entityRecognizer").EntityRecognizer;
|
package/comprehend/index.js
CHANGED
|
@@ -2,15 +2,19 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.EntityRecognizer = void 0;
|
|
5
|
+
exports.EntityRecognizer = exports.DocumentClassifier = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.DocumentClassifier = null;
|
|
8
9
|
exports.EntityRecognizer = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["DocumentClassifier"], () => require("./documentClassifier"));
|
|
9
11
|
utilities.lazyLoad(exports, ["EntityRecognizer"], () => require("./entityRecognizer"));
|
|
10
12
|
const _module = {
|
|
11
13
|
version: utilities.getVersion(),
|
|
12
14
|
construct: (name, type, urn) => {
|
|
13
15
|
switch (type) {
|
|
16
|
+
case "aws:comprehend/documentClassifier:DocumentClassifier":
|
|
17
|
+
return new exports.DocumentClassifier(name, undefined, { urn });
|
|
14
18
|
case "aws:comprehend/entityRecognizer:EntityRecognizer":
|
|
15
19
|
return new exports.EntityRecognizer(name, undefined, { urn });
|
|
16
20
|
default:
|
|
@@ -18,5 +22,6 @@ const _module = {
|
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
};
|
|
25
|
+
pulumi.runtime.registerResourceModule("aws", "comprehend/documentClassifier", _module);
|
|
21
26
|
pulumi.runtime.registerResourceModule("aws", "comprehend/entityRecognizer", _module);
|
|
22
27
|
//# sourceMappingURL=index.js.map
|
package/comprehend/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../comprehend/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;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IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sDAAsD;gBACvD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,kDAAkD;gBACnD,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -86,6 +86,10 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
86
86
|
readonly tagsAll: pulumi.Output<{
|
|
87
87
|
[key: string]: string;
|
|
88
88
|
}>;
|
|
89
|
+
/**
|
|
90
|
+
* The VLAN ID.
|
|
91
|
+
*/
|
|
92
|
+
readonly vlanId: pulumi.Output<string>;
|
|
89
93
|
/**
|
|
90
94
|
* Create a Connection resource with the given unique name, arguments, and options.
|
|
91
95
|
*
|
|
@@ -147,6 +151,10 @@ export interface ConnectionState {
|
|
|
147
151
|
tagsAll?: pulumi.Input<{
|
|
148
152
|
[key: string]: pulumi.Input<string>;
|
|
149
153
|
}>;
|
|
154
|
+
/**
|
|
155
|
+
* The VLAN ID.
|
|
156
|
+
*/
|
|
157
|
+
vlanId?: pulumi.Input<string>;
|
|
150
158
|
}
|
|
151
159
|
/**
|
|
152
160
|
* The set of arguments for constructing a Connection resource.
|
|
@@ -45,6 +45,7 @@ class Connection extends pulumi.CustomResource {
|
|
|
45
45
|
resourceInputs["providerName"] = state ? state.providerName : undefined;
|
|
46
46
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
47
47
|
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
48
|
+
resourceInputs["vlanId"] = state ? state.vlanId : undefined;
|
|
48
49
|
}
|
|
49
50
|
else {
|
|
50
51
|
const args = argsOrState;
|
|
@@ -65,6 +66,7 @@ class Connection extends pulumi.CustomResource {
|
|
|
65
66
|
resourceInputs["jumboFrameCapable"] = undefined /*out*/;
|
|
66
67
|
resourceInputs["ownerAccountId"] = undefined /*out*/;
|
|
67
68
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["vlanId"] = undefined /*out*/;
|
|
68
70
|
}
|
|
69
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
72
|
super(Connection.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../directconnect/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../directconnect/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAqFjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IA5HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;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,gCA8HC;AAhHG,gBAAgB;AACO,uBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -68,6 +68,10 @@ export interface GetConnectionResult {
|
|
|
68
68
|
readonly tags: {
|
|
69
69
|
[key: string]: string;
|
|
70
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* The VLAN ID.
|
|
73
|
+
*/
|
|
74
|
+
readonly vlanId: string;
|
|
71
75
|
}
|
|
72
76
|
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionResult>;
|
|
73
77
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../directconnect/getConnection.ts"],"names":[],"mappings":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A;AACjE,CAAC;AAFD,kDAEC"}
|
package/ebs/volume.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
|
-
* > **NOTE
|
|
20
|
+
* > **NOTE:** At least one of `size` or `snapshotId` is required when specifying an EBS volume
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
package/ebs/volume.js
CHANGED
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
|
-
* > **NOTE
|
|
26
|
+
* > **NOTE:** At least one of `size` or `snapshotId` is required when specifying an EBS volume
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
package/ec2/defaultVpc.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare class DefaultVpc extends pulumi.CustomResource {
|
|
|
59
59
|
readonly enableClassiclinkDnsSupport: pulumi.Output<boolean>;
|
|
60
60
|
readonly enableDnsHostnames: pulumi.Output<boolean | undefined>;
|
|
61
61
|
readonly enableDnsSupport: pulumi.Output<boolean | undefined>;
|
|
62
|
+
readonly enableNetworkAddressUsageMetrics: pulumi.Output<boolean | undefined>;
|
|
62
63
|
readonly existingDefaultVpc: pulumi.Output<boolean>;
|
|
63
64
|
/**
|
|
64
65
|
* Whether destroying the resource deletes the default VPC. Default: `false`
|
|
@@ -114,6 +115,7 @@ export interface DefaultVpcState {
|
|
|
114
115
|
enableClassiclinkDnsSupport?: pulumi.Input<boolean>;
|
|
115
116
|
enableDnsHostnames?: pulumi.Input<boolean>;
|
|
116
117
|
enableDnsSupport?: pulumi.Input<boolean>;
|
|
118
|
+
enableNetworkAddressUsageMetrics?: pulumi.Input<boolean>;
|
|
117
119
|
existingDefaultVpc?: pulumi.Input<boolean>;
|
|
118
120
|
/**
|
|
119
121
|
* Whether destroying the resource deletes the default VPC. Default: `false`
|
|
@@ -152,6 +154,7 @@ export interface DefaultVpcArgs {
|
|
|
152
154
|
enableClassiclinkDnsSupport?: pulumi.Input<boolean>;
|
|
153
155
|
enableDnsHostnames?: pulumi.Input<boolean>;
|
|
154
156
|
enableDnsSupport?: pulumi.Input<boolean>;
|
|
157
|
+
enableNetworkAddressUsageMetrics?: pulumi.Input<boolean>;
|
|
155
158
|
/**
|
|
156
159
|
* Whether destroying the resource deletes the default VPC. Default: `false`
|
|
157
160
|
*/
|
package/ec2/defaultVpc.js
CHANGED
|
@@ -46,6 +46,7 @@ class DefaultVpc extends pulumi.CustomResource {
|
|
|
46
46
|
resourceInputs["enableClassiclinkDnsSupport"] = state ? state.enableClassiclinkDnsSupport : undefined;
|
|
47
47
|
resourceInputs["enableDnsHostnames"] = state ? state.enableDnsHostnames : undefined;
|
|
48
48
|
resourceInputs["enableDnsSupport"] = state ? state.enableDnsSupport : undefined;
|
|
49
|
+
resourceInputs["enableNetworkAddressUsageMetrics"] = state ? state.enableNetworkAddressUsageMetrics : undefined;
|
|
49
50
|
resourceInputs["existingDefaultVpc"] = state ? state.existingDefaultVpc : undefined;
|
|
50
51
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
51
52
|
resourceInputs["instanceTenancy"] = state ? state.instanceTenancy : undefined;
|
|
@@ -66,6 +67,7 @@ class DefaultVpc extends pulumi.CustomResource {
|
|
|
66
67
|
resourceInputs["enableClassiclinkDnsSupport"] = args ? args.enableClassiclinkDnsSupport : undefined;
|
|
67
68
|
resourceInputs["enableDnsHostnames"] = args ? args.enableDnsHostnames : undefined;
|
|
68
69
|
resourceInputs["enableDnsSupport"] = args ? args.enableDnsSupport : undefined;
|
|
70
|
+
resourceInputs["enableNetworkAddressUsageMetrics"] = args ? args.enableNetworkAddressUsageMetrics : undefined;
|
|
69
71
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
70
72
|
resourceInputs["ipv6CidrBlock"] = args ? args.ipv6CidrBlock : undefined;
|
|
71
73
|
resourceInputs["ipv6CidrBlockNetworkBorderGroup"] = args ? args.ipv6CidrBlockNetworkBorderGroup : undefined;
|
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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA4EjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,8BAA8B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS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AAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAuIC;AAzHG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
|
package/ec2/getNatGateway.d.ts
CHANGED
|
@@ -10,8 +10,6 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
|
-
* const config = new pulumi.Config();
|
|
14
|
-
* const subnetId = config.requireObject("subnetId");
|
|
15
13
|
* const default = aws.ec2.getNatGateway({
|
|
16
14
|
* subnetId: aws_subnet["public"].id,
|
|
17
15
|
* });
|
package/ec2/getNatGateway.js
CHANGED
|
@@ -14,8 +14,6 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
* const config = new pulumi.Config();
|
|
18
|
-
* const subnetId = config.requireObject("subnetId");
|
|
19
17
|
* const default = aws.ec2.getNatGateway({
|
|
20
18
|
* subnetId: aws_subnet["public"].id,
|
|
21
19
|
* });
|
package/ec2/getNatGateway.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNatGateway.js","sourceRoot":"","sources":["../../ec2/getNatGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getNatGateway.js","sourceRoot":"","sources":["../../ec2/getNatGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,sCAeC;AAiED,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"}
|
package/ec2/getVpc.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ export interface GetVpcResult {
|
|
|
70
70
|
* Whether or not the VPC has DNS support
|
|
71
71
|
*/
|
|
72
72
|
readonly enableDnsSupport: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Whether Network Address Usage metrics are enabled for your VPC
|
|
75
|
+
*/
|
|
76
|
+
readonly enableNetworkAddressUsageMetrics: boolean;
|
|
73
77
|
readonly filters?: outputs.ec2.GetVpcFilter[];
|
|
74
78
|
readonly id: string;
|
|
75
79
|
/**
|