Open
Description
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