Interface IEmailIdentity
An email identity.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEmailIdentity : IResource
Syntax (vb)
Public Interface IEmailIdentity
Inherits IResource, IConstruct, IDependable
Synopsis
Properties
EmailIdentityArn | The ARN of the email identity. |
EmailIdentityName | The name of the email identity. |
Methods
Grant(IGrantable, String[]) | Adds an IAM policy statement associated with this email identity to an IAM principal's policy. |
GrantSendEmail(IGrantable) | Permits an IAM principal the send email action. |
Properties
EmailIdentityArn
The ARN of the email identity.
string EmailIdentityArn { get; }
Property Value
System.String
Remarks
Attribute: true
EmailIdentityName
The name of the email identity.
string EmailIdentityName { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
Grant(IGrantable, String[])
Adds an IAM policy statement associated with this email identity to an IAM principal's policy.
Grant Grant(IGrantable grantee, params string[] actions)
Parameters
- grantee IGrantable
the principal (no-op if undefined).
- actions System.String[]
the set of actions to allow.
Returns
GrantSendEmail(IGrantable)
Permits an IAM principal the send email action.
Grant GrantSendEmail(IGrantable grantee)
Parameters
- grantee IGrantable
the principal to grant access to.
Returns
Remarks
Actions: SendEmail.