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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::SecurityAgent::TargetDomain

    Create TargetDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TargetDomain(name: string, args: TargetDomainArgs, opts?: CustomResourceOptions);
    @overload
    def TargetDomain(resource_name: str,
                     args: TargetDomainArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def TargetDomain(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     verification_method: Optional[TargetDomainVerificationMethod] = None,
                     tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                     target_domain_name: Optional[str] = None)
    func NewTargetDomain(ctx *Context, name string, args TargetDomainArgs, opts ...ResourceOption) (*TargetDomain, error)
    public TargetDomain(string name, TargetDomainArgs args, CustomResourceOptions? opts = null)
    public TargetDomain(String name, TargetDomainArgs args)
    public TargetDomain(String name, TargetDomainArgs args, CustomResourceOptions options)
    
    type: aws-native:securityagent:TargetDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_securityagent_target_domain" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TargetDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TargetDomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TargetDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TargetDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TargetDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TargetDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TargetDomain resource accepts the following input properties:

    VerificationMethod Pulumi.AwsNative.SecurityAgent.TargetDomainVerificationMethod
    Verification method for the target domain
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags for the target domain
    TargetDomainName string
    Domain name of the target domain
    VerificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    Tags TagArgs
    Tags for the target domain
    TargetDomainName string
    Domain name of the target domain
    verification_method "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC"
    Verification method for the target domain
    tags list(object)
    Tags for the target domain
    target_domain_name string
    Domain name of the target domain
    verificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    tags List<Tag>
    Tags for the target domain
    targetDomainName String
    Domain name of the target domain
    verificationMethod TargetDomainVerificationMethod
    Verification method for the target domain
    tags Tag[]
    Tags for the target domain
    targetDomainName string
    Domain name of the target domain
    verification_method TargetDomainVerificationMethod
    Verification method for the target domain
    tags Sequence[TagArgs]
    Tags for the target domain
    target_domain_name str
    Domain name of the target domain
    verificationMethod "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC"
    Verification method for the target domain
    tags List<Property Map>
    Tags for the target domain
    targetDomainName String
    Domain name of the target domain

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TargetDomain resource produces the following output properties:

    CreatedAt string
    Timestamp when the target domain was registered
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetDomainId string
    Unique identifier of the target domain
    VerificationDetails Pulumi.AwsNative.SecurityAgent.Outputs.TargetDomainVerificationDetails
    VerificationStatus Pulumi.AwsNative.SecurityAgent.TargetDomainVerificationStatus
    Current verification status of the registered target domain
    VerificationStatusReason string
    Reason for the current target domain verification status
    VerifiedAt string
    Timestamp when the target domain was last successfully verified
    CreatedAt string
    Timestamp when the target domain was registered
    Id string
    The provider-assigned unique ID for this managed resource.
    TargetDomainId string
    Unique identifier of the target domain
    VerificationDetails TargetDomainVerificationDetails
    VerificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    VerificationStatusReason string
    Reason for the current target domain verification status
    VerifiedAt string
    Timestamp when the target domain was last successfully verified
    created_at string
    Timestamp when the target domain was registered
    id string
    The provider-assigned unique ID for this managed resource.
    target_domain_id string
    Unique identifier of the target domain
    verification_details object
    verification_status "PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE"
    Current verification status of the registered target domain
    verification_status_reason string
    Reason for the current target domain verification status
    verified_at string
    Timestamp when the target domain was last successfully verified
    createdAt String
    Timestamp when the target domain was registered
    id String
    The provider-assigned unique ID for this managed resource.
    targetDomainId String
    Unique identifier of the target domain
    verificationDetails TargetDomainVerificationDetails
    verificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verificationStatusReason String
    Reason for the current target domain verification status
    verifiedAt String
    Timestamp when the target domain was last successfully verified
    createdAt string
    Timestamp when the target domain was registered
    id string
    The provider-assigned unique ID for this managed resource.
    targetDomainId string
    Unique identifier of the target domain
    verificationDetails TargetDomainVerificationDetails
    verificationStatus TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verificationStatusReason string
    Reason for the current target domain verification status
    verifiedAt string
    Timestamp when the target domain was last successfully verified
    created_at str
    Timestamp when the target domain was registered
    id str
    The provider-assigned unique ID for this managed resource.
    target_domain_id str
    Unique identifier of the target domain
    verification_details TargetDomainVerificationDetails
    verification_status TargetDomainVerificationStatus
    Current verification status of the registered target domain
    verification_status_reason str
    Reason for the current target domain verification status
    verified_at str
    Timestamp when the target domain was last successfully verified
    createdAt String
    Timestamp when the target domain was registered
    id String
    The provider-assigned unique ID for this managed resource.
    targetDomainId String
    Unique identifier of the target domain
    verificationDetails Property Map
    verificationStatus "PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE"
    Current verification status of the registered target domain
    verificationStatusReason String
    Reason for the current target domain verification status
    verifiedAt String
    Timestamp when the target domain was last successfully verified

    Look up Existing TargetDomain Resource

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

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): TargetDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> TargetDomain
    func GetTargetDomain(ctx *Context, name string, id IDInput, state *TargetDomainState, opts ...ResourceOption) (*TargetDomain, error)
    public static TargetDomain Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static TargetDomain get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingTargetDomain:    type: aws-native:securityagent:TargetDomain    get:      id: ${id}
    import {
      to = aws-native_securityagent_target_domain.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state TargetDomainState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.

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

    Represents DNS TXT verification details

    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
    dns_record_name string
    Record name to be added in DNS for target domain
    dns_record_type "TXT"
    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

    Type of record to be added in DNS for target domain

    NameValue
    TxtTXT
    NameValue
    TargetDomainDnsVerificationDnsRecordTypeTxtTXT
    Value
    TXT
    NameValue
    TxtTXT
    NameValue
    TxtTXT
    NameValue
    TXTTXT
    Value
    TXT

    TargetDomainHttpVerification

    Represents HTTP route verification details

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

    Verification details to verify registered target domain

    TargetDomainVerificationDetailsMethod

    Type of domain ownership verification method

    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    TargetDomainVerificationDetailsMethodDnsTxtDNS_TXT
    TargetDomainVerificationDetailsMethodHttpRouteHTTP_ROUTE
    TargetDomainVerificationDetailsMethodPrivateVpcPRIVATE_VPC
    Value
    DNS_TXT
    HTTP_ROUTE
    PRIVATE_VPC
    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    DNS_TXTDNS_TXT
    HTTP_ROUTEHTTP_ROUTE
    PRIVATE_VPCPRIVATE_VPC
    Value
    DNS_TXT
    HTTP_ROUTE
    PRIVATE_VPC

    TargetDomainVerificationMethod

    Verification method for the target domain

    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    TargetDomainVerificationMethodDnsTxtDNS_TXT
    TargetDomainVerificationMethodHttpRouteHTTP_ROUTE
    TargetDomainVerificationMethodPrivateVpcPRIVATE_VPC
    Value
    DNS_TXT
    HTTP_ROUTE
    PRIVATE_VPC
    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    DnsTxtDNS_TXT
    HttpRouteHTTP_ROUTE
    PrivateVpcPRIVATE_VPC
    NameValue
    DNS_TXTDNS_TXT
    HTTP_ROUTEHTTP_ROUTE
    PRIVATE_VPCPRIVATE_VPC
    Value
    DNS_TXT
    HTTP_ROUTE
    PRIVATE_VPC

    TargetDomainVerificationStatus

    Current verification status of the registered target domain

    NameValue
    PendingPENDING
    VerifiedVERIFIED
    FailedFAILED
    UnreachableUNREACHABLE
    NameValue
    TargetDomainVerificationStatusPendingPENDING
    TargetDomainVerificationStatusVerifiedVERIFIED
    TargetDomainVerificationStatusFailedFAILED
    TargetDomainVerificationStatusUnreachableUNREACHABLE
    Value
    PENDING
    VERIFIED
    FAILED
    UNREACHABLE
    NameValue
    PendingPENDING
    VerifiedVERIFIED
    FailedFAILED
    UnreachableUNREACHABLE
    NameValue
    PendingPENDING
    VerifiedVERIFIED
    FailedFAILED
    UnreachableUNREACHABLE
    NameValue
    PENDINGPENDING
    VERIFIEDVERIFIED
    FAILEDFAILED
    UNREACHABLEUNREACHABLE
    Value
    PENDING
    VERIFIED
    FAILED
    UNREACHABLE

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial