aws ec2 create-transit-gateway-metering-policy-entry
Creates an entry in a transit gateway metering policy to define traffic measurement rules. AWS CLI reference
13 options Its page in the AWS CLI reference
Options
--destination-cidr-blockThe destination CIDR block for traffic matching.--destination-port-rangeThe destination port range for traffic matching.--destination-transit-gateway-attachment-idThe ID of the destination transit gateway attachment for traffic matching.--destination-transit-gateway-attachment-typeThe type of the destination transit gateway attachment for traffic matching.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--metered-accountThe Amazon Web Services account ID to which the metered traffic should be attributed.--policy-rule-numberThe rule number for the metering policy entry.--protocolThe protocol for traffic matching (1, 6, 17, etc.).--source-cidr-blockThe source CIDR block for traffic matching.--source-port-rangeThe source port range for traffic matching.--source-transit-gateway-attachment-idThe ID of the source transit gateway attachment for traffic matching.--source-transit-gateway-attachment-typeThe type of the source transit gateway attachment for traffic matching.--transit-gateway-metering-policy-idThe ID of the transit gateway metering policy to add the entry to.