cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
1,011 lines (1,010 loc) • 35.2 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement, Operator } from '../../shared';
import { aws_iam as iam } from "aws-cdk-lib";
/**
* Statement provider for service [ses](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonses.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Ses extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to create a receipt rule set by cloning an existing one
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CloneReceiptRuleSet.html
*/
toCloneReceiptRuleSet(): this;
/**
* Grants permission to create a new configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateConfigurationSet.html
*/
toCreateConfigurationSet(): this;
/**
* Grants permission to create a configuration set event destination
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateConfigurationSetEventDestination.html
*/
toCreateConfigurationSetEventDestination(): this;
/**
* Grants permission to creates an association between a configuration set and a custom domain for open and click event tracking
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateConfigurationSetTrackingOptions.html
*/
toCreateConfigurationSetTrackingOptions(): this;
/**
* Grants permission to create a new custom verification email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateCustomVerificationEmailTemplate.html
*/
toCreateCustomVerificationEmailTemplate(): this;
/**
* Grants permission to create a new IP address filter
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptFilter.html
*/
toCreateReceiptFilter(): this;
/**
* Grants permission to create a receipt rule
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html
*/
toCreateReceiptRule(): this;
/**
* Grants permission to create an empty receipt rule set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRuleSet.html
*/
toCreateReceiptRuleSet(): this;
/**
* Grants permission to creates an email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateTemplate.html
*/
toCreateTemplate(): this;
/**
* Grants permission to delete an existing configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteConfigurationSet.html
*/
toDeleteConfigurationSet(): this;
/**
* Grants permission to delete an event destination
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteConfigurationSetEventDestination.html
*/
toDeleteConfigurationSetEventDestination(): this;
/**
* Grants permission to delete an association between a configuration set and a custom domain for open and click event tracking
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteConfigurationSetTrackingOptions.html
*/
toDeleteConfigurationSetTrackingOptions(): this;
/**
* Grants permission to delete an existing custom verification email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteCustomVerificationEmailTemplate.html
*/
toDeleteCustomVerificationEmailTemplate(): this;
/**
* Grants permission to delete the specified identity
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteIdentity.html
*/
toDeleteIdentity(): this;
/**
* Grants permission to delete the specified sending authorization policy for the given identity (an email address or a domain)
*
* Access Level: Permissions management
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteIdentityPolicy.html
*/
toDeleteIdentityPolicy(): this;
/**
* Grants permission to delete the specified IP address filter
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteReceiptFilter.html
*/
toDeleteReceiptFilter(): this;
/**
* Grants permission to delete the specified receipt rule
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteReceiptRule.html
*/
toDeleteReceiptRule(): this;
/**
* Grants permission to delete the specified receipt rule set and all of the receipt rules it contains
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteReceiptRuleSet.html
*/
toDeleteReceiptRuleSet(): this;
/**
* Grants permission to delete an email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteTemplate.html
*/
toDeleteTemplate(): this;
/**
* Grants permission to delete the specified email address from the list of verified addresses
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteVerifiedEmailAddress.html
*/
toDeleteVerifiedEmailAddress(): this;
/**
* Grants permission to return the metadata and receipt rules for the receipt rule set that is currently active
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DescribeActiveReceiptRuleSet.html
*/
toDescribeActiveReceiptRuleSet(): this;
/**
* Grants permission to return the details of the specified configuration set
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DescribeConfigurationSet.html
*/
toDescribeConfigurationSet(): this;
/**
* Grants permission to return the details of the specified receipt rule
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DescribeReceiptRule.html
*/
toDescribeReceiptRule(): this;
/**
* Grants permission to return the details of the specified receipt rule set
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_DescribeReceiptRuleSet.html
*/
toDescribeReceiptRuleSet(): this;
/**
* Grants permission to return the email sending status of your account
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetAccountSendingEnabled.html
*/
toGetAccountSendingEnabled(): this;
/**
* Grants permission to return the custom email verification template for the template name you specify
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetCustomVerificationEmailTemplate.html
*/
toGetCustomVerificationEmailTemplate(): this;
/**
* Grants permission to return the current status of Easy DKIM signing for an entity
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetIdentityDkimAttributes.html
*/
toGetIdentityDkimAttributes(): this;
/**
* Grants permission to return the custom MAIL FROM attributes for a list of identities (email addresses and/or domains)
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetIdentityMailFromDomainAttributes.html
*/
toGetIdentityMailFromDomainAttributes(): this;
/**
* Grants permission to return a structure describing identity notification attributes for a list of verified identities (email addresses and/or domains),
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetIdentityNotificationAttributes.html
*/
toGetIdentityNotificationAttributes(): this;
/**
* Grants permission to return the requested sending authorization policies for the given identity (an email address or a domain)
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetIdentityPolicies.html
*/
toGetIdentityPolicies(): this;
/**
* Grants permission to return the verification status and (for domain identities) the verification token for a list of identities
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetIdentityVerificationAttributes.html
*/
toGetIdentityVerificationAttributes(): this;
/**
* Grants permission to return the user's current sending limits
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetSendQuota.html
*/
toGetSendQuota(): this;
/**
* Grants permission to returns the user's sending statistics
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetSendStatistics.html
*/
toGetSendStatistics(): this;
/**
* Grants permission to return the template object, which includes the subject line, HTML par, and text part for the template you specify
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_GetTemplate.html
*/
toGetTemplate(): this;
/**
* Grants permission to list all of the configuration sets for your account
*
* Access Level: List
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListConfigurationSets.html
*/
toListConfigurationSets(): this;
/**
* Grants permission to list all of the existing custom verification email templates for your account
*
* Access Level: List
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListCustomVerificationEmailTemplates.html
*/
toListCustomVerificationEmailTemplates(): this;
/**
* Grants permission to list the email identities for your account
*
* Access Level: List
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListIdentities.html
*/
toListIdentities(): this;
/**
* Grants permission to list all of the email templates for your account
*
* Access Level: List
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListIdentityPolicies.html
*/
toListIdentityPolicies(): this;
/**
* Grants permission to list the IP address filters associated with your account
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListReceiptFilters.html
*/
toListReceiptFilters(): this;
/**
* Grants permission to list the receipt rule sets that exist under your account
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListReceiptRuleSets.html
*/
toListReceiptRuleSets(): this;
/**
* Grants permission to list the email templates present in your account
*
* Access Level: List
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListTemplates.html
*/
toListTemplates(): this;
/**
* Grants permission to list all of the email addresses that have been verified in your account
*
* Access Level: Read
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ListVerifiedEmailAddresses.html
*/
toListVerifiedEmailAddresses(): this;
/**
* Grants permission to add or update the delivery options for a configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_PutConfigurationSetDeliveryOptions.html
*/
toPutConfigurationSetDeliveryOptions(): this;
/**
* Grants permission to add or update a sending authorization policy for the specified identity (an email address or a domain)
*
* Access Level: Permissions management
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_PutIdentityPolicy.html
*/
toPutIdentityPolicy(): this;
/**
* Grants permission to reorder the receipt rules within a receipt rule set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ReorderReceiptRuleSet.html
*/
toReorderReceiptRuleSet(): this;
/**
* Grants permission to generate and send a bounce message to the sender of an email you received through Amazon SES
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFromAddress()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBounce.html
*/
toSendBounce(): this;
/**
* Grants permission to compose an email message to multiple destinations
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFeedbackAddress()
* - .ifFromAddress()
* - .ifFromDisplayName()
* - .ifRecipients()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBulkTemplatedEmail.html
*/
toSendBulkTemplatedEmail(): this;
/**
* Grants permission to add an email address to the list of identities and attempts to verify it for your account
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFeedbackAddress()
* - .ifFromAddress()
* - .ifFromDisplayName()
* - .ifRecipients()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendCustomVerificationEmail.html
*/
toSendCustomVerificationEmail(): this;
/**
* Grants permission to send an email message
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFeedbackAddress()
* - .ifFromAddress()
* - .ifFromDisplayName()
* - .ifRecipients()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendEmail.html
*/
toSendEmail(): this;
/**
* Grants permission to send an email message, with header and content specified by the client
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFeedbackAddress()
* - .ifFromAddress()
* - .ifFromDisplayName()
* - .ifRecipients()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html
*/
toSendRawEmail(): this;
/**
* Grants permission to compose an email message using an email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
* - .ifFeedbackAddress()
* - .ifFromAddress()
* - .ifFromDisplayName()
* - .ifRecipients()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SendTemplatedEmail.html
*/
toSendTemplatedEmail(): this;
/**
* Grants permission to set the specified receipt rule set as the active receipt rule set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetActiveReceiptRuleSet.html
*/
toSetActiveReceiptRuleSet(): this;
/**
* Grants permission to enable or disable Easy DKIM signing of email sent from an identity
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityDkimEnabled.html
*/
toSetIdentityDkimEnabled(): this;
/**
* Grants permission to enable or disable whether Amazon SES forwards bounce and complaint notifications for an identity (an email address or a domain)
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityFeedbackForwardingEnabled.html
*/
toSetIdentityFeedbackForwardingEnabled(): this;
/**
* Grants permission to set whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type for a given identity (an email address or a domain)
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityHeadersInNotificationsEnabled.html
*/
toSetIdentityHeadersInNotificationsEnabled(): this;
/**
* Grants permission to enable or disable the custom MAIL FROM domain setup for a verified identity
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html
*/
toSetIdentityMailFromDomain(): this;
/**
* Grants permission to set an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications for a verified identity
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityNotificationTopic.html
*/
toSetIdentityNotificationTopic(): this;
/**
* Grants permission to set the position of the specified receipt rule in the receipt rule set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_SetReceiptRulePosition.html
*/
toSetReceiptRulePosition(): this;
/**
* Grants permission to create a preview of the MIME content of an email when provided with a template and a set of replacement data
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_TestRenderTemplate.html
*/
toTestRenderTemplate(): this;
/**
* Grants permission to enable or disable email sending for your account
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateAccountSendingEnabled.html
*/
toUpdateAccountSendingEnabled(): this;
/**
* Grants permission to update the event destination of a configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetEventDestination.html
*/
toUpdateConfigurationSetEventDestination(): this;
/**
* Grants permission to enable or disable the publishing of reputation metrics for emails sent using a specific configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetReputationMetricsEnabled.html
*/
toUpdateConfigurationSetReputationMetricsEnabled(): this;
/**
* Grants permission to enable or disable email sending for messages sent using a specific configuration set
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetSendingEnabled.html
*/
toUpdateConfigurationSetSendingEnabled(): this;
/**
* Grants permission to modify an association between a configuration set and a custom domain for open and click event tracking
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateConfigurationSetTrackingOptions.html
*/
toUpdateConfigurationSetTrackingOptions(): this;
/**
* Grants permission to update an existing custom verification email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateCustomVerificationEmailTemplate.html
*/
toUpdateCustomVerificationEmailTemplate(): this;
/**
* Grants permission to update a receipt rule
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateReceiptRule.html
*/
toUpdateReceiptRule(): this;
/**
* Grants permission to update an email template
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_UpdateTemplate.html
*/
toUpdateTemplate(): this;
/**
* Grants permission to return a set of DKIM tokens for a domain
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyDomainDkim.html
*/
toVerifyDomainDkim(): this;
/**
* Grants permission to verify a domain
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyDomainIdentity.html
*/
toVerifyDomainIdentity(): this;
/**
* Grants permission to verify an email address
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyEmailAddress.html
*/
toVerifyEmailAddress(): this;
/**
* Grants permission to verify an email identity
*
* Access Level: Write
*
* Possible conditions:
* - .ifApiVersion()
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyEmailIdentity.html
*/
toVerifyEmailIdentity(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type configuration-set to the statement
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_ConfigurationSet.html
*
* @param configurationSetName - Identifier for the configurationSetName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onConfigurationSet(configurationSetName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type custom-verification-email-template to the statement
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_CustomVerificationEmailTemplate.html
*
* @param templateName - Identifier for the templateName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onCustomVerificationEmailTemplate(templateName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type identity to the statement
*
* https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_IdentityInfo.html
*
* @param identityName - Identifier for the identityName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onIdentity(identityName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type template to the statement
*
* https://docs.aws.amazon.com/ses/latest/APIReference/API_Template.html
*
* @param templateName - Identifier for the templateName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onTemplate(templateName: string, account?: string, region?: string, partition?: string): this;
/**
* Filters actions based on the SES API version
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonses.html#amazonses-policy-keys
*
* Applies to actions:
* - .toCloneReceiptRuleSet()
* - .toCreateConfigurationSet()
* - .toCreateConfigurationSetEventDestination()
* - .toCreateConfigurationSetTrackingOptions()
* - .toCreateCustomVerificationEmailTemplate()
* - .toCreateReceiptFilter()
* - .toCreateReceiptRule()
* - .toCreateReceiptRuleSet()
* - .toCreateTemplate()
* - .toDeleteConfigurationSet()
* - .toDeleteConfigurationSetEventDestination()
* - .toDeleteConfigurationSetTrackingOptions()
* - .toDeleteCustomVerificationEmailTemplate()
* - .toDeleteIdentity()
* - .toDeleteIdentityPolicy()
* - .toDeleteReceiptFilter()
* - .toDeleteReceiptRule()
* - .toDeleteReceiptRuleSet()
* - .toDeleteTemplate()
* - .toDeleteVerifiedEmailAddress()
* - .toDescribeActiveReceiptRuleSet()
* - .toDescribeConfigurationSet()
* - .toDescribeReceiptRule()
* - .toDescribeReceiptRuleSet()
* - .toGetAccountSendingEnabled()
* - .toGetCustomVerificationEmailTemplate()
* - .toGetIdentityDkimAttributes()
* - .toGetIdentityMailFromDomainAttributes()
* - .toGetIdentityNotificationAttributes()
* - .toGetIdentityPolicies()
* - .toGetIdentityVerificationAttributes()
* - .toGetSendQuota()
* - .toGetSendStatistics()
* - .toGetTemplate()
* - .toListConfigurationSets()
* - .toListCustomVerificationEmailTemplates()
* - .toListIdentities()
* - .toListIdentityPolicies()
* - .toListReceiptFilters()
* - .toListReceiptRuleSets()
* - .toListTemplates()
* - .toListVerifiedEmailAddresses()
* - .toPutConfigurationSetDeliveryOptions()
* - .toPutIdentityPolicy()
* - .toReorderReceiptRuleSet()
* - .toSendBounce()
* - .toSendBulkTemplatedEmail()
* - .toSendCustomVerificationEmail()
* - .toSendEmail()
* - .toSendRawEmail()
* - .toSendTemplatedEmail()
* - .toSetActiveReceiptRuleSet()
* - .toSetIdentityDkimEnabled()
* - .toSetIdentityFeedbackForwardingEnabled()
* - .toSetIdentityHeadersInNotificationsEnabled()
* - .toSetIdentityMailFromDomain()
* - .toSetIdentityNotificationTopic()
* - .toSetReceiptRulePosition()
* - .toTestRenderTemplate()
* - .toUpdateAccountSendingEnabled()
* - .toUpdateConfigurationSetEventDestination()
* - .toUpdateConfigurationSetReputationMetricsEnabled()
* - .toUpdateConfigurationSetSendingEnabled()
* - .toUpdateConfigurationSetTrackingOptions()
* - .toUpdateCustomVerificationEmailTemplate()
* - .toUpdateReceiptRule()
* - .toUpdateTemplate()
* - .toVerifyDomainDkim()
* - .toVerifyDomainIdentity()
* - .toVerifyEmailAddress()
* - .toVerifyEmailIdentity()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifApiVersion(value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on the "Return-Path" address, which specifies where bounces and complaints are sent by email feedback forwarding
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonses.html#amazonses-policy-keys
*
* Applies to actions:
* - .toSendBulkTemplatedEmail()
* - .toSendCustomVerificationEmail()
* - .toSendEmail()
* - .toSendRawEmail()
* - .toSendTemplatedEmail()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifFeedbackAddress(value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on the "From" address of a message
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonses.html#amazonses-policy-keys
*
* Applies to actions:
* - .toSendBounce()
* - .toSendBulkTemplatedEmail()
* - .toSendCustomVerificationEmail()
* - .toSendEmail()
* - .toSendRawEmail()
* - .toSendTemplatedEmail()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifFromAddress(value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on the "From" address that is used as the display name of a message
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonses.html#amazonses-policy-keys
*
* Applies to actions:
* - .toSendBulkTemplatedEmail()
* - .toSendCustomVerificationEmail()
* - .toSendEmail()
* - .toSendRawEmail()
* - .toSendTemplatedEmail()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifFromDisplayName(value: string | string[], operator?: Operator | string): this;
/**
* Filters actions based on the recipient addresses of a message, which include the "To", "CC", and "BCC" addresses
*
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonses.html#amazonses-policy-keys
*
* Applies to actions:
* - .toSendBulkTemplatedEmail()
* - .toSendCustomVerificationEmail()
* - .toSendEmail()
* - .toSendRawEmail()
* - .toSendTemplatedEmail()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifRecipients(value: string | string[], operator?: Operator | string): this;
/**
* Statement provider for service [ses](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonses.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}