1. Packages
  2. Akamai
  3. API Docs
  4. PropertyDomainownershipValidation
Akamai v10.2.0 published on Friday, Nov 14, 2025 by Pulumi
akamai logo
Akamai v10.2.0 published on Friday, Nov 14, 2025 by Pulumi

    Create PropertyDomainownershipValidation Resource

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

    Constructor syntax

    new PropertyDomainownershipValidation(name: string, args: PropertyDomainownershipValidationArgs, opts?: CustomResourceOptions);
    @overload
    def PropertyDomainownershipValidation(resource_name: str,
                                          args: PropertyDomainownershipValidationArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def PropertyDomainownershipValidation(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          domains: Optional[Sequence[PropertyDomainownershipValidationDomainArgs]] = None,
                                          timeouts: Optional[PropertyDomainownershipValidationTimeoutsArgs] = None)
    func NewPropertyDomainownershipValidation(ctx *Context, name string, args PropertyDomainownershipValidationArgs, opts ...ResourceOption) (*PropertyDomainownershipValidation, error)
    public PropertyDomainownershipValidation(string name, PropertyDomainownershipValidationArgs args, CustomResourceOptions? opts = null)
    public PropertyDomainownershipValidation(String name, PropertyDomainownershipValidationArgs args)
    public PropertyDomainownershipValidation(String name, PropertyDomainownershipValidationArgs args, CustomResourceOptions options)
    
    type: akamai:PropertyDomainownershipValidation
    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 PropertyDomainownershipValidationArgs
    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 PropertyDomainownershipValidationArgs
    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 PropertyDomainownershipValidationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PropertyDomainownershipValidationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PropertyDomainownershipValidationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var propertyDomainownershipValidationResource = new Akamai.PropertyDomainownershipValidation("propertyDomainownershipValidationResource", new()
    {
        Domains = new[]
        {
            new Akamai.Inputs.PropertyDomainownershipValidationDomainArgs
            {
                DomainName = "string",
                ValidationScope = "string",
                ValidationMethod = "string",
            },
        },
        Timeouts = new Akamai.Inputs.PropertyDomainownershipValidationTimeoutsArgs
        {
            Create = "string",
            Update = "string",
        },
    });
    
    example, err := akamai.NewPropertyDomainownershipValidation(ctx, "propertyDomainownershipValidationResource", &akamai.PropertyDomainownershipValidationArgs{
    	Domains: akamai.PropertyDomainownershipValidationDomainArray{
    		&akamai.PropertyDomainownershipValidationDomainArgs{
    			DomainName:       pulumi.String("string"),
    			ValidationScope:  pulumi.String("string"),
    			ValidationMethod: pulumi.String("string"),
    		},
    	},
    	Timeouts: &akamai.PropertyDomainownershipValidationTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var propertyDomainownershipValidationResource = new PropertyDomainownershipValidation("propertyDomainownershipValidationResource", PropertyDomainownershipValidationArgs.builder()
        .domains(PropertyDomainownershipValidationDomainArgs.builder()
            .domainName("string")
            .validationScope("string")
            .validationMethod("string")
            .build())
        .timeouts(PropertyDomainownershipValidationTimeoutsArgs.builder()
            .create("string")
            .update("string")
            .build())
        .build());
    
    property_domainownership_validation_resource = akamai.PropertyDomainownershipValidation("propertyDomainownershipValidationResource",
        domains=[{
            "domain_name": "string",
            "validation_scope": "string",
            "validation_method": "string",
        }],
        timeouts={
            "create": "string",
            "update": "string",
        })
    
    const propertyDomainownershipValidationResource = new akamai.PropertyDomainownershipValidation("propertyDomainownershipValidationResource", {
        domains: [{
            domainName: "string",
            validationScope: "string",
            validationMethod: "string",
        }],
        timeouts: {
            create: "string",
            update: "string",
        },
    });
    
    type: akamai:PropertyDomainownershipValidation
    properties:
        domains:
            - domainName: string
              validationMethod: string
              validationScope: string
        timeouts:
            create: string
            update: string
    

    PropertyDomainownershipValidation 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 PropertyDomainownershipValidation resource accepts the following input properties:

    domains List<Property Map>
    List of domains to be validated.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PropertyDomainownershipValidation Resource

    Get an existing PropertyDomainownershipValidation 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>, state?: PropertyDomainownershipValidationState, opts?: CustomResourceOptions): PropertyDomainownershipValidation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domains: Optional[Sequence[PropertyDomainownershipValidationDomainArgs]] = None,
            timeouts: Optional[PropertyDomainownershipValidationTimeoutsArgs] = None) -> PropertyDomainownershipValidation
    func GetPropertyDomainownershipValidation(ctx *Context, name string, id IDInput, state *PropertyDomainownershipValidationState, opts ...ResourceOption) (*PropertyDomainownershipValidation, error)
    public static PropertyDomainownershipValidation Get(string name, Input<string> id, PropertyDomainownershipValidationState? state, CustomResourceOptions? opts = null)
    public static PropertyDomainownershipValidation get(String name, Output<String> id, PropertyDomainownershipValidationState state, CustomResourceOptions options)
    resources:  _:    type: akamai:PropertyDomainownershipValidation    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    domains List<Property Map>
    List of domains to be validated.
    timeouts Property Map

    Supporting Types

    PropertyDomainownershipValidationDomain, PropertyDomainownershipValidationDomainArgs

    DomainName string
    Your domain's name.
    ValidationScope string
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    ValidationMethod string
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.
    DomainName string
    Your domain's name.
    ValidationScope string
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    ValidationMethod string
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.
    domainName String
    Your domain's name.
    validationScope String
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    validationMethod String
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.
    domainName string
    Your domain's name.
    validationScope string
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    validationMethod string
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.
    domain_name str
    Your domain's name.
    validation_scope str
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    validation_method str
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.
    domainName String
    Your domain's name.
    validationScope String
    Your domain's validation scope. Possible values are:

    • HOST - The scope is only the exactly specified domain.
    • WILDCARD - The scope covers any hostname within one subdomain level.
    • DOMAIN - The scope covers any hostnames under the domain, regardless of the level of subdomains.
    validationMethod String
    The method used to validate the domain. Possible values are:

    • DNS_CNAME - For this method, Akamai generates a cname_record that you copy as the target to a CNAME record of your DNS configuration. The record's name needs to be in the _acme-challenge.domain-name format.
    • DNS_TXT - For this method, Akamai generates a txt_record with a token value that you copy as the target to a TXT record of your DNS configuration. The record's name needs to be in the _akamai-{host|wildcard|domain}-challenge.domainName format based on the validation scope.
    • HTTP - Applies only to domains with the HOST validation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by the validation_challenge.http_file.path or use a redirect to the validation_challenge.http_redirect.to with the token.

    PropertyDomainownershipValidationTimeouts, PropertyDomainownershipValidationTimeoutsArgs

    Create string
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    Update string
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.
    Create string
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    Update string
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.
    create String
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    update String
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.
    create string
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    update string
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.
    create str
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    update str
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.
    create String
    Optional configurable domains validation timeout to be used on resource create. By default it's 30m.
    update String
    Optional configurable domains validation timeout to be used on resource update. By default it's 30m.

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v10.2.0 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate