Class CfnRouteServerEndpoint
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.ec2.CfnRouteServerEndpoint
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IRouteServerEndpointRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:39.801Z")
@Stability(Stable)
public class CfnRouteServerEndpoint
extends CfnResource
implements IInspectable, IRouteServerEndpointRef, ITaggableV2
Creates a new endpoint for a route server in a specified subnet.
A route server endpoint is an AWS -managed component inside a subnet that facilitates BGP (Border Gateway Protocol) connections between your route server and your BGP peers.
For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide .
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.ec2.*;
CfnRouteServerEndpoint cfnRouteServerEndpoint = CfnRouteServerEndpoint.Builder.create(this, "MyCfnRouteServerEndpoint")
.routeServerId("routeServerId")
.subnetId("subnetId")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IRouteServerEndpointRef
IRouteServerEndpointRef.Jsii$Default, IRouteServerEndpointRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnRouteServerEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRouteServerEndpoint(software.amazon.jsii.JsiiObjectRef objRef) CfnRouteServerEndpoint(software.constructs.Construct scope, String id, CfnRouteServerEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IRouteServerEndpointReffromRouteServerEndpointArn(software.constructs.Construct scope, String id, String arn) Creates a new IRouteServerEndpointRef from an ARN.static IRouteServerEndpointReffromRouteServerEndpointId(software.constructs.Construct scope, String id, String routeServerEndpointId) Creates a new IRouteServerEndpointRef from a routeServerEndpointId.The ARN for the endpoint.The IP address of the Elastic network interface for the endpoint.The ID of the Elastic network interface for the endpoint.The unique identifier of the route server endpoint.The ID of the VPC containing the endpoint.Tag Manager which manages the tags for this resource.A reference to a RouteServerEndpoint resource.The ID of the route server associated with this endpoint.The ID of the subnet to place the route server endpoint into.getTags()Any tags assigned to the route server endpoint.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetRouteServerId(String value) The ID of the route server associated with this endpoint.voidsetSubnetId(String value) The ID of the subnet to place the route server endpoint into.voidAny tags assigned to the route server endpoint.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.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
-
CfnRouteServerEndpoint
protected CfnRouteServerEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRouteServerEndpoint
protected CfnRouteServerEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRouteServerEndpoint
@Stability(Stable) public CfnRouteServerEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRouteServerEndpointProps props) - 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
-
fromRouteServerEndpointArn
@Stability(Stable) @NotNull public static IRouteServerEndpointRef fromRouteServerEndpointArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IRouteServerEndpointRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromRouteServerEndpointId
@Stability(Stable) @NotNull public static IRouteServerEndpointRef fromRouteServerEndpointId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String routeServerEndpointId) Creates a new IRouteServerEndpointRef from a routeServerEndpointId.- Parameters:
scope- This parameter is required.id- This parameter is required.routeServerEndpointId- 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.
-
getAttrArn
The ARN for the endpoint. -
getAttrEniAddress
The IP address of the Elastic network interface for the endpoint. -
getAttrEniId
The ID of the Elastic network interface for the endpoint. -
getAttrId
The unique identifier of the route server endpoint. -
getAttrVpcId
The ID of the VPC containing the endpoint. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getRouteServerEndpointRef
A reference to a RouteServerEndpoint resource.- Specified by:
getRouteServerEndpointRefin interfaceIRouteServerEndpointRef
-
getRouteServerId
The ID of the route server associated with this endpoint. -
setRouteServerId
The ID of the route server associated with this endpoint. -
getSubnetId
The ID of the subnet to place the route server endpoint into. -
setSubnetId
The ID of the subnet to place the route server endpoint into. -
getTags
Any tags assigned to the route server endpoint. -
setTags
Any tags assigned to the route server endpoint.
-