# Amazon Pinpoint Email Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as pinpointemail from 'aws-cdk-lib/aws-pinpointemail';
```

Python:

```python
import aws_cdk.aws_pinpointemail as pinpointemail
```

Java:

```java
import software.amazon.awscdk.services.pinpointemail.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.PinpointEmail;
```

Golang:

```go
import pinpointemail "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for PinpointEmail construct libraries](https://constructs.dev/search?q=pinpointemail)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::PinpointEmail resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PinpointEmail.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::PinpointEmail](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PinpointEmail.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnConfigurationSet`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSet.html) Construct (L1) Create a configuration set.
- [`CfnConfigurationSetEventDestination`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.html) Construct (L1) Create an event destination.
- [`CfnDedicatedIpPool`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnDedicatedIpPool.html) Construct (L1) A request to create a new dedicated IP pool.
- [`CfnIdentity`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnIdentity.html) Construct (L1) Specifies an identity to use for sending email through Amazon Pinpoint.

### Structs

- [`CfnConfigurationSet.DeliveryOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSet.DeliveryOptionsProperty.html) Struct Used to associate a configuration set with a dedicated IP pool.
- [`CfnConfigurationSet.ReputationOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSet.ReputationOptionsProperty.html) Struct Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.
- [`CfnConfigurationSet.SendingOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSet.SendingOptionsProperty.html) Struct Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.
- [`CfnConfigurationSet.TrackingOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSet.TrackingOptionsProperty.html) Struct An object that defines the tracking options for a configuration set.
- [`CfnConfigurationSetEventDestination.CloudWatchDestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty.html) Struct An object that defines an Amazon CloudWatch destination for email events.
- [`CfnConfigurationSetEventDestination.DimensionConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.DimensionConfigurationProperty.html) Struct An array of objects that define the dimensions to use when you send email events to Amazon CloudWatch.
- [`CfnConfigurationSetEventDestination.EventDestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.EventDestinationProperty.html) Struct In Amazon Pinpoint, *events* include message sends, deliveries, opens, clicks, bounces, and complaints.
- [`CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty.html) Struct An object that defines an Amazon Kinesis Data Firehose destination for email events.
- [`CfnConfigurationSetEventDestination.PinpointDestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.PinpointDestinationProperty.html) Struct An object that defines a Amazon Pinpoint destination for email events.
- [`CfnConfigurationSetEventDestination.SnsDestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestination.SnsDestinationProperty.html) Struct An object that defines an Amazon SNS destination for email events.
- [`CfnConfigurationSetEventDestinationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetEventDestinationProps.html) Struct Properties for defining a `CfnConfigurationSetEventDestination`.
- [`CfnConfigurationSetProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnConfigurationSetProps.html) Struct Properties for defining a `CfnConfigurationSet`.
- [`CfnDedicatedIpPoolProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnDedicatedIpPoolProps.html) Struct Properties for defining a `CfnDedicatedIpPool`.
- [`CfnIdentity.MailFromAttributesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnIdentity.MailFromAttributesProperty.html) Struct A list of attributes that are associated with a MAIL FROM domain.
- [`CfnIdentityProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pinpointemail.CfnIdentityProps.html) Struct Properties for defining a `CfnIdentity`.
