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
,ITaggableV2
,ILocalGatewayVirtualInterfaceRef
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-01T17:46:52.029Z")
@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 class
A fluent builder forCfnLocalGatewayVirtualInterface
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.ILocalGatewayVirtualInterfaceRef
ILocalGatewayVirtualInterfaceRef.Jsii$Default, ILocalGatewayVirtualInterfaceRef.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnLocalGatewayVirtualInterface
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLocalGatewayVirtualInterface
(software.amazon.jsii.JsiiObjectRef objRef) CfnLocalGatewayVirtualInterface
(software.constructs.Construct scope, String id, CfnLocalGatewayVirtualInterfaceProps props) -
Method Summary
Modifier and TypeMethodDescriptionfromLocalGatewayVirtualInterfaceId
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setLocalAddress
(String value) The local address.void
The ID of the local gateway virtual interface group.void
setOutpostLagId
(String value) The Outpost LAG ID.void
setPeerAddress
(String value) The peer address.void
setPeerBgpAsn
(Number value) The peer BGP ASN.void
setPeerBgpAsnExtended
(Number value) The extended 32-bit ASN of the BGP peer for use with larger ASN values.void
The tags assigned to the virtual interface.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods 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) - 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
-
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.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getLocalGatewayVirtualInterfaceRef
@Stability(Stable) @NotNull public LocalGatewayVirtualInterfaceReference getLocalGatewayVirtualInterfaceRef()A reference to a LocalGatewayVirtualInterface resource.- Specified by:
getLocalGatewayVirtualInterfaceRef
in 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.
-