RuleDmarcExpressionProperty Struct
A DMARC policy expression.
The condition matches if the given DMARC policy matches that of the incoming email.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const ruleDmarcExpressionProperty: ses.CfnMailManagerRuleSet.RuleDmarcExpressionProperty = {
operator: 'operator',
values: ['values'],
};
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_ses as ses
rule_dmarc_expression_property = ses.CfnMailManagerRuleSet.RuleDmarcExpressionProperty(
operator="operator",
values=["values"]
)
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.ses.*;
RuleDmarcExpressionProperty ruleDmarcExpressionProperty = RuleDmarcExpressionProperty.builder()
.operator("operator")
.values(List.of("values"))
.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.SES;
var ruleDmarcExpressionProperty = new RuleDmarcExpressionProperty {
Operator = "operator",
Values = new [] { "values" }
};
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"
ruleDmarcExpressionProperty := &RuleDmarcExpressionProperty{
Operator: jsii.String("operator"),
Values: []*string{
jsii.String("values"),
},
}
Properties
The operator to apply to the DMARC policy of the incoming email.
The values to use for the given DMARC policy operator.
notes
For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match.