AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::CapacityManagerDataExport

EC2 CapacityManagerDataExport

Resource Type definition for AWS::EC2::CapacityManagerDataExport

Properties

5 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
OutputFormat
string
RequiredCreate-only
S3BucketName
string
RequiredCreate-only
Schedule
string
RequiredCreate-only
S3BucketPrefix
string
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CapacityManagerDataExportIdstringThe unique identifier of the capacity manager data export.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::CapacityManagerDataExport

Resources:
  MyResource:
    Type: AWS::EC2::CapacityManagerDataExport
    Properties:
      S3BucketName: "my-s3bucketname"
      Schedule: "hourly"
      OutputFormat: "csv"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateCapacityManagerDataExportec2:CreateTagsec2:DescribeCapacityManagerDataExports

read

ec2:DescribeCapacityManagerDataExportsec2:DescribeTags

update

ec2:DescribeCapacityManagerDataExportsec2:CreateTagsec2:DeleteTags

delete

ec2:DescribeCapacityManagerDataExportsec2:DeleteCapacityManagerDataExportec2:DeleteTags

list

ec2:DescribeCapacityManagerDataExports

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties6
Required3
TaggingSupported
Primary IDCapacityManagerDataExportId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

S3BucketNameS3BucketPrefixOutputFormatSchedule

External Links