Class CfnLocalGatewayVirtualInterface
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.CfnLocalGatewayVirtualInterface
- All Implemented Interfaces:
IInspectable,ILocalGatewayVirtualInterfaceRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:34.901Z")
@Stability(Stable)
public class CfnLocalGatewayVirtualInterface
extends CfnResource
implements IInspectable, ILocalGatewayVirtualInterfaceRef, ITaggableV2
Describes a local gateway virtual interface.
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.*;
CfnLocalGatewayVirtualInterface cfnLocalGatewayVirtualInterface = CfnLocalGatewayVirtualInterface.Builder.create(this, "MyCfnLocalGatewayVirtualInterface")
.localAddress("localAddress")
.localGatewayVirtualInterfaceGroupId("localGatewayVirtualInterfaceGroupId")
.outpostLagId("outpostLagId")
.peerAddress("peerAddress")
.vlan(123)
// the properties below are optional
.peerBgpAsn(123)
.peerBgpAsnExtended(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLocalGatewayVirtualInterface.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ec2.ILocalGatewayVirtualInterfaceRef
ILocalGatewayVirtualInterfaceRef.Jsii$Default, ILocalGatewayVirtualInterfaceRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnLocalGatewayVirtualInterface(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocalGatewayVirtualInterface(software.amazon.jsii.JsiiObjectRef objRef) CfnLocalGatewayVirtualInterface(software.constructs.Construct scope, String id, CfnLocalGatewayVirtualInterfaceProps props) Create a newAWS::EC2::LocalGatewayVirtualInterface. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfromLocalGatewayVirtualInterfaceId(software.constructs.Construct scope, String id, String localGatewayVirtualInterfaceId) Creates a new ILocalGatewayVirtualInterfaceRef from a localGatewayVirtualInterfaceId.The current state of the local gateway virtual interface.The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.The ID of the local gateway.The ID of the virtual interface.The ID of the AWS account that owns the local gateway virtual interface.Tag Manager which manages the tags for this resource.The local address.The ID of the local gateway virtual interface group.A reference to a LocalGatewayVirtualInterface resource.The Outpost LAG ID.The peer address.The peer BGP ASN.The extended 32-bit ASN of the BGP peer for use with larger ASN values.getTags()The tags assigned to the virtual interface.getVlan()The ID of the VLAN.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnLocalGatewayVirtualInterface.renderProperties(Map<String, Object> props) voidsetLocalAddress(String value) The local address.voidThe ID of the local gateway virtual interface group.voidsetOutpostLagId(String value) The Outpost LAG ID.voidsetPeerAddress(String value) The peer address.voidsetPeerBgpAsn(Number value) The peer BGP ASN.voidsetPeerBgpAsnExtended(Number value) The extended 32-bit ASN of the BGP peer for use with larger ASN values.voidThe tags assigned to the virtual interface.voidThe ID of the VLAN.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
-
CfnLocalGatewayVirtualInterface
protected CfnLocalGatewayVirtualInterface(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocalGatewayVirtualInterface
protected CfnLocalGatewayVirtualInterface(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocalGatewayVirtualInterface
@Stability(Stable) public CfnLocalGatewayVirtualInterface(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocalGatewayVirtualInterfaceProps props) Create a newAWS::EC2::LocalGatewayVirtualInterface.- 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
-
arnForLocalGatewayVirtualInterface
@Stability(Stable) @NotNull public static String arnForLocalGatewayVirtualInterface(@NotNull ILocalGatewayVirtualInterfaceRef resource) - Parameters:
resource- This parameter is required.
-
fromLocalGatewayVirtualInterfaceId
@Stability(Stable) @NotNull public static ILocalGatewayVirtualInterfaceRef fromLocalGatewayVirtualInterfaceId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String localGatewayVirtualInterfaceId) Creates a new ILocalGatewayVirtualInterfaceRef from a localGatewayVirtualInterfaceId.- Parameters:
scope- This parameter is required.id- This parameter is required.localGatewayVirtualInterfaceId- This parameter is required.
-
isCfnLocalGatewayVirtualInterface
@Stability(Stable) @NotNull public static Boolean isCfnLocalGatewayVirtualInterface(@NotNull Object x) Checks whether the given object is a CfnLocalGatewayVirtualInterface.- Parameters:
x- 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.
-
getAttrConfigurationState
The current state of the local gateway virtual interface. -
getAttrLocalBgpAsn
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway. -
getAttrLocalGatewayId
The ID of the local gateway. -
getAttrLocalGatewayVirtualInterfaceId
The ID of the virtual interface. -
getAttrOwnerId
The ID of the AWS account that owns the local gateway virtual interface. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLocalGatewayVirtualInterfaceRef
@Stability(Stable) @NotNull public LocalGatewayVirtualInterfaceReference getLocalGatewayVirtualInterfaceRef()A reference to a LocalGatewayVirtualInterface resource.- Specified by:
getLocalGatewayVirtualInterfaceRefin interfaceILocalGatewayVirtualInterfaceRef
-
getLocalAddress
The local address. -
setLocalAddress
The local address. -
getLocalGatewayVirtualInterfaceGroupId
The ID of the local gateway virtual interface group. -
setLocalGatewayVirtualInterfaceGroupId
The ID of the local gateway virtual interface group. -
getOutpostLagId
The Outpost LAG ID. -
setOutpostLagId
The Outpost LAG ID. -
getPeerAddress
The peer address. -
setPeerAddress
The peer address. -
getVlan
The ID of the VLAN. -
setVlan
The ID of the VLAN. -
getPeerBgpAsn
The peer BGP ASN. -
setPeerBgpAsn
The peer BGP ASN. -
getPeerBgpAsnExtended
The extended 32-bit ASN of the BGP peer for use with larger ASN values. -
setPeerBgpAsnExtended
The extended 32-bit ASN of the BGP peer for use with larger ASN values. -
getTags
The tags assigned to the virtual interface. -
setTags
The tags assigned to the virtual interface.
-