# SubscriberProperty

Struct · External

The recipient of `AnomalySubscription` notifications.

- 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_ce as ce } from 'aws-cdk-lib';
const subscriberProperty: ce.CfnAnomalySubscription.SubscriberProperty = {
  address: 'address',
  type: 'type',

  // the properties below are optional
  status: 'status',
};
```

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_ce as ce

subscriber_property = ce.CfnAnomalySubscription.SubscriberProperty(
    address="address",
    type="type",

    # the properties below are optional
    status="status"
)
```

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.ce.*;

SubscriberProperty subscriberProperty = SubscriberProperty.builder()
        .address("address")
        .type("type")

        // the properties below are optional
        .status("status")
        .build();
```

C#:

```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.CE;

var subscriberProperty = new SubscriberProperty {
    Address = "address",
    Type = "type",

    // the properties below are optional
    Status = "status"
};
```

Go:

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

subscriberProperty := &SubscriberProperty{
	Address: jsii.String("address"),
	Type: jsii.String("type"),

	// the properties below are optional
	Status: jsii.String("status"),
}
```

## Properties

- `address`: string (required) — The email address or SNS Topic Amazon Resource Name (ARN), depending on the `Type` .

- `status`: string — Indicates if the subscriber accepts the notifications.

- `type`: string (required) — The notification delivery channel.
