S3ConfigProperty Struct
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 .
| Source | |
|---|---|
| Type last changed |
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',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise
s3_config_property = iotfleetwise.CfnCampaign.S3ConfigProperty(
bucket_arn="bucketArn",
# the properties below are optional
data_format="dataFormat",
prefix="prefix",
storage_compression_format="storageCompressionFormat"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
S3ConfigProperty s3ConfigProperty = S3ConfigProperty.builder()
.bucketArn("bucketArn")
// the properties below are optional
.dataFormat("dataFormat")
.prefix("prefix")
.storageCompressionFormat("storageCompressionFormat")
.build();
// 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.IoTFleetWise;
var s3ConfigProperty = new S3ConfigProperty {
BucketArn = "bucketArn",
// the properties below are optional
DataFormat = "dataFormat",
Prefix = "prefix",
StorageCompressionFormat = "storageCompressionFormat"
};
// 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"
s3ConfigProperty := &S3ConfigProperty{
BucketArn: jsii.String("bucketArn"),
// the properties below are optional
DataFormat: jsii.String("dataFormat"),
Prefix: jsii.String("prefix"),
StorageCompressionFormat: jsii.String("storageCompressionFormat"),
}
Properties
dataFormatoptionalstringdata_formatoptionalstrdataFormatoptionalStringDataFormatoptionalstringDataFormatoptional*string #notes
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.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #notes
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/ .
storageCompressionFormatoptionalstringstorage_compression_formatoptionalstrstorageCompressionFormatoptionalStringStorageCompressionFormatoptionalstringStorageCompressionFormatoptional*string #