We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 13, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- 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 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" - 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
- 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
- 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
- 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
- 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
- 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
- verified
At String - Timestamp when the target domain was last successfully verified
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TargetDomainDnsVerification, TargetDomainDnsVerificationArgs
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 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, TargetDomainDnsVerificationDnsRecordTypeArgs
- Txt
TXT
- Target
Domain Dns Verification Dns Record Type Txt TXT
- Txt
TXT
- Txt
TXT
- TXT
TXT
- "TXT"
TXT
TargetDomainHttpVerification, TargetDomainHttpVerificationArgs
Represents HTTP route verification details- route_
path str - Route path where verification token should be placed
- token str
- Token used to verify domain ownership
TargetDomainVerificationDetails, TargetDomainVerificationDetailsArgs
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 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"
- Type of domain ownership verification method
TargetDomainVerificationDetailsMethod, TargetDomainVerificationDetailsMethodArgs
- Dns
Txt DNS_TXT- Http
Route HTTP_ROUTE
- Target
Domain Verification Details Method Dns Txt DNS_TXT- Target
Domain Verification Details Method Http Route HTTP_ROUTE
- Dns
Txt DNS_TXT- Http
Route HTTP_ROUTE
- Dns
Txt DNS_TXT- Http
Route HTTP_ROUTE
- DNS_TXT
DNS_TXT- HTTP_ROUTE
HTTP_ROUTE
- "DNS_TXT"
DNS_TXT- "HTTP_ROUTE"
HTTP_ROUTE
TargetDomainVerificationMethod, TargetDomainVerificationMethodArgs
- Dns
Txt DNS_TXT- Http
Route HTTP_ROUTE
- Target
Domain Verification Method Dns Txt DNS_TXT- Target
Domain Verification Method Http Route HTTP_ROUTE
- Dns
Txt DNS_TXT- Http
Route HTTP_ROUTE
- Dns
Txt DNS_TXT- Http
Route 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
- Target
Domain Verification Status Pending PENDING- Target
Domain Verification Status Verified VERIFIED- Target
Domain Verification Status Failed FAILED- Target
Domain Verification Status 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
- "PENDING"
PENDING- "VERIFIED"
VERIFIED- "FAILED"
FAILED- "UNREACHABLE"
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 Monday, Apr 13, 2026 by Pulumi
