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

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

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

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

Viewing docs for AWS Cloud Control v1.61.0
published on Monday, Apr 13, 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.
    
    

    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
    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"
    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
    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
    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
    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
    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
    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
    verifiedAt String
    Timestamp when the target domain was last successfully verified

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

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

    Txt
    TXT
    TargetDomainDnsVerificationDnsRecordTypeTxt
    TXT
    Txt
    TXT
    Txt
    TXT
    TXT
    TXT
    "TXT"
    TXT

    TargetDomainHttpVerification, TargetDomainHttpVerificationArgs

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

    Verification details to verify registered target domain
    dnsTxt Property Map
    httpRoute Property Map
    method "DNS_TXT" | "HTTP_ROUTE"
    Type of domain ownership verification method

    TargetDomainVerificationDetailsMethod, TargetDomainVerificationDetailsMethodArgs

    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    TargetDomainVerificationDetailsMethodDnsTxt
    DNS_TXT
    TargetDomainVerificationDetailsMethodHttpRoute
    HTTP_ROUTE
    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    DNS_TXT
    DNS_TXT
    HTTP_ROUTE
    HTTP_ROUTE
    "DNS_TXT"
    DNS_TXT
    "HTTP_ROUTE"
    HTTP_ROUTE

    TargetDomainVerificationMethod, TargetDomainVerificationMethodArgs

    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    TargetDomainVerificationMethodDnsTxt
    DNS_TXT
    TargetDomainVerificationMethodHttpRoute
    HTTP_ROUTE
    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    DnsTxt
    DNS_TXT
    HttpRoute
    HTTP_ROUTE
    DNS_TXT
    DNS_TXT
    HTTP_ROUTE
    HTTP_ROUTE
    "DNS_TXT"
    DNS_TXT
    "HTTP_ROUTE"
    HTTP_ROUTE

    TargetDomainVerificationStatus, TargetDomainVerificationStatusArgs

    Pending
    PENDING
    Verified
    VERIFIED
    Failed
    FAILED
    Unreachable
    UNREACHABLE
    TargetDomainVerificationStatusPending
    PENDING
    TargetDomainVerificationStatusVerified
    VERIFIED
    TargetDomainVerificationStatusFailed
    FAILED
    TargetDomainVerificationStatusUnreachable
    UNREACHABLE
    Pending
    PENDING
    Verified
    VERIFIED
    Failed
    FAILED
    Unreachable
    UNREACHABLE
    Pending
    PENDING
    Verified
    VERIFIED
    Failed
    FAILED
    Unreachable
    UNREACHABLE
    PENDING
    PENDING
    VERIFIED
    VERIFIED
    FAILED
    FAILED
    UNREACHABLE
    UNREACHABLE
    "PENDING"
    PENDING
    "VERIFIED"
    VERIFIED
    "FAILED"
    FAILED
    "UNREACHABLE"
    UNREACHABLE

    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.61.0
    published on Monday, Apr 13, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.