Interface CfnTransitGatewayMeteringPolicyEntryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayMeteringPolicyEntryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:19.217Z")
@Stability(Stable)
public interface CfnTransitGatewayMeteringPolicyEntryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayMeteringPolicyEntry.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnTransitGatewayMeteringPolicyEntryProps cfnTransitGatewayMeteringPolicyEntryProps = CfnTransitGatewayMeteringPolicyEntryProps.builder()
.meteredAccount("meteredAccount")
.policyRuleNumber(123)
.transitGatewayMeteringPolicyId("transitGatewayMeteringPolicyId")
// the properties below are optional
.destinationCidrBlock("destinationCidrBlock")
.destinationPortRange("destinationPortRange")
.destinationTransitGatewayAttachmentId("destinationTransitGatewayAttachmentId")
.destinationTransitGatewayAttachmentType("destinationTransitGatewayAttachmentType")
.protocol("protocol")
.sourceCidrBlock("sourceCidrBlock")
.sourcePortRange("sourcePortRange")
.sourceTransitGatewayAttachmentId("sourceTransitGatewayAttachmentId")
.sourceTransitGatewayAttachmentType("sourceTransitGatewayAttachmentType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitGatewayMeteringPolicyEntryPropsstatic final classAn implementation forCfnTransitGatewayMeteringPolicyEntryProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringDescribes an IPv4 CIDR block.default StringDescribes a range of ports.default StringThe ID of the source attachment through which traffic leaves a transit gateway.default StringThe AWS account ID to which the metered traffic is attributed.The rule number of the metering policy entry.default StringThe protocol of the traffic.default StringDescribes an IPv4 CIDR block.default StringDescribes a range of ports.default StringThe ID of the source attachment through which traffic enters a transit gateway.default StringThe ID of the transit gateway metering policy for which the entry is being created.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMeteredAccount
The AWS account ID to which the metered traffic is attributed.- See Also:
-
getPolicyRuleNumber
The rule number of the metering policy entry.- See Also:
-
getTransitGatewayMeteringPolicyId
The ID of the transit gateway metering policy for which the entry is being created.- See Also:
-
getDestinationCidrBlock
Describes an IPv4 CIDR block.- See Also:
-
getDestinationPortRange
Describes a range of ports.- See Also:
-
getDestinationTransitGatewayAttachmentId
The ID of the source attachment through which traffic leaves a transit gateway.- See Also:
-
getDestinationTransitGatewayAttachmentType
- See Also:
-
getProtocol
The protocol of the traffic.- See Also:
-
getSourceCidrBlock
Describes an IPv4 CIDR block.- See Also:
-
getSourcePortRange
Describes a range of ports.- See Also:
-
getSourceTransitGatewayAttachmentId
The ID of the source attachment through which traffic enters a transit gateway.- See Also:
-
getSourceTransitGatewayAttachmentType
- See Also:
-
builder
-