Class CfnMailManagerTrafficPolicy.PolicyStatementProperty
The structure containing traffic policy conditions and actions.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerTrafficPolicy.PolicyStatementProperty : CfnMailManagerTrafficPolicy.IPolicyStatementProperty
Syntax (vb)
Public Class CfnMailManagerTrafficPolicy.PolicyStatementProperty Implements CfnMailManagerTrafficPolicy.IPolicyStatementProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 policyStatementProperty = new PolicyStatementProperty {
Action = "action",
Conditions = new [] { new PolicyConditionProperty {
BooleanExpression = new IngressBooleanExpressionProperty {
Evaluate = new IngressBooleanToEvaluateProperty {
Analysis = new IngressAnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
IsInAddressList = new IngressIsInAddressListProperty {
AddressLists = new [] { "addressLists" },
Attribute = "attribute"
}
},
Operator = "operator"
},
IpExpression = new IngressIpv4ExpressionProperty {
Evaluate = new IngressIpToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
Ipv6Expression = new IngressIpv6ExpressionProperty {
Evaluate = new IngressIpv6ToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
StringExpression = new IngressStringExpressionProperty {
Evaluate = new IngressStringToEvaluateProperty {
Analysis = new IngressAnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
TlsExpression = new IngressTlsProtocolExpressionProperty {
Evaluate = new IngressTlsProtocolToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Value = "value"
}
} }
};
Synopsis
Constructors
PolicyStatementProperty() | The structure containing traffic policy conditions and actions. |
Properties
Action | The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement. |
Conditions | The list of conditions to apply to incoming messages for filtering email traffic. |
Constructors
PolicyStatementProperty()
The structure containing traffic policy conditions and actions.
public PolicyStatementProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 policyStatementProperty = new PolicyStatementProperty {
Action = "action",
Conditions = new [] { new PolicyConditionProperty {
BooleanExpression = new IngressBooleanExpressionProperty {
Evaluate = new IngressBooleanToEvaluateProperty {
Analysis = new IngressAnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
IsInAddressList = new IngressIsInAddressListProperty {
AddressLists = new [] { "addressLists" },
Attribute = "attribute"
}
},
Operator = "operator"
},
IpExpression = new IngressIpv4ExpressionProperty {
Evaluate = new IngressIpToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
Ipv6Expression = new IngressIpv6ExpressionProperty {
Evaluate = new IngressIpv6ToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
StringExpression = new IngressStringExpressionProperty {
Evaluate = new IngressStringToEvaluateProperty {
Analysis = new IngressAnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
TlsExpression = new IngressTlsProtocolExpressionProperty {
Evaluate = new IngressTlsProtocolToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Value = "value"
}
} }
};
Properties
Action
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
public string Action { get; set; }
Property Value
Remarks
Conditions
The list of conditions to apply to incoming messages for filtering email traffic.
public object Conditions { get; set; }