AWS::EC2::CapacityManagerDataExportCreates a new data export configuration for EC2 Capacity Manager. This allows you to automatically export capacity usage data to an S3 bucket on a scheduled basis. The exported data includes metrics for On-Demand, Spot, and Capacity Reservations usage across your organization.
import { CfnCapacityManagerDataExport } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnCapacityManagerDataExportConfiguration passed to the constructor as CfnCapacityManagerDataExportProps.
outputFormatRequiredstringThe file format of the exported data.
s3BucketNameRequiredstringThe name of the S3 bucket where export files are delivered.
scheduleRequiredstringThe frequency at which data exports are generated.
s3BucketPrefixOptionalstringThe S3 key prefix used for organizing export files within the bucket.
tagsOptionalCfnTag[]The tags associated with the data export configuration.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::CapacityManagerDataExport