Class CfnTransitGatewayRouteTableAttachment
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.CfnTransitGatewayRouteTableAttachment
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ITransitGatewayRouteTableAttachmentRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:09.779Z")
@Stability(Stable)
public class CfnTransitGatewayRouteTableAttachment
extends CfnResource
implements IInspectable, ITransitGatewayRouteTableAttachmentRef, ITaggable
Creates a transit gateway route table 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.*;
CfnTransitGatewayRouteTableAttachment cfnTransitGatewayRouteTableAttachment = CfnTransitGatewayRouteTableAttachment.Builder.create(this, "MyCfnTransitGatewayRouteTableAttachment")
.peeringId("peeringId")
.transitGatewayRouteTableArn("transitGatewayRouteTableArn")
// 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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTransitGatewayRouteTableAttachment.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.networkmanager.ITransitGatewayRouteTableAttachmentRef
ITransitGatewayRouteTableAttachmentRef.Jsii$Default, ITransitGatewayRouteTableAttachmentRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObjectRef objRef) CfnTransitGatewayRouteTableAttachment(software.constructs.Construct scope, String id, CfnTransitGatewayRouteTableAttachmentProps props) Create a newAWS::NetworkManager::TransitGatewayRouteTableAttachment. -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the transit gateway route table attachment.The policy rule number associated with the attachment.The type of attachment.The ARN of the core network.The ID of the core network.The timestamp when the transit gateway route table attachment was created.The Region where the core network edge is located.Errors from the last modification of the attachment.The ID of the transit gateway route table attachment owner.The resource ARN for the transit gateway route table attachment.The name of the attachment's segment.The state of the attachment.The timestamp when the transit gateway route table attachment was last updated.The name of the network function group.The ID of the transit gateway peering.Describes proposed changes to a network function group.This property is read-only.getTags()Tag Manager which manages the tags for this resource.The list of key-value pairs associated with the transit gateway route table attachment.The ARN of the transit gateway attachment route table.A reference to a TransitGatewayRouteTableAttachment resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe name of the network function group.voidsetPeeringId(String value) The ID of the transit gateway peering.voidDescribes proposed changes to a network function group.voidsetProposedNetworkFunctionGroupChange(CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group.voidThis property is read-only.voidThis property is read-only.voidsetTagsRaw(List<CfnTag> value) The list of key-value pairs associated with the transit gateway route table attachment.voidThe ARN of the transit gateway attachment route table.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.interfaces.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
-
CfnTransitGatewayRouteTableAttachment
protected CfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTransitGatewayRouteTableAttachment
protected CfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTransitGatewayRouteTableAttachment
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTransitGatewayRouteTableAttachmentProps props) Create a newAWS::NetworkManager::TransitGatewayRouteTableAttachment.- 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
The ID of the transit gateway route table attachment. -
getAttrAttachmentPolicyRuleNumber
The policy rule number associated with the attachment. -
getAttrAttachmentType
The type of attachment.This will be
TRANSIT_GATEWAY_ROUTE_TABLE. -
getAttrCoreNetworkArn
The ARN of the core network. -
getAttrCoreNetworkId
The ID of the core network. -
getAttrCreatedAt
The timestamp when the transit gateway route table attachment was created. -
getAttrEdgeLocation
The Region where the core network edge is located. -
getAttrLastModificationErrors
Errors from the last modification of the attachment. -
getAttrOwnerAccountId
The ID of the transit gateway route table attachment owner. -
getAttrResourceArn
The resource ARN for the transit gateway route table attachment. -
getAttrSegmentName
The name of the attachment's segment. -
getAttrState
The state of the attachment.This can be:
REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING. -
getAttrUpdatedAt
The timestamp when the transit gateway route table attachment was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getTransitGatewayRouteTableAttachmentRef
@Stability(Stable) @NotNull public TransitGatewayRouteTableAttachmentReference getTransitGatewayRouteTableAttachmentRef()A reference to a TransitGatewayRouteTableAttachment resource.- Specified by:
getTransitGatewayRouteTableAttachmentRefin interfaceITransitGatewayRouteTableAttachmentRef
-
getPeeringId
The ID of the transit gateway peering. -
setPeeringId
The ID of the transit gateway peering. -
getTransitGatewayRouteTableArn
The ARN of the transit gateway attachment route table. -
setTransitGatewayRouteTableArn
The ARN of the transit gateway attachment route table. -
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.Returns union: either
IResolvableorCfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty -
setProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group. -
setProposedNetworkFunctionGroupChange
@Stability(Stable) public void setProposedNetworkFunctionGroupChange(@Nullable CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty value) Describes proposed changes to a network function group. -
getProposedSegmentChange
This property is read-only.Returns union: either
IResolvableorCfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty -
setProposedSegmentChange
This property is read-only. -
setProposedSegmentChange
@Stability(Stable) public void setProposedSegmentChange(@Nullable CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty value) This property is read-only. -
getTagsRaw
The list of key-value pairs associated with the transit gateway route table attachment. -
setTagsRaw
The list of key-value pairs associated with the transit gateway route table attachment.
-