CfnTransitGatewayMeteringPolicyProps Struct
Properties for defining a CfnTransitGatewayMeteringPolicy.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayMeteringPolicyProps: ec2.CfnTransitGatewayMeteringPolicyProps = {
transitGatewayId: 'transitGatewayId',
// the properties below are optional
middleboxAttachmentIds: ['middleboxAttachmentIds'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
middleboxAttachmentIdsoptionalstring[]middlebox_attachment_idsoptionaltyping.List[str]middleboxAttachmentIdsoptionalList<String>MiddleboxAttachmentIdsoptionalstring[]MiddleboxAttachmentIdsoptional*[]*string#The IDs of the middlebox attachments associated with the metering policy.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags assigned to the transit gateway metering policy.
transitGatewayIdstringtransit_gateway_idstrtransitGatewayIdStringTransitGatewayIdstringTransitGatewayId*stringrequired#The ID of the transit gateway associated with the metering policy.