class CfnPipelinePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Mixins.CfnPipelinePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotanalytics/mixins#CfnPipelinePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.iotanalytics.mixins.CfnPipelinePropsMixin |
Python | aws_cdk.mixins_preview.aws_iotanalytics.mixins.CfnPipelinePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_iotanalytics » mixins » CfnPipelinePropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::IoTAnalytics::Pipeline resource consumes messages from one or more channels and allows you to process the messages before storing them in a data store.
You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array. For more information, see How to Use in the User Guide .
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 cfnPipelinePropsMixin = new iotanalytics_mixins.CfnPipelinePropsMixin({
pipelineActivities: [{
addAttributes: {
attributes: {
attributesKey: 'attributes',
},
name: 'name',
next: 'next',
},
channel: {
channelName: 'channelName',
name: 'name',
next: 'next',
},
datastore: {
datastoreName: 'datastoreName',
name: 'name',
},
deviceRegistryEnrich: {
attribute: 'attribute',
name: 'name',
next: 'next',
roleArn: 'roleArn',
thingName: 'thingName',
},
deviceShadowEnrich: {
attribute: 'attribute',
name: 'name',
next: 'next',
roleArn: 'roleArn',
thingName: 'thingName',
},
filter: {
filter: 'filter',
name: 'name',
next: 'next',
},
lambda: {
batchSize: 123,
lambdaName: 'lambdaName',
name: 'name',
next: 'next',
},
math: {
attribute: 'attribute',
math: 'math',
name: 'name',
next: 'next',
},
removeAttributes: {
attributes: ['attributes'],
name: 'name',
next: 'next',
},
selectAttributes: {
attributes: ['attributes'],
name: 'name',
next: 'next',
},
}],
pipelineName: 'pipelineName',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnPipelinePropsMixin(props: CfnPipelineMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Pipeline Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::IoTAnalytics::Pipeline.
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): void
Parameters
- construct
IConstruct
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