@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:32.955Z") public class CfnSiteToSiteVpnAttachment extends CfnResource implements IInspectable
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") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .vpnConnectionArn("vpnConnectionArn") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnSiteToSiteVpnAttachment.Builder
A fluent builder for
CfnSiteToSiteVpnAttachment . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnSiteToSiteVpnAttachment(Construct scope,
java.lang.String id)
Create a new `AWS::NetworkManager::SiteToSiteVpnAttachment`.
|
|
CfnSiteToSiteVpnAttachment(Construct scope,
java.lang.String id,
CfnSiteToSiteVpnAttachmentProps props)
Create a new `AWS::NetworkManager::SiteToSiteVpnAttachment`.
|
protected |
CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrAttachmentId()
The ID of the site-to-site VPN attachment.
|
java.lang.Number |
getAttrAttachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
|
java.lang.String |
getAttrAttachmentType()
The type of attachment.
|
java.lang.String |
getAttrCoreNetworkArn()
The ARN of the core network.
|
java.lang.String |
getAttrCreatedAt()
The timestamp when the site-to-site VPN attachment was created.
|
java.lang.String |
getAttrEdgeLocation()
The Region where the core network edge is located.
|
java.lang.String |
getAttrOwnerAccountId()
The ID of the site-to-site VPN attachment owner.
|
java.lang.String |
getAttrResourceArn()
The resource ARN for the site-to-site VPN attachment.
|
java.lang.String |
getAttrSegmentName()
The name of the site-to-site VPN attachment's segment.
|
java.lang.String |
getAttrState()
The state of the site-to-site VPN attachment.
|
java.lang.String |
getAttrUpdatedAt()
The timestamp when the site-to-site VPN attachment was last updated.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getCoreNetworkId()
The core network ID.
|
TagManager |
getTags()
The tags associated with the site-to-site VPN attachment.
|
java.lang.String |
getVpnConnectionArn()
The ARN of the site-to-site VPN attachment.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setCoreNetworkId(java.lang.String value)
The core network ID.
|
void |
setVpnConnectionArn(java.lang.String value)
The ARN of the site-to-site VPN attachment.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSiteToSiteVpnAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnSiteToSiteVpnAttachment(Construct scope, java.lang.String id, CfnSiteToSiteVpnAttachmentProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnSiteToSiteVpnAttachment(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrAttachmentId()
public java.lang.Number getAttrAttachmentPolicyRuleNumber()
public java.lang.String getAttrAttachmentType()
This will be SITE_TO_SITE_VPN
.
public java.lang.String getAttrCoreNetworkArn()
public java.lang.String getAttrCreatedAt()
public java.lang.String getAttrEdgeLocation()
public java.lang.String getAttrOwnerAccountId()
public java.lang.String getAttrResourceArn()
public java.lang.String getAttrSegmentName()
public java.lang.String getAttrState()
This can be: REJECTED
| PENDING_ATTACHMENT_ACCEPTANCE
| CREATING
| FAILED
| AVAILABLE
| UPDATING
| PENDING_NETWORK_UPDATE
| PENDING_TAG_ACCEPTANCE
| DELETING
.
public java.lang.String getAttrUpdatedAt()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getCoreNetworkId()
public void setCoreNetworkId(java.lang.String value)
public java.lang.String getVpnConnectionArn()
public void setVpnConnectionArn(java.lang.String value)