# CfnMailManagerRelayProps

Properties for defining a `CfnMailManagerRelay`.

Extends: CfnMailManagerRelayProps
Used as props by: CfnMailManagerRelay

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## 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';

declare const noAuthentication: any;
const cfnMailManagerRelayProps: ses.CfnMailManagerRelayProps = {
  authentication: {
    noAuthentication: noAuthentication,
    secretArn: 'secretArn',
  },
  serverName: 'serverName',
  serverPort: 123,

  // the properties below are optional
  relayName: 'relayName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `authentication`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMailManagerRelay.RelayAuthenticationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnMailManagerRelay.RelayAuthenticationProperty.html) (required) — Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.

- `relayName`: string — The unique relay name.

- `serverName`: string (required) — The destination relay server address.

- `serverPort`: number (required) — The destination relay server port.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for the resource.

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