Show / Hide Table of Contents

Class DomainIdentityVerification

Represents a successful verification of an SES domain identity.

Most commonly, this resource is used together with aws.route53.Record and aws.ses.DomainIdentity to request an SES domain identity, deploy the required DNS verification records, and wait for verification to complete.

WARNING: This resource implements a part of the verification workflow. It does not represent a real-world entity in AWS, therefore changing or deleting this resource on its own has no immediate effect.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Ses.DomainIdentity("example", new Aws.Ses.DomainIdentityArgs
    {
        Domain = "example.com",
    });
    var exampleAmazonsesVerificationRecord = new Aws.Route53.Record("exampleAmazonsesVerificationRecord", new Aws.Route53.RecordArgs
    {
        Name = example.Id.Apply(id => $"_amazonses.{id}"),
        Records = 
        {
            example.VerificationToken,
        },
        Ttl = "600",
        Type = "TXT",
        ZoneId = aws_route53_zone.Example.Zone_id,
    });
    var exampleVerification = new Aws.Ses.DomainIdentityVerification("exampleVerification", new Aws.Ses.DomainIdentityVerificationArgs
    {
        Domain = example.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DomainIdentityVerification
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ses
Assembly: Pulumi.Aws.dll
Syntax
public class DomainIdentityVerification : CustomResource

Constructors

View Source

DomainIdentityVerification(String, DomainIdentityVerificationArgs, CustomResourceOptions)

Create a DomainIdentityVerification resource with the given unique name, arguments, and options.

Declaration
public DomainIdentityVerification(string name, DomainIdentityVerificationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DomainIdentityVerificationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The ARN of the domain identity.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

Domain

The domain name of the SES domain identity to verify.

Declaration
public Output<string> Domain { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, DomainIdentityVerificationState, CustomResourceOptions)

Get an existing DomainIdentityVerification resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static DomainIdentityVerification Get(string name, Input<string> id, DomainIdentityVerificationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DomainIdentityVerificationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DomainIdentityVerification
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.