We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Verification
Method Pulumi.Aws Native. Security Agent. Target Domain Verification Method - Verification method for the target domain
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags for the target domain
- Target
Domain stringName - Domain name of the target domain
- Verification
Method TargetDomain Verification Method - Verification method for the target domain
-
Tag
Args - Tags for the target domain
- Target
Domain stringName - Domain name of the target domain
- verification_
method "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC" - Verification method for the target domain
- list(object)
- Tags for the target domain
- target_
domain_ stringname - Domain name of the target domain
- verification
Method TargetDomain Verification Method - Verification method for the target domain
- List<Tag>
- Tags for the target domain
- target
Domain StringName - Domain name of the target domain
- verification
Method TargetDomain Verification Method - Verification method for the target domain
- Tag[]
- Tags for the target domain
- target
Domain stringName - Domain name of the target domain
- verification_
method TargetDomain Verification Method - Verification method for the target domain
-
Sequence[Tag
Args] - Tags for the target domain
- target_
domain_ strname - Domain name of the target domain
- verification
Method "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC" - Verification method for the target domain
- List<Property Map>
- Tags for the target domain
- target
Domain StringName - 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:
- Created
At string - Timestamp when the target domain was registered
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Domain stringId - Unique identifier of the target domain
- Verification
Details Pulumi.Aws Native. Security Agent. Outputs. Target Domain Verification Details - Verification
Status Pulumi.Aws Native. Security Agent. Target Domain Verification Status - Current verification status of the registered target domain
- Verification
Status stringReason - Reason for the current target domain verification status
- Verified
At 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 stringId - Unique identifier of the target domain
- Verification
Details TargetDomain Verification Details - Verification
Status TargetDomain Verification Status - Current verification status of the registered target domain
- Verification
Status stringReason - Reason for the current target domain verification status
- Verified
At 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_ stringid - 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_ stringreason - Reason for the current target domain verification status
- verified_
at 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 StringId - Unique identifier of the target domain
- verification
Details TargetDomain Verification Details - verification
Status TargetDomain Verification Status - Current verification status of the registered target domain
- verification
Status StringReason - Reason for the current target domain verification status
- verified
At 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 stringId - Unique identifier of the target domain
- verification
Details TargetDomain Verification Details - verification
Status TargetDomain Verification Status - Current verification status of the registered target domain
- verification
Status stringReason - Reason for the current target domain verification status
- verified
At 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_ strid - Unique identifier of the target domain
- verification_
details TargetDomain Verification Details - verification_
status TargetDomain Verification Status - Current verification status of the registered target domain
- verification_
status_ strreason - Reason for the current target domain verification status
- verified_
at str - 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 StringId - Unique identifier of the target domain
- verification
Details Property Map - verification
Status "PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE" - Current verification status of the registered target domain
- verification
Status StringReason - Reason for the current target domain verification status
- verified
At 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) -> TargetDomainfunc 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.
TargetDomainDnsVerification
Represents DNS TXT verification details
- Dns
Record stringName - Record name to be added in DNS for target domain
- Dns
Record Pulumi.Type Aws Native. Security Agent. Target Domain Dns Verification Dns Record Type - Type of record to be added in DNS for target domain
- Token string
- Token used to verify domain ownership
- Dns
Record stringName - Record name to be added in DNS for target domain
- Dns
Record TargetType Domain Dns Verification Dns Record Type - Type of record to be added in DNS for target domain
- Token string
- Token used to verify domain ownership
- dns_
record_ stringname - Record name to be added in DNS for target domain
- dns_
record_ "TXT"type - Type of record to be added in DNS for target domain
- token string
- Token used to verify domain ownership
- dns
Record StringName - Record name to be added in DNS for target domain
- dns
Record TargetType Domain Dns Verification Dns Record Type - Type of record to be added in DNS for target domain
- token String
- Token used to verify domain ownership
- dns
Record stringName - Record name to be added in DNS for target domain
- dns
Record TargetType Domain Dns Verification Dns Record Type - Type of record to be added in DNS for target domain
- token string
- Token used to verify domain ownership
- dns_
record_ strname - Record name to be added in DNS for target domain
- dns_
record_ Targettype Domain Dns Verification Dns Record Type - Type of record to be added in DNS for target domain
- token str
- Token used to verify domain ownership
- dns
Record StringName - Record name to be added in DNS for target domain
- dns
Record "TXT"Type - 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
| Name | Value |
|---|---|
| Txt | TXT |
| Name | Value |
|---|---|
| Target | TXT |
| Value |
|---|
TXT |
| Name | Value |
|---|---|
| Txt | TXT |
| Name | Value |
|---|---|
| Txt | TXT |
| Name | Value |
|---|---|
| TXT | TXT |
| Value |
|---|
TXT |
TargetDomainHttpVerification
Represents HTTP route verification details
- route_
path 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
TargetDomainVerificationDetails
Verification details to verify registered target domain
- Dns
Txt TargetDomain Dns Verification - Http
Route TargetDomain Http Verification - Method
Target
Domain Verification Details Method - Type of domain ownership verification method
- dns_
txt object - http_
route object - method "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC"
- Type of domain ownership verification method
- dns
Txt TargetDomain Dns Verification - http
Route TargetDomain Http Verification - method
Target
Domain Verification Details Method - Type of domain ownership verification method
- dns
Txt TargetDomain Dns Verification - http
Route TargetDomain Http Verification - method
Target
Domain Verification Details Method - Type of domain ownership verification method
- dns_
txt TargetDomain Dns Verification - http_
route TargetDomain Http Verification - method
Target
Domain Verification Details Method - Type of domain ownership verification method
- dns
Txt Property Map - http
Route Property Map - method "DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC"
- Type of domain ownership verification method
TargetDomainVerificationDetailsMethod
Type of domain ownership verification method
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| Target | DNS_TXT |
| Target | HTTP_ROUTE |
| Target | PRIVATE_VPC |
| Value |
|---|
DNS_TXT |
HTTP_ROUTE |
PRIVATE_VPC |
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| DNS_TXT | DNS_TXT |
| HTTP_ROUTE | HTTP_ROUTE |
| PRIVATE_VPC | PRIVATE_VPC |
| Value |
|---|
DNS_TXT |
HTTP_ROUTE |
PRIVATE_VPC |
TargetDomainVerificationMethod
Verification method for the target domain
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| Target | DNS_TXT |
| Target | HTTP_ROUTE |
| Target | PRIVATE_VPC |
| Value |
|---|
DNS_TXT |
HTTP_ROUTE |
PRIVATE_VPC |
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| Dns | DNS_TXT |
| Http | HTTP_ROUTE |
| Private | PRIVATE_VPC |
| Name | Value |
|---|---|
| DNS_TXT | DNS_TXT |
| HTTP_ROUTE | HTTP_ROUTE |
| PRIVATE_VPC | PRIVATE_VPC |
| Value |
|---|
DNS_TXT |
HTTP_ROUTE |
PRIVATE_VPC |
TargetDomainVerificationStatus
Current verification status of the registered target domain
| Name | Value |
|---|---|
| Pending | PENDING |
| Verified | VERIFIED |
| Failed | FAILED |
| Unreachable | UNREACHABLE |
| Name | Value |
|---|---|
| Target | PENDING |
| Target | VERIFIED |
| Target | FAILED |
| Target | UNREACHABLE |
| Value |
|---|
PENDING |
VERIFIED |
FAILED |
UNREACHABLE |
| Name | Value |
|---|---|
| Pending | PENDING |
| Verified | VERIFIED |
| Failed | FAILED |
| Unreachable | UNREACHABLE |
| Name | Value |
|---|---|
| Pending | PENDING |
| Verified | VERIFIED |
| Failed | FAILED |
| Unreachable | UNREACHABLE |
| Name | Value |
|---|---|
| PENDING | PENDING |
| VERIFIED | VERIFIED |
| FAILED | FAILED |
| UNREACHABLE | UNREACHABLE |
| Value |
|---|
PENDING |
VERIFIED |
FAILED |
UNREACHABLE |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi