Interface CfnDataset.IS3DestinationConfigurationProperty
Configuration information for delivery of dataset contents to Amazon Simple Storage Service (Amazon S3).
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.AWS.IoTAnalytics.dll
Syntax (csharp)
public interface IS3DestinationConfigurationProperty
Syntax (vb)
Public Interface IS3DestinationConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;
var s3DestinationConfigurationProperty = new S3DestinationConfigurationProperty {
Bucket = "bucket",
Key = "key",
RoleArn = "roleArn",
// the properties below are optional
GlueConfiguration = new GlueConfigurationProperty {
DatabaseName = "databaseName",
TableName = "tableName"
}
};
Synopsis
Properties
Bucket | The name of the S3 bucket to which dataset contents are delivered. |
GlueConfiguration | Configuration information for coordination with AWS Glue , a fully managed extract, transform and load (ETL) service. |
Key | The key of the dataset contents object in an S3 bucket. |
RoleArn | The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources. |
Properties
Bucket
The name of the S3 bucket to which dataset contents are delivered.
string Bucket { get; }
Property Value
System.String
Remarks
GlueConfiguration
Configuration information for coordination with AWS Glue , a fully managed extract, transform and load (ETL) service.
virtual object GlueConfiguration { get; }
Property Value
System.Object
Remarks
Key
The key of the dataset contents object in an S3 bucket.
string Key { get; }
Property Value
System.String
Remarks
Each object has a key that is a unique identifier. Each object has exactly one key.
You can create a unique key with the following options:
The following example creates a unique key for a CSV file: dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv
If you don't use <code>!{iotanalytics:versionId}</code> to specify the key, you might get duplicate keys. For example, you might have two dataset contents with the same <code>scheduleTime</code> but different <code>versionId</code> s. This means that one dataset content overwrites the other.
RoleArn
The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources.
string RoleArn { get; }
Property Value
System.String