Class CfnVPNConcentrator
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.CfnVPNConcentrator
- All Implemented Interfaces:
IInspectable,IVPNConcentratorRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-08T14:57:04.274Z")
@Stability(Stable)
public class CfnVPNConcentrator
extends CfnResource
implements IInspectable, IVPNConcentratorRef, ITaggableV2
Describes a VPN concentrator.
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.*;
CfnVPNConcentrator cfnVPNConcentrator = CfnVPNConcentrator.Builder.create(this, "MyCfnVPNConcentrator")
.transitGatewayId("transitGatewayId")
.type("type")
// 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.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ec2.IVPNConcentratorRef
IVPNConcentratorRef.Jsii$Default, IVPNConcentratorRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnVPNConcentrator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVPNConcentrator(software.amazon.jsii.JsiiObjectRef objRef) CfnVPNConcentrator(software.constructs.Construct scope, String id, CfnVPNConcentratorProps props) Create a newAWS::EC2::VPNConcentrator. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForVPNConcentrator(IVPNConcentratorRef resource) static IVPNConcentratorReffromVpnConcentratorId(software.constructs.Construct scope, String id, String vpnConcentratorId) Creates a new IVPNConcentratorRef from a vpnConcentratorId.The ID of the transit gateway attachment for the VPN concentrator.The ID of the VPN concentrator to associate with the VPN connection.Tag Manager which manages the tags for this resource.getTags()Any tags assigned to the VPN concentrator.The ID of the transit gateway associated with the VPN concentrator.getType()The type of VPN concentrator.A reference to a VPNConcentrator resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnVPNConcentrator.renderProperties(Map<String, Object> props) voidAny tags assigned to the VPN concentrator.voidsetTransitGatewayId(String value) The ID of the transit gateway associated with the VPN concentrator.voidThe type of VPN concentrator.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
-
CfnVPNConcentrator
protected CfnVPNConcentrator(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVPNConcentrator
protected CfnVPNConcentrator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVPNConcentrator
@Stability(Stable) public CfnVPNConcentrator(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnVPNConcentratorProps props) Create a newAWS::EC2::VPNConcentrator.- 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
-
arnForVPNConcentrator
@Stability(Stable) @NotNull public static String arnForVPNConcentrator(@NotNull IVPNConcentratorRef resource) - Parameters:
resource- This parameter is required.
-
fromVpnConcentratorId
@Stability(Stable) @NotNull public static IVPNConcentratorRef fromVpnConcentratorId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String vpnConcentratorId) Creates a new IVPNConcentratorRef from a vpnConcentratorId.- Parameters:
scope- This parameter is required.id- This parameter is required.vpnConcentratorId- This parameter is required.
-
isCfnVPNConcentrator
Checks whether the given object is a CfnVPNConcentrator.- 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.
-
getAttrTransitGatewayAttachmentId
The ID of the transit gateway attachment for the VPN concentrator. -
getAttrVpnConcentratorId
The ID of the VPN concentrator to associate with the VPN connection. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getVpnConcentratorRef
A reference to a VPNConcentrator resource.- Specified by:
getVpnConcentratorRefin interfaceIVPNConcentratorRef
-
getTransitGatewayId
The ID of the transit gateway associated with the VPN concentrator. -
setTransitGatewayId
The ID of the transit gateway associated with the VPN concentrator. -
getType
The type of VPN concentrator. -
setType
The type of VPN concentrator. -
getTags
Any tags assigned to the VPN concentrator. -
setTags
Any tags assigned to the VPN concentrator.
-