1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. securityagent
  6. getTargetDomain

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi

    Resource Type definition for AWS::SecurityAgent::TargetDomain

    Using getTargetDomain

    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 getTargetDomain(args: GetTargetDomainArgs, opts?: InvokeOptions): Promise<GetTargetDomainResult>
    function getTargetDomainOutput(args: GetTargetDomainOutputArgs, opts?: InvokeOptions): Output<GetTargetDomainResult>
    def get_target_domain(target_domain_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetTargetDomainResult
    def get_target_domain_output(target_domain_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetTargetDomainResult]
    func LookupTargetDomain(ctx *Context, args *LookupTargetDomainArgs, opts ...InvokeOption) (*LookupTargetDomainResult, error)
    func LookupTargetDomainOutput(ctx *Context, args *LookupTargetDomainOutputArgs, opts ...InvokeOption) LookupTargetDomainResultOutput

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

    public static class GetTargetDomain 
    {
        public static Task<GetTargetDomainResult> InvokeAsync(GetTargetDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetTargetDomainResult> Invoke(GetTargetDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTargetDomainResult> getTargetDomain(GetTargetDomainArgs args, InvokeOptions options)
    public static Output<GetTargetDomainResult> getTargetDomain(GetTargetDomainArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:securityagent:getTargetDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TargetDomainId string
    Unique identifier of the target domain
    TargetDomainId string
    Unique identifier of the target domain
    targetDomainId String
    Unique identifier of the target domain
    targetDomainId string
    Unique identifier of the target domain
    target_domain_id str
    Unique identifier of the target domain
    targetDomainId String
    Unique identifier of the target domain

    getTargetDomain Result

    The following output properties are available:

    CreatedAt string
    Timestamp when the target domain was registered
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags for the target domain
    TargetDomainId string
    Unique identifier of the target domain
    VerificationDetails Pulumi.AwsNative.SecurityAgent.Outputs.TargetDomainVerificationDetails
    VerificationMethod Pulumi.AwsNative.SecurityAgent.TargetDomainVerificationMethod
    Verification method for the target domain
    VerificationStatus Pulumi.AwsNative.SecurityAgent.TargetDomainVerificationStatus
    Current verification status of the registered target domain
    VerifiedAt string
    Timestamp when the target domain was last successfully verified
    CreatedAt string
    Timestamp when the target domain was registered
    Tags Tag
    Tags for the target domain
    TargetDomainId string
    Unique identifier of the target domain
    VerificationDetails TargetDomainVerificationDetails
    VerificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    VerificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    VerifiedAt string
    Timestamp when the target domain was last successfully verified
    createdAt String
    Timestamp when the target domain was registered
    tags List<Tag>
    Tags for the target domain
    targetDomainId String
    Unique identifier of the target domain
    verificationDetails TargetDomainVerificationDetails
    verificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    verificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verifiedAt String
    Timestamp when the target domain was last successfully verified
    createdAt string
    Timestamp when the target domain was registered
    tags Tag[]
    Tags for the target domain
    targetDomainId string
    Unique identifier of the target domain
    verificationDetails TargetDomainVerificationDetails
    verificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    verificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verifiedAt string
    Timestamp when the target domain was last successfully verified
    created_at str
    Timestamp when the target domain was registered
    tags Sequence[root_Tag]
    Tags for the target domain
    target_domain_id str
    Unique identifier of the target domain
    verification_details TargetDomainVerificationDetails
    verification_method TargetDomainVerificationMethod
    Verification method for the target domain
    verification_status TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verified_at str
    Timestamp when the target domain was last successfully verified
    createdAt String
    Timestamp when the target domain was registered
    tags List<Property Map>
    Tags for the target domain
    targetDomainId String
    Unique identifier of the target domain
    verificationDetails Property Map
    verificationMethod "DNS_TXT" | "HTTP_ROUTE"
    Verification method for the target domain
    verificationStatus "PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE"
    Current verification status of the registered target domain
    verifiedAt String
    Timestamp when the target domain was last successfully verified

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TargetDomainDnsVerification

    DnsRecordName string
    Record name to be added in DNS for target domain
    DnsRecordType Pulumi.AwsNative.SecurityAgent.TargetDomainDnsVerificationDnsRecordType
    Type of record to be added in DNS for target domain
    Token string
    Token used to verify domain ownership
    DnsRecordName string
    Record name to be added in DNS for target domain
    DnsRecordType TargetDomainDnsVerificationDnsRecordType
    Type of record to be added in DNS for target domain
    Token string
    Token used to verify domain ownership
    dnsRecordName String
    Record name to be added in DNS for target domain
    dnsRecordType TargetDomainDnsVerificationDnsRecordType
    Type of record to be added in DNS for target domain
    token String
    Token used to verify domain ownership
    dnsRecordName string
    Record name to be added in DNS for target domain
    dnsRecordType TargetDomainDnsVerificationDnsRecordType
    Type of record to be added in DNS for target domain
    token string
    Token used to verify domain ownership
    dns_record_name str
    Record name to be added in DNS for target domain
    dns_record_type TargetDomainDnsVerificationDnsRecordType
    Type of record to be added in DNS for target domain
    token str
    Token used to verify domain ownership
    dnsRecordName String
    Record name to be added in DNS for target domain
    dnsRecordType "TXT"
    Type of record to be added in DNS for target domain
    token String
    Token used to verify domain ownership

    TargetDomainDnsVerificationDnsRecordType

    TargetDomainHttpVerification

    RoutePath string
    Route path where verification token should be placed
    Token string
    Token used to verify domain ownership
    RoutePath string
    Route path where verification token should be placed
    Token string
    Token used to verify domain ownership
    routePath String
    Route path where verification token should be placed
    token String
    Token used to verify domain ownership
    routePath string
    Route path where verification token should be placed
    token string
    Token used to verify domain ownership
    route_path str
    Route path where verification token should be placed
    token str
    Token used to verify domain ownership
    routePath String
    Route path where verification token should be placed
    token String
    Token used to verify domain ownership

    TargetDomainVerificationDetails

    dnsTxt Property Map
    httpRoute Property Map
    method "DNS_TXT" | "HTTP_ROUTE"
    Type of domain ownership verification method

    TargetDomainVerificationDetailsMethod

    TargetDomainVerificationMethod

    TargetDomainVerificationStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.62.0
    published on Monday, Apr 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.