SelectAttributesProperty Struct
Creates a new message using only the specified attributes from the original message.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const selectAttributesProperty: iotanalytics.CfnPipeline.SelectAttributesProperty = {
attributes: ['attributes'],
name: 'name',
// the properties below are optional
next: 'next',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotanalytics as iotanalytics
select_attributes_property = iotanalytics.CfnPipeline.SelectAttributesProperty(
attributes=["attributes"],
name="name",
# the properties below are optional
next="next"
)
java
// 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.*;
SelectAttributesProperty selectAttributesProperty = SelectAttributesProperty.builder()
.attributes(List.of("attributes"))
.name("name")
// the properties below are optional
.next("next")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 selectAttributesProperty = new SelectAttributesProperty {
Attributes = new [] { "attributes" },
Name = "name",
// the properties below are optional
Next = "next"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
selectAttributesProperty := &SelectAttributesProperty{
Attributes: []*string{
jsii.String("attributes"),
},
Name: jsii.String("name"),
// the properties below are optional
Next: jsii.String("next"),
}
Properties
attributesstring[]attributestyping.List[str]attributesList<String>Attributesstring[]Attributes*[]*string required #A list of the attributes to select from the message.
The name of the 'selectAttributes' activity.
The next activity in the pipeline.