Skip to contents

Creates a metering policy for a transit gateway to track and measure network traffic.

See https://www.paws-r-sdk.com/docs/ec2_create_transit_gateway_metering_policy/ for full documentation.

Usage

ec2_create_transit_gateway_metering_policy(
  TransitGatewayId,
  MiddleboxAttachmentIds = NULL,
  TagSpecifications = NULL,
  DryRun = NULL
)

Arguments

TransitGatewayId

[required] The ID of the transit gateway for which to create the metering policy.

MiddleboxAttachmentIds

The IDs of the middlebox attachments to include in the metering policy.

TagSpecifications

The tags to assign to the metering policy.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.