Class CfnLocalGatewayVirtualInterfaceGroup

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.CfnLocalGatewayVirtualInterfaceGroup
All Implemented Interfaces:
IInspectable, ITaggableV2, ILocalGatewayVirtualInterfaceGroupRef, 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.030Z") @Stability(Stable) public class CfnLocalGatewayVirtualInterfaceGroup extends CfnResource implements IInspectable, ILocalGatewayVirtualInterfaceGroupRef, ITaggableV2
Describes a local gateway virtual interface group.

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.*;
 CfnLocalGatewayVirtualInterfaceGroup cfnLocalGatewayVirtualInterfaceGroup = CfnLocalGatewayVirtualInterfaceGroup.Builder.create(this, "MyCfnLocalGatewayVirtualInterfaceGroup")
         .localGatewayId("localGatewayId")
         // the properties below are optional
         .localBgpAsn(123)
         .localBgpAsnExtended(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnLocalGatewayVirtualInterfaceGroup

      protected CfnLocalGatewayVirtualInterfaceGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnLocalGatewayVirtualInterfaceGroup

      protected CfnLocalGatewayVirtualInterfaceGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnLocalGatewayVirtualInterfaceGroup

      @Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocalGatewayVirtualInterfaceGroupProps 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

    • fromLocalGatewayVirtualInterfaceGroupArn

      @Stability(Stable) @NotNull public static ILocalGatewayVirtualInterfaceGroupRef fromLocalGatewayVirtualInterfaceGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn)
      Creates a new ILocalGatewayVirtualInterfaceGroupRef from an ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      arn - This parameter is required.
    • fromLocalGatewayVirtualInterfaceGroupId

      @Stability(Stable) @NotNull public static ILocalGatewayVirtualInterfaceGroupRef fromLocalGatewayVirtualInterfaceGroupId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String localGatewayVirtualInterfaceGroupId)
      Creates a new ILocalGatewayVirtualInterfaceGroupRef from a localGatewayVirtualInterfaceGroupId.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      localGatewayVirtualInterfaceGroupId - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrConfigurationState

      @Stability(Stable) @NotNull public String getAttrConfigurationState()
      The current state of the local gateway virtual interface group.
    • getAttrLocalGatewayVirtualInterfaceGroupArn

      @Stability(Stable) @NotNull public String getAttrLocalGatewayVirtualInterfaceGroupArn()
      The Amazon Resource Number (ARN) of the local gateway virtual interface group.
    • getAttrLocalGatewayVirtualInterfaceGroupId

      @Stability(Stable) @NotNull public String getAttrLocalGatewayVirtualInterfaceGroupId()
      The ID of the virtual interface group.
    • getAttrLocalGatewayVirtualInterfaceIds

      @Stability(Stable) @NotNull public List<String> getAttrLocalGatewayVirtualInterfaceIds()
      The IDs of the virtual interfaces.
    • getAttrOwnerId

      @Stability(Stable) @NotNull public String getAttrOwnerId()
      The ID of the AWS account that owns the local gateway virtual interface group.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getLocalGatewayVirtualInterfaceGroupRef

      @Stability(Stable) @NotNull public LocalGatewayVirtualInterfaceGroupReference getLocalGatewayVirtualInterfaceGroupRef()
      A reference to a LocalGatewayVirtualInterfaceGroup resource.
      Specified by:
      getLocalGatewayVirtualInterfaceGroupRef in interface ILocalGatewayVirtualInterfaceGroupRef
    • getLocalGatewayId

      @Stability(Stable) @NotNull public String getLocalGatewayId()
      The ID of the local gateway.
    • setLocalGatewayId

      @Stability(Stable) public void setLocalGatewayId(@NotNull String value)
      The ID of the local gateway.
    • getLocalBgpAsn

      @Stability(Stable) @Nullable public Number getLocalBgpAsn()
      The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
    • setLocalBgpAsn

      @Stability(Stable) public void setLocalBgpAsn(@Nullable Number value)
      The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
    • getLocalBgpAsnExtended

      @Stability(Stable) @Nullable public Number getLocalBgpAsnExtended()
      The extended 32-bit ASN for the local BGP configuration.
    • setLocalBgpAsnExtended

      @Stability(Stable) public void setLocalBgpAsnExtended(@Nullable Number value)
      The extended 32-bit ASN for the local BGP configuration.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags assigned to the virtual interface group.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags assigned to the virtual interface group.