The Custom::VerifiedMailFromDomain
waits until a SES MAIL FROM setting reaches the state 'Verified'.
To declare this entity in your AWS CloudFormation template, use the following syntax:
Type : "Custom::VerifiedMailFromDomain"
Properties:
Identity: String
Region: String
ServiceToken : !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:binxio-cfn-ses-provider'
It will return the identity, once it reaches the state Verified
You can specify the following properties:
"Identity" - to await verification
"Region" - the identity is created in
"ServiceToken" - pointing to the SES identity provider
'Ref' will return Identity
.
With 'Fn::GetAtt' the following values are available:
MailFromDomainStatus
- for theIdentity
Identity
- for theIdentity
Region
- of theIdentity