Class CfnGateway
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnGateway
- All Implemented Interfaces:
IInspectable,IGatewayRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:15.835Z")
@Stability(Stable)
public class CfnGateway
extends CfnResource
implements IInspectable, IGatewayRef, ITaggableV2
Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
For more information about creating a gateway, see Set up an Amazon Bedrock AgentCore gateway .
See the Properties section below for descriptions of both the required and optional properties.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CfnGateway cfnGateway = CfnGateway.Builder.create(this, "MyCfnGateway")
.authorizerType("authorizerType")
.name("name")
.protocolType("protocolType")
.roleArn("roleArn")
// the properties below are optional
.authorizerConfiguration(AuthorizerConfigurationProperty.builder()
.customJwtAuthorizer(CustomJWTAuthorizerConfigurationProperty.builder()
.discoveryUrl("discoveryUrl")
// the properties below are optional
.allowedAudience(List.of("allowedAudience"))
.allowedClients(List.of("allowedClients"))
.build())
.build())
.description("description")
.exceptionLevel("exceptionLevel")
.kmsKeyArn("kmsKeyArn")
.protocolConfiguration(GatewayProtocolConfigurationProperty.builder()
.mcp(MCPGatewayConfigurationProperty.builder()
.instructions("instructions")
.searchType("searchType")
.supportedVersions(List.of("supportedVersions"))
.build())
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static final classA fluent builder forCfnGateway.static interfaceExample:static interfaceThe protocol configuration.static interfaceThe gateway configuration for MCP.static interfaceThe workload identity details for the gateway.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IGatewayRef
IGatewayRef.Jsii$Default, IGatewayRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGateway(software.amazon.jsii.JsiiObjectRef objRef) CfnGateway(software.constructs.Construct scope, String id, CfnGatewayProps props) Create a newAWS::BedrockAgentCore::Gateway. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForGateway(IGatewayRef resource) The date and time at which the gateway was created.The ARN for the gateway.The gateway URL for the gateway.The status for the gateway.The status reasons for the gateway.Returns union: eitherIResolvableorCfnGateway.AuthorizerConfigurationPropertyThe authorizer type for the gateway.Tag Manager which manages the tags for this resource.The description for the gateway.The exception level for the gateway.A reference to a Gateway resource.The KMS key ARN for the gateway.getName()The name for the gateway.The protocol configuration for the gateway target.The protocol type for the gateway target.getTags()The tags for the gateway.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidvoidvoidsetAuthorizerType(String value) The authorizer type for the gateway.voidsetDescription(String value) The description for the gateway.voidsetExceptionLevel(String value) The exception level for the gateway.voidsetKmsKeyArn(String value) The KMS key ARN for the gateway.voidThe name for the gateway.voidThe protocol configuration for the gateway target.voidThe protocol configuration for the gateway target.voidsetProtocolType(String value) The protocol type for the gateway target.voidsetRoleArn(String value) voidThe tags for the gateway.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnGateway
protected CfnGateway(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGateway
protected CfnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGateway
@Stability(Stable) public CfnGateway(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGatewayProps props) Create a newAWS::BedrockAgentCore::Gateway.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForGateway
- Parameters:
resource- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The date and time at which the gateway was created. -
getAttrGatewayArn
The ARN for the gateway. -
getAttrGatewayIdentifier
-
getAttrGatewayUrl
The gateway URL for the gateway. -
getAttrStatus
The status for the gateway. -
getAttrStatusReasons
The status reasons for the gateway. -
getAttrUpdatedAt
-
getAttrWorkloadIdentityDetails
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGatewayRef
A reference to a Gateway resource.- Specified by:
getGatewayRefin interfaceIGatewayRef
-
getAuthorizerType
The authorizer type for the gateway. -
setAuthorizerType
The authorizer type for the gateway. -
getName
The name for the gateway. -
setName
The name for the gateway. -
getProtocolType
The protocol type for the gateway target. -
setProtocolType
The protocol type for the gateway target. -
getRoleArn
-
setRoleArn
-
getAuthorizerConfiguration
Returns union: eitherIResolvableorCfnGateway.AuthorizerConfigurationProperty -
setAuthorizerConfiguration
-
setAuthorizerConfiguration
@Stability(Stable) public void setAuthorizerConfiguration(@Nullable CfnGateway.AuthorizerConfigurationProperty value) -
getDescription
The description for the gateway. -
setDescription
The description for the gateway. -
getExceptionLevel
The exception level for the gateway. -
setExceptionLevel
The exception level for the gateway. -
getKmsKeyArn
The KMS key ARN for the gateway. -
setKmsKeyArn
The KMS key ARN for the gateway. -
getProtocolConfiguration
The protocol configuration for the gateway target.Returns union: either
IResolvableorCfnGateway.GatewayProtocolConfigurationProperty -
setProtocolConfiguration
The protocol configuration for the gateway target. -
setProtocolConfiguration
@Stability(Stable) public void setProtocolConfiguration(@Nullable CfnGateway.GatewayProtocolConfigurationProperty value) The protocol configuration for the gateway target. -
getTags
The tags for the gateway. -
setTags
The tags for the gateway.
-