CfnCapacityManagerDataExportProps

class aws_cdk.aws_ec2.CfnCapacityManagerDataExportProps(*, output_format, s3_bucket_name, schedule, s3_bucket_prefix=None, tags=None)

Bases: object

Properties for defining a CfnCapacityManagerDataExport.

Parameters:
  • output_format (str) – The file format of the exported data.

  • s3_bucket_name (str) – The name of the S3 bucket where export files are delivered.

  • schedule (str) – The frequency at which data exports are generated.

  • s3_bucket_prefix (Optional[str]) – The S3 key prefix used for organizing export files within the bucket.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags associated with the data export configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html

ExampleMetadata:

fixture=_generated

Example:

# 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"
    )]
)

Attributes

output_format

The file format of the exported data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html#cfn-ec2-capacitymanagerdataexport-outputformat

s3_bucket_name

The name of the S3 bucket where export files are delivered.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html#cfn-ec2-capacitymanagerdataexport-s3bucketname

s3_bucket_prefix

The S3 key prefix used for organizing export files within the bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html#cfn-ec2-capacitymanagerdataexport-s3bucketprefix

schedule

The frequency at which data exports are generated.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html#cfn-ec2-capacitymanagerdataexport-schedule

tags

The tags associated with the data export configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacitymanagerdataexport.html#cfn-ec2-capacitymanagerdataexport-tags