@pulumi/aws 6.65.0-alpha.1734054779 → 6.65.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/alb/listener.d.ts +6 -0
- package/alb/listener.js.map +1 -1
- package/apigateway/basePathMapping.d.ts +20 -1
- package/apigateway/basePathMapping.js +10 -1
- package/apigateway/basePathMapping.js.map +1 -1
- package/apigateway/domainName.d.ts +28 -1
- package/apigateway/domainName.js +12 -1
- package/apigateway/domainName.js.map +1 -1
- package/apigateway/getDomainName.d.ts +13 -0
- package/apigateway/getDomainName.js +2 -0
- package/apigateway/getDomainName.js.map +1 -1
- package/bedrock/getInferenceProfile.d.ts +1 -1
- package/bedrock/index.d.ts +3 -0
- package/bedrock/index.js +6 -1
- package/bedrock/index.js.map +1 -1
- package/bedrock/inferenceProfile.d.ts +193 -0
- package/bedrock/inferenceProfile.js +103 -0
- package/bedrock/inferenceProfile.js.map +1 -0
- package/cloudwatch/index.d.ts +3 -0
- package/cloudwatch/index.js +6 -1
- package/cloudwatch/index.js.map +1 -1
- package/cloudwatch/logAnomalyDetector.d.ts +178 -0
- package/cloudwatch/logAnomalyDetector.js +105 -0
- package/cloudwatch/logAnomalyDetector.js.map +1 -0
- package/cognito/userPoolDomain.d.ts +1 -1
- package/cognito/userPoolDomain.js +1 -1
- package/ebs/snapshotCopy.d.ts +12 -0
- package/ebs/snapshotCopy.js +2 -0
- package/ebs/snapshotCopy.js.map +1 -1
- package/ec2/instance.d.ts +12 -0
- package/ec2/instance.js +2 -0
- package/ec2/instance.js.map +1 -1
- package/ec2/networkInterface.d.ts +18 -6
- package/ec2/networkInterface.js +2 -0
- package/ec2/networkInterface.js.map +1 -1
- package/ec2/spotInstanceRequest.d.ts +12 -0
- package/ec2/spotInstanceRequest.js +2 -0
- package/ec2/spotInstanceRequest.js.map +1 -1
- package/ecr/accountSetting.d.ts +83 -0
- package/ecr/accountSetting.js +77 -0
- package/ecr/accountSetting.js.map +1 -0
- package/ecr/index.d.ts +3 -0
- package/ecr/index.js +6 -1
- package/ecr/index.js.map +1 -1
- package/eks/accessPolicyAssociation.d.ts +1 -1
- package/eks/accessPolicyAssociation.js +1 -1
- package/fsx/windowsFileSystem.d.ts +3 -3
- package/glue/catalogTableOptimizer.d.ts +56 -7
- package/glue/catalogTableOptimizer.js +50 -1
- package/glue/catalogTableOptimizer.js.map +1 -1
- package/iam/openIdConnectProvider.d.ts +25 -20
- package/iam/openIdConnectProvider.js +14 -3
- package/iam/openIdConnectProvider.js.map +1 -1
- package/lb/listener.d.ts +6 -0
- package/lb/listener.js.map +1 -1
- package/msk/index.d.ts +3 -0
- package/msk/index.js +6 -1
- package/msk/index.js.map +1 -1
- package/msk/replicator.d.ts +0 -47
- package/msk/replicator.js +0 -47
- package/msk/replicator.js.map +1 -1
- package/msk/scramSecretAssociation.d.ts +2 -0
- package/msk/scramSecretAssociation.js +2 -0
- package/msk/scramSecretAssociation.js.map +1 -1
- package/msk/singleScramSecretAssociation.d.ts +83 -0
- package/msk/singleScramSecretAssociation.js +80 -0
- package/msk/singleScramSecretAssociation.js.map +1 -0
- package/networkfirewall/loggingConfiguration.d.ts +1 -1
- package/networkfirewall/loggingConfiguration.js +1 -1
- package/package.json +2 -2
- package/rds/cluster.d.ts +2 -1
- package/rds/cluster.js +2 -1
- package/rds/cluster.js.map +1 -1
- package/rds/globalCluster.d.ts +42 -8
- package/rds/globalCluster.js +4 -0
- package/rds/globalCluster.js.map +1 -1
- package/rds/instance.d.ts +57 -63
- package/rds/instance.js.map +1 -1
- package/rds/proxy.d.ts +0 -30
- package/rds/proxy.js +0 -30
- package/rds/proxy.js.map +1 -1
- package/route53/profilesAssociation.d.ts +15 -2
- package/route53/profilesAssociation.js.map +1 -1
- package/route53/profilesProfile.d.ts +19 -5
- package/route53/profilesProfile.js +6 -1
- package/route53/profilesProfile.js.map +1 -1
- package/sagemaker/notebookInstance.d.ts +3 -3
- package/servicecatalog/appregistryApplication.d.ts +34 -0
- package/servicecatalog/appregistryApplication.js +4 -0
- package/servicecatalog/appregistryApplication.js.map +1 -1
- package/servicecatalog/appregistryAttributeGroup.d.ts +149 -0
- package/servicecatalog/appregistryAttributeGroup.js +91 -0
- package/servicecatalog/appregistryAttributeGroup.js.map +1 -0
- package/servicecatalog/appregistryAttributeGroupAssociation.d.ts +94 -0
- package/servicecatalog/appregistryAttributeGroupAssociation.js +91 -0
- package/servicecatalog/appregistryAttributeGroupAssociation.js.map +1 -0
- package/servicecatalog/getAppregistryApplication.d.ts +6 -0
- package/servicecatalog/getAppregistryApplication.js.map +1 -1
- package/servicecatalog/getAppregistryAttributeGroup.d.ts +91 -0
- package/servicecatalog/getAppregistryAttributeGroup.js +60 -0
- package/servicecatalog/getAppregistryAttributeGroup.js.map +1 -0
- package/servicecatalog/index.d.ts +9 -0
- package/servicecatalog/index.js +14 -1
- package/servicecatalog/index.js.map +1 -1
- package/sesv2/configurationSet.d.ts +2 -0
- package/sesv2/configurationSet.js +2 -0
- package/sesv2/configurationSet.js.map +1 -1
- package/types/input.d.ts +103 -10
- package/types/input.js.map +1 -1
- package/types/output.d.ts +111 -10
- package/types/output.js.map +1 -1
package/alb/listener.d.ts
CHANGED
|
@@ -274,6 +274,8 @@ export declare class Listener extends pulumi.CustomResource {
|
|
|
274
274
|
readonly sslPolicy: pulumi.Output<string>;
|
|
275
275
|
/**
|
|
276
276
|
* A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
277
|
+
*
|
|
278
|
+
* > **Note::** When a `Name` key is specified in the map, the AWS Console maps the value to the `Name Tag` column value inside the `Listener Rules` table within a specific load balancer listener page. Otherwise, the value resolves to `Default`.
|
|
277
279
|
*/
|
|
278
280
|
readonly tags: pulumi.Output<{
|
|
279
281
|
[key: string]: string;
|
|
@@ -343,6 +345,8 @@ export interface ListenerState {
|
|
|
343
345
|
sslPolicy?: pulumi.Input<string>;
|
|
344
346
|
/**
|
|
345
347
|
* A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
348
|
+
*
|
|
349
|
+
* > **Note::** When a `Name` key is specified in the map, the AWS Console maps the value to the `Name Tag` column value inside the `Listener Rules` table within a specific load balancer listener page. Otherwise, the value resolves to `Default`.
|
|
346
350
|
*/
|
|
347
351
|
tags?: pulumi.Input<{
|
|
348
352
|
[key: string]: pulumi.Input<string>;
|
|
@@ -400,6 +404,8 @@ export interface ListenerArgs {
|
|
|
400
404
|
sslPolicy?: pulumi.Input<string>;
|
|
401
405
|
/**
|
|
402
406
|
* A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
407
|
+
*
|
|
408
|
+
* > **Note::** When a `Name` key is specified in the map, the AWS Console maps the value to the `Name Tag` column value inside the `Listener Rules` table within a specific load balancer listener page. Otherwise, the value resolves to `Default`.
|
|
403
409
|
*/
|
|
404
410
|
tags?: pulumi.Input<{
|
|
405
411
|
[key: string]: pulumi.Input<string>;
|
package/alb/listener.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listener.js","sourceRoot":"","sources":["../../alb/listener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwNG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,E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private custom domain name:
|
|
13
|
+
*
|
|
14
|
+
* Using `pulumi import`, import `aws_api_gateway_base_path_mapping` using the domain name and base path or domain name, base path and domain name ID (for private custom domain names). For example:
|
|
13
15
|
*
|
|
14
16
|
* For an empty `base_path` or, in other words, a root path (`/`):
|
|
15
17
|
*
|
|
@@ -21,6 +23,11 @@ import { RestApi } from "./index";
|
|
|
21
23
|
* ```sh
|
|
22
24
|
* $ pulumi import aws:apigateway/basePathMapping:BasePathMapping example example.com/base-path
|
|
23
25
|
* ```
|
|
26
|
+
* For a non-root `base_path` and a private custom domain name:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:apigateway/basePathMapping:BasePathMapping example api.internal.example.com/base-path/abcde12345
|
|
30
|
+
* ```
|
|
24
31
|
*/
|
|
25
32
|
export declare class BasePathMapping extends pulumi.CustomResource {
|
|
26
33
|
/**
|
|
@@ -46,6 +53,10 @@ export declare class BasePathMapping extends pulumi.CustomResource {
|
|
|
46
53
|
* Already-registered domain name to connect the API to.
|
|
47
54
|
*/
|
|
48
55
|
readonly domainName: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
58
|
+
*/
|
|
59
|
+
readonly domainNameId: pulumi.Output<string | undefined>;
|
|
49
60
|
/**
|
|
50
61
|
* ID of the API to connect.
|
|
51
62
|
*/
|
|
@@ -75,6 +86,10 @@ export interface BasePathMappingState {
|
|
|
75
86
|
* Already-registered domain name to connect the API to.
|
|
76
87
|
*/
|
|
77
88
|
domainName?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
91
|
+
*/
|
|
92
|
+
domainNameId?: pulumi.Input<string>;
|
|
78
93
|
/**
|
|
79
94
|
* ID of the API to connect.
|
|
80
95
|
*/
|
|
@@ -96,6 +111,10 @@ export interface BasePathMappingArgs {
|
|
|
96
111
|
* Already-registered domain name to connect the API to.
|
|
97
112
|
*/
|
|
98
113
|
domainName: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
116
|
+
*/
|
|
117
|
+
domainNameId?: pulumi.Input<string>;
|
|
99
118
|
/**
|
|
100
119
|
* ID of the API to connect.
|
|
101
120
|
*/
|
|
@@ -14,7 +14,9 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* For a non-root `base_path`:
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* For a non-root `base_path` and a private custom domain name:
|
|
18
|
+
*
|
|
19
|
+
* Using `pulumi import`, import `aws_api_gateway_base_path_mapping` using the domain name and base path or domain name, base path and domain name ID (for private custom domain names). For example:
|
|
18
20
|
*
|
|
19
21
|
* For an empty `base_path` or, in other words, a root path (`/`):
|
|
20
22
|
*
|
|
@@ -26,6 +28,11 @@ const utilities = require("../utilities");
|
|
|
26
28
|
* ```sh
|
|
27
29
|
* $ pulumi import aws:apigateway/basePathMapping:BasePathMapping example example.com/base-path
|
|
28
30
|
* ```
|
|
31
|
+
* For a non-root `base_path` and a private custom domain name:
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import aws:apigateway/basePathMapping:BasePathMapping example api.internal.example.com/base-path/abcde12345
|
|
35
|
+
* ```
|
|
29
36
|
*/
|
|
30
37
|
class BasePathMapping extends pulumi.CustomResource {
|
|
31
38
|
/**
|
|
@@ -57,6 +64,7 @@ class BasePathMapping extends pulumi.CustomResource {
|
|
|
57
64
|
const state = argsOrState;
|
|
58
65
|
resourceInputs["basePath"] = state ? state.basePath : undefined;
|
|
59
66
|
resourceInputs["domainName"] = state ? state.domainName : undefined;
|
|
67
|
+
resourceInputs["domainNameId"] = state ? state.domainNameId : undefined;
|
|
60
68
|
resourceInputs["restApi"] = state ? state.restApi : undefined;
|
|
61
69
|
resourceInputs["stageName"] = state ? state.stageName : undefined;
|
|
62
70
|
}
|
|
@@ -70,6 +78,7 @@ class BasePathMapping extends pulumi.CustomResource {
|
|
|
70
78
|
}
|
|
71
79
|
resourceInputs["basePath"] = args ? args.basePath : undefined;
|
|
72
80
|
resourceInputs["domainName"] = args ? args.domainName : undefined;
|
|
81
|
+
resourceInputs["domainNameId"] = args ? args.domainNameId : undefined;
|
|
73
82
|
resourceInputs["restApi"] = args ? args.restApi : undefined;
|
|
74
83
|
resourceInputs["stageName"] = args ? args.stageName : undefined;
|
|
75
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePathMapping.js","sourceRoot":"","sources":["../../apigateway/basePathMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C
|
|
1
|
+
{"version":3,"file":"basePathMapping.js","sourceRoot":"","sources":["../../apigateway/basePathMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAA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CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnFL,0CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -84,11 +84,18 @@ import * as outputs from "../types/output";
|
|
|
84
84
|
*
|
|
85
85
|
* ## Import
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
* For a private custom domain name:
|
|
88
|
+
*
|
|
89
|
+
* Using `pulumi import`, import API Gateway domain names using their `name` or `name` and `domain_name_id` (for private custom domain names). For example:
|
|
88
90
|
*
|
|
89
91
|
* ```sh
|
|
90
92
|
* $ pulumi import aws:apigateway/domainName:DomainName example dev.example.com
|
|
91
93
|
* ```
|
|
94
|
+
* For a private custom domain name:
|
|
95
|
+
*
|
|
96
|
+
* ```sh
|
|
97
|
+
* $ pulumi import aws:apigateway/domainName:DomainName example dev.api.internal.example.com/abcde12345
|
|
98
|
+
* ```
|
|
92
99
|
*/
|
|
93
100
|
export declare class DomainName extends pulumi.CustomResource {
|
|
94
101
|
/**
|
|
@@ -146,6 +153,10 @@ export declare class DomainName extends pulumi.CustomResource {
|
|
|
146
153
|
* Fully-qualified domain name to register.
|
|
147
154
|
*/
|
|
148
155
|
readonly domainName: pulumi.Output<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
158
|
+
*/
|
|
159
|
+
readonly domainNameId: pulumi.Output<string>;
|
|
149
160
|
/**
|
|
150
161
|
* Configuration block defining API endpoint information including type. See below.
|
|
151
162
|
*/
|
|
@@ -158,6 +169,10 @@ export declare class DomainName extends pulumi.CustomResource {
|
|
|
158
169
|
* ARN of the AWS-issued certificate used to validate custom domain ownership (when `certificateArn` is issued via an ACM Private CA or `mutualTlsAuthentication` is configured with an ACM-imported certificate.)
|
|
159
170
|
*/
|
|
160
171
|
readonly ownershipVerificationCertificateArn: pulumi.Output<string>;
|
|
172
|
+
/**
|
|
173
|
+
* A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
|
|
174
|
+
*/
|
|
175
|
+
readonly policy: pulumi.Output<string | undefined>;
|
|
161
176
|
/**
|
|
162
177
|
* ARN for an AWS-managed certificate. AWS Certificate Manager is the only supported source. Used when a regional domain name is desired. Conflicts with `certificateArn`, `certificateName`, `certificateBody`, `certificateChain`, and `certificatePrivateKey`.
|
|
163
178
|
*
|
|
@@ -249,6 +264,10 @@ export interface DomainNameState {
|
|
|
249
264
|
* Fully-qualified domain name to register.
|
|
250
265
|
*/
|
|
251
266
|
domainName?: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
269
|
+
*/
|
|
270
|
+
domainNameId?: pulumi.Input<string>;
|
|
252
271
|
/**
|
|
253
272
|
* Configuration block defining API endpoint information including type. See below.
|
|
254
273
|
*/
|
|
@@ -261,6 +280,10 @@ export interface DomainNameState {
|
|
|
261
280
|
* ARN of the AWS-issued certificate used to validate custom domain ownership (when `certificateArn` is issued via an ACM Private CA or `mutualTlsAuthentication` is configured with an ACM-imported certificate.)
|
|
262
281
|
*/
|
|
263
282
|
ownershipVerificationCertificateArn?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
|
|
285
|
+
*/
|
|
286
|
+
policy?: pulumi.Input<string>;
|
|
264
287
|
/**
|
|
265
288
|
* ARN for an AWS-managed certificate. AWS Certificate Manager is the only supported source. Used when a regional domain name is desired. Conflicts with `certificateArn`, `certificateName`, `certificateBody`, `certificateChain`, and `certificatePrivateKey`.
|
|
266
289
|
*
|
|
@@ -340,6 +363,10 @@ export interface DomainNameArgs {
|
|
|
340
363
|
* ARN of the AWS-issued certificate used to validate custom domain ownership (when `certificateArn` is issued via an ACM Private CA or `mutualTlsAuthentication` is configured with an ACM-imported certificate.)
|
|
341
364
|
*/
|
|
342
365
|
ownershipVerificationCertificateArn?: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
|
|
368
|
+
*/
|
|
369
|
+
policy?: pulumi.Input<string>;
|
|
343
370
|
/**
|
|
344
371
|
* ARN for an AWS-managed certificate. AWS Certificate Manager is the only supported source. Used when a regional domain name is desired. Conflicts with `certificateArn`, `certificateName`, `certificateBody`, `certificateChain`, and `certificatePrivateKey`.
|
|
345
372
|
*
|
package/apigateway/domainName.js
CHANGED
|
@@ -88,11 +88,18 @@ const utilities = require("../utilities");
|
|
|
88
88
|
*
|
|
89
89
|
* ## Import
|
|
90
90
|
*
|
|
91
|
-
*
|
|
91
|
+
* For a private custom domain name:
|
|
92
|
+
*
|
|
93
|
+
* Using `pulumi import`, import API Gateway domain names using their `name` or `name` and `domain_name_id` (for private custom domain names). For example:
|
|
92
94
|
*
|
|
93
95
|
* ```sh
|
|
94
96
|
* $ pulumi import aws:apigateway/domainName:DomainName example dev.example.com
|
|
95
97
|
* ```
|
|
98
|
+
* For a private custom domain name:
|
|
99
|
+
*
|
|
100
|
+
* ```sh
|
|
101
|
+
* $ pulumi import aws:apigateway/domainName:DomainName example dev.api.internal.example.com/abcde12345
|
|
102
|
+
* ```
|
|
96
103
|
*/
|
|
97
104
|
class DomainName extends pulumi.CustomResource {
|
|
98
105
|
/**
|
|
@@ -132,9 +139,11 @@ class DomainName extends pulumi.CustomResource {
|
|
|
132
139
|
resourceInputs["cloudfrontDomainName"] = state ? state.cloudfrontDomainName : undefined;
|
|
133
140
|
resourceInputs["cloudfrontZoneId"] = state ? state.cloudfrontZoneId : undefined;
|
|
134
141
|
resourceInputs["domainName"] = state ? state.domainName : undefined;
|
|
142
|
+
resourceInputs["domainNameId"] = state ? state.domainNameId : undefined;
|
|
135
143
|
resourceInputs["endpointConfiguration"] = state ? state.endpointConfiguration : undefined;
|
|
136
144
|
resourceInputs["mutualTlsAuthentication"] = state ? state.mutualTlsAuthentication : undefined;
|
|
137
145
|
resourceInputs["ownershipVerificationCertificateArn"] = state ? state.ownershipVerificationCertificateArn : undefined;
|
|
146
|
+
resourceInputs["policy"] = state ? state.policy : undefined;
|
|
138
147
|
resourceInputs["regionalCertificateArn"] = state ? state.regionalCertificateArn : undefined;
|
|
139
148
|
resourceInputs["regionalCertificateName"] = state ? state.regionalCertificateName : undefined;
|
|
140
149
|
resourceInputs["regionalDomainName"] = state ? state.regionalDomainName : undefined;
|
|
@@ -157,6 +166,7 @@ class DomainName extends pulumi.CustomResource {
|
|
|
157
166
|
resourceInputs["endpointConfiguration"] = args ? args.endpointConfiguration : undefined;
|
|
158
167
|
resourceInputs["mutualTlsAuthentication"] = args ? args.mutualTlsAuthentication : undefined;
|
|
159
168
|
resourceInputs["ownershipVerificationCertificateArn"] = args ? args.ownershipVerificationCertificateArn : undefined;
|
|
169
|
+
resourceInputs["policy"] = args ? args.policy : undefined;
|
|
160
170
|
resourceInputs["regionalCertificateArn"] = args ? args.regionalCertificateArn : undefined;
|
|
161
171
|
resourceInputs["regionalCertificateName"] = args ? args.regionalCertificateName : undefined;
|
|
162
172
|
resourceInputs["securityPolicy"] = args ? args.securityPolicy : undefined;
|
|
@@ -165,6 +175,7 @@ class DomainName extends pulumi.CustomResource {
|
|
|
165
175
|
resourceInputs["certificateUploadDate"] = undefined /*out*/;
|
|
166
176
|
resourceInputs["cloudfrontDomainName"] = undefined /*out*/;
|
|
167
177
|
resourceInputs["cloudfrontZoneId"] = undefined /*out*/;
|
|
178
|
+
resourceInputs["domainNameId"] = undefined /*out*/;
|
|
168
179
|
resourceInputs["regionalDomainName"] = undefined /*out*/;
|
|
169
180
|
resourceInputs["regionalZoneId"] = undefined /*out*/;
|
|
170
181
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainName.js","sourceRoot":"","sources":["../../apigateway/domainName.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"domainName.js","sourceRoot":"","sources":["../../apigateway/domainName.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;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,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C,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9LL,gCA+LC;AAjLG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -23,6 +23,10 @@ export interface GetDomainNameArgs {
|
|
|
23
23
|
* Fully-qualified domain name to look up. If no domain name is found, an error will be returned.
|
|
24
24
|
*/
|
|
25
25
|
domainName: string;
|
|
26
|
+
/**
|
|
27
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
28
|
+
*/
|
|
29
|
+
domainNameId?: string;
|
|
26
30
|
/**
|
|
27
31
|
* Key-value map of tags for the resource.
|
|
28
32
|
*/
|
|
@@ -59,6 +63,7 @@ export interface GetDomainNameResult {
|
|
|
59
63
|
*/
|
|
60
64
|
readonly cloudfrontZoneId: string;
|
|
61
65
|
readonly domainName: string;
|
|
66
|
+
readonly domainNameId: string;
|
|
62
67
|
/**
|
|
63
68
|
* List of objects with the endpoint configuration of this domain name.
|
|
64
69
|
*/
|
|
@@ -67,6 +72,10 @@ export interface GetDomainNameResult {
|
|
|
67
72
|
* The provider-assigned unique ID for this managed resource.
|
|
68
73
|
*/
|
|
69
74
|
readonly id: string;
|
|
75
|
+
/**
|
|
76
|
+
* A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
|
|
77
|
+
*/
|
|
78
|
+
readonly policy: string;
|
|
70
79
|
/**
|
|
71
80
|
* ARN for an AWS-managed certificate that is used for validating the regional domain name.
|
|
72
81
|
*/
|
|
@@ -117,6 +126,10 @@ export interface GetDomainNameOutputArgs {
|
|
|
117
126
|
* Fully-qualified domain name to look up. If no domain name is found, an error will be returned.
|
|
118
127
|
*/
|
|
119
128
|
domainName: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The identifier for the domain name resource. Supported only for private custom domain names.
|
|
131
|
+
*/
|
|
132
|
+
domainNameId?: pulumi.Input<string>;
|
|
120
133
|
/**
|
|
121
134
|
* Key-value map of tags for the resource.
|
|
122
135
|
*/
|
|
@@ -23,6 +23,7 @@ function getDomainName(args, opts) {
|
|
|
23
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
24
|
return pulumi.runtime.invoke("aws:apigateway/getDomainName:getDomainName", {
|
|
25
25
|
"domainName": args.domainName,
|
|
26
|
+
"domainNameId": args.domainNameId,
|
|
26
27
|
"tags": args.tags,
|
|
27
28
|
}, opts);
|
|
28
29
|
}
|
|
@@ -45,6 +46,7 @@ function getDomainNameOutput(args, opts) {
|
|
|
45
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
47
|
return pulumi.runtime.invokeOutput("aws:apigateway/getDomainName:getDomainName", {
|
|
47
48
|
"domainName": args.domainName,
|
|
49
|
+
"domainNameId": args.domainNameId,
|
|
48
50
|
"tags": args.tags,
|
|
49
51
|
}, opts);
|
|
50
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomainName.js","sourceRoot":"","sources":["../../apigateway/getDomainName.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAA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E,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
|
|
@@ -61,7 +61,7 @@ export interface GetInferenceProfileResult {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly status: string;
|
|
63
63
|
/**
|
|
64
|
-
* The type of the inference profile. `SYSTEM_DEFINED` means that the inference profile is defined by Amazon Bedrock.
|
|
64
|
+
* The type of the inference profile. `SYSTEM_DEFINED` means that the inference profile is defined by Amazon Bedrock. `APPLICATION` means that the inference profile is defined by the user.
|
|
65
65
|
*/
|
|
66
66
|
readonly type: string;
|
|
67
67
|
/**
|
package/bedrock/index.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ export declare const Guardrail: typeof import("./guardrail").Guardrail;
|
|
|
40
40
|
export { GuardrailVersionArgs, GuardrailVersionState } from "./guardrailVersion";
|
|
41
41
|
export type GuardrailVersion = import("./guardrailVersion").GuardrailVersion;
|
|
42
42
|
export declare const GuardrailVersion: typeof import("./guardrailVersion").GuardrailVersion;
|
|
43
|
+
export { InferenceProfileArgs, InferenceProfileState } from "./inferenceProfile";
|
|
44
|
+
export type InferenceProfile = import("./inferenceProfile").InferenceProfile;
|
|
45
|
+
export declare const InferenceProfile: typeof import("./inferenceProfile").InferenceProfile;
|
|
43
46
|
export { ProvisionedModelThroughputArgs, ProvisionedModelThroughputState } from "./provisionedModelThroughput";
|
|
44
47
|
export type ProvisionedModelThroughput = import("./provisionedModelThroughput").ProvisionedModelThroughput;
|
|
45
48
|
export declare const ProvisionedModelThroughput: typeof import("./provisionedModelThroughput").ProvisionedModelThroughput;
|
package/bedrock/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.ProvisionedModelThroughput = exports.GuardrailVersion = exports.Guardrail = exports.getInferenceProfilesOutput = exports.getInferenceProfiles = exports.getInferenceProfileOutput = exports.getInferenceProfile = exports.getCustomModelsOutput = exports.getCustomModels = exports.getCustomModelOutput = exports.getCustomModel = exports.getAgentAgentVersionsOutput = exports.getAgentAgentVersions = exports.CustomModel = exports.AgentKnowledgeBase = exports.AgentDataSource = exports.AgentAgentKnowledgeBaseAssociation = exports.AgentAgentAlias = exports.AgentAgentActionGroup = exports.AgentAgent = void 0;
|
|
5
|
+
exports.ProvisionedModelThroughput = exports.InferenceProfile = exports.GuardrailVersion = exports.Guardrail = exports.getInferenceProfilesOutput = exports.getInferenceProfiles = exports.getInferenceProfileOutput = exports.getInferenceProfile = exports.getCustomModelsOutput = exports.getCustomModels = exports.getCustomModelOutput = exports.getCustomModel = exports.getAgentAgentVersionsOutput = exports.getAgentAgentVersions = exports.CustomModel = exports.AgentKnowledgeBase = exports.AgentDataSource = exports.AgentAgentKnowledgeBaseAssociation = exports.AgentAgentAlias = exports.AgentAgentActionGroup = exports.AgentAgent = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AgentAgent = null;
|
|
@@ -38,6 +38,8 @@ exports.Guardrail = null;
|
|
|
38
38
|
utilities.lazyLoad(exports, ["Guardrail"], () => require("./guardrail"));
|
|
39
39
|
exports.GuardrailVersion = null;
|
|
40
40
|
utilities.lazyLoad(exports, ["GuardrailVersion"], () => require("./guardrailVersion"));
|
|
41
|
+
exports.InferenceProfile = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["InferenceProfile"], () => require("./inferenceProfile"));
|
|
41
43
|
exports.ProvisionedModelThroughput = null;
|
|
42
44
|
utilities.lazyLoad(exports, ["ProvisionedModelThroughput"], () => require("./provisionedModelThroughput"));
|
|
43
45
|
const _module = {
|
|
@@ -62,6 +64,8 @@ const _module = {
|
|
|
62
64
|
return new exports.Guardrail(name, undefined, { urn });
|
|
63
65
|
case "aws:bedrock/guardrailVersion:GuardrailVersion":
|
|
64
66
|
return new exports.GuardrailVersion(name, undefined, { urn });
|
|
67
|
+
case "aws:bedrock/inferenceProfile:InferenceProfile":
|
|
68
|
+
return new exports.InferenceProfile(name, undefined, { urn });
|
|
65
69
|
case "aws:bedrock/provisionedModelThroughput:ProvisionedModelThroughput":
|
|
66
70
|
return new exports.ProvisionedModelThroughput(name, undefined, { urn });
|
|
67
71
|
default:
|
|
@@ -78,5 +82,6 @@ pulumi.runtime.registerResourceModule("aws", "bedrock/agentKnowledgeBase", _modu
|
|
|
78
82
|
pulumi.runtime.registerResourceModule("aws", "bedrock/customModel", _module);
|
|
79
83
|
pulumi.runtime.registerResourceModule("aws", "bedrock/guardrail", _module);
|
|
80
84
|
pulumi.runtime.registerResourceModule("aws", "bedrock/guardrailVersion", _module);
|
|
85
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/inferenceProfile", _module);
|
|
81
86
|
pulumi.runtime.registerResourceModule("aws", "bedrock/provisionedModelThroughput", _module);
|
|
82
87
|
//# sourceMappingURL=index.js.map
|
package/bedrock/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../bedrock/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAIpF,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iB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AE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for managing an AWS Bedrock Inference Profile.
|
|
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 current = aws.getCallerIdentity({});
|
|
16
|
+
* const example = new aws.bedrock.InferenceProfile("example", {
|
|
17
|
+
* name: "Claude Sonnet for Project 123",
|
|
18
|
+
* description: "Profile with tag for cost allocation tracking",
|
|
19
|
+
* modelSource: {
|
|
20
|
+
* copyFrom: "arn:aws:bedrock:us-west-2::foundation-model/anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
21
|
+
* },
|
|
22
|
+
* tags: {
|
|
23
|
+
* ProjectID: "123",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Using `pulumi import`, import Bedrock Inference Profile using the `example_id_arg`. For example:
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:bedrock/inferenceProfile:InferenceProfile example inference_profile-id-12345678
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class InferenceProfile extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing InferenceProfile resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InferenceProfileState, opts?: pulumi.CustomResourceOptions): InferenceProfile;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of InferenceProfile. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is InferenceProfile;
|
|
52
|
+
/**
|
|
53
|
+
* The Amazon Resource Name (ARN) of the inference profile.
|
|
54
|
+
*/
|
|
55
|
+
readonly arn: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The time at which the inference profile was created.
|
|
58
|
+
*/
|
|
59
|
+
readonly createdAt: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The description of the inference profile.
|
|
62
|
+
*/
|
|
63
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The source of the model this inference profile will track metrics and cost for. See `modelSource`.
|
|
66
|
+
*
|
|
67
|
+
* The following arguments are optional:
|
|
68
|
+
*/
|
|
69
|
+
readonly modelSource: pulumi.Output<outputs.bedrock.InferenceProfileModelSource | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* A list of information about each model in the inference profile. See `models`.
|
|
72
|
+
*/
|
|
73
|
+
readonly models: pulumi.Output<outputs.bedrock.InferenceProfileModel[]>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the inference profile.
|
|
76
|
+
*/
|
|
77
|
+
readonly name: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the inference profile. `ACTIVE` means that the inference profile is available to use.
|
|
80
|
+
*/
|
|
81
|
+
readonly status: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Key-value mapping of resource tags for the inference profile.
|
|
84
|
+
*/
|
|
85
|
+
readonly tags: pulumi.Output<{
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
} | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated Please use `tags` instead.
|
|
90
|
+
*/
|
|
91
|
+
readonly tagsAll: pulumi.Output<{
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
}>;
|
|
94
|
+
readonly timeouts: pulumi.Output<outputs.bedrock.InferenceProfileTimeouts | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* The type of the inference profile. `SYSTEM_DEFINED` means that the inference profile is defined by Amazon Bedrock. `APPLICATION` means that the inference profile is defined by the user.
|
|
97
|
+
*/
|
|
98
|
+
readonly type: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The time at which the inference profile was last updated.
|
|
101
|
+
*/
|
|
102
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Create a InferenceProfile resource with the given unique name, arguments, and options.
|
|
105
|
+
*
|
|
106
|
+
* @param name The _unique_ name of the resource.
|
|
107
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
108
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
109
|
+
*/
|
|
110
|
+
constructor(name: string, args?: InferenceProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Input properties used for looking up and filtering InferenceProfile resources.
|
|
114
|
+
*/
|
|
115
|
+
export interface InferenceProfileState {
|
|
116
|
+
/**
|
|
117
|
+
* The Amazon Resource Name (ARN) of the inference profile.
|
|
118
|
+
*/
|
|
119
|
+
arn?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The time at which the inference profile was created.
|
|
122
|
+
*/
|
|
123
|
+
createdAt?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The description of the inference profile.
|
|
126
|
+
*/
|
|
127
|
+
description?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The source of the model this inference profile will track metrics and cost for. See `modelSource`.
|
|
130
|
+
*
|
|
131
|
+
* The following arguments are optional:
|
|
132
|
+
*/
|
|
133
|
+
modelSource?: pulumi.Input<inputs.bedrock.InferenceProfileModelSource>;
|
|
134
|
+
/**
|
|
135
|
+
* A list of information about each model in the inference profile. See `models`.
|
|
136
|
+
*/
|
|
137
|
+
models?: pulumi.Input<pulumi.Input<inputs.bedrock.InferenceProfileModel>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* The name of the inference profile.
|
|
140
|
+
*/
|
|
141
|
+
name?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The status of the inference profile. `ACTIVE` means that the inference profile is available to use.
|
|
144
|
+
*/
|
|
145
|
+
status?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Key-value mapping of resource tags for the inference profile.
|
|
148
|
+
*/
|
|
149
|
+
tags?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated Please use `tags` instead.
|
|
154
|
+
*/
|
|
155
|
+
tagsAll?: pulumi.Input<{
|
|
156
|
+
[key: string]: pulumi.Input<string>;
|
|
157
|
+
}>;
|
|
158
|
+
timeouts?: pulumi.Input<inputs.bedrock.InferenceProfileTimeouts>;
|
|
159
|
+
/**
|
|
160
|
+
* The type of the inference profile. `SYSTEM_DEFINED` means that the inference profile is defined by Amazon Bedrock. `APPLICATION` means that the inference profile is defined by the user.
|
|
161
|
+
*/
|
|
162
|
+
type?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The time at which the inference profile was last updated.
|
|
165
|
+
*/
|
|
166
|
+
updatedAt?: pulumi.Input<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a InferenceProfile resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface InferenceProfileArgs {
|
|
172
|
+
/**
|
|
173
|
+
* The description of the inference profile.
|
|
174
|
+
*/
|
|
175
|
+
description?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The source of the model this inference profile will track metrics and cost for. See `modelSource`.
|
|
178
|
+
*
|
|
179
|
+
* The following arguments are optional:
|
|
180
|
+
*/
|
|
181
|
+
modelSource?: pulumi.Input<inputs.bedrock.InferenceProfileModelSource>;
|
|
182
|
+
/**
|
|
183
|
+
* The name of the inference profile.
|
|
184
|
+
*/
|
|
185
|
+
name?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Key-value mapping of resource tags for the inference profile.
|
|
188
|
+
*/
|
|
189
|
+
tags?: pulumi.Input<{
|
|
190
|
+
[key: string]: pulumi.Input<string>;
|
|
191
|
+
}>;
|
|
192
|
+
timeouts?: pulumi.Input<inputs.bedrock.InferenceProfileTimeouts>;
|
|
193
|
+
}
|