MeteringPolicyEntryState constructor

const MeteringPolicyEntryState({
  1. Input<String?>? destinationCidrBlock,
  2. Input<String?>? destinationPortRange,
  3. Input<String?>? destinationTransitGatewayAttachmentId,
  4. Input<String?>? destinationTransitGatewayAttachmentType,
  5. Input<String?>? meteredAccount,
  6. Input<int?>? policyRuleNumber,
  7. Input<String?>? protocol,
  8. Input<String?>? region,
  9. Input<String?>? sourceCidrBlock,
  10. Input<String?>? sourcePortRange,
  11. Input<String?>? sourceTransitGatewayAttachmentId,
  12. Input<String?>? sourceTransitGatewayAttachmentType,
  13. Input<MeteringPolicyEntryTimeouts?>? timeouts,
  14. Input<String?>? transitGatewayMeteringPolicyId,
})

Creates a new MeteringPolicyEntryState. destinationCidrBlock Destination CIDR block to match. If not specified, all destination CIDR blocks are matched. destinationPortRange Optional. destinationTransitGatewayAttachmentId Optional. destinationTransitGatewayAttachmentType Destination attachment resource type to match. Valid values are vpc, vpn, direct-connect-gateway, connect, peering, tgw-peering. meteredAccount The account to charge for matching traffic. Valid values are source-attachment-owner or destination-attachment-owner. policyRuleNumber Rule number for this entry. Lower numbers have higher priority. Valid values are between 1 and 32766. protocol Protocol number to match (e.g., 6 for TCP, 17 for UDP). If not specified, all protocols are matched. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sourceCidrBlock Source CIDR block to match. If not specified, all source CIDR blocks are matched. sourcePortRange Optional. sourceTransitGatewayAttachmentId Optional. sourceTransitGatewayAttachmentType Source attachment resource type to match. Valid values are vpc, vpn, direct-connect-gateway, connect, peering, tgw-peering. timeouts Optional. transitGatewayMeteringPolicyId EC2 Transit Gateway Metering Policy identifier.

Implementation

const MeteringPolicyEntryState({
  this.destinationCidrBlock,
  this.destinationPortRange,
  this.destinationTransitGatewayAttachmentId,
  this.destinationTransitGatewayAttachmentType,
  this.meteredAccount,
  this.policyRuleNumber,
  this.protocol,
  this.region,
  this.sourceCidrBlock,
  this.sourcePortRange,
  this.sourceTransitGatewayAttachmentId,
  this.sourceTransitGatewayAttachmentType,
  this.timeouts,
  this.transitGatewayMeteringPolicyId,
});