Class CfnConnectAttachment
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.networkmanager.CfnConnectAttachment
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:11.411Z")
@Stability(Stable)
public class CfnConnectAttachment
extends CfnResource
implements IInspectable, ITaggable
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 .networkFunctionGroupName("networkFunctionGroupName") .proposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChangeProperty.builder() .attachmentPolicyRuleNumber(123) .networkFunctionGroupName("networkFunctionGroupName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build()) .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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnConnectAttachment
.static interface
Describes a core network Connect attachment options.static interface
Describes proposed changes to a network function group.static interface
Describes a proposed segment change.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnConnectAttachment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConnectAttachment
(software.amazon.jsii.JsiiObjectRef objRef) CfnConnectAttachment
(software.constructs.Construct scope, String id, CfnConnectAttachmentProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Connect attachment.The rule number associated with the attachment.The type of attachment.The ARN of the core network.The timestamp when the Connect attachment was created.The ID of the Connect attachment owner.The resource ARN for the Connect attachment.The name of the Connect attachment's segment.The state of the Connect attachment.The timestamp when the Connect attachment was last updated.The ID of the core network where the Connect attachment is located.The Region where the edge is located.The name of the network function group.Options for connecting an attachment.Describes proposed changes to a network function group.Describes a proposed segment change.getTags()
Tag Manager which manages the tags for this resource.The tags associated with the Connect attachment.The ID of the transport attachment.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCoreNetworkId
(String value) The ID of the core network where the Connect attachment is located.void
setEdgeLocation
(String value) The Region where the edge is located.void
The name of the network function group.void
setOptions
(IResolvable value) Options for connecting an attachment.void
Options for connecting an attachment.void
Describes proposed changes to a network function group.void
setProposedNetworkFunctionGroupChange
(CfnConnectAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group.void
Describes a proposed segment change.void
Describes a proposed segment change.void
setTagsRaw
(List<CfnTag> value) The tags associated with the Connect attachment.void
setTransportAttachmentId
(String value) The ID of the transport attachment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnConnectAttachment
protected CfnConnectAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConnectAttachment
protected CfnConnectAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConnectAttachment
@Stability(Stable) public CfnConnectAttachment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConnectAttachmentProps props) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrAttachmentId
The ID of the Connect attachment. -
getAttrAttachmentPolicyRuleNumber
The rule number associated with the attachment. -
getAttrAttachmentType
The type of attachment.This will be
CONNECT
. -
getAttrCoreNetworkArn
The ARN of the core network. -
getAttrCreatedAt
The timestamp when the Connect attachment was created. -
getAttrOwnerAccountId
The ID of the Connect attachment owner. -
getAttrResourceArn
The resource ARN for the Connect attachment. -
getAttrSegmentName
The name of the Connect attachment's segment. -
getAttrState
The state of the Connect attachment.This can be:
REJECTED
|PENDING_ATTACHMENT_ACCEPTANCE
|CREATING
|FAILED
|AVAILABLE
|UPDATING
|PENDING_NETWORK_UPDATE
|PENDING_TAG_ACCEPTANCE
|DELETING
. -
getAttrUpdatedAt
The timestamp when the Connect attachment was last updated. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getCoreNetworkId
The ID of the core network where the Connect attachment is located. -
setCoreNetworkId
The ID of the core network where the Connect attachment is located. -
getEdgeLocation
The Region where the edge is located. -
setEdgeLocation
The Region where the edge is located. -
getOptions
Options for connecting an attachment. -
setOptions
Options for connecting an attachment. -
setOptions
@Stability(Stable) public void setOptions(@NotNull CfnConnectAttachment.ConnectAttachmentOptionsProperty value) Options for connecting an attachment. -
getTransportAttachmentId
The ID of the transport attachment. -
setTransportAttachmentId
The ID of the transport attachment. -
getNetworkFunctionGroupName
The name of the network function group. -
setNetworkFunctionGroupName
The name of the network function group. -
getProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group. -
setProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group. -
setProposedNetworkFunctionGroupChange
@Stability(Stable) public void setProposedNetworkFunctionGroupChange(@Nullable CfnConnectAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group. -
getProposedSegmentChange
Describes a proposed segment change. -
setProposedSegmentChange
Describes a proposed segment change. -
setProposedSegmentChange
@Stability(Stable) public void setProposedSegmentChange(@Nullable CfnConnectAttachment.ProposedSegmentChangeProperty value) Describes a proposed segment change. -
getTagsRaw
The tags associated with the Connect attachment. -
setTagsRaw
The tags associated with the Connect attachment.
-