# DeliveryOptionsProperty

Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).

- Source: Generated at build time
- Type last changed: v2.166.0 · 7 Nov 2024

## Example

TypeScript:

```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';
const deliveryOptionsProperty: ses.CfnConfigurationSet.DeliveryOptionsProperty = {
  maxDeliverySeconds: 123,
  sendingPoolName: 'sendingPoolName',
  tlsPolicy: 'tlsPolicy',
};
```

Python:

```python
# 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

delivery_options_property = ses.CfnConfigurationSet.DeliveryOptionsProperty(
    max_delivery_seconds=123,
    sending_pool_name="sendingPoolName",
    tls_policy="tlsPolicy"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

DeliveryOptionsProperty deliveryOptionsProperty = DeliveryOptionsProperty.builder()
        .maxDeliverySeconds(123)
        .sendingPoolName("sendingPoolName")
        .tlsPolicy("tlsPolicy")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 deliveryOptionsProperty = new DeliveryOptionsProperty {
    MaxDeliverySeconds = 123,
    SendingPoolName = "sendingPoolName",
    TlsPolicy = "tlsPolicy"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deliveryOptionsProperty := &DeliveryOptionsProperty{
	MaxDeliverySeconds: jsii.Number(123),
	SendingPoolName: jsii.String("sendingPoolName"),
	TlsPolicy: jsii.String("tlsPolicy"),
}
```

## Properties

- `maxDeliverySeconds`: number — The name of the configuration set used when sent through a configuration set with archiving enabled.

- `sendingPoolName`: string — The name of the dedicated IP pool to associate with the configuration set.

- `tlsPolicy`: string — Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).

  If the value is `REQUIRE` , messages are only delivered if a TLS connection can be established. If the value is `OPTIONAL` , messages can be delivered in plain text if a TLS connection can't be established.

  Valid Values: `REQUIRE | OPTIONAL`
