CfnMailManagerRelayProps

class aws_cdk.aws_ses.CfnMailManagerRelayProps(*, authentication, server_name, server_port, relay_name=None, tags=None)

Bases: object

Properties for defining a CfnMailManagerRelay.

Parameters:
  • authentication (Union[IResolvable, RelayAuthenticationProperty, Dict[str, Any]]) – Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.

  • server_name (str) – The destination relay server address.

  • server_port (Union[int, float]) – The destination relay server port.

  • relay_name (Optional[str]) – The unique relay name.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags used to organize, track, or control access for the resource. For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

# no_authentication: Any

cfn_mail_manager_relay_props = ses.CfnMailManagerRelayProps(
    authentication=ses.CfnMailManagerRelay.RelayAuthenticationProperty(
        no_authentication=no_authentication,
        secret_arn="secretArn"
    ),
    server_name="serverName",
    server_port=123,

    # the properties below are optional
    relay_name="relayName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

authentication

Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-authentication

relay_name

The unique relay name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-relayname

server_name

The destination relay server address.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-servername

server_port

The destination relay server port.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-serverport

tags

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

For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagerrelay.html#cfn-ses-mailmanagerrelay-tags