@pulumi/aws 7.9.0-alpha.1760704543 → 7.9.0-alpha.1761090036
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/resourcePolicy.d.ts +214 -0
- package/amp/resourcePolicy.js +182 -0
- package/amp/resourcePolicy.js.map +1 -0
- package/bedrock/agentcoreAgentRuntime.d.ts +356 -0
- package/bedrock/agentcoreAgentRuntime.js +198 -0
- package/bedrock/agentcoreAgentRuntime.js.map +1 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +173 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js +96 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +133 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js +84 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -0
- package/bedrock/agentcoreBrowser.d.ts +231 -0
- package/bedrock/agentcoreBrowser.js +135 -0
- package/bedrock/agentcoreBrowser.js.map +1 -0
- package/bedrock/agentcoreCodeInterpreter.d.ts +211 -0
- package/bedrock/agentcoreCodeInterpreter.js +125 -0
- package/bedrock/agentcoreCodeInterpreter.js.map +1 -0
- package/bedrock/agentcoreGateway.d.ts +317 -0
- package/bedrock/agentcoreGateway.js +178 -0
- package/bedrock/agentcoreGateway.js.map +1 -0
- package/bedrock/agentcoreGatewayTarget.d.ts +294 -0
- package/bedrock/agentcoreGatewayTarget.js +233 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -0
- package/bedrock/index.d.ts +21 -0
- package/bedrock/index.js +36 -1
- package/bedrock/index.js.map +1 -1
- package/cloudwatch/metricAlarm.d.ts +39 -7
- package/cloudwatch/metricAlarm.js +36 -4
- package/cloudwatch/metricAlarm.js.map +1 -1
- package/codebuild/project.d.ts +15 -0
- package/codebuild/project.js +2 -0
- package/codebuild/project.js.map +1 -1
- package/datazone/environment.d.ts +10 -6
- package/datazone/environment.js +1 -3
- package/datazone/environment.js.map +1 -1
- package/dms/endpoint.d.ts +3 -3
- package/ec2/getVpnConnection.d.ts +173 -0
- package/ec2/getVpnConnection.js +92 -0
- package/ec2/getVpnConnection.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -3
- package/ec2/index.js.map +1 -1
- package/ec2/route.d.ts +0 -8
- package/ec2/route.js +0 -8
- package/ec2/route.js.map +1 -1
- package/ec2/routeTable.d.ts +6 -6
- package/ec2/routeTable.js +0 -6
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/getDirectConnectGatewayAttachment.d.ts +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js.map +1 -1
- package/ec2transitgateway/getVpcAttachment.d.ts +4 -0
- package/ec2transitgateway/getVpcAttachment.js +4 -0
- package/ec2transitgateway/getVpcAttachment.js.map +1 -1
- package/ec2transitgateway/routeTableAssociation.d.ts +57 -0
- package/ec2transitgateway/routeTableAssociation.js +57 -0
- package/ec2transitgateway/routeTableAssociation.js.map +1 -1
- package/ec2transitgateway/routeTablePropagation.d.ts +57 -0
- package/ec2transitgateway/routeTablePropagation.js +57 -0
- package/ec2transitgateway/routeTablePropagation.js.map +1 -1
- package/emrserverless/application.d.ts +12 -0
- package/emrserverless/application.js +2 -0
- package/emrserverless/application.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/lakeformation/permissions.d.ts +14 -10
- package/lakeformation/permissions.js +14 -10
- package/lakeformation/permissions.js.map +1 -1
- package/odb/cloudAutonomousVmCluster.d.ts +6 -6
- package/odb/cloudAutonomousVmCluster.js +6 -6
- package/odb/cloudExadataInfrastructure.d.ts +2 -2
- package/odb/cloudVmCluster.d.ts +6 -6
- package/odb/cloudVmCluster.js +6 -6
- package/odb/getCloudAutonomousVmClusters.d.ts +68 -0
- package/odb/getCloudAutonomousVmClusters.js +56 -0
- package/odb/getCloudAutonomousVmClusters.js.map +1 -0
- package/odb/getCloudExadataInfrastructures.d.ts +68 -0
- package/odb/getCloudExadataInfrastructures.js +56 -0
- package/odb/getCloudExadataInfrastructures.js.map +1 -0
- package/odb/getCloudVmClusters.d.ts +68 -0
- package/odb/getCloudVmClusters.js +56 -0
- package/odb/getCloudVmClusters.js.map +1 -0
- package/odb/getDbSystemShapes.d.ts +1 -1
- package/odb/getNetworkPeeringConnection.d.ts +3 -3
- package/odb/getNetworkPeeringConnections.d.ts +77 -0
- package/odb/getNetworkPeeringConnections.js +58 -0
- package/odb/getNetworkPeeringConnections.js.map +1 -0
- package/odb/getNetworks.d.ts +64 -0
- package/odb/getNetworks.js +52 -0
- package/odb/getNetworks.js.map +1 -0
- package/odb/index.d.ts +15 -0
- package/odb/index.js +16 -1
- package/odb/index.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/accountSubscription.d.ts +37 -1
- package/quicksight/accountSubscription.js +7 -1
- package/quicksight/accountSubscription.js.map +1 -1
- package/rds/getGlobalCluster.d.ts +123 -0
- package/rds/getGlobalCluster.js +56 -0
- package/rds/getGlobalCluster.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +5 -2
- package/rds/index.js.map +1 -1
- package/servicediscovery/service.d.ts +4 -4
- package/servicediscovery/service.js +1 -1
- package/ssm/defaultPatchBaseline.d.ts +3 -0
- package/ssm/defaultPatchBaseline.js.map +1 -1
- package/ssmcontacts/contact.d.ts +9 -3
- package/ssmcontacts/contact.js +9 -3
- package/ssmcontacts/contact.js.map +1 -1
- package/transfer/hostKey.d.ts +151 -0
- package/transfer/hostKey.js +83 -0
- package/transfer/hostKey.js.map +1 -0
- package/transfer/index.d.ts +9 -0
- package/transfer/index.js +16 -1
- package/transfer/index.js.map +1 -1
- package/transfer/webApp.d.ts +239 -0
- package/transfer/webApp.js +157 -0
- package/transfer/webApp.js.map +1 -0
- package/transfer/webAppCustomization.d.ts +97 -0
- package/transfer/webAppCustomization.js +73 -0
- package/transfer/webAppCustomization.js.map +1 -0
- package/types/input.d.ts +997 -2
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1342 -160
- package/types/output.js.map +1 -1
- package/vpclattice/resourceGateway.d.ts +12 -0
- package/vpclattice/resourceGateway.js +2 -0
- package/vpclattice/resourceGateway.js.map +1 -1
- package/vpn/getConnection.d.ts +175 -0
- package/vpn/getConnection.js +96 -0
- package/vpn/getConnection.js.map +1 -0
- package/vpn/index.d.ts +3 -0
- package/vpn/index.js +10 -0
- package/vpn/index.js.map +1 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AgentcoreCodeInterpreter = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Bedrock AgentCore Code Interpreter. Code Interpreter provides a secure environment for AI agents to execute Python code, enabling data analysis, calculations, and file processing capabilities.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.bedrock.AgentcoreCodeInterpreter("example", {
|
|
20
|
+
* name: "example-code-interpreter",
|
|
21
|
+
* description: "Code interpreter for data analysis",
|
|
22
|
+
* networkConfiguration: {
|
|
23
|
+
* networkMode: "PUBLIC",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ### Code Interpreter with Execution Role
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as aws from "@pulumi/aws";
|
|
33
|
+
*
|
|
34
|
+
* const assumeRole = aws.iam.getPolicyDocument({
|
|
35
|
+
* statements: [{
|
|
36
|
+
* effect: "Allow",
|
|
37
|
+
* actions: ["sts:AssumeRole"],
|
|
38
|
+
* principals: [{
|
|
39
|
+
* type: "Service",
|
|
40
|
+
* identifiers: ["bedrock-agentcore.amazonaws.com"],
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* });
|
|
44
|
+
* const example = new aws.iam.Role("example", {
|
|
45
|
+
* name: "bedrock-agentcore-code-interpreter-role",
|
|
46
|
+
* assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
|
|
47
|
+
* });
|
|
48
|
+
* const exampleAgentcoreCodeInterpreter = new aws.bedrock.AgentcoreCodeInterpreter("example", {
|
|
49
|
+
* name: "example-code-interpreter",
|
|
50
|
+
* description: "Code interpreter with custom execution role",
|
|
51
|
+
* executionRoleArn: example.arn,
|
|
52
|
+
* networkConfiguration: {
|
|
53
|
+
* networkMode: "SANDBOX",
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* Using `pulumi import`, import Bedrock AgentCore Code Interpreter using the code interpreter ID. For example:
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import aws:bedrock/agentcoreCodeInterpreter:AgentcoreCodeInterpreter example CODEINTERPRETER1234567890
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
class AgentcoreCodeInterpreter extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing AgentcoreCodeInterpreter resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new AgentcoreCodeInterpreter(name, state, { ...opts, id: id });
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of AgentcoreCodeInterpreter. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === AgentcoreCodeInterpreter.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
constructor(name, argsOrState, opts) {
|
|
90
|
+
let resourceInputs = {};
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
if (opts.id) {
|
|
93
|
+
const state = argsOrState;
|
|
94
|
+
resourceInputs["codeInterpreterArn"] = state?.codeInterpreterArn;
|
|
95
|
+
resourceInputs["codeInterpreterId"] = state?.codeInterpreterId;
|
|
96
|
+
resourceInputs["description"] = state?.description;
|
|
97
|
+
resourceInputs["executionRoleArn"] = state?.executionRoleArn;
|
|
98
|
+
resourceInputs["name"] = state?.name;
|
|
99
|
+
resourceInputs["networkConfiguration"] = state?.networkConfiguration;
|
|
100
|
+
resourceInputs["region"] = state?.region;
|
|
101
|
+
resourceInputs["tags"] = state?.tags;
|
|
102
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
103
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
const args = argsOrState;
|
|
107
|
+
resourceInputs["description"] = args?.description;
|
|
108
|
+
resourceInputs["executionRoleArn"] = args?.executionRoleArn;
|
|
109
|
+
resourceInputs["name"] = args?.name;
|
|
110
|
+
resourceInputs["networkConfiguration"] = args?.networkConfiguration;
|
|
111
|
+
resourceInputs["region"] = args?.region;
|
|
112
|
+
resourceInputs["tags"] = args?.tags;
|
|
113
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
114
|
+
resourceInputs["codeInterpreterArn"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["codeInterpreterId"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(AgentcoreCodeInterpreter.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.AgentcoreCodeInterpreter = AgentcoreCodeInterpreter;
|
|
123
|
+
/** @internal */
|
|
124
|
+
AgentcoreCodeInterpreter.__pulumiType = 'aws:bedrock/agentcoreCodeInterpreter:AgentcoreCodeInterpreter';
|
|
125
|
+
//# sourceMappingURL=agentcoreCodeInterpreter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreCodeInterpreter.js","sourceRoot":"","sources":["../../bedrock/agentcoreCodeInterpreter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC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,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA1GL,4DA2GC;AA7FG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an AWS Bedrock AgentCore Gateway. With Gateway, developers can convert APIs, Lambda functions, and existing services into Model Context Protocol (MCP)-compatible tools.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Gateway with JWT Authorization
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const assumeRole = aws.iam.getPolicyDocument({
|
|
16
|
+
* statements: [{
|
|
17
|
+
* effect: "Allow",
|
|
18
|
+
* actions: ["sts:AssumeRole"],
|
|
19
|
+
* principals: [{
|
|
20
|
+
* type: "Service",
|
|
21
|
+
* identifiers: ["bedrock-agentcore.amazonaws.com"],
|
|
22
|
+
* }],
|
|
23
|
+
* }],
|
|
24
|
+
* });
|
|
25
|
+
* const example = new aws.iam.Role("example", {
|
|
26
|
+
* name: "bedrock-agentcore-gateway-role",
|
|
27
|
+
* assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
|
|
28
|
+
* });
|
|
29
|
+
* const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
|
|
30
|
+
* name: "example-gateway",
|
|
31
|
+
* roleArn: example.arn,
|
|
32
|
+
* authorizerType: "CUSTOM_JWT",
|
|
33
|
+
* authorizerConfiguration: {
|
|
34
|
+
* customJwtAuthorizer: {
|
|
35
|
+
* discoveryUrl: "https://accounts.google.com/.well-known/openid-configuration",
|
|
36
|
+
* allowedAudiences: [
|
|
37
|
+
* "test1",
|
|
38
|
+
* "test2",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* protocolType: "MCP",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ### Gateway with advanced JWT Authorization and MCP Configuration
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const example = new aws.bedrock.AgentcoreGateway("example", {
|
|
53
|
+
* name: "mcp-gateway",
|
|
54
|
+
* description: "Gateway for MCP communication",
|
|
55
|
+
* roleArn: exampleAwsIamRole.arn,
|
|
56
|
+
* authorizerType: "CUSTOM_JWT",
|
|
57
|
+
* authorizerConfiguration: {
|
|
58
|
+
* customJwtAuthorizer: {
|
|
59
|
+
* discoveryUrl: "https://auth.example.com/.well-known/openid-configuration",
|
|
60
|
+
* allowedAudiences: [
|
|
61
|
+
* "app-client",
|
|
62
|
+
* "web-client",
|
|
63
|
+
* ],
|
|
64
|
+
* allowedClients: [
|
|
65
|
+
* "client-123",
|
|
66
|
+
* "client-456",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* protocolType: "MCP",
|
|
71
|
+
* protocolConfiguration: {
|
|
72
|
+
* mcp: {
|
|
73
|
+
* instructions: "Gateway for handling MCP requests",
|
|
74
|
+
* searchType: "HYBRID",
|
|
75
|
+
* supportedVersions: [
|
|
76
|
+
* "2025-03-26",
|
|
77
|
+
* "2025-06-18",
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* ## Import
|
|
85
|
+
*
|
|
86
|
+
* Using `pulumi import`, import Bedrock AgentCore Gateway using the gateway ID. For example:
|
|
87
|
+
*
|
|
88
|
+
* ```sh
|
|
89
|
+
* $ pulumi import aws:bedrock/agentcoreGateway:AgentcoreGateway example GATEWAY1234567890
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export declare class AgentcoreGateway extends pulumi.CustomResource {
|
|
93
|
+
/**
|
|
94
|
+
* Get an existing AgentcoreGateway resource's state with the given name, ID, and optional extra
|
|
95
|
+
* properties used to qualify the lookup.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resulting resource.
|
|
98
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
+
* @param state Any extra arguments used during the lookup.
|
|
100
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
+
*/
|
|
102
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentcoreGatewayState, opts?: pulumi.CustomResourceOptions): AgentcoreGateway;
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of AgentcoreGateway. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj: any): obj is AgentcoreGateway;
|
|
108
|
+
/**
|
|
109
|
+
* Configuration for request authorization. See `authorizerConfiguration` below.
|
|
110
|
+
*/
|
|
111
|
+
readonly authorizerConfiguration: pulumi.Output<outputs.bedrock.AgentcoreGatewayAuthorizerConfiguration | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Type of authorizer to use. Valid values: `CUSTOM_JWT`, `AWS_IAM`.
|
|
114
|
+
*/
|
|
115
|
+
readonly authorizerType: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Description of the gateway.
|
|
118
|
+
*/
|
|
119
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Exception level for the gateway. Valid values: `INFO`, `WARN`, `ERROR`.
|
|
122
|
+
*/
|
|
123
|
+
readonly exceptionLevel: pulumi.Output<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* ARN of the Gateway.
|
|
126
|
+
*/
|
|
127
|
+
readonly gatewayArn: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Unique identifier of the Gateway.
|
|
130
|
+
*/
|
|
131
|
+
readonly gatewayId: pulumi.Output<string>;
|
|
132
|
+
/**
|
|
133
|
+
* URL endpoint for the gateway.
|
|
134
|
+
*/
|
|
135
|
+
readonly gatewayUrl: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* ARN of the KMS key used to encrypt the gateway data.
|
|
138
|
+
*/
|
|
139
|
+
readonly kmsKeyArn: pulumi.Output<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Name of the gateway.
|
|
142
|
+
*/
|
|
143
|
+
readonly name: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Protocol-specific configuration for the gateway. See `protocolConfiguration` below.
|
|
146
|
+
*/
|
|
147
|
+
readonly protocolConfiguration: pulumi.Output<outputs.bedrock.AgentcoreGatewayProtocolConfiguration | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Protocol type for the gateway. Valid values: `MCP`.
|
|
150
|
+
*/
|
|
151
|
+
readonly protocolType: pulumi.Output<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
154
|
+
*/
|
|
155
|
+
readonly region: pulumi.Output<string>;
|
|
156
|
+
/**
|
|
157
|
+
* ARN of the IAM role that the gateway assumes to access AWS services.
|
|
158
|
+
*
|
|
159
|
+
* The following arguments are optional:
|
|
160
|
+
*/
|
|
161
|
+
readonly roleArn: pulumi.Output<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
164
|
+
*/
|
|
165
|
+
readonly tags: pulumi.Output<{
|
|
166
|
+
[key: string]: string;
|
|
167
|
+
} | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
170
|
+
*/
|
|
171
|
+
readonly tagsAll: pulumi.Output<{
|
|
172
|
+
[key: string]: string;
|
|
173
|
+
}>;
|
|
174
|
+
readonly timeouts: pulumi.Output<outputs.bedrock.AgentcoreGatewayTimeouts | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Workload identity details for the gateway. See `workloadIdentityDetails` below.
|
|
177
|
+
*/
|
|
178
|
+
readonly workloadIdentityDetails: pulumi.Output<outputs.bedrock.AgentcoreGatewayWorkloadIdentityDetail[]>;
|
|
179
|
+
/**
|
|
180
|
+
* Create a AgentcoreGateway resource with the given unique name, arguments, and options.
|
|
181
|
+
*
|
|
182
|
+
* @param name The _unique_ name of the resource.
|
|
183
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
184
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
185
|
+
*/
|
|
186
|
+
constructor(name: string, args: AgentcoreGatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Input properties used for looking up and filtering AgentcoreGateway resources.
|
|
190
|
+
*/
|
|
191
|
+
export interface AgentcoreGatewayState {
|
|
192
|
+
/**
|
|
193
|
+
* Configuration for request authorization. See `authorizerConfiguration` below.
|
|
194
|
+
*/
|
|
195
|
+
authorizerConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreGatewayAuthorizerConfiguration>;
|
|
196
|
+
/**
|
|
197
|
+
* Type of authorizer to use. Valid values: `CUSTOM_JWT`, `AWS_IAM`.
|
|
198
|
+
*/
|
|
199
|
+
authorizerType?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Description of the gateway.
|
|
202
|
+
*/
|
|
203
|
+
description?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Exception level for the gateway. Valid values: `INFO`, `WARN`, `ERROR`.
|
|
206
|
+
*/
|
|
207
|
+
exceptionLevel?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* ARN of the Gateway.
|
|
210
|
+
*/
|
|
211
|
+
gatewayArn?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Unique identifier of the Gateway.
|
|
214
|
+
*/
|
|
215
|
+
gatewayId?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* URL endpoint for the gateway.
|
|
218
|
+
*/
|
|
219
|
+
gatewayUrl?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* ARN of the KMS key used to encrypt the gateway data.
|
|
222
|
+
*/
|
|
223
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Name of the gateway.
|
|
226
|
+
*/
|
|
227
|
+
name?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Protocol-specific configuration for the gateway. See `protocolConfiguration` below.
|
|
230
|
+
*/
|
|
231
|
+
protocolConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreGatewayProtocolConfiguration>;
|
|
232
|
+
/**
|
|
233
|
+
* Protocol type for the gateway. Valid values: `MCP`.
|
|
234
|
+
*/
|
|
235
|
+
protocolType?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
238
|
+
*/
|
|
239
|
+
region?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* ARN of the IAM role that the gateway assumes to access AWS services.
|
|
242
|
+
*
|
|
243
|
+
* The following arguments are optional:
|
|
244
|
+
*/
|
|
245
|
+
roleArn?: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
248
|
+
*/
|
|
249
|
+
tags?: pulumi.Input<{
|
|
250
|
+
[key: string]: pulumi.Input<string>;
|
|
251
|
+
}>;
|
|
252
|
+
/**
|
|
253
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
254
|
+
*/
|
|
255
|
+
tagsAll?: pulumi.Input<{
|
|
256
|
+
[key: string]: pulumi.Input<string>;
|
|
257
|
+
}>;
|
|
258
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcoreGatewayTimeouts>;
|
|
259
|
+
/**
|
|
260
|
+
* Workload identity details for the gateway. See `workloadIdentityDetails` below.
|
|
261
|
+
*/
|
|
262
|
+
workloadIdentityDetails?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreGatewayWorkloadIdentityDetail>[]>;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* The set of arguments for constructing a AgentcoreGateway resource.
|
|
266
|
+
*/
|
|
267
|
+
export interface AgentcoreGatewayArgs {
|
|
268
|
+
/**
|
|
269
|
+
* Configuration for request authorization. See `authorizerConfiguration` below.
|
|
270
|
+
*/
|
|
271
|
+
authorizerConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreGatewayAuthorizerConfiguration>;
|
|
272
|
+
/**
|
|
273
|
+
* Type of authorizer to use. Valid values: `CUSTOM_JWT`, `AWS_IAM`.
|
|
274
|
+
*/
|
|
275
|
+
authorizerType: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* Description of the gateway.
|
|
278
|
+
*/
|
|
279
|
+
description?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* Exception level for the gateway. Valid values: `INFO`, `WARN`, `ERROR`.
|
|
282
|
+
*/
|
|
283
|
+
exceptionLevel?: pulumi.Input<string>;
|
|
284
|
+
/**
|
|
285
|
+
* ARN of the KMS key used to encrypt the gateway data.
|
|
286
|
+
*/
|
|
287
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Name of the gateway.
|
|
290
|
+
*/
|
|
291
|
+
name?: pulumi.Input<string>;
|
|
292
|
+
/**
|
|
293
|
+
* Protocol-specific configuration for the gateway. See `protocolConfiguration` below.
|
|
294
|
+
*/
|
|
295
|
+
protocolConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreGatewayProtocolConfiguration>;
|
|
296
|
+
/**
|
|
297
|
+
* Protocol type for the gateway. Valid values: `MCP`.
|
|
298
|
+
*/
|
|
299
|
+
protocolType: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
302
|
+
*/
|
|
303
|
+
region?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* ARN of the IAM role that the gateway assumes to access AWS services.
|
|
306
|
+
*
|
|
307
|
+
* The following arguments are optional:
|
|
308
|
+
*/
|
|
309
|
+
roleArn: pulumi.Input<string>;
|
|
310
|
+
/**
|
|
311
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
312
|
+
*/
|
|
313
|
+
tags?: pulumi.Input<{
|
|
314
|
+
[key: string]: pulumi.Input<string>;
|
|
315
|
+
}>;
|
|
316
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcoreGatewayTimeouts>;
|
|
317
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AgentcoreGateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Bedrock AgentCore Gateway. With Gateway, developers can convert APIs, Lambda functions, and existing services into Model Context Protocol (MCP)-compatible tools.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Gateway with JWT Authorization
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const assumeRole = aws.iam.getPolicyDocument({
|
|
20
|
+
* statements: [{
|
|
21
|
+
* effect: "Allow",
|
|
22
|
+
* actions: ["sts:AssumeRole"],
|
|
23
|
+
* principals: [{
|
|
24
|
+
* type: "Service",
|
|
25
|
+
* identifiers: ["bedrock-agentcore.amazonaws.com"],
|
|
26
|
+
* }],
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* const example = new aws.iam.Role("example", {
|
|
30
|
+
* name: "bedrock-agentcore-gateway-role",
|
|
31
|
+
* assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
|
|
32
|
+
* });
|
|
33
|
+
* const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
|
|
34
|
+
* name: "example-gateway",
|
|
35
|
+
* roleArn: example.arn,
|
|
36
|
+
* authorizerType: "CUSTOM_JWT",
|
|
37
|
+
* authorizerConfiguration: {
|
|
38
|
+
* customJwtAuthorizer: {
|
|
39
|
+
* discoveryUrl: "https://accounts.google.com/.well-known/openid-configuration",
|
|
40
|
+
* allowedAudiences: [
|
|
41
|
+
* "test1",
|
|
42
|
+
* "test2",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* protocolType: "MCP",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ### Gateway with advanced JWT Authorization and MCP Configuration
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as aws from "@pulumi/aws";
|
|
55
|
+
*
|
|
56
|
+
* const example = new aws.bedrock.AgentcoreGateway("example", {
|
|
57
|
+
* name: "mcp-gateway",
|
|
58
|
+
* description: "Gateway for MCP communication",
|
|
59
|
+
* roleArn: exampleAwsIamRole.arn,
|
|
60
|
+
* authorizerType: "CUSTOM_JWT",
|
|
61
|
+
* authorizerConfiguration: {
|
|
62
|
+
* customJwtAuthorizer: {
|
|
63
|
+
* discoveryUrl: "https://auth.example.com/.well-known/openid-configuration",
|
|
64
|
+
* allowedAudiences: [
|
|
65
|
+
* "app-client",
|
|
66
|
+
* "web-client",
|
|
67
|
+
* ],
|
|
68
|
+
* allowedClients: [
|
|
69
|
+
* "client-123",
|
|
70
|
+
* "client-456",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* protocolType: "MCP",
|
|
75
|
+
* protocolConfiguration: {
|
|
76
|
+
* mcp: {
|
|
77
|
+
* instructions: "Gateway for handling MCP requests",
|
|
78
|
+
* searchType: "HYBRID",
|
|
79
|
+
* supportedVersions: [
|
|
80
|
+
* "2025-03-26",
|
|
81
|
+
* "2025-06-18",
|
|
82
|
+
* ],
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* ## Import
|
|
89
|
+
*
|
|
90
|
+
* Using `pulumi import`, import Bedrock AgentCore Gateway using the gateway ID. For example:
|
|
91
|
+
*
|
|
92
|
+
* ```sh
|
|
93
|
+
* $ pulumi import aws:bedrock/agentcoreGateway:AgentcoreGateway example GATEWAY1234567890
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
class AgentcoreGateway extends pulumi.CustomResource {
|
|
97
|
+
/**
|
|
98
|
+
* Get an existing AgentcoreGateway resource's state with the given name, ID, and optional extra
|
|
99
|
+
* properties used to qualify the lookup.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resulting resource.
|
|
102
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
103
|
+
* @param state Any extra arguments used during the lookup.
|
|
104
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
105
|
+
*/
|
|
106
|
+
static get(name, id, state, opts) {
|
|
107
|
+
return new AgentcoreGateway(name, state, { ...opts, id: id });
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if the given object is an instance of AgentcoreGateway. This is designed to work even
|
|
111
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
112
|
+
*/
|
|
113
|
+
static isInstance(obj) {
|
|
114
|
+
if (obj === undefined || obj === null) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
return obj['__pulumiType'] === AgentcoreGateway.__pulumiType;
|
|
118
|
+
}
|
|
119
|
+
constructor(name, argsOrState, opts) {
|
|
120
|
+
let resourceInputs = {};
|
|
121
|
+
opts = opts || {};
|
|
122
|
+
if (opts.id) {
|
|
123
|
+
const state = argsOrState;
|
|
124
|
+
resourceInputs["authorizerConfiguration"] = state?.authorizerConfiguration;
|
|
125
|
+
resourceInputs["authorizerType"] = state?.authorizerType;
|
|
126
|
+
resourceInputs["description"] = state?.description;
|
|
127
|
+
resourceInputs["exceptionLevel"] = state?.exceptionLevel;
|
|
128
|
+
resourceInputs["gatewayArn"] = state?.gatewayArn;
|
|
129
|
+
resourceInputs["gatewayId"] = state?.gatewayId;
|
|
130
|
+
resourceInputs["gatewayUrl"] = state?.gatewayUrl;
|
|
131
|
+
resourceInputs["kmsKeyArn"] = state?.kmsKeyArn;
|
|
132
|
+
resourceInputs["name"] = state?.name;
|
|
133
|
+
resourceInputs["protocolConfiguration"] = state?.protocolConfiguration;
|
|
134
|
+
resourceInputs["protocolType"] = state?.protocolType;
|
|
135
|
+
resourceInputs["region"] = state?.region;
|
|
136
|
+
resourceInputs["roleArn"] = state?.roleArn;
|
|
137
|
+
resourceInputs["tags"] = state?.tags;
|
|
138
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
139
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
140
|
+
resourceInputs["workloadIdentityDetails"] = state?.workloadIdentityDetails;
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
const args = argsOrState;
|
|
144
|
+
if (args?.authorizerType === undefined && !opts.urn) {
|
|
145
|
+
throw new Error("Missing required property 'authorizerType'");
|
|
146
|
+
}
|
|
147
|
+
if (args?.protocolType === undefined && !opts.urn) {
|
|
148
|
+
throw new Error("Missing required property 'protocolType'");
|
|
149
|
+
}
|
|
150
|
+
if (args?.roleArn === undefined && !opts.urn) {
|
|
151
|
+
throw new Error("Missing required property 'roleArn'");
|
|
152
|
+
}
|
|
153
|
+
resourceInputs["authorizerConfiguration"] = args?.authorizerConfiguration;
|
|
154
|
+
resourceInputs["authorizerType"] = args?.authorizerType;
|
|
155
|
+
resourceInputs["description"] = args?.description;
|
|
156
|
+
resourceInputs["exceptionLevel"] = args?.exceptionLevel;
|
|
157
|
+
resourceInputs["kmsKeyArn"] = args?.kmsKeyArn;
|
|
158
|
+
resourceInputs["name"] = args?.name;
|
|
159
|
+
resourceInputs["protocolConfiguration"] = args?.protocolConfiguration;
|
|
160
|
+
resourceInputs["protocolType"] = args?.protocolType;
|
|
161
|
+
resourceInputs["region"] = args?.region;
|
|
162
|
+
resourceInputs["roleArn"] = args?.roleArn;
|
|
163
|
+
resourceInputs["tags"] = args?.tags;
|
|
164
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
165
|
+
resourceInputs["gatewayArn"] = undefined /*out*/;
|
|
166
|
+
resourceInputs["gatewayId"] = undefined /*out*/;
|
|
167
|
+
resourceInputs["gatewayUrl"] = undefined /*out*/;
|
|
168
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
169
|
+
resourceInputs["workloadIdentityDetails"] = undefined /*out*/;
|
|
170
|
+
}
|
|
171
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
172
|
+
super(AgentcoreGateway.__pulumiType, name, resourceInputs, opts);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.AgentcoreGateway = AgentcoreGateway;
|
|
176
|
+
/** @internal */
|
|
177
|
+
AgentcoreGateway.__pulumiType = 'aws:bedrock/agentcoreGateway:AgentcoreGateway';
|
|
178
|
+
//# sourceMappingURL=agentcoreGateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreGateway.js","sourceRoot":"","sources":["../../bedrock/agentcoreGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI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