@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.364Z") @Stability(value=Stable) public interface CfnTransitGatewayRouteProps extends software.amazon.jsii.JsiiSerializable
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.ec2.*;
CfnTransitGatewayRouteProps cfnTransitGatewayRouteProps = CfnTransitGatewayRouteProps.builder()
.transitGatewayRouteTableId("transitGatewayRouteTableId")
// the properties below are optional
.blackhole(false)
.destinationCidrBlock("destinationCidrBlock")
.transitGatewayAttachmentId("transitGatewayAttachmentId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTransitGatewayRouteProps.Builder
A builder for
CfnTransitGatewayRouteProps |
static class |
CfnTransitGatewayRouteProps.Jsii$Proxy
An implementation for
CfnTransitGatewayRouteProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTransitGatewayRouteProps.Builder |
builder() |
default Object |
getBlackhole()
Indicates whether to drop traffic that matches this route.
|
default String |
getDestinationCidrBlock()
The CIDR block used for destination matches.
|
default String |
getTransitGatewayAttachmentId()
The ID of the attachment.
|
String |
getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
|
@Stability(value=Stable) @NotNull String getTransitGatewayRouteTableId()
@Stability(value=Stable) @Nullable default Object getBlackhole()
@Stability(value=Stable) @Nullable default String getDestinationCidrBlock()
@Stability(value=Stable) @Nullable default String getTransitGatewayAttachmentId()
@Stability(value=Stable) static CfnTransitGatewayRouteProps.Builder builder()
Copyright © 2022. All rights reserved.