@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:38.920Z") 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()) .transportAttachmentId("transportAttachmentId") // the properties below are optional .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .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.
|
static interface |
CfnConnectAttachment.ProposedSegmentChangeProperty
Describes a proposed segment change.
|
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 |
---|---|
|
CfnConnectAttachment(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrAttachmentId()
The ID of the Connect attachment.
|
java.lang.Number |
getAttrAttachmentPolicyRuleNumber()
The 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 Connect attachment was created.
|
java.lang.String |
getAttrOwnerAccountId()
The ID of the Connect attachment owner.
|
java.lang.Number |
getAttrProposedSegmentChangeAttachmentPolicyRuleNumber() |
java.lang.String |
getAttrProposedSegmentChangeSegmentName() |
IResolvable |
getAttrProposedSegmentChangeTags() |
java.lang.String |
getAttrResourceArn()
The resource ARN for the Connect attachment.
|
java.lang.String |
getAttrSegmentName()
The name of the Connect attachment's segment.
|
java.lang.String |
getAttrState()
The state of the Connect attachment.
|
java.lang.String |
getAttrUpdatedAt()
The timestamp when the Connect attachment was last updated.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getCoreNetworkId()
The ID of the core network where the Connect attachment is located.
|
java.lang.String |
getEdgeLocation()
The Region where the edge is located.
|
java.lang.Object |
getOptions()
Options for connecting an attachment.
|
TagManager |
getTags()
`AWS::NetworkManager::ConnectAttachment.Tags`.
|
java.lang.String |
getTransportAttachmentId()
The ID of the transport 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 ID of the core network where the Connect attachment is located.
|
void |
setEdgeLocation(java.lang.String value)
The Region where the edge is located.
|
void |
setOptions(CfnConnectAttachment.ConnectAttachmentOptionsProperty value)
Options for connecting an attachment.
|
void |
setOptions(IResolvable value)
Options for connecting an attachment.
|
void |
setTransportAttachmentId(java.lang.String value)
The ID of the transport 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 CfnConnectAttachment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConnectAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnConnectAttachment(Construct scope, java.lang.String id, 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. 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 CONNECT
.
public java.lang.String getAttrCoreNetworkArn()
public java.lang.String getAttrCreatedAt()
public java.lang.String getAttrOwnerAccountId()
public java.lang.Number getAttrProposedSegmentChangeAttachmentPolicyRuleNumber()
public java.lang.String getAttrProposedSegmentChangeSegmentName()
public IResolvable getAttrProposedSegmentChangeTags()
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 getEdgeLocation()
public void setEdgeLocation(java.lang.String value)
public java.lang.Object getOptions()
public void setOptions(CfnConnectAttachment.ConnectAttachmentOptionsProperty value)
public void setOptions(IResolvable value)
public java.lang.String getTransportAttachmentId()
public void setTransportAttachmentId(java.lang.String value)