
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@aws-cdk/aws-ses
Advanced tools
This module is part of the AWS Cloud Development Kit project.
Create a receipt rule set with rules and actions: example of setting up a receipt rule set
Alternatively, rules can be added to a rule set:
const ruleSet = new ses.ReceiptRuleSet(this, 'RuleSet'):
const awsRule = ruleSet.addRule('Aws', {
recipients: ['aws.com']
});
And actions to rules:
awsRule.addAction(
new ses.ReceiptRuleSnsAction({
topic
});
);
When using addRule
, the new rule is added after the last added rule unless after
is specified.
A rule to drop spam can be added by setting dropSpam
to true
:
new ses.ReceiptRuleSet(this, 'RuleSet', {
dropSpam: true
});
This will add a rule at the top of the rule set with a Lambda action that stops processing messages that have at least one spam indicator. See Lambda Function Examples.
Receipt rule sets and receipt rules can be exported:
const ruleSet = new ReceiptRuleSet(this, 'RuleSet');
const rule = ruleSet.addRule(this, 'Rule', {
recipients: ['hello@mydomain.com']
});
const ruleSetRef = ruleSet.export();
const ruleRef = rule.export();
And imported:
const importedRuleSet = ses.ReceiptRuleSet.import(this, 'ImportedRuleSet', ruleSetRef);
const importedRule = ses.ReceiptRule.import(this, 'ImportedRule', ruleRef);
const otherRule = ses.ReceiptRule.import(this, 'OtherRule', {
name: 'other-rule'
});
importedRuleSet.addRule('New', { // This rule is added after the imported rule
after: importedRule,
recipients: ['mydomain.com']
});
importedRuleSet.addRule('Extra', { // Added after the 'New' rule
recipients: ['extra.com']
});
Create a receipt filter:
new ses.ReceiptFilter(this, 'Filter', {
ip: '1.2.3.4/16' // Will be blocked
})
A white list filter is also available:
new ses.WhiteListReceiptFilter(this, 'WhiteList', {
ips: [
'10.0.0.0/16',
'1.2.3.4/16',
]
});
This will first create a block all filter and then create allow filters for the listed ip addresses.
0.30.0 (2019-05-02)
s3.Bucket.domainName
renamed to s3.Bucket.bucketDomainName
.codedeploy.IXxxDeploymentConfig.deploymentConfigArn
is now a property and not a method.ec2.SecurityGroupBase
is now privateec2.VpcNetworkBase
is now privatekinesis.StreamBase
is now privatekms.EncryptionKeyBase
is now privatelogs.LogGroupBase
is now privatessm.ParameterBase
is now privateeks.ClusterBase
is now privatecodebuild.ProjectBase
is now privatecodecommit.RepositoryBase
is now privatecodedeploy.ServerDeploymentGroupBase
is now privateeks.ClusterBase
is now privatelambda.LayerVersionBase
is now privaterds.DatabaseClusterBase
is now privatesecretsmanager.SecretBase
is now privateses.ReceiptRuleSetBase
is now privatepollForSourceChanges
property in GitHubSourceAction
has been renamed to trigger
, and its type changed from a boolean
to an enum.FAQs
The CDK Construct Library for AWS::SES
The npm package @aws-cdk/aws-ses receives a total of 936 weekly downloads. As such, @aws-cdk/aws-ses popularity was classified as not popular.
We found that @aws-cdk/aws-ses demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.