CfnTransitGatewayMeteringPolicyEntryMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps(*, destination_cidr_block=None, destination_port_range=None, destination_transit_gateway_attachment_id=None, destination_transit_gateway_attachment_type=None, metered_account=None, policy_rule_number=None, protocol=None, source_cidr_block=None, source_port_range=None, source_transit_gateway_attachment_id=None, source_transit_gateway_attachment_type=None, transit_gateway_metering_policy_id=None)
Bases:
objectProperties for CfnTransitGatewayMeteringPolicyEntryPropsMixin.
- Parameters:
destination_cidr_block (
Optional[str]) – Describes an IPv4 CIDR block.destination_port_range (
Optional[str]) – Describes a range of ports.destination_transit_gateway_attachment_id (
Optional[str]) – The ID of the source attachment through which traffic leaves a transit gateway.destination_transit_gateway_attachment_type (
Optional[str])metered_account (
Optional[str]) – The AWS account ID to which the metered traffic is attributed.policy_rule_number (
Union[int,float,None]) – The rule number of the metering policy entry.protocol (
Optional[str]) – The protocol of the traffic.source_cidr_block (
Optional[str]) – Describes an IPv4 CIDR block.source_port_range (
Optional[str]) – Describes a range of ports.source_transit_gateway_attachment_id (
Optional[str]) – The ID of the source attachment through which traffic enters a transit gateway.source_transit_gateway_attachment_type (
Optional[str])transit_gateway_metering_policy_id (
Optional[str]) – The ID of the transit gateway metering policy for which the entry is being created.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_transit_gateway_metering_policy_entry_mixin_props = ec2_mixins.CfnTransitGatewayMeteringPolicyEntryMixinProps( destination_cidr_block="destinationCidrBlock", destination_port_range="destinationPortRange", destination_transit_gateway_attachment_id="destinationTransitGatewayAttachmentId", destination_transit_gateway_attachment_type="destinationTransitGatewayAttachmentType", metered_account="meteredAccount", policy_rule_number=123, protocol="protocol", source_cidr_block="sourceCidrBlock", source_port_range="sourcePortRange", source_transit_gateway_attachment_id="sourceTransitGatewayAttachmentId", source_transit_gateway_attachment_type="sourceTransitGatewayAttachmentType", transit_gateway_metering_policy_id="transitGatewayMeteringPolicyId" )
Attributes
- destination_cidr_block
Describes an IPv4 CIDR block.
- destination_port_range
Describes a range of ports.
- destination_transit_gateway_attachment_id
The ID of the source attachment through which traffic leaves a transit gateway.
- destination_transit_gateway_attachment_type
-
- Type:
see
- metered_account
The AWS account ID to which the metered traffic is attributed.
- policy_rule_number
The rule number of the metering policy entry.
- protocol
The protocol of the traffic.
- source_cidr_block
Describes an IPv4 CIDR block.
- source_port_range
Describes a range of ports.
- source_transit_gateway_attachment_id
The ID of the source attachment through which traffic enters a transit gateway.
- source_transit_gateway_attachment_type
-
- Type:
see
- transit_gateway_metering_policy_id
The ID of the transit gateway metering policy for which the entry is being created.