Class CfnDirectConnectGatewayAttachment
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.CfnDirectConnectGatewayAttachment
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IDirectConnectGatewayAttachmentRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:10.266Z")
@Stability(Stable)
public class CfnDirectConnectGatewayAttachment
extends CfnResource
implements IInspectable, IDirectConnectGatewayAttachmentRef, ITaggableV2
Creates an AWS Direct Connect gateway attachment.
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.*;
CfnDirectConnectGatewayAttachment cfnDirectConnectGatewayAttachment = CfnDirectConnectGatewayAttachment.Builder.create(this, "MyCfnDirectConnectGatewayAttachment")
.coreNetworkId("coreNetworkId")
.directConnectGatewayArn("directConnectGatewayArn")
.edgeLocations(List.of("edgeLocations"))
// the properties below are optional
.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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDirectConnectGatewayAttachment.static interfaceDescribes proposed changes to a network function group.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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.networkmanager.IDirectConnectGatewayAttachmentRef
IDirectConnectGatewayAttachmentRef.Jsii$Default, IDirectConnectGatewayAttachmentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDirectConnectGatewayAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDirectConnectGatewayAttachment(software.amazon.jsii.JsiiObjectRef objRef) CfnDirectConnectGatewayAttachment(software.constructs.Construct scope, String id, CfnDirectConnectGatewayAttachmentProps props) -
Method Summary
Modifier and TypeMethodDescriptionId of the attachment.The policy rule number associated with the attachment.Attachment type.The ARN of a core network for the Direct Connect Gateway attachment.Creation time of the attachment.Errors from the last modification of the attachment.The name of the network function group.Owner account of the attachment.The ARN of the Resource.The name of the segment attachment..State of the attachment.Last update time of the attachment.Tag Manager which manages the tags for this resource.The ID of a core network for the Direct Connect Gateway attachment.The Direct Connect gateway attachment ARN.A reference to a DirectConnectGatewayAttachment resource.The Regions where the edges are located.Describes proposed changes to a network function group.Describes a proposed segment change.getTags()Tags for the attachment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCoreNetworkId(String value) The ID of a core network for the Direct Connect Gateway attachment.voidsetDirectConnectGatewayArn(String value) The Direct Connect gateway attachment ARN.voidsetEdgeLocations(List<String> value) The Regions where the edges are located.voidDescribes proposed changes to a network function group.voidsetProposedNetworkFunctionGroupChange(CfnDirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group.voidDescribes a proposed segment change.voidDescribes a proposed segment change.voidTags for the attachment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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
-
CfnDirectConnectGatewayAttachment
protected CfnDirectConnectGatewayAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDirectConnectGatewayAttachment
protected CfnDirectConnectGatewayAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDirectConnectGatewayAttachment
@Stability(Stable) public CfnDirectConnectGatewayAttachment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDirectConnectGatewayAttachmentProps 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAttachmentId
Id of the attachment. -
getAttrAttachmentPolicyRuleNumber
The policy rule number associated with the attachment. -
getAttrAttachmentType
Attachment type. -
getAttrCoreNetworkArn
The ARN of a core network for the Direct Connect Gateway attachment. -
getAttrCreatedAt
Creation time of the attachment. -
getAttrLastModificationErrors
Errors from the last modification of the attachment. -
getAttrNetworkFunctionGroupName
The name of the network function group. -
getAttrOwnerAccountId
Owner account of the attachment. -
getAttrResourceArn
The ARN of the Resource. -
getAttrSegmentName
The name of the segment attachment.. -
getAttrState
State of the attachment. -
getAttrUpdatedAt
Last update time of the attachment. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDirectConnectGatewayAttachmentRef
@Stability(Stable) @NotNull public DirectConnectGatewayAttachmentReference getDirectConnectGatewayAttachmentRef()A reference to a DirectConnectGatewayAttachment resource.- Specified by:
getDirectConnectGatewayAttachmentRefin interfaceIDirectConnectGatewayAttachmentRef
-
getCoreNetworkId
The ID of a core network for the Direct Connect Gateway attachment. -
setCoreNetworkId
The ID of a core network for the Direct Connect Gateway attachment. -
getDirectConnectGatewayArn
The Direct Connect gateway attachment ARN. -
setDirectConnectGatewayArn
The Direct Connect gateway attachment ARN. -
getEdgeLocations
The Regions where the edges are located. -
setEdgeLocations
The Regions where the edges are located. -
getProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group.Returns union: either
IResolvableorCfnDirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChangeProperty -
setProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group. -
setProposedNetworkFunctionGroupChange
@Stability(Stable) public void setProposedNetworkFunctionGroupChange(@Nullable CfnDirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group. -
getProposedSegmentChange
Describes a proposed segment change.Returns union: either
IResolvableorCfnDirectConnectGatewayAttachment.ProposedSegmentChangeProperty -
setProposedSegmentChange
Describes a proposed segment change. -
setProposedSegmentChange
@Stability(Stable) public void setProposedSegmentChange(@Nullable CfnDirectConnectGatewayAttachment.ProposedSegmentChangeProperty value) Describes a proposed segment change. -
getTags
Tags for the attachment. -
setTags
Tags for the attachment.
-