Exemplo n.º 1
0
 public MyStack()
 {
     var sns = new Aws.Ses.EventDestination("sns", new Aws.Ses.EventDestinationArgs
     {
         ConfigurationSetName = aws_ses_configuration_set.Example.Name,
         Enabled       = true,
         MatchingTypes =
         {
             "bounce",
             "send",
         },
         SnsDestination = new Aws.Ses.Inputs.EventDestinationSnsDestinationArgs
         {
             TopicArn = aws_sns_topic.Example.Arn,
         },
     });
 }
Exemplo n.º 2
0
 public MyStack()
 {
     var kinesis = new Aws.Ses.EventDestination("kinesis", new Aws.Ses.EventDestinationArgs
     {
         ConfigurationSetName = aws_ses_configuration_set.Example.Name,
         Enabled            = true,
         KinesisDestination = new Aws.Ses.Inputs.EventDestinationKinesisDestinationArgs
         {
             RoleArn   = aws_iam_role.Example.Arn,
             StreamArn = aws_kinesis_firehose_delivery_stream.Example.Arn,
         },
         MatchingTypes =
         {
             "bounce",
             "send",
         },
     });
 }
Exemplo n.º 3
0
 public MyStack()
 {
     var cloudwatch = new Aws.Ses.EventDestination("cloudwatch", new Aws.Ses.EventDestinationArgs
     {
         CloudwatchDestinations =
         {
             new Aws.Ses.Inputs.EventDestinationCloudwatchDestinationArgs
             {
                 DefaultValue  = "default",
                 DimensionName = "dimension",
                 ValueSource   = "emailHeader",
             },
         },
         ConfigurationSetName = aws_ses_configuration_set.Example.Name,
         Enabled       = true,
         MatchingTypes =
         {
             "bounce",
             "send",
         },
     });
 }