@Stability(value=Stable)
public static interface CfnPipeline.ActivityProperty
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.*;
ActivityProperty activityProperty = ActivityProperty.builder()
.addAttributes(AddAttributesProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.channel(ChannelProperty.builder()
.channelName("channelName")
.name("name")
// the properties below are optional
.next("next")
.build())
.datastore(DatastoreProperty.builder()
.datastoreName("datastoreName")
.name("name")
.build())
.deviceRegistryEnrich(DeviceRegistryEnrichProperty.builder()
.attribute("attribute")
.name("name")
.roleArn("roleArn")
.thingName("thingName")
// the properties below are optional
.next("next")
.build())
.deviceShadowEnrich(DeviceShadowEnrichProperty.builder()
.attribute("attribute")
.name("name")
.roleArn("roleArn")
.thingName("thingName")
// the properties below are optional
.next("next")
.build())
.filter(FilterProperty.builder()
.filter("filter")
.name("name")
// the properties below are optional
.next("next")
.build())
.lambda(LambdaProperty.builder()
.batchSize(123)
.lambdaName("lambdaName")
.name("name")
// the properties below are optional
.next("next")
.build())
.math(MathProperty.builder()
.attribute("attribute")
.math("math")
.name("name")
// the properties below are optional
.next("next")
.build())
.removeAttributes(RemoveAttributesProperty.builder()
.attributes(List.of("attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.selectAttributes(SelectAttributesProperty.builder()
.attributes(List.of("attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPipeline.ActivityProperty.Builder
A builder for
CfnPipeline.ActivityProperty |
static class |
CfnPipeline.ActivityProperty.Jsii$Proxy
An implementation for
CfnPipeline.ActivityProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPipeline.ActivityProperty.Builder |
builder() |
default Object |
getAddAttributes()
Adds other attributes based on existing attributes in the message.
|
default Object |
getChannel()
Determines the source of the messages to be processed.
|
default Object |
getDatastore()
Specifies where to store the processed message data.
|
default Object |
getDeviceRegistryEnrich()
Adds data from the AWS IoT device registry to your message.
|
default Object |
getDeviceShadowEnrich()
Adds information from the AWS IoT Device Shadows service to a message.
|
default Object |
getFilter()
Filters a message based on its attributes.
|
default Object |
getLambda()
Runs a Lambda function to modify the message.
|
default Object |
getMath()
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
default Object |
getRemoveAttributes()
Removes attributes from a message.
|
default Object |
getSelectAttributes()
Creates a new message using only the specified attributes from the original message.
|
@Stability(value=Stable) @Nullable default Object getAddAttributes()
@Stability(value=Stable) @Nullable default Object getChannel()
@Stability(value=Stable) @Nullable default Object getDatastore()
@Stability(value=Stable) @Nullable default Object getDeviceRegistryEnrich()
@Stability(value=Stable) @Nullable default Object getDeviceShadowEnrich()
@Stability(value=Stable) @Nullable default Object getFilter()
@Stability(value=Stable) @Nullable default Object getLambda()
@Stability(value=Stable) @Nullable default Object getMath()
@Stability(value=Stable) @Nullable default Object getRemoveAttributes()
@Stability(value=Stable) @Nullable default Object getSelectAttributes()
@Stability(value=Stable) static CfnPipeline.ActivityProperty.Builder builder()
Copyright © 2022. All rights reserved.