Class CfnTransitGatewayRouteTableAttachment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRouteTableAttachment
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.485Z")
@Stability(Stable)
public class CfnTransitGatewayRouteTableAttachment
extends CfnResource
implements IInspectable
A CloudFormation
AWS::NetworkManager::TransitGatewayRouteTableAttachment
.
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 .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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnTransitGatewayRouteTableAttachment
.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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnTransitGatewayRouteTableAttachment
(Construct scope, String id, CfnTransitGatewayRouteTableAttachmentProps props) Create a newAWS::NetworkManager::TransitGatewayRouteTableAttachment
.protected
CfnTransitGatewayRouteTableAttachment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnTransitGatewayRouteTableAttachment
(software.amazon.jsii.JsiiObjectRef objRef) -
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.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 ID of the transit gateway peering.This property is read-only.getTags()
The list of key-value pairs associated with the transit gateway route table attachment.The ARN of the transit gateway attachment route table.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setPeeringId
(String value) The ID of the transit gateway peering.void
This property is read-only.void
This property is read-only.void
The ARN of the transit gateway attachment route table.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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
-
CfnTransitGatewayRouteTableAttachment
protected CfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTransitGatewayRouteTableAttachment
protected CfnTransitGatewayRouteTableAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTransitGatewayRouteTableAttachment
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment(@NotNull Construct scope, @NotNull String id, @NotNull CfnTransitGatewayRouteTableAttachmentProps props) Create a newAWS::NetworkManager::TransitGatewayRouteTableAttachment
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
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 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. -
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:
getCfnProperties
in classCfnResource
-
getTags
The list of key-value pairs associated with the transit gateway route table attachment. -
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.For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
. -
setTransitGatewayRouteTableArn
The ARN of the transit gateway attachment route table.For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
. -
getProposedSegmentChange
This property is read-only.Values can't be assigned to it.
-
setProposedSegmentChange
This property is read-only.Values can't be assigned to it.
-
setProposedSegmentChange
@Stability(Stable) public void setProposedSegmentChange(@Nullable CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty value) This property is read-only.Values can't be assigned to it.
-