class CfnDatasetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Mixins.CfnDatasetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotanalytics/mixins#CfnDatasetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.iotanalytics.mixins.CfnDatasetPropsMixin |
Python | aws_cdk.mixins_preview.aws_iotanalytics.mixins.CfnDatasetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_iotanalytics » mixins » CfnDatasetPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::IoTAnalytics::Dataset resource stores data retrieved from a data store by applying a queryAction (an SQL query) or a containerAction (executing a containerized application).
The data set can be populated manually by calling CreateDatasetContent or automatically according to a trigger you specify. For more information, see How to Use AWS IoT Analytics in the AWS IoT Analytics User Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as iotanalytics_mixins } from '@aws-cdk/mixins-preview/aws-iotanalytics';
const cfnDatasetPropsMixin = new iotanalytics_mixins.CfnDatasetPropsMixin({
actions: [{
actionName: 'actionName',
containerAction: {
executionRoleArn: 'executionRoleArn',
image: 'image',
resourceConfiguration: {
computeType: 'computeType',
volumeSizeInGb: 123,
},
variables: [{
datasetContentVersionValue: {
datasetName: 'datasetName',
},
doubleValue: 123,
outputFileUriValue: {
fileName: 'fileName',
},
stringValue: 'stringValue',
variableName: 'variableName',
}],
},
queryAction: {
filters: [{
deltaTime: {
offsetSeconds: 123,
timeExpression: 'timeExpression',
},
}],
sqlQuery: 'sqlQuery',
},
}],
contentDeliveryRules: [{
destination: {
iotEventsDestinationConfiguration: {
inputName: 'inputName',
roleArn: 'roleArn',
},
s3DestinationConfiguration: {
bucket: 'bucket',
glueConfiguration: {
databaseName: 'databaseName',
tableName: 'tableName',
},
key: 'key',
roleArn: 'roleArn',
},
},
entryName: 'entryName',
}],
datasetName: 'datasetName',
lateDataRules: [{
ruleConfiguration: {
deltaTimeSessionWindowConfiguration: {
timeoutInMinutes: 123,
},
},
ruleName: 'ruleName',
}],
retentionPeriod: {
numberOfDays: 123,
unlimited: false,
},
tags: [{
key: 'key',
value: 'value',
}],
triggers: [{
schedule: {
scheduleExpression: 'scheduleExpression',
},
triggeringDataset: {
datasetName: 'datasetName',
},
}],
versioningConfiguration: {
maxVersions: 123,
unlimited: false,
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnDatasetPropsMixin(props: CfnDatasetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Dataset Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::IoTAnalytics::Dataset.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript