Class CfnSiteToSiteVpnAttachment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.networkmanager.CfnSiteToSiteVpnAttachment
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.480Z")
@Stability(Stable)
public class CfnSiteToSiteVpnAttachment
extends CfnResource
implements IInspectable
A CloudFormation
AWS::NetworkManager::SiteToSiteVpnAttachment.
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
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.networkmanager.*;
CfnSiteToSiteVpnAttachment cfnSiteToSiteVpnAttachment = CfnSiteToSiteVpnAttachment.Builder.create(this, "MyCfnSiteToSiteVpnAttachment")
.coreNetworkId("coreNetworkId")
.vpnConnectionArn("vpnConnectionArn")
// the properties below are optional
.proposedSegmentChange(ProposedSegmentChangeProperty.builder()
.attachmentPolicyRuleNumber(123)
.segmentName("segmentName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnSiteToSiteVpnAttachment.static interfaceDescribes a proposed segment change.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnSiteToSiteVpnAttachment(Construct scope, String id, CfnSiteToSiteVpnAttachmentProps props) Create a newAWS::NetworkManager::SiteToSiteVpnAttachment.protectedCfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the site-to-site VPN attachment.The policy rule number associated with the attachment.The type of attachment.The ARN of the core network.The timestamp when the site-to-site VPN attachment was created.The Region where the core network edge is located.The ID of the site-to-site VPN attachment owner.The resource ARN for the site-to-site VPN attachment.The name of the site-to-site VPN attachment's segment.The state of the site-to-site VPN attachment.The timestamp when the site-to-site VPN attachment was last updated.AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId.AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.getTags()AWS::NetworkManager::SiteToSiteVpnAttachment.Tags.The ARN of the site-to-site VPN attachment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCoreNetworkId(String value) AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId.voidAWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.voidAWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.voidsetVpnConnectionArn(String value) The ARN of the site-to-site VPN attachment.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSiteToSiteVpnAttachment
protected CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSiteToSiteVpnAttachment
protected CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSiteToSiteVpnAttachment
@Stability(Stable) public CfnSiteToSiteVpnAttachment(@NotNull Construct scope, @NotNull String id, @NotNull CfnSiteToSiteVpnAttachmentProps props) Create a newAWS::NetworkManager::SiteToSiteVpnAttachment.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAttachmentId
The ID of the site-to-site VPN attachment. -
getAttrAttachmentPolicyRuleNumber
The policy rule number associated with the attachment. -
getAttrAttachmentType
The type of attachment.This will be
SITE_TO_SITE_VPN. -
getAttrCoreNetworkArn
The ARN of the core network. -
getAttrCreatedAt
The timestamp when the site-to-site VPN attachment was created. -
getAttrEdgeLocation
The Region where the core network edge is located. -
getAttrOwnerAccountId
The ID of the site-to-site VPN attachment owner. -
getAttrResourceArn
The resource ARN for the site-to-site VPN attachment. -
getAttrSegmentName
The name of the site-to-site VPN attachment's segment. -
getAttrState
The state of the site-to-site VPN attachment.This can be:
REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING. -
getAttrUpdatedAt
The timestamp when the site-to-site VPN attachment was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
AWS::NetworkManager::SiteToSiteVpnAttachment.Tags. -
getCoreNetworkId
AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId. -
setCoreNetworkId
AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId. -
getVpnConnectionArn
The ARN of the site-to-site VPN attachment. -
setVpnConnectionArn
The ARN of the site-to-site VPN attachment. -
getProposedSegmentChange
AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange. -
setProposedSegmentChange
AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange. -
setProposedSegmentChange
@Stability(Stable) public void setProposedSegmentChange(@Nullable CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty value) AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.
-