CfnTransitGatewayRouteTablePropagationProps Struct
Properties for defining a CfnTransitGatewayRouteTablePropagation.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayRouteTablePropagationProps: ec2.CfnTransitGatewayRouteTablePropagationProps = {
transitGatewayAttachmentId: 'transitGatewayAttachmentId',
transitGatewayRouteTableId: 'transitGatewayRouteTableId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
cfn_transit_gateway_route_table_propagation_props = ec2.CfnTransitGatewayRouteTablePropagationProps(
transit_gateway_attachment_id="transitGatewayAttachmentId",
transit_gateway_route_table_id="transitGatewayRouteTableId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnTransitGatewayRouteTablePropagationProps cfnTransitGatewayRouteTablePropagationProps = CfnTransitGatewayRouteTablePropagationProps.builder()
.transitGatewayAttachmentId("transitGatewayAttachmentId")
.transitGatewayRouteTableId("transitGatewayRouteTableId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayRouteTablePropagationProps = new CfnTransitGatewayRouteTablePropagationProps {
TransitGatewayAttachmentId = "transitGatewayAttachmentId",
TransitGatewayRouteTableId = "transitGatewayRouteTableId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTransitGatewayRouteTablePropagationProps := &CfnTransitGatewayRouteTablePropagationProps{
TransitGatewayAttachmentId: jsii.String("transitGatewayAttachmentId"),
TransitGatewayRouteTableId: jsii.String("transitGatewayRouteTableId"),
}
Properties
transitGatewayAttachmentIdstring | ITransitGatewayAttachmentReftransit_gateway_attachment_idtyping.Union[str, ITransitGatewayAttachmentRef]transitGatewayAttachmentIdStringTransitGatewayAttachmentIdstringTransitGatewayAttachmentIdinterface{}required#The ID of the attachment.
transitGatewayRouteTableIdstring | ITransitGatewayRouteTableReftransit_gateway_route_table_idtyping.Union[str, ITransitGatewayRouteTableRef]transitGatewayRouteTableIdStringTransitGatewayRouteTableIdstringTransitGatewayRouteTableIdinterface{}required#The ID of the propagation route table.