# RemoveAttributesProperty

An activity that removes attributes from a message.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `attributes`: string[] (required) — A list of 1-50 attributes to remove from the message.

- `name`: string (required) — The name of the 'removeAttributes' activity.

- `next`: string — The next activity in the pipeline.
