We recommend new projects start with resources from the AWS provider.
aws-native.ses.EmailIdentity
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SES::EmailIdentity
Create EmailIdentity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EmailIdentity(name: string, args: EmailIdentityArgs, opts?: CustomResourceOptions);
@overload
def EmailIdentity(resource_name: str,
args: EmailIdentityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EmailIdentity(resource_name: str,
opts: Optional[ResourceOptions] = None,
email_identity: Optional[str] = None,
configuration_set_attributes: Optional[EmailIdentityConfigurationSetAttributesArgs] = None,
dkim_attributes: Optional[EmailIdentityDkimAttributesArgs] = None,
dkim_signing_attributes: Optional[EmailIdentityDkimSigningAttributesArgs] = None,
feedback_attributes: Optional[EmailIdentityFeedbackAttributesArgs] = None,
mail_from_attributes: Optional[EmailIdentityMailFromAttributesArgs] = None)
func NewEmailIdentity(ctx *Context, name string, args EmailIdentityArgs, opts ...ResourceOption) (*EmailIdentity, error)
public EmailIdentity(string name, EmailIdentityArgs args, CustomResourceOptions? opts = null)
public EmailIdentity(String name, EmailIdentityArgs args)
public EmailIdentity(String name, EmailIdentityArgs args, CustomResourceOptions options)
type: aws-native:ses:EmailIdentity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EmailIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EmailIdentityArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EmailIdentityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EmailIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EmailIdentityArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EmailIdentity Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EmailIdentity resource accepts the following input properties:
- Email
Identity stringValue - The email address or domain to verify.
- Configuration
Set Pulumi.Attributes Aws Native. Ses. Inputs. Email Identity Configuration Set Attributes - Used to associate a configuration set with an email identity.
- Dkim
Attributes Pulumi.Aws Native. Ses. Inputs. Email Identity Dkim Attributes - An object that contains information about the DKIM attributes for the identity.
- Dkim
Signing Pulumi.Attributes Aws Native. Ses. Inputs. Email Identity Dkim Signing Attributes If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- Feedback
Attributes Pulumi.Aws Native. Ses. Inputs. Email Identity Feedback Attributes - Used to enable or disable feedback forwarding for an identity.
- Mail
From Pulumi.Attributes Aws Native. Ses. Inputs. Email Identity Mail From Attributes - Used to enable or disable the custom Mail-From domain configuration for an email identity.
- Email
Identity string - The email address or domain to verify.
- Configuration
Set EmailAttributes Identity Configuration Set Attributes Args - Used to associate a configuration set with an email identity.
- Dkim
Attributes EmailIdentity Dkim Attributes Args - An object that contains information about the DKIM attributes for the identity.
- Dkim
Signing EmailAttributes Identity Dkim Signing Attributes Args If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- Feedback
Attributes EmailIdentity Feedback Attributes Args - Used to enable or disable feedback forwarding for an identity.
- Mail
From EmailAttributes Identity Mail From Attributes Args - Used to enable or disable the custom Mail-From domain configuration for an email identity.
- email
Identity String - The email address or domain to verify.
- configuration
Set EmailAttributes Identity Configuration Set Attributes - Used to associate a configuration set with an email identity.
- dkim
Attributes EmailIdentity Dkim Attributes - An object that contains information about the DKIM attributes for the identity.
- dkim
Signing EmailAttributes Identity Dkim Signing Attributes If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- feedback
Attributes EmailIdentity Feedback Attributes - Used to enable or disable feedback forwarding for an identity.
- mail
From EmailAttributes Identity Mail From Attributes - Used to enable or disable the custom Mail-From domain configuration for an email identity.
- email
Identity string - The email address or domain to verify.
- configuration
Set EmailAttributes Identity Configuration Set Attributes - Used to associate a configuration set with an email identity.
- dkim
Attributes EmailIdentity Dkim Attributes - An object that contains information about the DKIM attributes for the identity.
- dkim
Signing EmailAttributes Identity Dkim Signing Attributes If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- feedback
Attributes EmailIdentity Feedback Attributes - Used to enable or disable feedback forwarding for an identity.
- mail
From EmailAttributes Identity Mail From Attributes - Used to enable or disable the custom Mail-From domain configuration for an email identity.
- email_
identity str - The email address or domain to verify.
- configuration_
set_ Emailattributes Identity Configuration Set Attributes Args - Used to associate a configuration set with an email identity.
- dkim_
attributes EmailIdentity Dkim Attributes Args - An object that contains information about the DKIM attributes for the identity.
- dkim_
signing_ Emailattributes Identity Dkim Signing Attributes Args If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- feedback_
attributes EmailIdentity Feedback Attributes Args - Used to enable or disable feedback forwarding for an identity.
- mail_
from_ Emailattributes Identity Mail From Attributes Args - Used to enable or disable the custom Mail-From domain configuration for an email identity.
- email
Identity String - The email address or domain to verify.
- configuration
Set Property MapAttributes - Used to associate a configuration set with an email identity.
- dkim
Attributes Property Map - An object that contains information about the DKIM attributes for the identity.
- dkim
Signing Property MapAttributes If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .
You can only specify this object if the email identity is a domain, as opposed to an address.
- feedback
Attributes Property Map - Used to enable or disable feedback forwarding for an identity.
- mail
From Property MapAttributes - Used to enable or disable the custom Mail-From domain configuration for an email identity.
Outputs
All input properties are implicitly available as output properties. Additionally, the EmailIdentity resource produces the following output properties:
- Dkim
Dns stringToken Name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dkim
Dns stringToken Name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- Dkim
Dns stringToken Value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- dkim
Dns StringToken Name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- id String
- The provider-assigned unique ID for this managed resource.
- dkim
Dns stringToken Name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns stringToken Name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns stringToken Name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- dkim
Dns stringToken Value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns stringToken Value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns stringToken Value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- id string
- The provider-assigned unique ID for this managed resource.
- dkim_
dns_ strtoken_ name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- dkim_
dns_ strtoken_ name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- dkim_
dns_ strtoken_ name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- dkim_
dns_ strtoken_ value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- dkim_
dns_ strtoken_ value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- dkim_
dns_ strtoken_ value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- id str
- The provider-assigned unique ID for this managed resource.
- dkim
Dns StringToken Name1 - The host name for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Name2 - The host name for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Name3 - The host name for the third token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value1 - The record value for the first token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value2 - The record value for the second token that you have to add to the DNS configuration for your domain.
- dkim
Dns StringToken Value3 - The record value for the third token that you have to add to the DNS configuration for your domain.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EmailIdentityConfigurationSetAttributes, EmailIdentityConfigurationSetAttributesArgs
- Configuration
Set stringName - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- Configuration
Set stringName - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- configuration
Set StringName - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- configuration
Set stringName - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- configuration_
set_ strname - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
- configuration
Set StringName - The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.
EmailIdentityDkimAttributes, EmailIdentityDkimAttributesArgs
- Signing
Enabled bool - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
- Signing
Enabled bool - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
- signing
Enabled Boolean - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
- signing
Enabled boolean - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
- signing_
enabled bool - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
- signing
Enabled Boolean - Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing.
EmailIdentityDkimSigningAttributes, EmailIdentityDkimSigningAttributesArgs
- Domain
Signing stringPrivate Key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- Domain
Signing stringSelector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- Next
Signing stringKey Length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- Domain
Signing stringPrivate Key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- Domain
Signing stringSelector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- Next
Signing stringKey Length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- domain
Signing StringPrivate Key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- domain
Signing StringSelector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- next
Signing StringKey Length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- domain
Signing stringPrivate Key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- domain
Signing stringSelector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- next
Signing stringKey Length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- domain_
signing_ strprivate_ key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- domain_
signing_ strselector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- next_
signing_ strkey_ length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
- domain
Signing StringPrivate Key - [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.
- domain
Signing StringSelector - [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.
- next
Signing StringKey Length - [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
EmailIdentityFeedbackAttributes, EmailIdentityFeedbackAttributesArgs
- Email
Forwarding boolEnabled - If the value is true, you receive email notifications when bounce or complaint events occur
- Email
Forwarding boolEnabled - If the value is true, you receive email notifications when bounce or complaint events occur
- email
Forwarding BooleanEnabled - If the value is true, you receive email notifications when bounce or complaint events occur
- email
Forwarding booleanEnabled - If the value is true, you receive email notifications when bounce or complaint events occur
- email_
forwarding_ boolenabled - If the value is true, you receive email notifications when bounce or complaint events occur
- email
Forwarding BooleanEnabled - If the value is true, you receive email notifications when bounce or complaint events occur
EmailIdentityMailFromAttributes, EmailIdentityMailFromAttributesArgs
- Behavior
On stringMx Failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- Mail
From stringDomain - The custom MAIL FROM domain that you want the verified identity to use
- Behavior
On stringMx Failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- Mail
From stringDomain - The custom MAIL FROM domain that you want the verified identity to use
- behavior
On StringMx Failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- mail
From StringDomain - The custom MAIL FROM domain that you want the verified identity to use
- behavior
On stringMx Failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- mail
From stringDomain - The custom MAIL FROM domain that you want the verified identity to use
- behavior_
on_ strmx_ failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- mail_
from_ strdomain - The custom MAIL FROM domain that you want the verified identity to use
- behavior
On StringMx Failure - The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
- mail
From StringDomain - The custom MAIL FROM domain that you want the verified identity to use
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.