# CfnCapacityManagerDataExportProps

Properties for defining a `CfnCapacityManagerDataExport`.

Used as props by: [CfnCapacityManagerDataExport](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnCapacityManagerDataExport.html)

- Source: Generated at build time
- Type last changed: v2.223.0 · 10 Nov 2025

## Example

TypeScript:

```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 cfnCapacityManagerDataExportProps: ec2.CfnCapacityManagerDataExportProps = {
  outputFormat: 'outputFormat',
  s3BucketName: 's3BucketName',
  schedule: 'schedule',

  // the properties below are optional
  s3BucketPrefix: 's3BucketPrefix',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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_capacity_manager_data_export_props = ec2.CfnCapacityManagerDataExportProps(
    output_format="outputFormat",
    s3_bucket_name="s3BucketName",
    schedule="schedule",

    # the properties below are optional
    s3_bucket_prefix="s3BucketPrefix",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// 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.*;

CfnCapacityManagerDataExportProps cfnCapacityManagerDataExportProps = CfnCapacityManagerDataExportProps.builder()
        .outputFormat("outputFormat")
        .s3BucketName("s3BucketName")
        .schedule("schedule")

        // the properties below are optional
        .s3BucketPrefix("s3BucketPrefix")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var cfnCapacityManagerDataExportProps = new CfnCapacityManagerDataExportProps {
    OutputFormat = "outputFormat",
    S3BucketName = "s3BucketName",
    Schedule = "schedule",

    // the properties below are optional
    S3BucketPrefix = "s3BucketPrefix",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCapacityManagerDataExportProps := &CfnCapacityManagerDataExportProps{
	OutputFormat: jsii.String("outputFormat"),
	S3BucketName: jsii.String("s3BucketName"),
	Schedule: jsii.String("schedule"),

	// the properties below are optional
	S3BucketPrefix: jsii.String("s3BucketPrefix"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `outputFormat`: string (required) — The file format of the exported data.

- `s3BucketName`: string (required) — The name of the S3 bucket where export files are delivered.

- `s3BucketPrefix`: string — The S3 key prefix used for organizing export files within the bucket.

- `schedule`: string (required) — The frequency at which data exports are generated.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags associated with the data export configuration.
