Skip to content
v2.278.0

SubscriberProperty Struct ​

The recipient of AnomalySubscription notifications.

Example ​

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
# 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
// 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();
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
// 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 ​

addressstringaddressstraddressStringAddressstringAddress*string required #
The email address or SNS Topic Amazon Resource Name (ARN), depending on the `Type` .
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #
Indicates if the subscriber accepts the notifications.
typestringtypestrtypeStringTypestringType*string required #
The notification delivery channel.