Interface CfnCampaign.S3ConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.S3ConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCampaign
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 software.amazon.awscdk.services.iotfleetwise.*; S3ConfigProperty s3ConfigProperty = S3ConfigProperty.builder() .bucketArn("bucketArn") // the properties below are optional .dataFormat("dataFormat") .prefix("prefix") .storageCompressionFormat("storageCompressionFormat") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCampaign.S3ConfigProperty
static final class
An implementation forCfnCampaign.S3ConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The Amazon Resource Name (ARN) of the Amazon S3 bucket.default String
(Optional) Specify the format that files are saved in the Amazon S3 bucket.default String
(Optional) Enter an S3 bucket prefix.default String
(Optional) By default, stored data is compressed as a .gzip file.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketArn
The Amazon Resource Name (ARN) of the Amazon S3 bucket. -
getDataFormat
(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.
-
getPrefix
(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 prefixvehicles
, the prefix will bevehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/
. -
getStorageCompressionFormat
(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. -
builder
-