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
Domainownership Validation Domain> - List of domains to be validated.
- Timeouts
Property
Domainownership Validation Timeouts
- Domains
[]Property
Domainownership Validation Domain Args - List of domains to be validated.
- Timeouts
Property
Domainownership Validation Timeouts Args
- domains
List<Property
Domainownership Validation Domain> - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts
- domains
Property
Domainownership Validation Domain[] - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts
- domains
Sequence[Property
Domainownership Validation Domain Args] - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts Args
- 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) -> PropertyDomainownershipValidationfunc 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.
- Domains
List<Property
Domainownership Validation Domain> - List of domains to be validated.
- Timeouts
Property
Domainownership Validation Timeouts
- Domains
[]Property
Domainownership Validation Domain Args - List of domains to be validated.
- Timeouts
Property
Domainownership Validation Timeouts Args
- domains
List<Property
Domainownership Validation Domain> - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts
- domains
Property
Domainownership Validation Domain[] - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts
- domains
Sequence[Property
Domainownership Validation Domain Args] - List of domains to be validated.
- timeouts
Property
Domainownership Validation Timeouts Args
- domains List<Property Map>
- List of domains to be validated.
- timeouts Property Map
Supporting Types
PropertyDomainownershipValidationDomain, PropertyDomainownershipValidationDomainArgs
- Domain
Name string - Your domain's name.
- Validation
Scope 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.
- Validation
Method string - The method used to validate the domain. Possible values are:
DNS_CNAME- For this method, Akamai generates acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith the token.
- Domain
Name string - Your domain's name.
- Validation
Scope 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.
- Validation
Method string - The method used to validate the domain. Possible values are:
DNS_CNAME- For this method, Akamai generates acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith the token.
- domain
Name String - Your domain's name.
- validation
Scope 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.
- validation
Method String - The method used to validate the domain. Possible values are:
DNS_CNAME- For this method, Akamai generates acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith the token.
- domain
Name string - Your domain's name.
- validation
Scope 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.
- validation
Method string - The method used to validate the domain. Possible values are:
DNS_CNAME- For this method, Akamai generates acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith 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 acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith the token.
- domain
Name String - Your domain's name.
- validation
Scope 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.
- validation
Method String - The method used to validate the domain. Possible values are:
DNS_CNAME- For this method, Akamai generates acname_recordthat you copy as thetargetto aCNAMErecord of your DNS configuration. The record's name needs to be in the_acme-challenge.domain-nameformat.DNS_TXT- For this method, Akamai generates atxt_recordwith a tokenvaluethat you copy as thetargetto aTXTrecord of your DNS configuration. The record's name needs to be in the_akamai-{host|wildcard|domain}-challenge.domainNameformat based on the validation scope.HTTP- Applies only to domains with theHOSTvalidation scope. For this method, you create the file containing a token and place it on your HTTP server in the location specified by thevalidation_challenge.http_file.pathor use a redirect to thevalidation_challenge.http_redirect.towith the token.
PropertyDomainownershipValidationTimeouts, PropertyDomainownershipValidationTimeoutsArgs
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
