Class CfnMailManagerTrafficPolicyPropsMixin
Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SES
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnMailManagerTrafficPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMailManagerTrafficPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
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.CfnPropertyMixins.AWS.SES;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMailManagerTrafficPolicyPropsMixin = new CfnMailManagerTrafficPolicyPropsMixin(new CfnMailManagerTrafficPolicyMixinProps {
DefaultAction = "defaultAction",
MaxMessageSizeBytes = 123,
PolicyStatements = new [] { 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"
}
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrafficPolicyName = "trafficPolicyName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnMailManagerTrafficPolicyPropsMixin(ICfnMailManagerTrafficPolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied. |
| Props | Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied. |
| Strategy | Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnMailManagerTrafficPolicyPropsMixin(ICfnMailManagerTrafficPolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::SES::MailManagerTrafficPolicy.
public CfnMailManagerTrafficPolicyPropsMixin(ICfnMailManagerTrafficPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnMailManagerTrafficPolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
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.CfnPropertyMixins.AWS.SES;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMailManagerTrafficPolicyPropsMixin = new CfnMailManagerTrafficPolicyPropsMixin(new CfnMailManagerTrafficPolicyMixinProps {
DefaultAction = "defaultAction",
MaxMessageSizeBytes = 123,
PolicyStatements = new [] { 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"
}
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrafficPolicyName = "trafficPolicyName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.
protected virtual ICfnMailManagerTrafficPolicyMixinProps Props { get; }
Property Value
ICfnMailManagerTrafficPolicyMixinProps
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
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.CfnPropertyMixins.AWS.SES;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMailManagerTrafficPolicyPropsMixin = new CfnMailManagerTrafficPolicyPropsMixin(new CfnMailManagerTrafficPolicyMixinProps {
DefaultAction = "defaultAction",
MaxMessageSizeBytes = 123,
PolicyStatements = new [] { 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"
}
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrafficPolicyName = "trafficPolicyName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
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.CfnPropertyMixins.AWS.SES;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMailManagerTrafficPolicyPropsMixin = new CfnMailManagerTrafficPolicyPropsMixin(new CfnMailManagerTrafficPolicyMixinProps {
DefaultAction = "defaultAction",
MaxMessageSizeBytes = 123,
PolicyStatements = new [] { 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"
}
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrafficPolicyName = "trafficPolicyName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::SES::MailManagerTrafficPolicy
Mixin: true
ExampleMetadata: fixture=_generated