aws logo
AWS Classic v5.33.0, Mar 24 23

aws.ses.getDomainIdentity

Retrieve the SES domain identity

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.Ses.GetDomainIdentity.Invoke(new()
    {
        Domain = "example.com",
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ses"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.LookupDomainIdentity(ctx, &ses.LookupDomainIdentityArgs{
			Domain: "example.com",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.SesFunctions;
import com.pulumi.aws.ses.inputs.GetDomainIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = SesFunctions.getDomainIdentity(GetDomainIdentityArgs.builder()
            .domain("example.com")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.ses.get_domain_identity(domain="example.com")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.ses.getDomainIdentity({
    domain: "example.com",
});
variables:
  example:
    fn::invoke:
      Function: aws:ses:getDomainIdentity
      Arguments:
        domain: example.com

Using getDomainIdentity

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDomainIdentity(args: GetDomainIdentityArgs, opts?: InvokeOptions): Promise<GetDomainIdentityResult>
function getDomainIdentityOutput(args: GetDomainIdentityOutputArgs, opts?: InvokeOptions): Output<GetDomainIdentityResult>
def get_domain_identity(domain: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDomainIdentityResult
def get_domain_identity_output(domain: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDomainIdentityResult]
func LookupDomainIdentity(ctx *Context, args *LookupDomainIdentityArgs, opts ...InvokeOption) (*LookupDomainIdentityResult, error)
func LookupDomainIdentityOutput(ctx *Context, args *LookupDomainIdentityOutputArgs, opts ...InvokeOption) LookupDomainIdentityResultOutput

> Note: This function is named LookupDomainIdentity in the Go SDK.

public static class GetDomainIdentity 
{
    public static Task<GetDomainIdentityResult> InvokeAsync(GetDomainIdentityArgs args, InvokeOptions? opts = null)
    public static Output<GetDomainIdentityResult> Invoke(GetDomainIdentityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainIdentityResult> getDomainIdentity(GetDomainIdentityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:ses/getDomainIdentity:getDomainIdentity
  arguments:
    # arguments dictionary

The following arguments are supported:

Domain string

Name of the domain

Domain string

Name of the domain

domain String

Name of the domain

domain string

Name of the domain

domain str

Name of the domain

domain String

Name of the domain

getDomainIdentity Result

The following output properties are available:

Arn string

ARN of the domain identity.

Domain string

Name of the domain

Id string

The provider-assigned unique ID for this managed resource.

VerificationToken string

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

Arn string

ARN of the domain identity.

Domain string

Name of the domain

Id string

The provider-assigned unique ID for this managed resource.

VerificationToken string

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

arn String

ARN of the domain identity.

domain String

Name of the domain

id String

The provider-assigned unique ID for this managed resource.

verificationToken String

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

arn string

ARN of the domain identity.

domain string

Name of the domain

id string

The provider-assigned unique ID for this managed resource.

verificationToken string

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

arn str

ARN of the domain identity.

domain str

Name of the domain

id str

The provider-assigned unique ID for this managed resource.

verification_token str

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

arn String

ARN of the domain identity.

domain String

Name of the domain

id String

The provider-assigned unique ID for this managed resource.

verificationToken String

Code which when added to the domain as a TXT record will signal to SES that the owner of the domain has authorized SES to act on their behalf.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.