MeteringPolicyEntryArgs class
The set of arguments for MeteringPolicyEntry. The set of arguments for MeteringPolicyEntry.
Constructors
-
MeteringPolicyEntryArgs({Input<
String?> ? destinationCidrBlock, Input<String?> ? destinationPortRange, Input<String?> ? destinationTransitGatewayAttachmentId, Input<String?> ? destinationTransitGatewayAttachmentType, required Input<String> meteredAccount, required Input<int> policyRuleNumber, Input<String?> ? protocol, Input<String?> ? region, Input<String?> ? sourceCidrBlock, Input<String?> ? sourcePortRange, Input<String?> ? sourceTransitGatewayAttachmentId, Input<String?> ? sourceTransitGatewayAttachmentType, Input<MeteringPolicyEntryTimeouts?> ? timeouts, required Input<String> transitGatewayMeteringPolicyId}) -
Creates a new MeteringPolicyEntryArgs.
destinationCidrBlockDestination CIDR block to match. If not specified, all destination CIDR blocks are matched.destinationPortRangeOptional.destinationTransitGatewayAttachmentIdOptional.destinationTransitGatewayAttachmentTypeDestination attachment resource type to match. Valid values arevpc,vpn,direct-connect-gateway,connect,peering,tgw-peering.meteredAccountThe account to charge for matching traffic. Valid values aresource-attachment-ownerordestination-attachment-owner.policyRuleNumberRule number for this entry. Lower numbers have higher priority. Valid values are between1and32766.protocolProtocol number to match (e.g.,6for TCP,17for UDP). If not specified, all protocols are matched.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sourceCidrBlockSource CIDR block to match. If not specified, all source CIDR blocks are matched.sourcePortRangeOptional.sourceTransitGatewayAttachmentIdOptional.sourceTransitGatewayAttachmentTypeSource attachment resource type to match. Valid values arevpc,vpn,direct-connect-gateway,connect,peering,tgw-peering.timeoutsOptional.transitGatewayMeteringPolicyIdEC2 Transit Gateway Metering Policy identifier.const -
MeteringPolicyEntryArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
destinationCidrBlock
→ Input<
String?> ? -
Destination CIDR block to match. If not specified, all destination CIDR blocks are matched.
final
-
destinationPortRange
→ Input<
String?> ? -
final
-
destinationTransitGatewayAttachmentId
→ Input<
String?> ? -
final
-
destinationTransitGatewayAttachmentType
→ Input<
String?> ? -
Destination attachment resource type to match. Valid values are
vpc,vpn,direct-connect-gateway,connect,peering,tgw-peering.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
meteredAccount
→ Input<
String> -
The account to charge for matching traffic. Valid values are
source-attachment-ownerordestination-attachment-owner.final -
policyRuleNumber
→ Input<
int> -
Rule number for this entry. Lower numbers have higher priority. Valid values are between
1and32766.final -
protocol
→ Input<
String?> ? -
Protocol number to match (e.g.,
6for TCP,17for UDP). If not specified, all protocols are matched.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceCidrBlock
→ Input<
String?> ? -
Source CIDR block to match. If not specified, all source CIDR blocks are matched.
final
-
sourcePortRange
→ Input<
String?> ? -
final
-
sourceTransitGatewayAttachmentId
→ Input<
String?> ? -
final
-
sourceTransitGatewayAttachmentType
→ Input<
String?> ? -
Source attachment resource type to match. Valid values are
vpc,vpn,direct-connect-gateway,connect,peering,tgw-peering.final -
timeouts
→ Input<
MeteringPolicyEntryTimeouts?> ? -
final
-
transitGatewayMeteringPolicyId
→ Input<
String> -
EC2 Transit Gateway Metering Policy identifier.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited