interface S3ConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTFleetWise.CfnCampaign.S3ConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotfleetwise#CfnCampaign_S3ConfigProperty |
![]() | software.amazon.awscdk.services.iotfleetwise.CfnCampaign.S3ConfigProperty |
![]() | aws_cdk.aws_iotfleetwise.CfnCampaign.S3ConfigProperty |
![]() | aws-cdk-lib » aws_iotfleetwise » CfnCampaign » S3ConfigProperty |
The Amazon S3 bucket where the AWS IoT FleetWise campaign sends data.
Amazon S3 is an object storage service that stores data as objects within buckets. For more information, see Creating, configuring, and working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const s3ConfigProperty: iotfleetwise.CfnCampaign.S3ConfigProperty = {
bucketArn: 'bucketArn',
// the properties below are optional
dataFormat: 'dataFormat',
prefix: 'prefix',
storageCompressionFormat: 'storageCompressionFormat',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | The Amazon Resource Name (ARN) of the Amazon S3 bucket. |
data | string | Specify the format that files are saved in the Amazon S3 bucket. |
prefix? | string | Enter an S3 bucket prefix. |
storage | string | By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage. |
bucketArn
Type:
string
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
dataFormat?
Type:
string
(optional)
Specify the format that files are saved in the Amazon S3 bucket.
You can save files in an Apache Parquet or JSON format.
- Parquet - Store data in a columnar storage file format. Parquet is optimal for fast data retrieval and can reduce costs. This option is selected by default.
- JSON - Store data in a standard text-based JSON file format.
prefix?
Type:
string
(optional)
Enter an S3 bucket prefix.
The prefix is the string of characters after the bucket name and before the object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide .
By default, AWS IoT FleetWise sets the prefix processed-data/year=YY/month=MM/date=DD/hour=HH/
(in UTC) to data it delivers to Amazon S3 . You can enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles
, the prefix will be vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/
.
storageCompressionFormat?
Type:
string
(optional)
By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can optimize the cost of data storage.