CfnTransitGatewayRouteTableAttachmentProps
- class aws_cdk.aws_networkmanager.CfnTransitGatewayRouteTableAttachmentProps(*, peering_id, transit_gateway_route_table_arn, proposed_segment_change=None, tags=None)
Bases:
object
Properties for defining a
CfnTransitGatewayRouteTableAttachment
.- Parameters:
peering_id (
str
) – The ID of the transit gateway peering.transit_gateway_route_table_arn (
str
) – 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"
.proposed_segment_change (
Union
[IResolvable
,ProposedSegmentChangeProperty
,Dict
[str
,Any
],None
]) – This property is read-only. Values can’t be assigned to it.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The list of key-value pairs associated with the transit gateway route table attachment.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_networkmanager as networkmanager cfn_transit_gateway_route_table_attachment_props = networkmanager.CfnTransitGatewayRouteTableAttachmentProps( peering_id="peeringId", transit_gateway_route_table_arn="transitGatewayRouteTableArn", # the properties below are optional proposed_segment_change=networkmanager.CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty( attachment_policy_rule_number=123, segment_name="segmentName", tags=[CfnTag( key="key", value="value" )] ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- peering_id
The ID of the transit gateway peering.
- proposed_segment_change
This property is read-only.
Values can’t be assigned to it.
- tags
The list of key-value pairs associated with the transit gateway route table attachment.
- transit_gateway_route_table_arn
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"
.