You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SESV2::Types::CreateEmailIdentityPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateEmailIdentityPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  email_identity: "Identity", # required
  policy_name: "PolicyName", # required
  policy: "Policy", # required
}

Represents a request to create a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#email_identityString

The email identity for which you want to create a policy.

Returns:

  • (String)

    The email identity for which you want to create a policy.

#policyString

The text of the policy in JSON format. The policy cannot exceed 4 KB.

For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.

Returns:

  • (String)

    The text of the policy in JSON format.

#policy_nameString

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Returns:

  • (String)

    The name of the policy.