interface TransitGatewayPolicyRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayPolicyTableEntry_TransitGatewayPolicyRuleProperty |
Java | software.amazon.awscdk.services.ec2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty |
Python | aws_cdk.aws_ec2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnTransitGatewayPolicyTableEntry » TransitGatewayPolicyRuleProperty |
Example
// 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 transitGatewayPolicyRuleProperty: ec2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty = {
destinationCidrBlock: 'destinationCidrBlock',
destinationPortRange: 'destinationPortRange',
protocol: 'protocol',
sourceCidrBlock: 'sourceCidrBlock',
sourcePortRange: 'sourcePortRange',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The destination CIDR block for the transit gateway policy rule. |
| destination | string | The destination port range for the transit gateway policy rule. |
| protocol? | string | The protocol for the transit gateway policy rule. |
| source | string | The source CIDR block for the transit gateway policy rule. |
| source | string | The source port range for the transit gateway policy rule. |
destinationCidrBlock?
Type:
string
(optional)
The destination CIDR block for the transit gateway policy rule.
destinationPortRange?
Type:
string
(optional)
The destination port range for the transit gateway policy rule.
protocol?
Type:
string
(optional)
The protocol for the transit gateway policy rule.
sourceCidrBlock?
Type:
string
(optional)
The source CIDR block for the transit gateway policy rule.
sourcePortRange?
Type:
string
(optional)
The source port range for the transit gateway policy rule.

.NET
Go
Java
Python
TypeScript