Interface CfnConfigurationSet.EventDestinationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationSet.EventDestinationProperty.Jsii$Proxy
- Enclosing class:
CfnConfigurationSet
@Stability(Stable)
public static interface CfnConfigurationSet.EventDestinationProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.smsvoice.*; EventDestinationProperty eventDestinationProperty = EventDestinationProperty.builder() .enabled(false) .eventDestinationName("eventDestinationName") .matchingEventTypes(List.of("matchingEventTypes")) // the properties below are optional .cloudWatchLogsDestination(CloudWatchLogsDestinationProperty.builder() .iamRoleArn("iamRoleArn") .logGroupArn("logGroupArn") .build()) .kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder() .deliveryStreamArn("deliveryStreamArn") .iamRoleArn("iamRoleArn") .build()) .snsDestination(SnsDestinationProperty.builder() .topicArn("topicArn") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConfigurationSet.EventDestinationProperty
static final class
An implementation forCfnConfigurationSet.EventDestinationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.When set to true events will be logged.The name of the EventDestination.default Object
An object that contains information about an event destination for logging to Amazon Data Firehose.An array of event types that determine which events to log.default Object
An object that contains information about an event destination that sends logging events to Amazon SNS.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
When set to true events will be logged.- See Also:
-
getEventDestinationName
The name of the EventDestination.- See Also:
-
getMatchingEventTypes
An array of event types that determine which events to log.The
TEXT_SENT
event type is not supported.- See Also:
-
getCloudWatchLogsDestination
An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.- See Also:
-
getKinesisFirehoseDestination
An object that contains information about an event destination for logging to Amazon Data Firehose.- See Also:
-
getSnsDestination
An object that contains information about an event destination that sends logging events to Amazon SNS.- See Also:
-
builder
-