CfnTransitGatewayMeteringPolicyProps
- class aws_cdk.aws_ec2.CfnTransitGatewayMeteringPolicyProps(*, transit_gateway_id, middlebox_attachment_ids=None, tags=None)
Bases:
objectProperties for defining a
CfnTransitGatewayMeteringPolicy.- Parameters:
transit_gateway_id (
str) – The ID of the transit gateway associated with the metering policy.middlebox_attachment_ids (
Optional[Sequence[str]]) – The IDs of the middlebox attachments associated with the metering policy.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags assigned to the transit gateway metering policy.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_transit_gateway_metering_policy_props = ec2.CfnTransitGatewayMeteringPolicyProps( transit_gateway_id="transitGatewayId", # the properties below are optional middlebox_attachment_ids=["middleboxAttachmentIds"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- middlebox_attachment_ids
The IDs of the middlebox attachments associated with the metering policy.
- tags
The tags assigned to the transit gateway metering policy.
- transit_gateway_id
The ID of the transit gateway associated with the metering policy.