Interface CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty.Jsii$Proxy
- Enclosing class:
CfnTransitGatewayPolicyTableEntry
@Stability(Stable)
public static interface CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty
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.*;
TransitGatewayPolicyRuleProperty transitGatewayPolicyRuleProperty = TransitGatewayPolicyRuleProperty.builder()
.destinationCidrBlock("destinationCidrBlock")
.destinationPortRange("destinationPortRange")
.protocol("protocol")
.sourceCidrBlock("sourceCidrBlock")
.sourcePortRange("sourcePortRange")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe destination CIDR block for the transit gateway policy rule.default StringThe destination port range for the transit gateway policy rule.default StringThe protocol for the transit gateway policy rule.default StringThe source CIDR block for the transit gateway policy rule.default StringThe source port range for the transit gateway policy rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationCidrBlock
The destination CIDR block for the transit gateway policy rule.- See Also:
-
getDestinationPortRange
The destination port range for the transit gateway policy rule.- See Also:
-
getProtocol
The protocol for the transit gateway policy rule.- See Also:
-
getSourceCidrBlock
The source CIDR block for the transit gateway policy rule.- See Also:
-
getSourcePortRange
The source port range for the transit gateway policy rule.- See Also:
-
builder
@Stability(Stable) static CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty.Builder builder()
-