CfnCapacityManagerDataExportProps Struct
Properties for defining a CfnCapacityManagerDataExport.
| Source | |
|---|---|
| Type last changed |
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 cfnCapacityManagerDataExportProps: ec2.CfnCapacityManagerDataExportProps = {
outputFormat: 'outputFormat',
s3BucketName: 's3BucketName',
schedule: 'schedule',
// the properties below are optional
s3BucketPrefix: 's3BucketPrefix',
tags: [{
key: 'key',
value: 'value',
}],
};
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
// 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();
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"
} }
};
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
outputFormatstringoutput_formatstroutputFormatStringOutputFormatstringOutputFormat*string required #The file format of the exported data.
s3BucketNamestrings3_bucket_namestrs3BucketNameStringS3BucketNamestringS3BucketName*string required #The name of the S3 bucket where export files are delivered.
s3BucketPrefixoptionalstrings3_bucket_prefixoptionalstrs3BucketPrefixoptionalStringS3BucketPrefixoptionalstringS3BucketPrefixoptional*string #The S3 key prefix used for organizing export files within the bucket.
The frequency at which data exports are generated.