interface CfnTransitGatewayMeteringPolicyEntryMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnTransitGatewayMeteringPolicyEntryMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnTransitGatewayMeteringPolicyEntryMixinProps |
Properties for CfnTransitGatewayMeteringPolicyEntryPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnTransitGatewayMeteringPolicyEntryMixinProps: ec2_mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps = {
destinationCidrBlock: 'destinationCidrBlock',
destinationPortRange: 'destinationPortRange',
destinationTransitGatewayAttachmentId: 'destinationTransitGatewayAttachmentId',
destinationTransitGatewayAttachmentType: 'destinationTransitGatewayAttachmentType',
meteredAccount: 'meteredAccount',
policyRuleNumber: 123,
protocol: 'protocol',
sourceCidrBlock: 'sourceCidrBlock',
sourcePortRange: 'sourcePortRange',
sourceTransitGatewayAttachmentId: 'sourceTransitGatewayAttachmentId',
sourceTransitGatewayAttachmentType: 'sourceTransitGatewayAttachmentType',
transitGatewayMeteringPolicyId: 'transitGatewayMeteringPolicyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | Describes an IPv4 CIDR block. |
| destination | string | Describes a range of ports. |
| destination | string | The ID of the source attachment through which traffic leaves a transit gateway. |
| destination | string | |
| metered | string | The AWS account ID to which the metered traffic is attributed. |
| policy | number | The rule number of the metering policy entry. |
| protocol? | string | The protocol of the traffic. |
| source | string | Describes an IPv4 CIDR block. |
| source | string | Describes a range of ports. |
| source | string | The ID of the source attachment through which traffic enters a transit gateway. |
| source | string | |
| transit | string | The ID of the transit gateway metering policy for which the entry is being created. |
destinationCidrBlock?
Type:
string
(optional)
Describes an IPv4 CIDR block.
destinationPortRange?
Type:
string
(optional)
Describes a range of ports.
destinationTransitGatewayAttachmentId?
Type:
string
(optional)
The ID of the source attachment through which traffic leaves a transit gateway.
destinationTransitGatewayAttachmentType?
Type:
string
(optional)
meteredAccount?
Type:
string
(optional)
The AWS account ID to which the metered traffic is attributed.
policyRuleNumber?
Type:
number
(optional)
The rule number of the metering policy entry.
protocol?
Type:
string
(optional)
The protocol of the traffic.
sourceCidrBlock?
Type:
string
(optional)
Describes an IPv4 CIDR block.
sourcePortRange?
Type:
string
(optional)
Describes a range of ports.
sourceTransitGatewayAttachmentId?
Type:
string
(optional)
The ID of the source attachment through which traffic enters a transit gateway.
sourceTransitGatewayAttachmentType?
Type:
string
(optional)
transitGatewayMeteringPolicyId?
Type:
string
(optional)
The ID of the transit gateway metering policy for which the entry is being created.

.NET
Go
Java
Python
TypeScript