CfnConfigurationSetEventDestinationProps Struct
Properties for defining a CfnConfigurationSetEventDestination.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpointemail as pinpointemail } from 'aws-cdk-lib';
const cfnConfigurationSetEventDestinationProps: pinpointemail.CfnConfigurationSetEventDestinationProps = {
configurationSetName: 'configurationSetName',
eventDestinationName: 'eventDestinationName',
// the properties below are optional
eventDestination: {
matchingEventTypes: ['matchingEventTypes'],
// the properties below are optional
cloudWatchDestination: {
dimensionConfigurations: [{
defaultDimensionValue: 'defaultDimensionValue',
dimensionName: 'dimensionName',
dimensionValueSource: 'dimensionValueSource',
}],
},
enabled: false,
kinesisFirehoseDestination: {
deliveryStreamArn: 'deliveryStreamArn',
iamRoleArn: 'iamRoleArn',
},
pinpointDestination: {
applicationArn: 'applicationArn',
},
snsDestination: {
topicArn: 'topicArn',
},
},
};
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_pinpointemail as pinpointemail
cfn_configuration_set_event_destination_props = pinpointemail.CfnConfigurationSetEventDestinationProps(
configuration_set_name="configurationSetName",
event_destination_name="eventDestinationName",
# the properties below are optional
event_destination=pinpointemail.CfnConfigurationSetEventDestination.EventDestinationProperty(
matching_event_types=["matchingEventTypes"],
# the properties below are optional
cloud_watch_destination=pinpointemail.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty(
dimension_configurations=[pinpointemail.CfnConfigurationSetEventDestination.DimensionConfigurationProperty(
default_dimension_value="defaultDimensionValue",
dimension_name="dimensionName",
dimension_value_source="dimensionValueSource"
)]
),
enabled=False,
kinesis_firehose_destination=pinpointemail.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty(
delivery_stream_arn="deliveryStreamArn",
iam_role_arn="iamRoleArn"
),
pinpoint_destination=pinpointemail.CfnConfigurationSetEventDestination.PinpointDestinationProperty(
application_arn="applicationArn"
),
sns_destination=pinpointemail.CfnConfigurationSetEventDestination.SnsDestinationProperty(
topic_arn="topicArn"
)
)
)
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.pinpointemail.*;
CfnConfigurationSetEventDestinationProps cfnConfigurationSetEventDestinationProps = CfnConfigurationSetEventDestinationProps.builder()
.configurationSetName("configurationSetName")
.eventDestinationName("eventDestinationName")
// the properties below are optional
.eventDestination(EventDestinationProperty.builder()
.matchingEventTypes(List.of("matchingEventTypes"))
// the properties below are optional
.cloudWatchDestination(CloudWatchDestinationProperty.builder()
.dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
.defaultDimensionValue("defaultDimensionValue")
.dimensionName("dimensionName")
.dimensionValueSource("dimensionValueSource")
.build()))
.build())
.enabled(false)
.kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
.deliveryStreamArn("deliveryStreamArn")
.iamRoleArn("iamRoleArn")
.build())
.pinpointDestination(PinpointDestinationProperty.builder()
.applicationArn("applicationArn")
.build())
.snsDestination(SnsDestinationProperty.builder()
.topicArn("topicArn")
.build())
.build())
.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.PinpointEmail;
var cfnConfigurationSetEventDestinationProps = new CfnConfigurationSetEventDestinationProps {
ConfigurationSetName = "configurationSetName",
EventDestinationName = "eventDestinationName",
// the properties below are optional
EventDestination = new EventDestinationProperty {
MatchingEventTypes = new [] { "matchingEventTypes" },
// the properties below are optional
CloudWatchDestination = new CloudWatchDestinationProperty {
DimensionConfigurations = new [] { new DimensionConfigurationProperty {
DefaultDimensionValue = "defaultDimensionValue",
DimensionName = "dimensionName",
DimensionValueSource = "dimensionValueSource"
} }
},
Enabled = false,
KinesisFirehoseDestination = new KinesisFirehoseDestinationProperty {
DeliveryStreamArn = "deliveryStreamArn",
IamRoleArn = "iamRoleArn"
},
PinpointDestination = new PinpointDestinationProperty {
ApplicationArn = "applicationArn"
},
SnsDestination = new SnsDestinationProperty {
TopicArn = "topicArn"
}
}
};
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"
cfnConfigurationSetEventDestinationProps := &CfnConfigurationSetEventDestinationProps{
ConfigurationSetName: jsii.String("configurationSetName"),
EventDestinationName: jsii.String("eventDestinationName"),
// the properties below are optional
EventDestination: &EventDestinationProperty{
MatchingEventTypes: []*string{
jsii.String("matchingEventTypes"),
},
// the properties below are optional
CloudWatchDestination: &CloudWatchDestinationProperty{
DimensionConfigurations: []interface{}{
&DimensionConfigurationProperty{
DefaultDimensionValue: jsii.String("defaultDimensionValue"),
DimensionName: jsii.String("dimensionName"),
DimensionValueSource: jsii.String("dimensionValueSource"),
},
},
},
Enabled: jsii.Boolean(false),
KinesisFirehoseDestination: &KinesisFirehoseDestinationProperty{
DeliveryStreamArn: jsii.String("deliveryStreamArn"),
IamRoleArn: jsii.String("iamRoleArn"),
},
PinpointDestination: &PinpointDestinationProperty{
ApplicationArn: jsii.String("applicationArn"),
},
SnsDestination: &SnsDestinationProperty{
TopicArn: jsii.String("topicArn"),
},
},
}
Properties
configurationSetNamestringconfiguration_set_namestrconfigurationSetNameStringConfigurationSetNamestringConfigurationSetName*stringrequired#The name of the configuration set that contains the event destination that you want to modify.
eventDestinationoptionalIResolvable | CfnConfigurationSetEventDestination.EventDestinationPropertyevent_destinationoptionaltyping.Union[IResolvable, EventDestinationProperty]eventDestinationoptionalIResolvableEventDestinationoptionalIResolvableEventDestinationoptionalinterface{}#An object that defines the event destination.
eventDestinationNamestringevent_destination_namestreventDestinationNameStringEventDestinationNamestringEventDestinationName*stringrequired#The name of the event destination that you want to modify.