Interface CfnTransitGatewayPolicyTableEntryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayPolicyTableEntryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:08.570Z")
@Stability(Stable)
public interface CfnTransitGatewayPolicyTableEntryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayPolicyTableEntry.
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.*;
CfnTransitGatewayPolicyTableEntryProps cfnTransitGatewayPolicyTableEntryProps = CfnTransitGatewayPolicyTableEntryProps.builder()
.policyRule(TransitGatewayPolicyRuleProperty.builder()
.destinationCidrBlock("destinationCidrBlock")
.destinationPortRange("destinationPortRange")
.protocol("protocol")
.sourceCidrBlock("sourceCidrBlock")
.sourcePortRange("sourcePortRange")
.build())
.policyRuleNumber("policyRuleNumber")
.targetRouteTableId("targetRouteTableId")
.transitGatewayPolicyTableId("transitGatewayPolicyTableId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitGatewayPolicyTableEntryPropsstatic final classAn implementation forCfnTransitGatewayPolicyTableEntryProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableorCfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRulePropertyThe rule number for the policy table entry.The ID of the target route table.The ID of the transit gateway policy table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyRule
Returns union: eitherIResolvableorCfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty- See Also:
-
getPolicyRuleNumber
The rule number for the policy table entry.- See Also:
-
getTargetRouteTableId
The ID of the target route table.- See Also:
-
getTransitGatewayPolicyTableId
The ID of the transit gateway policy table.- See Also:
-
builder
-