Interface CfnConfigurationSetPropsMixin.EventDestinationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationSetPropsMixin.EventDestinationProperty.Jsii$Proxy
- Enclosing class:
CfnConfigurationSetPropsMixin
@Stability(Stable)
public static interface CfnConfigurationSetPropsMixin.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.cfnpropertymixins.services.smsvoice.*;
EventDestinationProperty eventDestinationProperty = EventDestinationProperty.builder()
.cloudWatchLogsDestination(CloudWatchLogsDestinationProperty.builder()
.iamRoleArn("iamRoleArn")
.logGroupArn("logGroupArn")
.build())
.enabled(false)
.eventDestinationName("eventDestinationName")
.kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
.deliveryStreamArn("deliveryStreamArn")
.iamRoleArn("iamRoleArn")
.build())
.matchingEventTypes(List.of("matchingEventTypes"))
.snsDestination(SnsDestinationProperty.builder()
.topicArn("topicArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConfigurationSetPropsMixin.EventDestinationPropertystatic final classAn implementation forCfnConfigurationSetPropsMixin.EventDestinationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.default ObjectWhen set to true events will be logged.default StringThe name of the EventDestination.default ObjectAn 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 ObjectAn 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
-
getCloudWatchLogsDestination
An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.Returns union: either
IResolvableorCfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty- See Also:
-
getEnabled
When set to true events will be logged.Returns union: either
BooleanorIResolvable- See Also:
-
getEventDestinationName
The name of the EventDestination.- See Also:
-
getKinesisFirehoseDestination
An object that contains information about an event destination for logging to Amazon Data Firehose.Returns union: either
IResolvableorCfnConfigurationSetPropsMixin.KinesisFirehoseDestinationProperty- See Also:
-
getMatchingEventTypes
An array of event types that determine which events to log.The
TEXT_SENTevent type is not supported.- See Also:
-
getSnsDestination
An object that contains information about an event destination that sends logging events to Amazon SNS.Returns union: either
IResolvableorCfnConfigurationSetPropsMixin.SnsDestinationProperty- See Also:
-
builder
-