Skip to content

(aws-ses): Allow importing EmailIdentity by arn #33981

Open
@Bee-Taylor

Description

@Bee-Taylor

Describe the feature

It would be nice if we could import an EmailIdentity by arn instead of just by name

Importing an EmailIdentity could then work like:

const scope: Stack | Construct
const id: string

const arn = 'arn:aws:ses:{region}:{account}:identity/{name}'
const emailIdentity: IEmailIdentity = EmailIdentity.fromEmailIdentityArn(scope, id, arn)

Use Case

Consistency is nice, lots of other cdk-libs allow for a similar Resource.from{resource}Arn(...), so being able to do the same thing for an EmailIdentity will allow us to follow the same patterns

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.1002.0

Environment details (OS name and version, etc.)

Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-sesRelated to Amazon Simple Email Servicefeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions