Show / Hide Table of Contents

Class CfnMailManagerTrafficPolicy

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.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnMailManagerTrafficPolicy
Implements
IInspectable
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerTrafficPolicy : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnMailManagerTrafficPolicy Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

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 cfnMailManagerTrafficPolicy = new CfnMailManagerTrafficPolicy(this, "MyCfnMailManagerTrafficPolicy", new CfnMailManagerTrafficPolicyProps {
                 DefaultAction = "defaultAction",
                 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"
                         }
                     } }
                 } },

                 // the properties below are optional
                 MaxMessageSizeBytes = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficPolicyName = "trafficPolicyName"
             });

Synopsis

Constructors

CfnMailManagerTrafficPolicy(Construct, string, ICfnMailManagerTrafficPolicyProps)

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.

Properties

AttrTrafficPolicyArn

The Amazon Resource Name (ARN) of the traffic policy resource.

AttrTrafficPolicyId

The identifier of the traffic policy resource.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CdkTagManager

Tag Manager which manages the tags for this resource.

CfnProperties

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.

DefaultAction

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.

MaxMessageSizeBytes

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

PolicyStatements

Conditional statements for filtering email traffic.

Tags

The tags used to organize, track, or control access for the resource.

TrafficPolicyName

The name of the policy.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

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.

Constructors

CfnMailManagerTrafficPolicy(Construct, string, ICfnMailManagerTrafficPolicyProps)

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.

public CfnMailManagerTrafficPolicy(Construct scope, string id, ICfnMailManagerTrafficPolicyProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnMailManagerTrafficPolicyProps

Resource properties.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

Properties

AttrTrafficPolicyArn

The Amazon Resource Name (ARN) of the traffic policy resource.

public virtual string AttrTrafficPolicyArn { get; }
Property Value

string

Remarks

CloudformationAttribute: TrafficPolicyArn

AttrTrafficPolicyId

The identifier of the traffic policy resource.

public virtual string AttrTrafficPolicyId { get; }
Property Value

string

Remarks

CloudformationAttribute: TrafficPolicyId

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

CfnProperties

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 override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

DefaultAction

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.

public virtual string DefaultAction { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

MaxMessageSizeBytes

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

public virtual double? MaxMessageSizeBytes { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

PolicyStatements

Conditional statements for filtering email traffic.

public virtual object PolicyStatements { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

Tags

The tags used to organize, track, or control access for the resource.

public virtual ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

TrafficPolicyName

The name of the policy.

public virtual string? TrafficPolicyName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

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 override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource: AWS::SES::MailManagerTrafficPolicy

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggableV2
Back to top Generated by DocFX