@pulumi/aws 7.54.0-alpha.1793840765 → 7.54.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/amplify/app.d.ts +3 -3
- package/apprunner/connection.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +12 -0
- package/batch/computeEnvironment.d.ts.map +1 -1
- package/batch/computeEnvironment.js +2 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/batch/getComputeEnvironment.d.ts +4 -0
- package/batch/getComputeEnvironment.d.ts.map +1 -1
- package/batch/getComputeEnvironment.js.map +1 -1
- package/bedrockdataautomation/blueprint.d.ts +221 -0
- package/bedrockdataautomation/blueprint.d.ts.map +1 -0
- package/bedrockdataautomation/blueprint.js +154 -0
- package/bedrockdataautomation/blueprint.js.map +1 -0
- package/bedrockdataautomation/index.d.ts +10 -0
- package/bedrockdataautomation/index.d.ts.map +1 -0
- package/bedrockdataautomation/index.js +55 -0
- package/bedrockdataautomation/index.js.map +1 -0
- package/bedrockdataautomation/library.d.ts +214 -0
- package/bedrockdataautomation/library.d.ts.map +1 -0
- package/bedrockdataautomation/library.js +150 -0
- package/bedrockdataautomation/library.js.map +1 -0
- package/bedrockdataautomation/project.d.ts +318 -0
- package/bedrockdataautomation/project.d.ts.map +1 -0
- package/bedrockdataautomation/project.js +198 -0
- package/bedrockdataautomation/project.js.map +1 -0
- package/cloudfront/originAccessControl.d.ts +22 -6
- package/cloudfront/originAccessControl.d.ts.map +1 -1
- package/cloudfront/originAccessControl.js +16 -0
- package/cloudfront/originAccessControl.js.map +1 -1
- package/cloudtrail/trail.d.ts +12 -0
- package/cloudtrail/trail.d.ts.map +1 -1
- package/cloudtrail/trail.js +2 -0
- package/cloudtrail/trail.js.map +1 -1
- package/codebuild/webhook.d.ts +3 -3
- package/datasync/locationAzureBlob.d.ts +3 -3
- package/ec2/capacityManager.d.ts +147 -0
- package/ec2/capacityManager.d.ts.map +1 -0
- package/ec2/capacityManager.js +155 -0
- package/ec2/capacityManager.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.d.ts.map +1 -1
- package/ec2/index.js +10 -5
- package/ec2/index.js.map +1 -1
- package/elasticache/globalReplicationGroup.d.ts +30 -0
- package/elasticache/globalReplicationGroup.d.ts.map +1 -1
- package/elasticache/globalReplicationGroup.js +4 -0
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/finspace/kxCluster.d.ts +3 -3
- package/fsx/openZfsVolume.d.ts +3 -3
- package/guardduty/organizationConfigurationFeature.d.ts +3 -3
- package/index.d.ts +4 -1
- package/index.d.ts.map +1 -1
- package/index.js +11 -5
- package/index.js.map +1 -1
- package/ivs/channel.d.ts +3 -3
- package/kms/key.d.ts +3 -3
- package/lambda/coreNetworkConnector.d.ts +17 -1
- package/lambda/coreNetworkConnector.d.ts.map +1 -1
- package/lambda/coreNetworkConnector.js +5 -1
- package/lambda/coreNetworkConnector.js.map +1 -1
- package/lambdaweb/function.d.ts +155 -0
- package/lambdaweb/function.d.ts.map +1 -0
- package/lambdaweb/function.js +132 -0
- package/lambdaweb/function.js.map +1 -0
- package/lambdaweb/functionEndpoint.d.ts +370 -0
- package/lambdaweb/functionEndpoint.d.ts.map +1 -0
- package/lambdaweb/functionEndpoint.js +276 -0
- package/lambdaweb/functionEndpoint.js.map +1 -0
- package/lambdaweb/functionRevision.d.ts +195 -0
- package/lambdaweb/functionRevision.d.ts.map +1 -0
- package/lambdaweb/functionRevision.js +158 -0
- package/lambdaweb/functionRevision.js.map +1 -0
- package/lambdaweb/getFunction.d.ts +97 -0
- package/lambdaweb/getFunction.d.ts.map +1 -0
- package/lambdaweb/getFunction.js +81 -0
- package/lambdaweb/getFunction.js.map +1 -0
- package/lambdaweb/getFunctionEndpoint.d.ts +141 -0
- package/lambdaweb/getFunctionEndpoint.d.ts.map +1 -0
- package/lambdaweb/getFunctionEndpoint.js +85 -0
- package/lambdaweb/getFunctionEndpoint.js.map +1 -0
- package/lambdaweb/index.d.ts +19 -0
- package/lambdaweb/index.d.ts.map +1 -0
- package/lambdaweb/index.js +66 -0
- package/lambdaweb/index.js.map +1 -0
- package/lambdaweb/resourcePolicy.d.ts +138 -0
- package/lambdaweb/resourcePolicy.d.ts.map +1 -0
- package/lambdaweb/resourcePolicy.js +143 -0
- package/lambdaweb/resourcePolicy.js.map +1 -0
- package/mediaconvert/queue.d.ts +3 -3
- package/networksecuritymanager/index.d.ts +7 -0
- package/networksecuritymanager/index.d.ts.map +1 -0
- package/networksecuritymanager/index.js +50 -0
- package/networksecuritymanager/index.js.map +1 -0
- package/networksecuritymanager/rule.d.ts +213 -0
- package/networksecuritymanager/rule.d.ts.map +1 -0
- package/networksecuritymanager/rule.js +149 -0
- package/networksecuritymanager/rule.js.map +1 -0
- package/networksecuritymanager/scope.d.ts +241 -0
- package/networksecuritymanager/scope.d.ts.map +1 -0
- package/networksecuritymanager/scope.js +189 -0
- package/networksecuritymanager/scope.js.map +1 -0
- package/organizations/organization.d.ts +3 -3
- package/organizations/policy.d.ts +3 -3
- package/package.json +2 -2
- package/quicksight/accountCustomPermission.d.ts +125 -0
- package/quicksight/accountCustomPermission.d.ts.map +1 -0
- package/quicksight/accountCustomPermission.js +127 -0
- package/quicksight/accountCustomPermission.js.map +1 -0
- package/quicksight/index.d.ts +3 -0
- package/quicksight/index.d.ts.map +1 -1
- package/quicksight/index.js +6 -1
- package/quicksight/index.js.map +1 -1
- package/rds/index.d.ts +3 -0
- package/rds/index.d.ts.map +1 -1
- package/rds/index.js +6 -1
- package/rds/index.js.map +1 -1
- package/rds/tenantDatabase.d.ts +347 -0
- package/rds/tenantDatabase.d.ts.map +1 -0
- package/rds/tenantDatabase.js +201 -0
- package/rds/tenantDatabase.js.map +1 -0
- package/s3/bucketObjectv2.d.ts +3 -3
- package/s3/objectCopy.d.ts +3 -3
- package/storagegateway/gateway.d.ts +3 -3
- package/types/input.d.ts +1065 -24
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1086 -23
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Amazon Bedrock Data Automation Library. A library holds entities, such as custom vocabulary, that a project uses when it processes files.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.bedrockdataautomation.Library("example", {
|
|
16
|
+
* name: "example",
|
|
17
|
+
* description: "Medical vocabulary",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ### Use With a Project
|
|
22
|
+
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as aws from "@pulumi/aws";
|
|
26
|
+
*
|
|
27
|
+
* const example = new aws.bedrockdataautomation.Library("example", {name: "example"});
|
|
28
|
+
* const exampleProject = new aws.bedrockdataautomation.Project("example", {
|
|
29
|
+
* dataAutomationLibraryConfiguration: {
|
|
30
|
+
* library: {
|
|
31
|
+
* libraryArn: example.arn,
|
|
32
|
+
* },
|
|
33
|
+
* },
|
|
34
|
+
* name: "example",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* ### Identity Schema
|
|
41
|
+
*
|
|
42
|
+
* #### Required
|
|
43
|
+
*
|
|
44
|
+
* * `arn` (String) ARN of the library.
|
|
45
|
+
*
|
|
46
|
+
* Using `pulumi import`, import Bedrock Data Automation Library using the `arn`. For example:
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import aws:bedrockdataautomation/library:Library example arn:aws:bedrock:us-west-2:123456789012:data-automation-library/abcd1234efgh
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class Library extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing Library resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LibraryState, opts?: pulumi.CustomResourceOptions): Library;
|
|
63
|
+
/**
|
|
64
|
+
* Check whether an existing Library resource with the given ID exists.
|
|
65
|
+
*
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static exists(id: pulumi.Input<string>, state?: LibraryState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of Library. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj: any): obj is Library;
|
|
76
|
+
/**
|
|
77
|
+
* ARN of the library.
|
|
78
|
+
*/
|
|
79
|
+
readonly arn: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Time the library was created, in RFC3339 format.
|
|
82
|
+
*/
|
|
83
|
+
readonly creationTime: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
|
|
86
|
+
*/
|
|
87
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below.
|
|
90
|
+
*/
|
|
91
|
+
readonly encryptionConfiguration: pulumi.Output<outputs.bedrockdataautomation.LibraryEncryptionConfiguration | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Entity types in the library. See `entityTypes` Block below.
|
|
94
|
+
*/
|
|
95
|
+
readonly entityTypes: pulumi.Output<outputs.bedrockdataautomation.LibraryEntityType[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Name of the library. Changing this value forces a new resource.
|
|
98
|
+
*
|
|
99
|
+
* The following arguments are optional:
|
|
100
|
+
*/
|
|
101
|
+
readonly name: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
104
|
+
*/
|
|
105
|
+
readonly region: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Status of the library.
|
|
108
|
+
*/
|
|
109
|
+
readonly status: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
112
|
+
*/
|
|
113
|
+
readonly tags: pulumi.Output<{
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
} | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
118
|
+
*/
|
|
119
|
+
readonly tagsAll: pulumi.Output<{
|
|
120
|
+
[key: string]: string;
|
|
121
|
+
}>;
|
|
122
|
+
readonly timeouts: pulumi.Output<outputs.bedrockdataautomation.LibraryTimeouts | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Create a Library resource with the given unique name, arguments, and options.
|
|
125
|
+
*
|
|
126
|
+
* @param name The _unique_ name of the resource.
|
|
127
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
128
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
129
|
+
*/
|
|
130
|
+
constructor(name: string, args?: LibraryArgs, opts?: pulumi.CustomResourceOptions);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Input properties used for looking up and filtering Library resources.
|
|
134
|
+
*/
|
|
135
|
+
export interface LibraryState {
|
|
136
|
+
/**
|
|
137
|
+
* ARN of the library.
|
|
138
|
+
*/
|
|
139
|
+
arn?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Time the library was created, in RFC3339 format.
|
|
142
|
+
*/
|
|
143
|
+
creationTime?: pulumi.Input<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
|
|
146
|
+
*/
|
|
147
|
+
description?: pulumi.Input<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below.
|
|
150
|
+
*/
|
|
151
|
+
encryptionConfiguration?: pulumi.Input<inputs.bedrockdataautomation.LibraryEncryptionConfiguration | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Entity types in the library. See `entityTypes` Block below.
|
|
154
|
+
*/
|
|
155
|
+
entityTypes?: pulumi.Input<pulumi.Input<inputs.bedrockdataautomation.LibraryEntityType>[] | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Name of the library. Changing this value forces a new resource.
|
|
158
|
+
*
|
|
159
|
+
* The following arguments are optional:
|
|
160
|
+
*/
|
|
161
|
+
name?: pulumi.Input<string | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
164
|
+
*/
|
|
165
|
+
region?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Status of the library.
|
|
168
|
+
*/
|
|
169
|
+
status?: pulumi.Input<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
172
|
+
*/
|
|
173
|
+
tags?: pulumi.Input<{
|
|
174
|
+
[key: string]: pulumi.Input<string>;
|
|
175
|
+
} | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
178
|
+
*/
|
|
179
|
+
tagsAll?: pulumi.Input<{
|
|
180
|
+
[key: string]: pulumi.Input<string>;
|
|
181
|
+
} | undefined>;
|
|
182
|
+
timeouts?: pulumi.Input<inputs.bedrockdataautomation.LibraryTimeouts | undefined>;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The set of arguments for constructing a Library resource.
|
|
186
|
+
*/
|
|
187
|
+
export interface LibraryArgs {
|
|
188
|
+
/**
|
|
189
|
+
* Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
|
|
190
|
+
*/
|
|
191
|
+
description?: pulumi.Input<string | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* Encryption settings for the library. Changing this block forces a new resource. See `encryptionConfiguration` Block below.
|
|
194
|
+
*/
|
|
195
|
+
encryptionConfiguration?: pulumi.Input<inputs.bedrockdataautomation.LibraryEncryptionConfiguration | undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* Name of the library. Changing this value forces a new resource.
|
|
198
|
+
*
|
|
199
|
+
* The following arguments are optional:
|
|
200
|
+
*/
|
|
201
|
+
name?: pulumi.Input<string | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
204
|
+
*/
|
|
205
|
+
region?: pulumi.Input<string | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
208
|
+
*/
|
|
209
|
+
tags?: pulumi.Input<{
|
|
210
|
+
[key: string]: pulumi.Input<string>;
|
|
211
|
+
} | undefined>;
|
|
212
|
+
timeouts?: pulumi.Input<inputs.bedrockdataautomation.LibraryTimeouts | undefined>;
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=library.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../bedrockdataautomation/library.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAIhI;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOjI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAgC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAgC,YAAY,EAAE,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;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAChH;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;CACrF"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Library = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages an Amazon Bedrock Data Automation Library. A library holds entities, such as custom vocabulary, that a project uses when it processes files.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Basic Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = new aws.bedrockdataautomation.Library("example", {
|
|
43
|
+
* name: "example",
|
|
44
|
+
* description: "Medical vocabulary",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ### Use With a Project
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as aws from "@pulumi/aws";
|
|
53
|
+
*
|
|
54
|
+
* const example = new aws.bedrockdataautomation.Library("example", {name: "example"});
|
|
55
|
+
* const exampleProject = new aws.bedrockdataautomation.Project("example", {
|
|
56
|
+
* dataAutomationLibraryConfiguration: {
|
|
57
|
+
* library: {
|
|
58
|
+
* libraryArn: example.arn,
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* name: "example",
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ## Import
|
|
66
|
+
*
|
|
67
|
+
* ### Identity Schema
|
|
68
|
+
*
|
|
69
|
+
* #### Required
|
|
70
|
+
*
|
|
71
|
+
* * `arn` (String) ARN of the library.
|
|
72
|
+
*
|
|
73
|
+
* Using `pulumi import`, import Bedrock Data Automation Library using the `arn`. For example:
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* $ pulumi import aws:bedrockdataautomation/library:Library example arn:aws:bedrock:us-west-2:123456789012:data-automation-library/abcd1234efgh
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
class Library extends pulumi.CustomResource {
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing Library resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new Library(name, state, { ...opts, id: id });
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check whether an existing Library resource with the given ID exists.
|
|
94
|
+
*
|
|
95
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
96
|
+
* @param state Any extra arguments used during the lookup.
|
|
97
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
98
|
+
*/
|
|
99
|
+
static exists(id, state, opts) {
|
|
100
|
+
return pulumi.runtime.existsResource("aws:bedrockdataautomation/library:Library", id, state || {}, { ...opts }, undefined);
|
|
101
|
+
}
|
|
102
|
+
/** @internal */
|
|
103
|
+
static __pulumiType = 'aws:bedrockdataautomation/library:Library';
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of Library. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj) {
|
|
109
|
+
if (obj === undefined || obj === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
return obj['__pulumiType'] === Library.__pulumiType;
|
|
113
|
+
}
|
|
114
|
+
constructor(name, argsOrState, opts) {
|
|
115
|
+
let resourceInputs = {};
|
|
116
|
+
opts = opts || {};
|
|
117
|
+
if (opts.id) {
|
|
118
|
+
const state = argsOrState;
|
|
119
|
+
resourceInputs["arn"] = state?.arn;
|
|
120
|
+
resourceInputs["creationTime"] = state?.creationTime;
|
|
121
|
+
resourceInputs["description"] = state?.description;
|
|
122
|
+
resourceInputs["encryptionConfiguration"] = state?.encryptionConfiguration;
|
|
123
|
+
resourceInputs["entityTypes"] = state?.entityTypes;
|
|
124
|
+
resourceInputs["name"] = state?.name;
|
|
125
|
+
resourceInputs["region"] = state?.region;
|
|
126
|
+
resourceInputs["status"] = state?.status;
|
|
127
|
+
resourceInputs["tags"] = state?.tags;
|
|
128
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
129
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
const args = argsOrState;
|
|
133
|
+
resourceInputs["description"] = args?.description;
|
|
134
|
+
resourceInputs["encryptionConfiguration"] = args?.encryptionConfiguration;
|
|
135
|
+
resourceInputs["name"] = args?.name;
|
|
136
|
+
resourceInputs["region"] = args?.region;
|
|
137
|
+
resourceInputs["tags"] = args?.tags;
|
|
138
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
139
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
140
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
141
|
+
resourceInputs["entityTypes"] = undefined /*out*/;
|
|
142
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
143
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
144
|
+
}
|
|
145
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
146
|
+
super(Library.__pulumiType, name, resourceInputs, opts);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.Library = Library;
|
|
150
|
+
//# sourceMappingURL=library.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library.js","sourceRoot":"","sources":["../../bedrockdataautomation/library.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAoB,EAAE,IAAmC;QACpG,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,2CAA2C,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,CAAC;IACpI,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2CAA2C,CAAC;IAElF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO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