How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • new ses.AllowListReceiptFilter(this, 'AllowList', {
      ips: [
        '10.0.0.0/16',
        '1.2.3.4/16',
      ]
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as ses from '@aws-cdk/aws-ses';
    
    const allowListReceiptFilter = new ses.AllowListReceiptFilter(this, 'MyAllowListReceiptFilter', {
      ips: ['ips'],
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as ses from '@aws-cdk/aws-ses';
    
    const whiteListReceiptFilter = new ses.WhiteListReceiptFilter(this, 'MyWhiteListReceiptFilter', {
      ips: ['ips'],
    });
    
    Docs
    0
  • new ses.ReceiptFilter(this, 'Filter', {
      ip: '1.2.3.4/16' // Will be blocked
    })
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as ses from '@aws-cdk/aws-ses';
    
    const receiptFilter = new ses.ReceiptFilter(this, 'MyReceiptFilter', /* all optional props */ {
      ip: 'ip',
      policy: ses.ReceiptFilterPolicy.ALLOW,
      receiptFilterName: 'receiptFilterName',
    });
    
    Docs
    0
  • new ses.ReceiptRuleSet(this, 'RuleSet', {
      dropSpam: true
    });
    
    Docs
    0
  • const ruleSet = new ses.ReceiptRuleSet(this, 'RuleSet'):
    
    const awsRule = ruleSet.addRule('Aws', {
      recipients: ['aws.com']
    });
    
    Docs
    0
  • import * as s3 from '@aws-cdk/aws-s3';
    import * as ses from '@aws-cdk/aws-ses';
    import * as actions from '@aws-cdk/aws-ses-actions';
    import * as sns from '@aws-cdk/aws-sns';
    
    const bucket = new s3.Bucket(stack, 'Bucket');
    const topic = new sns.Topic(stack, 'Topic');
    
    new ses.ReceiptRuleSet(stack, 'RuleSet', {
      rules: [
        {
          recipients: ['hello@aws.com'],
          actions: [
            new actions.AddHeader({
              name: 'X-Special-Header',
              value: 'aws'
            }),
            new actions.S3({
              bucket,
              objectKeyPrefix: 'emails/',
              topic
            })
          ],
        },
        {
          recipients: ['aws.com'],
          actions: [
            new actions.Sns({
              topic
            })
          ]
        }
      ]
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as ses from '@aws-cdk/aws-ses';
    
    const cfnReceiptFilter = new ses.CfnReceiptFilter(this, 'MyCfnReceiptFilter', {
      filter: {
        ipFilter: {
          cidr: 'cidr',
          policy: 'policy',
        },
    
        // the properties below are optional
        name: 'name',
      },
    });
    
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples