@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.043Z") @Stability(value=Stable) public class CfnConnectAttachment extends CfnResource implements IInspectable
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
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.*;
CfnConnectAttachment cfnConnectAttachment = CfnConnectAttachment.Builder.create(this, "MyCfnConnectAttachment")
.coreNetworkId("coreNetworkId")
.edgeLocation("edgeLocation")
.options(ConnectAttachmentOptionsProperty.builder()
.protocol("protocol")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transportAttachmentId("transportAttachmentId")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConnectAttachment.Builder
A fluent builder for
CfnConnectAttachment. |
static interface |
CfnConnectAttachment.ConnectAttachmentOptionsProperty
Describes a core network Connect attachment options.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConnectAttachment(software.constructs.Construct scope,
String id)
Create a new `AWS::NetworkManager::ConnectAttachment`.
|
|
CfnConnectAttachment(software.constructs.Construct scope,
String id,
CfnConnectAttachmentProps props)
Create a new `AWS::NetworkManager::ConnectAttachment`.
|
protected |
CfnConnectAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConnectAttachment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAttachmentId()
The ID of the Connect attachment.
|
Number |
getAttrAttachmentPolicyRuleNumber()
The rule number associated with the attachment.
|
String |
getAttrAttachmentType()
The type of attachment.
|
String |
getAttrCoreNetworkArn()
The ARN of the core network.
|
String |
getAttrCreatedAt()
The timestamp when the Connect attachment was created.
|
String |
getAttrOwnerAccountId()
The ID of the Connect attachment owner.
|
String |
getAttrResourceArn()
The resource ARN for the Connect attachment.
|
String |
getAttrSegmentName()
The name of the Connect attachment's segment.
|
String |
getAttrState()
The state of the Connect attachment.
|
String |
getAttrUpdatedAt()
The timestamp when the Connect attachment was last updated.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCoreNetworkId()
The core network ID.
|
String |
getEdgeLocation()
The Region where the edge is located.
|
Object |
getOptions()
Options for creating a Connect attachment.
|
TagManager |
getTags()
The tags associated with the Connect attachment.
|
String |
getTransportAttachmentId()
The ID of the attachment between the two connections.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCoreNetworkId(String value)
The core network ID.
|
void |
setEdgeLocation(String value)
The Region where the edge is located.
|
void |
setOptions(CfnConnectAttachment.ConnectAttachmentOptionsProperty value)
Options for creating a Connect attachment.
|
void |
setOptions(IResolvable value)
Options for creating a Connect attachment.
|
void |
setTransportAttachmentId(String value)
The ID of the attachment between the two connections.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConnectAttachment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConnectAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConnectAttachment(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnConnectAttachmentProps 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.@Stability(value=Stable)
public CfnConnectAttachment(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAttachmentId()
@Stability(value=Stable) @NotNull public Number getAttrAttachmentPolicyRuleNumber()
@Stability(value=Stable) @NotNull public String getAttrAttachmentType()
This will be CONNECT .
@Stability(value=Stable) @NotNull public String getAttrCoreNetworkArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull public String getAttrOwnerAccountId()
@Stability(value=Stable) @NotNull public String getAttrResourceArn()
@Stability(value=Stable) @NotNull public String getAttrSegmentName()
@Stability(value=Stable) @NotNull public String getAttrState()
This can be: REJECTED | PENDING_ATTACHMENT_ACCEPTANCE | CREATING | FAILED | AVAILABLE | UPDATING | PENDING_NETWORK_UPDATE | PENDING_TAG_ACCEPTANCE | DELETING .
@Stability(value=Stable) @NotNull public String getAttrUpdatedAt()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getCoreNetworkId()
@Stability(value=Stable)
public void setCoreNetworkId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEdgeLocation()
@Stability(value=Stable)
public void setEdgeLocation(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOptions()
@Stability(value=Stable)
public void setOptions(@Nullable
CfnConnectAttachment.ConnectAttachmentOptionsProperty value)
@Stability(value=Stable)
public void setOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getTransportAttachmentId()
@Stability(value=Stable)
public void setTransportAttachmentId(@Nullable
String value)
Copyright © 2022. All rights reserved.