Skip to content
v2.278.0

RemoveAttributesProperty Struct ​

An activity that removes attributes from a message.

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 removeAttributesProperty: iotanalytics.CfnPipeline.RemoveAttributesProperty = {
  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

remove_attributes_property = iotanalytics.CfnPipeline.RemoveAttributesProperty(
    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.*;

RemoveAttributesProperty removeAttributesProperty = RemoveAttributesProperty.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 removeAttributesProperty = new RemoveAttributesProperty {
    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"

removeAttributesProperty := &RemoveAttributesProperty{
	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 1-50 attributes to remove from the message.
namestringnamestrnameStringNamestringName*string required #
The name of the 'removeAttributes' activity.