We recommend new projects start with resources from the AWS provider.
aws-native.ec2.CapacityManagerDataExport
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::CapacityManagerDataExport
Create CapacityManagerDataExport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CapacityManagerDataExport(name: string, args: CapacityManagerDataExportArgs, opts?: CustomResourceOptions);@overload
def CapacityManagerDataExport(resource_name: str,
args: CapacityManagerDataExportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CapacityManagerDataExport(resource_name: str,
opts: Optional[ResourceOptions] = None,
output_format: Optional[CapacityManagerDataExportOutputFormat] = None,
s3_bucket_name: Optional[str] = None,
schedule: Optional[CapacityManagerDataExportSchedule] = None,
s3_bucket_prefix: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewCapacityManagerDataExport(ctx *Context, name string, args CapacityManagerDataExportArgs, opts ...ResourceOption) (*CapacityManagerDataExport, error)public CapacityManagerDataExport(string name, CapacityManagerDataExportArgs args, CustomResourceOptions? opts = null)
public CapacityManagerDataExport(String name, CapacityManagerDataExportArgs args)
public CapacityManagerDataExport(String name, CapacityManagerDataExportArgs args, CustomResourceOptions options)
type: aws-native:ec2:CapacityManagerDataExport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CapacityManagerDataExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CapacityManagerDataExportArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CapacityManagerDataExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityManagerDataExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapacityManagerDataExportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapacityManagerDataExport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CapacityManagerDataExport resource accepts the following input properties:
- Output
Format Pulumi.Aws Native. Ec2. Capacity Manager Data Export Output Format - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- S3Bucket
Name string - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- Schedule
Pulumi.
Aws Native. Ec2. Capacity Manager Data Export Schedule - The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- S3Bucket
Prefix string - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to the capacity manager data export.
- Output
Format CapacityManager Data Export Output Format - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- S3Bucket
Name string - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- Schedule
Capacity
Manager Data Export Schedule - The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- S3Bucket
Prefix string - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
-
Tag
Args - An array of key-value pairs to apply to the capacity manager data export.
- output
Format CapacityManager Data Export Output Format - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- s3Bucket
Name String - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- schedule
Capacity
Manager Data Export Schedule - The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- s3Bucket
Prefix String - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
- List<Tag>
- An array of key-value pairs to apply to the capacity manager data export.
- output
Format CapacityManager Data Export Output Format - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- s3Bucket
Name string - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- schedule
Capacity
Manager Data Export Schedule - The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- s3Bucket
Prefix string - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
- Tag[]
- An array of key-value pairs to apply to the capacity manager data export.
- output_
format CapacityManager Data Export Output Format - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- s3_
bucket_ strname - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- schedule
Capacity
Manager Data Export Schedule - The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- s3_
bucket_ strprefix - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to the capacity manager data export.
- output
Format "csv" | "parquet" - The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
- s3Bucket
Name String - The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
- schedule "hourly"
- The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
- s3Bucket
Prefix String - The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
- List<Property Map>
- An array of key-value pairs to apply to the capacity manager data export.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityManagerDataExport resource produces the following output properties:
- Capacity
Manager stringData Export Id - The unique identifier of the capacity manager data export.
- Id string
- The provider-assigned unique ID for this managed resource.
- Capacity
Manager stringData Export Id - The unique identifier of the capacity manager data export.
- Id string
- The provider-assigned unique ID for this managed resource.
- capacity
Manager StringData Export Id - The unique identifier of the capacity manager data export.
- id String
- The provider-assigned unique ID for this managed resource.
- capacity
Manager stringData Export Id - The unique identifier of the capacity manager data export.
- id string
- The provider-assigned unique ID for this managed resource.
- capacity_
manager_ strdata_ export_ id - The unique identifier of the capacity manager data export.
- id str
- The provider-assigned unique ID for this managed resource.
- capacity
Manager StringData Export Id - The unique identifier of the capacity manager data export.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CapacityManagerDataExportOutputFormat, CapacityManagerDataExportOutputFormatArgs
- Csv
- csv
- Parquet
- parquet
- Capacity
Manager Data Export Output Format Csv - csv
- Capacity
Manager Data Export Output Format Parquet - parquet
- Csv
- csv
- Parquet
- parquet
- Csv
- csv
- Parquet
- parquet
- CSV
- csv
- PARQUET
- parquet
- "csv"
- csv
- "parquet"
- parquet
CapacityManagerDataExportSchedule, CapacityManagerDataExportScheduleArgs
- Hourly
- hourly
- Capacity
Manager Data Export Schedule Hourly - hourly
- Hourly
- hourly
- Hourly
- hourly
- HOURLY
- hourly
- "hourly"
- hourly
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
