@propulsionworks/cloudformation 0.1.28 → 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-amazonmq-broker.d.ts +15 -3
- package/out/exports/resources.generated/aws-applicationsignals-discovery.d.ts +8 -0
- package/out/exports/resources.generated/aws-applicationsignals-groupingconfiguration.d.ts +54 -0
- package/out/exports/resources.generated/aws-arcregionswitch-plan.d.ts +4 -0
- package/out/exports/resources.generated/aws-bedrock-agent.d.ts +8 -8
- package/out/exports/resources.generated/aws-bedrock-dataautomationproject.d.ts +54 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-browsercustom.d.ts +60 -19
- package/out/exports/resources.generated/aws-bedrockagentcore-codeinterpretercustom.d.ts +53 -15
- package/out/exports/resources.generated/aws-bedrockagentcore-gateway.d.ts +201 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-gatewaytarget.d.ts +313 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-memory.d.ts +403 -0
- package/out/exports/resources.generated/aws-bedrockagentcore-runtime.d.ts +66 -25
- package/out/exports/resources.generated/aws-bedrockagentcore-runtimeendpoint.d.ts +28 -16
- package/out/exports/resources.generated/aws-cognito-userpooluser.d.ts +3 -3
- package/out/exports/resources.generated/aws-connect-routingprofile.d.ts +3 -3
- package/out/exports/resources.generated/aws-connect-user.d.ts +1 -1
- package/out/exports/resources.generated/aws-cur-reportdefinition.d.ts +1 -0
- package/out/exports/resources.generated/aws-datasync-locationsmb.d.ts +16 -8
- package/out/exports/resources.generated/aws-datazone-formtype.d.ts +14 -14
- package/out/exports/resources.generated/aws-datazone-owner.d.ts +2 -0
- package/out/exports/resources.generated/aws-dax-cluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-dms-instanceprofile.d.ts +1 -3
- package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +3 -2
- package/out/exports/resources.generated/aws-ec2-launchtemplate.d.ts +5 -4
- package/out/exports/resources.generated/aws-ec2-localgatewayvirtualinterface.d.ts +9 -7
- package/out/exports/resources.generated/aws-ec2-localgatewayvirtualinterfacegroup.d.ts +11 -9
- package/out/exports/resources.generated/aws-ec2-spotfleet.d.ts +3 -2
- package/out/exports/resources.generated/aws-ec2-volume.d.ts +3 -2
- package/out/exports/resources.generated/aws-ec2-vpcendpoint.d.ts +1 -1
- package/out/exports/resources.generated/aws-ecs-capacityprovider.d.ts +375 -6
- 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-fsx-filesystem.d.ts +2 -2
- package/out/exports/resources.generated/aws-imagebuilder-image.d.ts +26 -0
- package/out/exports/resources.generated/aws-imagebuilder-imagepipeline.d.ts +40 -2
- package/out/exports/resources.generated/aws-imagebuilder-imagerecipe.d.ts +5 -0
- 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 +88 -0
- 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 +4 -0
- package/out/exports/resources.generated/aws-lookoutmetrics-anomalydetector.d.ts +4 -0
- 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-medialive-channel.d.ts +24 -0
- package/out/exports/resources.generated/aws-msk-clusterpolicy.d.ts +1 -1
- package/out/exports/resources.generated/aws-mwaa-environment.d.ts +2 -2
- package/out/exports/resources.generated/aws-neptune-eventsubscription.d.ts +15 -10
- package/out/exports/resources.generated/aws-networkfirewall-rulegroup.d.ts +3 -1
- package/out/exports/resources.generated/aws-observabilityadmin-organizationcentralizationrule.d.ts +148 -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 +4 -15
- package/out/exports/resources.generated/aws-pcs-queue.d.ts +26 -0
- package/out/exports/resources.generated/aws-quicksight-custompermissions.d.ts +2 -0
- package/out/exports/resources.generated/aws-quicksight-dashboard.d.ts +13 -0
- package/out/exports/resources.generated/aws-rds-dbcluster.d.ts +1 -1
- package/out/exports/resources.generated/aws-rds-dbinstance.d.ts +1 -1
- package/out/exports/resources.generated/aws-rds-dbproxy.d.ts +12 -1
- package/out/exports/resources.generated/aws-rds-dbproxyendpoint.d.ts +6 -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-route53-recordset.d.ts +5 -1
- 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-portfolioprincipalassociation.d.ts +2 -2
- package/out/exports/resources.generated/aws-servicecatalog-portfolioshare.d.ts +3 -11
- 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,36 +1,48 @@
|
|
|
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
|
+
* The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments. It offers advanced configuration support and seamless integration with popular frameworks.
|
|
6
|
+
*
|
|
7
|
+
* For more information about using the custom code interpreter, see [Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.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-codeinterpretercustom.html}
|
|
5
11
|
*/
|
|
6
12
|
export type BedrockAgentCoreCodeInterpreterCustom = ResourceDefinitionWithAttributes<"AWS::BedrockAgentCore::CodeInterpreterCustom", BedrockAgentCoreCodeInterpreterCustomProps, BedrockAgentCoreCodeInterpreterCustomAttribs>;
|
|
7
13
|
/**
|
|
8
|
-
*
|
|
14
|
+
* > Amazon Bedrock AgentCore is in preview release and is subject to change.
|
|
15
|
+
*
|
|
16
|
+
* The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments. It offers advanced configuration support and seamless integration with popular frameworks.
|
|
17
|
+
*
|
|
18
|
+
* For more information about using the custom code interpreter, see [Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.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-codeinterpretercustom.html}
|
|
10
22
|
*/
|
|
11
23
|
export type BedrockAgentCoreCodeInterpreterCustomProps = {
|
|
12
24
|
/**
|
|
13
|
-
*
|
|
25
|
+
* The code interpreter description.
|
|
14
26
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-description}
|
|
15
27
|
*/
|
|
16
28
|
Description?: string | undefined;
|
|
17
29
|
/**
|
|
18
|
-
* The ARN of the
|
|
30
|
+
* The Amazon Resource Name (ARN) of the execution role.
|
|
19
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-executionrolearn}
|
|
20
32
|
*/
|
|
21
33
|
ExecutionRoleArn?: string | undefined;
|
|
22
34
|
/**
|
|
23
|
-
* The name of the
|
|
35
|
+
* The name of the code interpreter.
|
|
24
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-name}
|
|
25
37
|
*/
|
|
26
38
|
Name: string;
|
|
27
39
|
/**
|
|
28
|
-
*
|
|
40
|
+
* The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.
|
|
29
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-networkconfiguration}
|
|
30
42
|
*/
|
|
31
43
|
NetworkConfiguration: CodeInterpreterNetworkConfiguration;
|
|
32
44
|
/**
|
|
33
|
-
*
|
|
45
|
+
* The tags for the code interpreter.
|
|
34
46
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-tags}
|
|
35
47
|
*/
|
|
36
48
|
Tags?: Record<string, string> | undefined;
|
|
@@ -40,53 +52,79 @@ export type BedrockAgentCoreCodeInterpreterCustomProps = {
|
|
|
40
52
|
*/
|
|
41
53
|
export type BedrockAgentCoreCodeInterpreterCustomAttribs = {
|
|
42
54
|
/**
|
|
43
|
-
* The
|
|
55
|
+
* The code interpreter Amazon Resource Name (ARN).
|
|
44
56
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreterarn}
|
|
45
57
|
*/
|
|
46
58
|
CodeInterpreterArn: string;
|
|
47
59
|
/**
|
|
48
|
-
* The
|
|
60
|
+
* The ID of the code interpreter.
|
|
49
61
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreterid}
|
|
50
62
|
*/
|
|
51
63
|
CodeInterpreterId: string;
|
|
52
64
|
/**
|
|
53
|
-
*
|
|
65
|
+
* The time at which the code interpreter was created.
|
|
54
66
|
* @format date-time
|
|
55
67
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-createdat}
|
|
56
68
|
*/
|
|
57
69
|
CreatedAt: string;
|
|
58
70
|
/**
|
|
59
|
-
*
|
|
71
|
+
* The reason for failure if the code interpreter creation or operation failed.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-failurereason}
|
|
73
|
+
*/
|
|
74
|
+
FailureReason: string;
|
|
75
|
+
/**
|
|
76
|
+
* The time at which the code interpreter was last updated.
|
|
60
77
|
* @format date-time
|
|
61
78
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-lastupdatedat}
|
|
62
79
|
*/
|
|
63
80
|
LastUpdatedAt: string;
|
|
64
81
|
/**
|
|
65
|
-
*
|
|
82
|
+
* The status of the custom code interpreter.
|
|
66
83
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-status}
|
|
67
84
|
*/
|
|
68
85
|
Status: CodeInterpreterStatus;
|
|
69
86
|
};
|
|
70
87
|
/**
|
|
71
|
-
*
|
|
88
|
+
* The network configuration.
|
|
72
89
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html}
|
|
73
90
|
*/
|
|
74
91
|
export type CodeInterpreterNetworkConfiguration = {
|
|
75
92
|
/**
|
|
76
|
-
*
|
|
93
|
+
* The network mode.
|
|
77
94
|
* @default "SANDBOX"
|
|
78
95
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-networkmode}
|
|
79
96
|
*/
|
|
80
97
|
NetworkMode: CodeInterpreterNetworkMode;
|
|
98
|
+
/**
|
|
99
|
+
* Network mode configuration for VPC
|
|
100
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-vpcconfig}
|
|
101
|
+
*/
|
|
102
|
+
VpcConfig?: VpcConfig | undefined;
|
|
81
103
|
};
|
|
82
104
|
/**
|
|
83
105
|
* Network modes supported by code interpreter
|
|
84
106
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkmode.html}
|
|
85
107
|
*/
|
|
86
|
-
export type CodeInterpreterNetworkMode = "PUBLIC" | "SANDBOX";
|
|
108
|
+
export type CodeInterpreterNetworkMode = "PUBLIC" | "SANDBOX" | "VPC";
|
|
87
109
|
/**
|
|
88
110
|
* Status of Code interpreter
|
|
89
111
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreterstatus.html}
|
|
90
112
|
*/
|
|
91
113
|
export type CodeInterpreterStatus = "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED";
|
|
114
|
+
/**
|
|
115
|
+
* Network mode configuration for VPC
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html}
|
|
117
|
+
*/
|
|
118
|
+
export type VpcConfig = {
|
|
119
|
+
/**
|
|
120
|
+
* Security groups for VPC
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-securitygroups}
|
|
122
|
+
*/
|
|
123
|
+
SecurityGroups: string[];
|
|
124
|
+
/**
|
|
125
|
+
* Subnets for VPC
|
|
126
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-subnets}
|
|
127
|
+
*/
|
|
128
|
+
Subnets: string[];
|
|
129
|
+
};
|
|
92
130
|
//# sourceMappingURL=aws-bedrockagentcore-codeinterpretercustom.d.ts.map
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
|
+
/**
|
|
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.
|
|
10
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html}
|
|
11
|
+
*/
|
|
12
|
+
export type BedrockAgentCoreGateway = ResourceDefinitionWithAttributes<"AWS::BedrockAgentCore::Gateway", BedrockAgentCoreGatewayProps, BedrockAgentCoreGatewayAttribs>;
|
|
13
|
+
/**
|
|
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.
|
|
21
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html}
|
|
22
|
+
*/
|
|
23
|
+
export type BedrockAgentCoreGatewayProps = {
|
|
24
|
+
/**
|
|
25
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizerconfiguration}
|
|
26
|
+
*/
|
|
27
|
+
AuthorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The authorizer type for the gateway.
|
|
30
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizertype}
|
|
31
|
+
*/
|
|
32
|
+
AuthorizerType: AuthorizerType;
|
|
33
|
+
/**
|
|
34
|
+
* The description for the gateway.
|
|
35
|
+
* @minLength 1
|
|
36
|
+
* @maxLength 200
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-description}
|
|
38
|
+
*/
|
|
39
|
+
Description?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* The exception level for the gateway.
|
|
42
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-exceptionlevel}
|
|
43
|
+
*/
|
|
44
|
+
ExceptionLevel?: ExceptionLevel | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The KMS key ARN for the gateway.
|
|
47
|
+
* @minLength 1
|
|
48
|
+
* @maxLength 2048
|
|
49
|
+
* @pattern ^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-kmskeyarn}
|
|
51
|
+
*/
|
|
52
|
+
KmsKeyArn?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The name for the gateway.
|
|
55
|
+
* @pattern ^([0-9a-zA-Z][-]?){1,100}$
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-name}
|
|
57
|
+
*/
|
|
58
|
+
Name: string;
|
|
59
|
+
/**
|
|
60
|
+
* The protocol configuration for the gateway target.
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocolconfiguration}
|
|
62
|
+
*/
|
|
63
|
+
ProtocolConfiguration?: GatewayProtocolConfiguration | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The protocol type for the gateway target.
|
|
66
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocoltype}
|
|
67
|
+
*/
|
|
68
|
+
ProtocolType: GatewayProtocolType;
|
|
69
|
+
/**
|
|
70
|
+
* @minLength 1
|
|
71
|
+
* @maxLength 2048
|
|
72
|
+
* @pattern ^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$
|
|
73
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-rolearn}
|
|
74
|
+
*/
|
|
75
|
+
RoleArn: string;
|
|
76
|
+
/**
|
|
77
|
+
* The tags for the gateway.
|
|
78
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-tags}
|
|
79
|
+
*/
|
|
80
|
+
Tags?: Record<string, string> | undefined;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#aws-resource-bedrockagentcore-gateway-return-values}
|
|
84
|
+
*/
|
|
85
|
+
export type BedrockAgentCoreGatewayAttribs = {
|
|
86
|
+
/**
|
|
87
|
+
* The date and time at which the gateway was created.
|
|
88
|
+
* @format date-time
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-createdat}
|
|
90
|
+
*/
|
|
91
|
+
CreatedAt: string;
|
|
92
|
+
/**
|
|
93
|
+
* The ARN for the gateway.
|
|
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}$
|
|
95
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-gatewayarn}
|
|
96
|
+
*/
|
|
97
|
+
GatewayArn: string;
|
|
98
|
+
/**
|
|
99
|
+
* @pattern ^([0-9a-z][-]?){1,100}-[0-9a-z]{10}$
|
|
100
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-gatewayidentifier}
|
|
101
|
+
*/
|
|
102
|
+
GatewayIdentifier: string;
|
|
103
|
+
/**
|
|
104
|
+
* The gateway URL for the gateway.
|
|
105
|
+
* @minLength 1
|
|
106
|
+
* @maxLength 1024
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-gatewayurl}
|
|
108
|
+
*/
|
|
109
|
+
GatewayUrl: string;
|
|
110
|
+
/**
|
|
111
|
+
* The status for the gateway.
|
|
112
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-status}
|
|
113
|
+
*/
|
|
114
|
+
Status: GatewayStatus;
|
|
115
|
+
/**
|
|
116
|
+
* The status reasons for the gateway.
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-statusreasons}
|
|
118
|
+
*/
|
|
119
|
+
StatusReasons: string[];
|
|
120
|
+
/**
|
|
121
|
+
* @format date-time
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-updatedat}
|
|
123
|
+
*/
|
|
124
|
+
UpdatedAt: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizerconfiguration.html}
|
|
128
|
+
*/
|
|
129
|
+
export type AuthorizerConfiguration = {
|
|
130
|
+
CustomJWTAuthorizer: CustomJWTAuthorizerConfiguration;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizertype.html}
|
|
134
|
+
*/
|
|
135
|
+
export type AuthorizerType = "CUSTOM_JWT" | "AWS_IAM";
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html}
|
|
138
|
+
*/
|
|
139
|
+
export type CustomJWTAuthorizerConfiguration = {
|
|
140
|
+
/**
|
|
141
|
+
* The allowed audience authorized for the gateway target.
|
|
142
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedaudience}
|
|
143
|
+
*/
|
|
144
|
+
AllowedAudience?: string[] | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedclients}
|
|
147
|
+
*/
|
|
148
|
+
AllowedClients?: string[] | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* The discovery URL for the authorizer configuration.
|
|
151
|
+
* @pattern ^.+/\.well-known/openid-configuration$
|
|
152
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-discoveryurl}
|
|
153
|
+
*/
|
|
154
|
+
DiscoveryUrl: string;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-exceptionlevel.html}
|
|
158
|
+
*/
|
|
159
|
+
export type ExceptionLevel = "DEBUG";
|
|
160
|
+
/**
|
|
161
|
+
* The protocol configuration.
|
|
162
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayprotocolconfiguration.html}
|
|
163
|
+
*/
|
|
164
|
+
export type GatewayProtocolConfiguration = {
|
|
165
|
+
Mcp: MCPGatewayConfiguration;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayprotocoltype.html}
|
|
169
|
+
*/
|
|
170
|
+
export type GatewayProtocolType = "MCP";
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewaystatus.html}
|
|
173
|
+
*/
|
|
174
|
+
export type GatewayStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED";
|
|
175
|
+
/**
|
|
176
|
+
* The gateway configuration for MCP.
|
|
177
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html}
|
|
178
|
+
*/
|
|
179
|
+
export type MCPGatewayConfiguration = {
|
|
180
|
+
/**
|
|
181
|
+
* @minLength 1
|
|
182
|
+
* @maxLength 2048
|
|
183
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-instructions}
|
|
184
|
+
*/
|
|
185
|
+
Instructions?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* The MCP gateway configuration search type.
|
|
188
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-searchtype}
|
|
189
|
+
*/
|
|
190
|
+
SearchType?: SearchType | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* The supported versions for the MCP configuration for the gateway target.
|
|
193
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-supportedversions}
|
|
194
|
+
*/
|
|
195
|
+
SupportedVersions?: string[] | undefined;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-searchtype.html}
|
|
199
|
+
*/
|
|
200
|
+
export type SearchType = "SEMANTIC";
|
|
201
|
+
//# sourceMappingURL=aws-bedrockagentcore-gateway.d.ts.map
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
|
+
/**
|
|
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.
|
|
10
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html}
|
|
11
|
+
*/
|
|
12
|
+
export type BedrockAgentCoreGatewayTarget = ResourceDefinitionWithAttributes<"AWS::BedrockAgentCore::GatewayTarget", BedrockAgentCoreGatewayTargetProps, BedrockAgentCoreGatewayTargetAttribs>;
|
|
13
|
+
/**
|
|
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.
|
|
21
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html}
|
|
22
|
+
*/
|
|
23
|
+
export type BedrockAgentCoreGatewayTargetProps = {
|
|
24
|
+
/**
|
|
25
|
+
* The OAuth credential provider configuration.
|
|
26
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfigurations}
|
|
27
|
+
*/
|
|
28
|
+
CredentialProviderConfigurations: CredentialProviderConfiguration[];
|
|
29
|
+
/**
|
|
30
|
+
* The description for the gateway target.
|
|
31
|
+
* @minLength 1
|
|
32
|
+
* @maxLength 200
|
|
33
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-description}
|
|
34
|
+
*/
|
|
35
|
+
Description?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The gateway ID for the gateway target.
|
|
38
|
+
* @pattern ^([0-9a-z][-]?){1,100}-[0-9a-z]{10}$
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-gatewayidentifier}
|
|
40
|
+
*/
|
|
41
|
+
GatewayIdentifier?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The name for the gateway target.
|
|
44
|
+
* @pattern ^([0-9a-zA-Z][-]?){1,100}$
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-name}
|
|
46
|
+
*/
|
|
47
|
+
Name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The target configuration for the Smithy model target.
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-targetconfiguration}
|
|
51
|
+
*/
|
|
52
|
+
TargetConfiguration: TargetConfiguration;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#aws-resource-bedrockagentcore-gatewaytarget-return-values}
|
|
56
|
+
*/
|
|
57
|
+
export type BedrockAgentCoreGatewayTargetAttribs = {
|
|
58
|
+
/**
|
|
59
|
+
* The date and time at which the gateway target was created.
|
|
60
|
+
* @format date-time
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-createdat}
|
|
62
|
+
*/
|
|
63
|
+
CreatedAt: string;
|
|
64
|
+
/**
|
|
65
|
+
* @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}$
|
|
66
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-gatewayarn}
|
|
67
|
+
*/
|
|
68
|
+
GatewayArn: string;
|
|
69
|
+
/**
|
|
70
|
+
* The status for the gateway target.
|
|
71
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-status}
|
|
72
|
+
*/
|
|
73
|
+
Status: TargetStatus;
|
|
74
|
+
/**
|
|
75
|
+
* The status reasons for the gateway target.
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-statusreasons}
|
|
77
|
+
*/
|
|
78
|
+
StatusReasons: string[];
|
|
79
|
+
/**
|
|
80
|
+
* The target ID for the gateway target.
|
|
81
|
+
* @pattern ^[0-9a-zA-Z]{10}$
|
|
82
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-targetid}
|
|
83
|
+
*/
|
|
84
|
+
TargetId: string;
|
|
85
|
+
/**
|
|
86
|
+
* The time at which the resource was updated.
|
|
87
|
+
* @format date-time
|
|
88
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-updatedat}
|
|
89
|
+
*/
|
|
90
|
+
UpdatedAt: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentiallocation.html}
|
|
94
|
+
*/
|
|
95
|
+
export type ApiKeyCredentialLocation = "HEADER" | "QUERY_PARAMETER";
|
|
96
|
+
/**
|
|
97
|
+
* The API key credential provider for the gateway target.
|
|
98
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html}
|
|
99
|
+
*/
|
|
100
|
+
export type ApiKeyCredentialProvider = {
|
|
101
|
+
/**
|
|
102
|
+
* The credential location for the gateway target.
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentiallocation}
|
|
104
|
+
*/
|
|
105
|
+
CredentialLocation?: ApiKeyCredentialLocation | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* The credential parameter name for the provider for the gateway target.
|
|
108
|
+
* @minLength 1
|
|
109
|
+
* @maxLength 64
|
|
110
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialparametername}
|
|
111
|
+
*/
|
|
112
|
+
CredentialParameterName?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* The API key credential provider for the gateway target.
|
|
115
|
+
* @minLength 1
|
|
116
|
+
* @maxLength 64
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialprefix}
|
|
118
|
+
*/
|
|
119
|
+
CredentialPrefix?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* The provider ARN for the gateway target.
|
|
122
|
+
* @pattern ^arn:([^:]*):([^:]*):([^:]*):([0-9]{12})?:(.+)$
|
|
123
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-providerarn}
|
|
124
|
+
*/
|
|
125
|
+
ProviderArn: string;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* The API schema configuration for the gateway target.
|
|
129
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apischemaconfiguration.html}
|
|
130
|
+
*/
|
|
131
|
+
export type ApiSchemaConfiguration = {
|
|
132
|
+
S3: S3Configuration;
|
|
133
|
+
} | {
|
|
134
|
+
InlinePayload: string;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialprovider.html}
|
|
138
|
+
*/
|
|
139
|
+
export type CredentialProvider = {
|
|
140
|
+
OauthCredentialProvider: OAuthCredentialProvider;
|
|
141
|
+
} | {
|
|
142
|
+
ApiKeyCredentialProvider: ApiKeyCredentialProvider;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* The credential provider configuration for the gateway target.
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html}
|
|
147
|
+
*/
|
|
148
|
+
export type CredentialProviderConfiguration = {
|
|
149
|
+
/**
|
|
150
|
+
* The credential provider for the gateway target.
|
|
151
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovider}
|
|
152
|
+
*/
|
|
153
|
+
CredentialProvider?: CredentialProvider | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* The credential provider type for the gateway target.
|
|
156
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovidertype}
|
|
157
|
+
*/
|
|
158
|
+
CredentialProviderType: CredentialProviderType;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialprovidertype.html}
|
|
162
|
+
*/
|
|
163
|
+
export type CredentialProviderType = "GATEWAY_IAM_ROLE" | "OAUTH" | "API_KEY";
|
|
164
|
+
/**
|
|
165
|
+
* The Lambda target configuration.
|
|
166
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html}
|
|
167
|
+
*/
|
|
168
|
+
export type McpLambdaTargetConfiguration = {
|
|
169
|
+
/**
|
|
170
|
+
* The ARN of the Lambda target configuration.
|
|
171
|
+
* @minLength 1
|
|
172
|
+
* @maxLength 170
|
|
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-_]+))?$
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration-lambdaarn}
|
|
175
|
+
*/
|
|
176
|
+
LambdaArn: string;
|
|
177
|
+
/**
|
|
178
|
+
* The tool schema configuration for the gateway target MCP configuration for Lambda.
|
|
179
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration-toolschema}
|
|
180
|
+
*/
|
|
181
|
+
ToolSchema: ToolSchema;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* The MCP target configuration for the gateway target.
|
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html}
|
|
186
|
+
*/
|
|
187
|
+
export type McpTargetConfiguration = {
|
|
188
|
+
OpenApiSchema: ApiSchemaConfiguration;
|
|
189
|
+
} | {
|
|
190
|
+
SmithyModel: ApiSchemaConfiguration;
|
|
191
|
+
} | {
|
|
192
|
+
Lambda: McpLambdaTargetConfiguration;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The OAuth credential provider for the gateway target.
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html}
|
|
197
|
+
*/
|
|
198
|
+
export type OAuthCredentialProvider = {
|
|
199
|
+
/**
|
|
200
|
+
* The OAuth credential provider.
|
|
201
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-customparameters}
|
|
202
|
+
*/
|
|
203
|
+
CustomParameters?: Record<string, string> | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* The provider ARN for the gateway target.
|
|
206
|
+
* @pattern ^arn:([^:]*):([^:]*):([^:]*):([0-9]{12})?:(.+)$
|
|
207
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-providerarn}
|
|
208
|
+
*/
|
|
209
|
+
ProviderArn: string;
|
|
210
|
+
/**
|
|
211
|
+
* The OAuth credential provider scopes.
|
|
212
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-scopes}
|
|
213
|
+
*/
|
|
214
|
+
Scopes: string[];
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* The S3 configuration for the gateway target.
|
|
218
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html}
|
|
219
|
+
*/
|
|
220
|
+
export type S3Configuration = {
|
|
221
|
+
/**
|
|
222
|
+
* The S3 configuration bucket owner account ID for the gateway target.
|
|
223
|
+
* @pattern ^[0-9]{12}$
|
|
224
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-bucketowneraccountid}
|
|
225
|
+
*/
|
|
226
|
+
BucketOwnerAccountId?: string | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* The configuration URI for the gateway target.
|
|
229
|
+
* @pattern ^s3://.{1,2043}$
|
|
230
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-uri}
|
|
231
|
+
*/
|
|
232
|
+
Uri?: string | undefined;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* The schema definition for the gateway target.
|
|
236
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html}
|
|
237
|
+
*/
|
|
238
|
+
export type SchemaDefinition = {
|
|
239
|
+
/**
|
|
240
|
+
* The workload identity details for the gateway.
|
|
241
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-description}
|
|
242
|
+
*/
|
|
243
|
+
Description?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-items}
|
|
246
|
+
*/
|
|
247
|
+
Items?: SchemaDefinition | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* The schema definition properties for the gateway target.
|
|
250
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-properties}
|
|
251
|
+
*/
|
|
252
|
+
Properties?: Record<string, SchemaDefinition> | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* The schema definition.
|
|
255
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-required}
|
|
256
|
+
*/
|
|
257
|
+
Required?: string[] | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* The scheme definition type for the gateway target.
|
|
260
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-type}
|
|
261
|
+
*/
|
|
262
|
+
Type: SchemaType;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schematype.html}
|
|
266
|
+
*/
|
|
267
|
+
export type SchemaType = "string" | "number" | "object" | "array" | "boolean" | "integer";
|
|
268
|
+
/**
|
|
269
|
+
* The target configuration.
|
|
270
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-targetconfiguration.html}
|
|
271
|
+
*/
|
|
272
|
+
export type TargetConfiguration = {
|
|
273
|
+
Mcp: McpTargetConfiguration;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-targetstatus.html}
|
|
277
|
+
*/
|
|
278
|
+
export type TargetStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED";
|
|
279
|
+
/**
|
|
280
|
+
* The tool definition for the gateway.
|
|
281
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html}
|
|
282
|
+
*/
|
|
283
|
+
export type ToolDefinition = {
|
|
284
|
+
/**
|
|
285
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-description}
|
|
286
|
+
*/
|
|
287
|
+
Description: string;
|
|
288
|
+
/**
|
|
289
|
+
* The input schema for the gateway target.
|
|
290
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-inputschema}
|
|
291
|
+
*/
|
|
292
|
+
InputSchema: SchemaDefinition;
|
|
293
|
+
/**
|
|
294
|
+
* The tool name.
|
|
295
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-name}
|
|
296
|
+
*/
|
|
297
|
+
Name: string;
|
|
298
|
+
/**
|
|
299
|
+
* The tool definition output schema for the gateway target.
|
|
300
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-outputschema}
|
|
301
|
+
*/
|
|
302
|
+
OutputSchema?: SchemaDefinition | undefined;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* The tool schema for the gateway target.
|
|
306
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-toolschema.html}
|
|
307
|
+
*/
|
|
308
|
+
export type ToolSchema = {
|
|
309
|
+
S3: S3Configuration;
|
|
310
|
+
} | {
|
|
311
|
+
InlinePayload: ToolDefinition[];
|
|
312
|
+
};
|
|
313
|
+
//# sourceMappingURL=aws-bedrockagentcore-gatewaytarget.d.ts.map
|