@propulsionworks/cloudformation 0.1.29 → 0.1.30
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/out/exports/resources.generated/aws-applicationsignals-groupingconfiguration.d.ts +8 -2
- package/out/exports/resources.generated/aws-bedrock-agent.d.ts +8 -8
- package/out/exports/resources.generated/aws-bedrockagentcore-browsercustom.d.ts +3 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-codeinterpretercustom.d.ts +3 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-gateway.d.ts +33 -2
- package/out/exports/resources.generated/aws-bedrockagentcore-gatewaytarget.d.ts +55 -2
- package/out/exports/resources.generated/aws-bedrockagentcore-memory.d.ts +403 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-runtime.d.ts +3 -0
- package/out/exports/resources.generated/aws-dax-cluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-ecs-service.d.ts +1 -1
- package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +1 -1
- package/out/exports/resources.generated/aws-imagebuilder-image.d.ts +5 -5
- package/out/exports/resources.generated/aws-imagebuilder-imagepipeline.d.ts +7 -7
- package/out/exports/resources.generated/aws-imagebuilder-imagerecipe.d.ts +1 -1
- package/out/exports/resources.generated/aws-iotsitewise-accesspolicy.d.ts +4 -0
- package/out/exports/resources.generated/aws-iotsitewise-assetmodel.d.ts +8 -7
- package/out/exports/resources.generated/aws-iotsitewise-computationmodel.d.ts +23 -16
- package/out/exports/resources.generated/aws-iotsitewise-dashboard.d.ts +4 -0
- package/out/exports/resources.generated/aws-iotsitewise-dataset.d.ts +11 -6
- package/out/exports/resources.generated/aws-iotsitewise-portal.d.ts +4 -0
- package/out/exports/resources.generated/aws-iotsitewise-project.d.ts +4 -0
- package/out/exports/resources.generated/aws-kinesis-resourcepolicy.d.ts +1 -1
- package/out/exports/resources.generated/aws-lightsail-disksnapshot.d.ts +11 -9
- package/out/exports/resources.generated/aws-logs-deliverydestination.d.ts +8 -8
- package/out/exports/resources.generated/aws-logs-metricfilter.d.ts +10 -0
- package/out/exports/resources.generated/aws-logs-subscriptionfilter.d.ts +10 -0
- package/out/exports/resources.generated/aws-lookoutmetrics-alert.d.ts +2 -2
- package/out/exports/resources.generated/aws-lookoutmetrics-anomalydetector.d.ts +2 -2
- package/out/exports/resources.generated/aws-m2-deployment.d.ts +4 -0
- package/out/exports/resources.generated/aws-m2-environment.d.ts +12 -0
- package/out/exports/resources.generated/aws-mwaa-environment.d.ts +2 -2
- package/out/exports/resources.generated/aws-observabilityadmin-organizationcentralizationrule.d.ts +2 -0
- package/out/exports/resources.generated/aws-omics-annotationstore.d.ts +4 -0
- package/out/exports/resources.generated/aws-pcs-cluster.d.ts +3 -14
- package/out/exports/resources.generated/aws-pcs-computenodegroup.d.ts +3 -14
- package/out/exports/resources.generated/aws-pcs-queue.d.ts +1 -1
- package/out/exports/resources.generated/aws-quicksight-dashboard.d.ts +13 -0
- package/out/exports/resources.generated/aws-refactorspaces-application.d.ts +4 -0
- package/out/exports/resources.generated/aws-refactorspaces-environment.d.ts +4 -0
- package/out/exports/resources.generated/aws-refactorspaces-service.d.ts +4 -0
- package/out/exports/resources.generated/aws-s3objectlambda-accesspoint.d.ts +6 -0
- package/out/exports/resources.generated/aws-s3objectlambda-accesspointpolicy.d.ts +2 -0
- package/out/exports/resources.generated/aws-servicecatalog-resourceupdateconstraint.d.ts +1 -0
- package/out/exports/resources.generated/aws-ssmquicksetup-configurationmanager.d.ts +2 -2
- package/out/exports/resources.generated/aws-vpclattice-accesslogsubscription.d.ts +1 -1
- package/out/exports/resources.generated/aws-vpclattice-resourcegateway.d.ts +5 -0
- package/out/exports/resources.generated/aws-vpclattice-resourcepolicy.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* A structure that contains the complete grouping configuration for an account, including all defined grouping attributes and metadata about when it was last updated.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-groupingconfiguration.html}
|
|
5
5
|
*/
|
|
6
6
|
export type ApplicationSignalsGroupingConfiguration = ResourceDefinitionWithAttributes<"AWS::ApplicationSignals::GroupingConfiguration", ApplicationSignalsGroupingConfigurationProps, ApplicationSignalsGroupingConfigurationAttribs>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A structure that contains the complete grouping configuration for an account, including all defined grouping attributes and metadata about when it was last updated.
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-groupingconfiguration.html}
|
|
10
10
|
*/
|
|
11
11
|
export type ApplicationSignalsGroupingConfigurationProps = {
|
|
12
12
|
/**
|
|
13
|
+
* An array of grouping attribute definitions that specify how services should be grouped based on various attributes and source keys.
|
|
13
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-groupingconfiguration.html#cfn-applicationsignals-groupingconfiguration-groupingattributedefinitions}
|
|
14
15
|
*/
|
|
15
16
|
GroupingAttributeDefinitions: GroupingAttributeDefinition[];
|
|
@@ -24,23 +25,28 @@ export type ApplicationSignalsGroupingConfigurationAttribs = {
|
|
|
24
25
|
*/
|
|
25
26
|
AccountId: string;
|
|
26
27
|
/**
|
|
28
|
+
* The timestamp when this grouping configuration was last updated. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.
|
|
27
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-groupingconfiguration.html#cfn-applicationsignals-groupingconfiguration-updatedat}
|
|
28
30
|
*/
|
|
29
31
|
UpdatedAt: string;
|
|
30
32
|
};
|
|
31
33
|
/**
|
|
34
|
+
* A structure that defines how services should be grouped based on specific attributes. This includes the friendly name for the grouping, the source keys to derive values from, and an optional default value.
|
|
32
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-groupingconfiguration-groupingattributedefinition.html}
|
|
33
36
|
*/
|
|
34
37
|
export type GroupingAttributeDefinition = {
|
|
35
38
|
/**
|
|
39
|
+
* The default value to use for this grouping attribute when no value can be derived from the source keys. This ensures all services have a grouping value even if the source data is missing.
|
|
36
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-groupingconfiguration-groupingattributedefinition.html#cfn-applicationsignals-groupingconfiguration-groupingattributedefinition-defaultgroupingvalue}
|
|
37
41
|
*/
|
|
38
42
|
DefaultGroupingValue?: string | undefined;
|
|
39
43
|
/**
|
|
44
|
+
* The friendly name for this grouping attribute, such as `BusinessUnit` or `Environment` . This name is used to identify the grouping in the console and APIs.
|
|
40
45
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-groupingconfiguration-groupingattributedefinition.html#cfn-applicationsignals-groupingconfiguration-groupingattributedefinition-groupingname}
|
|
41
46
|
*/
|
|
42
47
|
GroupingName: string;
|
|
43
48
|
/**
|
|
49
|
+
* An array of source keys used to derive the grouping attribute value from telemetry data, AWS tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.
|
|
44
50
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-groupingconfiguration-groupingattributedefinition.html#cfn-applicationsignals-groupingconfiguration-groupingattributedefinition-groupingsourcekeys}
|
|
45
51
|
*/
|
|
46
52
|
GroupingSourceKeys: string[];
|
|
@@ -67,7 +67,7 @@ export type BedrockAgentProps = {
|
|
|
67
67
|
* The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the agent.
|
|
68
68
|
* @minLength 1
|
|
69
69
|
* @maxLength 2048
|
|
70
|
-
* @pattern ^arn:aws(
|
|
70
|
+
* @pattern ^arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$
|
|
71
71
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-customerencryptionkeyarn}
|
|
72
72
|
*/
|
|
73
73
|
CustomerEncryptionKeyArn?: string | undefined;
|
|
@@ -93,7 +93,7 @@ export type BedrockAgentProps = {
|
|
|
93
93
|
*
|
|
94
94
|
* A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
|
|
95
95
|
* @min 60
|
|
96
|
-
* @max
|
|
96
|
+
* @max 5400
|
|
97
97
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-idlesessionttlinseconds}
|
|
98
98
|
*/
|
|
99
99
|
IdleSessionTTLInSeconds?: number | undefined;
|
|
@@ -153,7 +153,7 @@ export type BedrockAgentAttribs = {
|
|
|
153
153
|
/**
|
|
154
154
|
* The Amazon Resource Name (ARN) of the agent.
|
|
155
155
|
* @maxLength 2048
|
|
156
|
-
* @pattern ^arn:aws(
|
|
156
|
+
* @pattern ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$
|
|
157
157
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-agentarn}
|
|
158
158
|
*/
|
|
159
159
|
AgentArn: string;
|
|
@@ -233,7 +233,7 @@ export type ActionGroupExecutor = {
|
|
|
233
233
|
/**
|
|
234
234
|
* ARN of a Lambda.
|
|
235
235
|
* @maxLength 2048
|
|
236
|
-
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-
|
|
236
|
+
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-z0-9-]{1,20}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$
|
|
237
237
|
*/
|
|
238
238
|
Lambda: string;
|
|
239
239
|
} | {
|
|
@@ -318,7 +318,7 @@ export type AgentCollaborator = {
|
|
|
318
318
|
AgentDescriptor: {
|
|
319
319
|
/**
|
|
320
320
|
* Alias ARN for agent descriptor
|
|
321
|
-
* @pattern ^arn:aws
|
|
321
|
+
* @pattern ^arn:(aws[a-zA-Z-]*)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$
|
|
322
322
|
*/
|
|
323
323
|
AliasArn?: string | undefined;
|
|
324
324
|
};
|
|
@@ -465,7 +465,7 @@ export type InferenceConfiguration = {
|
|
|
465
465
|
/**
|
|
466
466
|
* The maximum number of tokens allowed in the generated response.
|
|
467
467
|
* @min 0
|
|
468
|
-
* @max
|
|
468
|
+
* @max 131072
|
|
469
469
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html#cfn-bedrock-agent-inferenceconfiguration-maximumlength}
|
|
470
470
|
*/
|
|
471
471
|
MaximumLength?: number | undefined;
|
|
@@ -539,7 +539,7 @@ export type OrchestrationExecutor = {
|
|
|
539
539
|
/**
|
|
540
540
|
* The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
|
|
541
541
|
* @maxLength 2048
|
|
542
|
-
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-
|
|
542
|
+
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-z0-9-]{1,20}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$
|
|
543
543
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-orchestrationexecutor.html#cfn-bedrock-agent-orchestrationexecutor-lambda}
|
|
544
544
|
*/
|
|
545
545
|
Lambda: string;
|
|
@@ -635,7 +635,7 @@ export type PromptOverrideConfiguration = {
|
|
|
635
635
|
/**
|
|
636
636
|
* The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `promptConfigurations` must contain a `parserMode` value that is set to `OVERRIDDEN` . For more information, see [Parser Lambda function in Amazon Bedrock Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html) .
|
|
637
637
|
* @maxLength 2048
|
|
638
|
-
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-
|
|
638
|
+
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:[a-z0-9-]{1,20}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$
|
|
639
639
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-promptoverrideconfiguration.html#cfn-bedrock-agent-promptoverrideconfiguration-overridelambda}
|
|
640
640
|
*/
|
|
641
641
|
OverrideLambda?: string | undefined;
|
|
@@ -101,6 +101,7 @@ export type BrowserNetworkConfiguration = {
|
|
|
101
101
|
*/
|
|
102
102
|
NetworkMode: BrowserNetworkMode;
|
|
103
103
|
/**
|
|
104
|
+
* Network mode configuration for VPC
|
|
104
105
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-vpcconfig}
|
|
105
106
|
*/
|
|
106
107
|
VpcConfig?: VpcConfig | undefined;
|
|
@@ -156,10 +157,12 @@ export type S3Location = {
|
|
|
156
157
|
*/
|
|
157
158
|
export type VpcConfig = {
|
|
158
159
|
/**
|
|
160
|
+
* Security groups for VPC
|
|
159
161
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-securitygroups}
|
|
160
162
|
*/
|
|
161
163
|
SecurityGroups: string[];
|
|
162
164
|
/**
|
|
165
|
+
* Subnets for VPC
|
|
163
166
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-subnets}
|
|
164
167
|
*/
|
|
165
168
|
Subnets: string[];
|
|
@@ -96,6 +96,7 @@ export type CodeInterpreterNetworkConfiguration = {
|
|
|
96
96
|
*/
|
|
97
97
|
NetworkMode: CodeInterpreterNetworkMode;
|
|
98
98
|
/**
|
|
99
|
+
* Network mode configuration for VPC
|
|
99
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-vpcconfig}
|
|
100
101
|
*/
|
|
101
102
|
VpcConfig?: VpcConfig | undefined;
|
|
@@ -116,10 +117,12 @@ export type CodeInterpreterStatus = "CREATING" | "CREATE_FAILED" | "READY" | "DE
|
|
|
116
117
|
*/
|
|
117
118
|
export type VpcConfig = {
|
|
118
119
|
/**
|
|
120
|
+
* Security groups for VPC
|
|
119
121
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-securitygroups}
|
|
120
122
|
*/
|
|
121
123
|
SecurityGroups: string[];
|
|
122
124
|
/**
|
|
125
|
+
* Subnets for VPC
|
|
123
126
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-subnets}
|
|
124
127
|
*/
|
|
125
128
|
Subnets: string[];
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* > Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
4
|
+
*
|
|
5
|
+
* Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
|
|
6
|
+
*
|
|
7
|
+
* For more information about creating a gateway, see [Set up an Amazon Bedrock AgentCore gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html) .
|
|
8
|
+
*
|
|
9
|
+
* See the *Properties* section below for descriptions of both the required and optional properties.
|
|
4
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html}
|
|
5
11
|
*/
|
|
6
12
|
export type BedrockAgentCoreGateway = ResourceDefinitionWithAttributes<"AWS::BedrockAgentCore::Gateway", BedrockAgentCoreGatewayProps, BedrockAgentCoreGatewayAttribs>;
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* > Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
15
|
+
*
|
|
16
|
+
* Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
|
|
17
|
+
*
|
|
18
|
+
* For more information about creating a gateway, see [Set up an Amazon Bedrock AgentCore gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html) .
|
|
19
|
+
*
|
|
20
|
+
* See the *Properties* section below for descriptions of both the required and optional properties.
|
|
9
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html}
|
|
10
22
|
*/
|
|
11
23
|
export type BedrockAgentCoreGatewayProps = {
|
|
@@ -14,20 +26,24 @@ export type BedrockAgentCoreGatewayProps = {
|
|
|
14
26
|
*/
|
|
15
27
|
AuthorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
16
28
|
/**
|
|
29
|
+
* The authorizer type for the gateway.
|
|
17
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizertype}
|
|
18
31
|
*/
|
|
19
32
|
AuthorizerType: AuthorizerType;
|
|
20
33
|
/**
|
|
34
|
+
* The description for the gateway.
|
|
21
35
|
* @minLength 1
|
|
22
36
|
* @maxLength 200
|
|
23
37
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-description}
|
|
24
38
|
*/
|
|
25
39
|
Description?: string | undefined;
|
|
26
40
|
/**
|
|
41
|
+
* The exception level for the gateway.
|
|
27
42
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-exceptionlevel}
|
|
28
43
|
*/
|
|
29
44
|
ExceptionLevel?: ExceptionLevel | undefined;
|
|
30
45
|
/**
|
|
46
|
+
* The KMS key ARN for the gateway.
|
|
31
47
|
* @minLength 1
|
|
32
48
|
* @maxLength 2048
|
|
33
49
|
* @pattern ^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$
|
|
@@ -35,15 +51,18 @@ export type BedrockAgentCoreGatewayProps = {
|
|
|
35
51
|
*/
|
|
36
52
|
KmsKeyArn?: string | undefined;
|
|
37
53
|
/**
|
|
54
|
+
* The name for the gateway.
|
|
38
55
|
* @pattern ^([0-9a-zA-Z][-]?){1,100}$
|
|
39
56
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-name}
|
|
40
57
|
*/
|
|
41
58
|
Name: string;
|
|
42
59
|
/**
|
|
60
|
+
* The protocol configuration for the gateway target.
|
|
43
61
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocolconfiguration}
|
|
44
62
|
*/
|
|
45
63
|
ProtocolConfiguration?: GatewayProtocolConfiguration | undefined;
|
|
46
64
|
/**
|
|
65
|
+
* The protocol type for the gateway target.
|
|
47
66
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocoltype}
|
|
48
67
|
*/
|
|
49
68
|
ProtocolType: GatewayProtocolType;
|
|
@@ -55,6 +74,7 @@ export type BedrockAgentCoreGatewayProps = {
|
|
|
55
74
|
*/
|
|
56
75
|
RoleArn: string;
|
|
57
76
|
/**
|
|
77
|
+
* The tags for the gateway.
|
|
58
78
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-tags}
|
|
59
79
|
*/
|
|
60
80
|
Tags?: Record<string, string> | undefined;
|
|
@@ -64,11 +84,13 @@ export type BedrockAgentCoreGatewayProps = {
|
|
|
64
84
|
*/
|
|
65
85
|
export type BedrockAgentCoreGatewayAttribs = {
|
|
66
86
|
/**
|
|
87
|
+
* The date and time at which the gateway was created.
|
|
67
88
|
* @format date-time
|
|
68
89
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-createdat}
|
|
69
90
|
*/
|
|
70
91
|
CreatedAt: string;
|
|
71
92
|
/**
|
|
93
|
+
* The ARN for the gateway.
|
|
72
94
|
* @pattern ^arn:aws(|-cn|-us-gov):bedrock-agentcore:[a-z0-9-]{1,20}:[0-9]{12}:gateway/([0-9a-z][-]?){1,100}-[a-z0-9]{10}$
|
|
73
95
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-gatewayarn}
|
|
74
96
|
*/
|
|
@@ -79,16 +101,19 @@ export type BedrockAgentCoreGatewayAttribs = {
|
|
|
79
101
|
*/
|
|
80
102
|
GatewayIdentifier: string;
|
|
81
103
|
/**
|
|
104
|
+
* The gateway URL for the gateway.
|
|
82
105
|
* @minLength 1
|
|
83
106
|
* @maxLength 1024
|
|
84
107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-gatewayurl}
|
|
85
108
|
*/
|
|
86
109
|
GatewayUrl: string;
|
|
87
110
|
/**
|
|
111
|
+
* The status for the gateway.
|
|
88
112
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-status}
|
|
89
113
|
*/
|
|
90
114
|
Status: GatewayStatus;
|
|
91
115
|
/**
|
|
116
|
+
* The status reasons for the gateway.
|
|
92
117
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-statusreasons}
|
|
93
118
|
*/
|
|
94
119
|
StatusReasons: string[];
|
|
@@ -113,6 +138,7 @@ export type AuthorizerType = "CUSTOM_JWT" | "AWS_IAM";
|
|
|
113
138
|
*/
|
|
114
139
|
export type CustomJWTAuthorizerConfiguration = {
|
|
115
140
|
/**
|
|
141
|
+
* The allowed audience authorized for the gateway target.
|
|
116
142
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedaudience}
|
|
117
143
|
*/
|
|
118
144
|
AllowedAudience?: string[] | undefined;
|
|
@@ -121,6 +147,7 @@ export type CustomJWTAuthorizerConfiguration = {
|
|
|
121
147
|
*/
|
|
122
148
|
AllowedClients?: string[] | undefined;
|
|
123
149
|
/**
|
|
150
|
+
* The discovery URL for the authorizer configuration.
|
|
124
151
|
* @pattern ^.+/\.well-known/openid-configuration$
|
|
125
152
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-discoveryurl}
|
|
126
153
|
*/
|
|
@@ -131,6 +158,7 @@ export type CustomJWTAuthorizerConfiguration = {
|
|
|
131
158
|
*/
|
|
132
159
|
export type ExceptionLevel = "DEBUG";
|
|
133
160
|
/**
|
|
161
|
+
* The protocol configuration.
|
|
134
162
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayprotocolconfiguration.html}
|
|
135
163
|
*/
|
|
136
164
|
export type GatewayProtocolConfiguration = {
|
|
@@ -145,6 +173,7 @@ export type GatewayProtocolType = "MCP";
|
|
|
145
173
|
*/
|
|
146
174
|
export type GatewayStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED";
|
|
147
175
|
/**
|
|
176
|
+
* The gateway configuration for MCP.
|
|
148
177
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html}
|
|
149
178
|
*/
|
|
150
179
|
export type MCPGatewayConfiguration = {
|
|
@@ -155,10 +184,12 @@ export type MCPGatewayConfiguration = {
|
|
|
155
184
|
*/
|
|
156
185
|
Instructions?: string | undefined;
|
|
157
186
|
/**
|
|
187
|
+
* The MCP gateway configuration search type.
|
|
158
188
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-searchtype}
|
|
159
189
|
*/
|
|
160
190
|
SearchType?: SearchType | undefined;
|
|
161
191
|
/**
|
|
192
|
+
* The supported versions for the MCP configuration for the gateway target.
|
|
162
193
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-supportedversions}
|
|
163
194
|
*/
|
|
164
195
|
SupportedVersions?: string[] | undefined;
|
|
@@ -1,35 +1,52 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* > Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
4
|
+
*
|
|
5
|
+
* After creating a gateway, you can add targets, which define the tools that your gateway will host.
|
|
6
|
+
*
|
|
7
|
+
* For more information about adding gateway targets, see [Add targets to an existing gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html) .
|
|
8
|
+
*
|
|
9
|
+
* See the *Properties* section below for descriptions of both the required and optional properties.
|
|
4
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html}
|
|
5
11
|
*/
|
|
6
12
|
export type BedrockAgentCoreGatewayTarget = ResourceDefinitionWithAttributes<"AWS::BedrockAgentCore::GatewayTarget", BedrockAgentCoreGatewayTargetProps, BedrockAgentCoreGatewayTargetAttribs>;
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* > Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
15
|
+
*
|
|
16
|
+
* After creating a gateway, you can add targets, which define the tools that your gateway will host.
|
|
17
|
+
*
|
|
18
|
+
* For more information about adding gateway targets, see [Add targets to an existing gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html) .
|
|
19
|
+
*
|
|
20
|
+
* See the *Properties* section below for descriptions of both the required and optional properties.
|
|
9
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html}
|
|
10
22
|
*/
|
|
11
23
|
export type BedrockAgentCoreGatewayTargetProps = {
|
|
12
24
|
/**
|
|
25
|
+
* The OAuth credential provider configuration.
|
|
13
26
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfigurations}
|
|
14
27
|
*/
|
|
15
28
|
CredentialProviderConfigurations: CredentialProviderConfiguration[];
|
|
16
29
|
/**
|
|
30
|
+
* The description for the gateway target.
|
|
17
31
|
* @minLength 1
|
|
18
32
|
* @maxLength 200
|
|
19
33
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-description}
|
|
20
34
|
*/
|
|
21
35
|
Description?: string | undefined;
|
|
22
36
|
/**
|
|
37
|
+
* The gateway ID for the gateway target.
|
|
23
38
|
* @pattern ^([0-9a-z][-]?){1,100}-[0-9a-z]{10}$
|
|
24
39
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-gatewayidentifier}
|
|
25
40
|
*/
|
|
26
41
|
GatewayIdentifier?: string | undefined;
|
|
27
42
|
/**
|
|
43
|
+
* The name for the gateway target.
|
|
28
44
|
* @pattern ^([0-9a-zA-Z][-]?){1,100}$
|
|
29
45
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-name}
|
|
30
46
|
*/
|
|
31
47
|
Name: string;
|
|
32
48
|
/**
|
|
49
|
+
* The target configuration for the Smithy model target.
|
|
33
50
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-targetconfiguration}
|
|
34
51
|
*/
|
|
35
52
|
TargetConfiguration: TargetConfiguration;
|
|
@@ -39,6 +56,7 @@ export type BedrockAgentCoreGatewayTargetProps = {
|
|
|
39
56
|
*/
|
|
40
57
|
export type BedrockAgentCoreGatewayTargetAttribs = {
|
|
41
58
|
/**
|
|
59
|
+
* The date and time at which the gateway target was created.
|
|
42
60
|
* @format date-time
|
|
43
61
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-createdat}
|
|
44
62
|
*/
|
|
@@ -49,19 +67,23 @@ export type BedrockAgentCoreGatewayTargetAttribs = {
|
|
|
49
67
|
*/
|
|
50
68
|
GatewayArn: string;
|
|
51
69
|
/**
|
|
70
|
+
* The status for the gateway target.
|
|
52
71
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-status}
|
|
53
72
|
*/
|
|
54
73
|
Status: TargetStatus;
|
|
55
74
|
/**
|
|
75
|
+
* The status reasons for the gateway target.
|
|
56
76
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-statusreasons}
|
|
57
77
|
*/
|
|
58
78
|
StatusReasons: string[];
|
|
59
79
|
/**
|
|
80
|
+
* The target ID for the gateway target.
|
|
60
81
|
* @pattern ^[0-9a-zA-Z]{10}$
|
|
61
82
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-targetid}
|
|
62
83
|
*/
|
|
63
84
|
TargetId: string;
|
|
64
85
|
/**
|
|
86
|
+
* The time at which the resource was updated.
|
|
65
87
|
* @format date-time
|
|
66
88
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-updatedat}
|
|
67
89
|
*/
|
|
@@ -72,32 +94,38 @@ export type BedrockAgentCoreGatewayTargetAttribs = {
|
|
|
72
94
|
*/
|
|
73
95
|
export type ApiKeyCredentialLocation = "HEADER" | "QUERY_PARAMETER";
|
|
74
96
|
/**
|
|
97
|
+
* The API key credential provider for the gateway target.
|
|
75
98
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html}
|
|
76
99
|
*/
|
|
77
100
|
export type ApiKeyCredentialProvider = {
|
|
78
101
|
/**
|
|
102
|
+
* The credential location for the gateway target.
|
|
79
103
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentiallocation}
|
|
80
104
|
*/
|
|
81
105
|
CredentialLocation?: ApiKeyCredentialLocation | undefined;
|
|
82
106
|
/**
|
|
107
|
+
* The credential parameter name for the provider for the gateway target.
|
|
83
108
|
* @minLength 1
|
|
84
109
|
* @maxLength 64
|
|
85
110
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialparametername}
|
|
86
111
|
*/
|
|
87
112
|
CredentialParameterName?: string | undefined;
|
|
88
113
|
/**
|
|
114
|
+
* The API key credential provider for the gateway target.
|
|
89
115
|
* @minLength 1
|
|
90
116
|
* @maxLength 64
|
|
91
117
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialprefix}
|
|
92
118
|
*/
|
|
93
119
|
CredentialPrefix?: string | undefined;
|
|
94
120
|
/**
|
|
121
|
+
* The provider ARN for the gateway target.
|
|
95
122
|
* @pattern ^arn:([^:]*):([^:]*):([^:]*):([0-9]{12})?:(.+)$
|
|
96
123
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-providerarn}
|
|
97
124
|
*/
|
|
98
125
|
ProviderArn: string;
|
|
99
126
|
};
|
|
100
127
|
/**
|
|
128
|
+
* The API schema configuration for the gateway target.
|
|
101
129
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apischemaconfiguration.html}
|
|
102
130
|
*/
|
|
103
131
|
export type ApiSchemaConfiguration = {
|
|
@@ -114,14 +142,17 @@ export type CredentialProvider = {
|
|
|
114
142
|
ApiKeyCredentialProvider: ApiKeyCredentialProvider;
|
|
115
143
|
};
|
|
116
144
|
/**
|
|
145
|
+
* The credential provider configuration for the gateway target.
|
|
117
146
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html}
|
|
118
147
|
*/
|
|
119
148
|
export type CredentialProviderConfiguration = {
|
|
120
149
|
/**
|
|
150
|
+
* The credential provider for the gateway target.
|
|
121
151
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovider}
|
|
122
152
|
*/
|
|
123
153
|
CredentialProvider?: CredentialProvider | undefined;
|
|
124
154
|
/**
|
|
155
|
+
* The credential provider type for the gateway target.
|
|
125
156
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovidertype}
|
|
126
157
|
*/
|
|
127
158
|
CredentialProviderType: CredentialProviderType;
|
|
@@ -131,10 +162,12 @@ export type CredentialProviderConfiguration = {
|
|
|
131
162
|
*/
|
|
132
163
|
export type CredentialProviderType = "GATEWAY_IAM_ROLE" | "OAUTH" | "API_KEY";
|
|
133
164
|
/**
|
|
165
|
+
* The Lambda target configuration.
|
|
134
166
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html}
|
|
135
167
|
*/
|
|
136
168
|
export type McpLambdaTargetConfiguration = {
|
|
137
169
|
/**
|
|
170
|
+
* The ARN of the Lambda target configuration.
|
|
138
171
|
* @minLength 1
|
|
139
172
|
* @maxLength 170
|
|
140
173
|
* @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:([a-z]{2}(-gov)?-[a-z]+-\d{1}):(\d{12}):function:([a-zA-Z0-9-_.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$
|
|
@@ -142,11 +175,13 @@ export type McpLambdaTargetConfiguration = {
|
|
|
142
175
|
*/
|
|
143
176
|
LambdaArn: string;
|
|
144
177
|
/**
|
|
178
|
+
* The tool schema configuration for the gateway target MCP configuration for Lambda.
|
|
145
179
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration-toolschema}
|
|
146
180
|
*/
|
|
147
181
|
ToolSchema: ToolSchema;
|
|
148
182
|
};
|
|
149
183
|
/**
|
|
184
|
+
* The MCP target configuration for the gateway target.
|
|
150
185
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html}
|
|
151
186
|
*/
|
|
152
187
|
export type McpTargetConfiguration = {
|
|
@@ -157,43 +192,52 @@ export type McpTargetConfiguration = {
|
|
|
157
192
|
Lambda: McpLambdaTargetConfiguration;
|
|
158
193
|
};
|
|
159
194
|
/**
|
|
195
|
+
* The OAuth credential provider for the gateway target.
|
|
160
196
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html}
|
|
161
197
|
*/
|
|
162
198
|
export type OAuthCredentialProvider = {
|
|
163
199
|
/**
|
|
200
|
+
* The OAuth credential provider.
|
|
164
201
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-customparameters}
|
|
165
202
|
*/
|
|
166
203
|
CustomParameters?: Record<string, string> | undefined;
|
|
167
204
|
/**
|
|
205
|
+
* The provider ARN for the gateway target.
|
|
168
206
|
* @pattern ^arn:([^:]*):([^:]*):([^:]*):([0-9]{12})?:(.+)$
|
|
169
207
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-providerarn}
|
|
170
208
|
*/
|
|
171
209
|
ProviderArn: string;
|
|
172
210
|
/**
|
|
211
|
+
* The OAuth credential provider scopes.
|
|
173
212
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-scopes}
|
|
174
213
|
*/
|
|
175
214
|
Scopes: string[];
|
|
176
215
|
};
|
|
177
216
|
/**
|
|
217
|
+
* The S3 configuration for the gateway target.
|
|
178
218
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html}
|
|
179
219
|
*/
|
|
180
220
|
export type S3Configuration = {
|
|
181
221
|
/**
|
|
222
|
+
* The S3 configuration bucket owner account ID for the gateway target.
|
|
182
223
|
* @pattern ^[0-9]{12}$
|
|
183
224
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-bucketowneraccountid}
|
|
184
225
|
*/
|
|
185
226
|
BucketOwnerAccountId?: string | undefined;
|
|
186
227
|
/**
|
|
228
|
+
* The configuration URI for the gateway target.
|
|
187
229
|
* @pattern ^s3://.{1,2043}$
|
|
188
230
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-uri}
|
|
189
231
|
*/
|
|
190
232
|
Uri?: string | undefined;
|
|
191
233
|
};
|
|
192
234
|
/**
|
|
235
|
+
* The schema definition for the gateway target.
|
|
193
236
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html}
|
|
194
237
|
*/
|
|
195
238
|
export type SchemaDefinition = {
|
|
196
239
|
/**
|
|
240
|
+
* The workload identity details for the gateway.
|
|
197
241
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-description}
|
|
198
242
|
*/
|
|
199
243
|
Description?: string | undefined;
|
|
@@ -202,14 +246,17 @@ export type SchemaDefinition = {
|
|
|
202
246
|
*/
|
|
203
247
|
Items?: SchemaDefinition | undefined;
|
|
204
248
|
/**
|
|
249
|
+
* The schema definition properties for the gateway target.
|
|
205
250
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-properties}
|
|
206
251
|
*/
|
|
207
252
|
Properties?: Record<string, SchemaDefinition> | undefined;
|
|
208
253
|
/**
|
|
254
|
+
* The schema definition.
|
|
209
255
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-required}
|
|
210
256
|
*/
|
|
211
257
|
Required?: string[] | undefined;
|
|
212
258
|
/**
|
|
259
|
+
* The scheme definition type for the gateway target.
|
|
213
260
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-type}
|
|
214
261
|
*/
|
|
215
262
|
Type: SchemaType;
|
|
@@ -219,6 +266,7 @@ export type SchemaDefinition = {
|
|
|
219
266
|
*/
|
|
220
267
|
export type SchemaType = "string" | "number" | "object" | "array" | "boolean" | "integer";
|
|
221
268
|
/**
|
|
269
|
+
* The target configuration.
|
|
222
270
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-targetconfiguration.html}
|
|
223
271
|
*/
|
|
224
272
|
export type TargetConfiguration = {
|
|
@@ -229,6 +277,7 @@ export type TargetConfiguration = {
|
|
|
229
277
|
*/
|
|
230
278
|
export type TargetStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED";
|
|
231
279
|
/**
|
|
280
|
+
* The tool definition for the gateway.
|
|
232
281
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html}
|
|
233
282
|
*/
|
|
234
283
|
export type ToolDefinition = {
|
|
@@ -237,19 +286,23 @@ export type ToolDefinition = {
|
|
|
237
286
|
*/
|
|
238
287
|
Description: string;
|
|
239
288
|
/**
|
|
289
|
+
* The input schema for the gateway target.
|
|
240
290
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-inputschema}
|
|
241
291
|
*/
|
|
242
292
|
InputSchema: SchemaDefinition;
|
|
243
293
|
/**
|
|
294
|
+
* The tool name.
|
|
244
295
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-name}
|
|
245
296
|
*/
|
|
246
297
|
Name: string;
|
|
247
298
|
/**
|
|
299
|
+
* The tool definition output schema for the gateway target.
|
|
248
300
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-outputschema}
|
|
249
301
|
*/
|
|
250
302
|
OutputSchema?: SchemaDefinition | undefined;
|
|
251
303
|
};
|
|
252
304
|
/**
|
|
305
|
+
* The tool schema for the gateway target.
|
|
253
306
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-toolschema.html}
|
|
254
307
|
*/
|
|
255
308
|
export type ToolSchema = {
|