@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.942Z") @Stability(value=Stable) public interface CfnDatasetProps extends software.amazon.jsii.JsiiSerializable
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.iotanalytics.*;
CfnDatasetProps cfnDatasetProps = CfnDatasetProps.builder()
.actions(List.of(ActionProperty.builder()
.actionName("actionName")
// the properties below are optional
.containerAction(ContainerActionProperty.builder()
.executionRoleArn("executionRoleArn")
.image("image")
.resourceConfiguration(ResourceConfigurationProperty.builder()
.computeType("computeType")
.volumeSizeInGb(123)
.build())
// the properties below are optional
.variables(List.of(VariableProperty.builder()
.variableName("variableName")
// the properties below are optional
.datasetContentVersionValue(DatasetContentVersionValueProperty.builder()
.datasetName("datasetName")
.build())
.doubleValue(123)
.outputFileUriValue(OutputFileUriValueProperty.builder()
.fileName("fileName")
.build())
.stringValue("stringValue")
.build()))
.build())
.queryAction(QueryActionProperty.builder()
.sqlQuery("sqlQuery")
// the properties below are optional
.filters(List.of(FilterProperty.builder()
.deltaTime(DeltaTimeProperty.builder()
.offsetSeconds(123)
.timeExpression("timeExpression")
.build())
.build()))
.build())
.build()))
// the properties below are optional
.contentDeliveryRules(List.of(DatasetContentDeliveryRuleProperty.builder()
.destination(DatasetContentDeliveryRuleDestinationProperty.builder()
.iotEventsDestinationConfiguration(IotEventsDestinationConfigurationProperty.builder()
.inputName("inputName")
.roleArn("roleArn")
.build())
.s3DestinationConfiguration(S3DestinationConfigurationProperty.builder()
.bucket("bucket")
.key("key")
.roleArn("roleArn")
// the properties below are optional
.glueConfiguration(GlueConfigurationProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
.build())
.build())
.build())
// the properties below are optional
.entryName("entryName")
.build()))
.datasetName("datasetName")
.lateDataRules(List.of(LateDataRuleProperty.builder()
.ruleConfiguration(LateDataRuleConfigurationProperty.builder()
.deltaTimeSessionWindowConfiguration(DeltaTimeSessionWindowConfigurationProperty.builder()
.timeoutInMinutes(123)
.build())
.build())
// the properties below are optional
.ruleName("ruleName")
.build()))
.retentionPeriod(RetentionPeriodProperty.builder()
.numberOfDays(123)
.unlimited(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.triggers(List.of(TriggerProperty.builder()
.schedule(ScheduleProperty.builder()
.scheduleExpression("scheduleExpression")
.build())
.triggeringDataset(TriggeringDatasetProperty.builder()
.datasetName("datasetName")
.build())
.build()))
.versioningConfiguration(VersioningConfigurationProperty.builder()
.maxVersions(123)
.unlimited(false)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatasetProps.Builder
A builder for
CfnDatasetProps |
static class |
CfnDatasetProps.Jsii$Proxy
An implementation for
CfnDatasetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatasetProps.Builder |
builder() |
Object |
getActions()
The `DatasetAction` objects that automatically create the dataset contents.
|
default Object |
getContentDeliveryRules()
When dataset contents are created they are delivered to destinations specified here.
|
default String |
getDatasetName()
The name of the dataset.
|
default Object |
getLateDataRules()
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
default Object |
getRetentionPeriod()
Optional.
|
default List<CfnTag> |
getTags()
Metadata which can be used to manage the data set.
|
default Object |
getTriggers()
The `DatasetTrigger` objects that specify when the dataset is automatically updated.
|
default Object |
getVersioningConfiguration()
Optional.
|
@Stability(value=Stable) @NotNull Object getActions()
@Stability(value=Stable) @Nullable default Object getContentDeliveryRules()
@Stability(value=Stable) @Nullable default String getDatasetName()
@Stability(value=Stable) @Nullable default Object getLateDataRules()
To specify lateDataRules , the dataset must use a DeltaTimer filter.
@Stability(value=Stable) @Nullable default Object getRetentionPeriod()
How long, in days, message data is kept for the dataset.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default Object getTriggers()
@Stability(value=Stable) @Nullable default Object getVersioningConfiguration()
How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the retentionPeriod parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics datasets in the AWS IoT Analytics User Guide .
@Stability(value=Stable) static CfnDatasetProps.Builder builder()
CfnDatasetProps.Builder of CfnDatasetPropsCopyright © 2022. All rights reserved.