published on Monday, Jun 1, 2026 by imperva
published on Monday, Jun 1, 2026 by imperva
Create CloudOriginDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudOriginDomain(name: string, args: CloudOriginDomainArgs, opts?: CustomResourceOptions);@overload
def CloudOriginDomain(resource_name: str,
args: CloudOriginDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudOriginDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
region: Optional[str] = None,
site_id: Optional[float] = None,
account_id: Optional[str] = None,
cloud_origin_domain_id: Optional[str] = None,
port: Optional[float] = None)func NewCloudOriginDomain(ctx *Context, name string, args CloudOriginDomainArgs, opts ...ResourceOption) (*CloudOriginDomain, error)public CloudOriginDomain(string name, CloudOriginDomainArgs args, CustomResourceOptions? opts = null)
public CloudOriginDomain(String name, CloudOriginDomainArgs args)
public CloudOriginDomain(String name, CloudOriginDomainArgs args, CustomResourceOptions options)
type: incapsula:CloudOriginDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "incapsula_cloudorigindomain" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudOriginDomainArgs
- 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 CloudOriginDomainArgs
- 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 CloudOriginDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudOriginDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudOriginDomainArgs
- 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 cloudOriginDomainResource = new Incapsula.CloudOriginDomain("cloudOriginDomainResource", new()
{
Domain = "string",
Region = "string",
SiteId = 0,
AccountId = "string",
CloudOriginDomainId = "string",
Port = 0,
});
example, err := incapsula.NewCloudOriginDomain(ctx, "cloudOriginDomainResource", &incapsula.CloudOriginDomainArgs{
Domain: pulumi.String("string"),
Region: pulumi.String("string"),
SiteId: pulumi.Float64(0),
AccountId: pulumi.String("string"),
CloudOriginDomainId: pulumi.String("string"),
Port: pulumi.Float64(0),
})
resource "incapsula_cloudorigindomain" "cloudOriginDomainResource" {
domain = "string"
region = "string"
site_id = 0
account_id = "string"
cloud_origin_domain_id = "string"
port = 0
}
var cloudOriginDomainResource = new CloudOriginDomain("cloudOriginDomainResource", CloudOriginDomainArgs.builder()
.domain("string")
.region("string")
.siteId(0.0)
.accountId("string")
.cloudOriginDomainId("string")
.port(0.0)
.build());
cloud_origin_domain_resource = incapsula.CloudOriginDomain("cloudOriginDomainResource",
domain="string",
region="string",
site_id=float(0),
account_id="string",
cloud_origin_domain_id="string",
port=float(0))
const cloudOriginDomainResource = new incapsula.CloudOriginDomain("cloudOriginDomainResource", {
domain: "string",
region: "string",
siteId: 0,
accountId: "string",
cloudOriginDomainId: "string",
port: 0,
});
type: incapsula:CloudOriginDomain
properties:
accountId: string
cloudOriginDomainId: string
domain: string
port: 0
region: string
siteId: 0
CloudOriginDomain 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 CloudOriginDomain resource accepts the following input properties:
- Domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- Region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- Site
Id double - Numeric identifier of the site.
- Account
Id string - Numeric identifier of the account to operate on.
- Cloud
Origin stringDomain Id - Port double
- Port number for the origin. Valid range: 1-65535. Default: 443
- Domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- Region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- Site
Id float64 - Numeric identifier of the site.
- Account
Id string - Numeric identifier of the account to operate on.
- Cloud
Origin stringDomain Id - Port float64
- Port number for the origin. Valid range: 1-65535. Default: 443
- domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site_
id number - Numeric identifier of the site.
- account_
id string - Numeric identifier of the account to operate on.
- cloud_
origin_ stringdomain_ id - port number
- Port number for the origin. Valid range: 1-65535. Default: 443
- domain String
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- region String
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id Double - Numeric identifier of the site.
- account
Id String - Numeric identifier of the account to operate on.
- cloud
Origin StringDomain Id - port Double
- Port number for the origin. Valid range: 1-65535. Default: 443
- domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id number - Numeric identifier of the site.
- account
Id string - Numeric identifier of the account to operate on.
- cloud
Origin stringDomain Id - port number
- Port number for the origin. Valid range: 1-65535. Default: 443
- domain str
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- region str
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site_
id float - Numeric identifier of the site.
- account_
id str - Numeric identifier of the account to operate on.
- cloud_
origin_ strdomain_ id - port float
- Port number for the origin. Valid range: 1-65535. Default: 443
- domain String
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- region String
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id Number - Numeric identifier of the site.
- account
Id String - Numeric identifier of the account to operate on.
- cloud
Origin StringDomain Id - port Number
- Port number for the origin. Valid range: 1-65535. Default: 443
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudOriginDomain resource produces the following output properties:
- Created
At string - Timestamp when the cloud origin domain was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- Updated
At string - Timestamp when the cloud origin domain was last updated.
- Created
At string - Timestamp when the cloud origin domain was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- Updated
At string - Timestamp when the cloud origin domain was last updated.
- created_
at string - Timestamp when the cloud origin domain was created.
- id string
- The provider-assigned unique ID for this managed resource.
- imperva_
origin_ stringdomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- updated_
at string - Timestamp when the cloud origin domain was last updated.
- created
At String - Timestamp when the cloud origin domain was created.
- id String
- The provider-assigned unique ID for this managed resource.
- imperva
Origin StringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- updated
At String - Timestamp when the cloud origin domain was last updated.
- created
At string - Timestamp when the cloud origin domain was created.
- id string
- The provider-assigned unique ID for this managed resource.
- imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- updated
At string - Timestamp when the cloud origin domain was last updated.
- created_
at str - Timestamp when the cloud origin domain was created.
- id str
- The provider-assigned unique ID for this managed resource.
- imperva_
origin_ strdomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- updated_
at str - Timestamp when the cloud origin domain was last updated.
- created
At String - Timestamp when the cloud origin domain was created.
- id String
- The provider-assigned unique ID for this managed resource.
- imperva
Origin StringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- updated
At String - Timestamp when the cloud origin domain was last updated.
Look up Existing CloudOriginDomain Resource
Get an existing CloudOriginDomain 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?: CloudOriginDomainState, opts?: CustomResourceOptions): CloudOriginDomain@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cloud_origin_domain_id: Optional[str] = None,
created_at: Optional[str] = None,
domain: Optional[str] = None,
imperva_origin_domain: Optional[str] = None,
port: Optional[float] = None,
region: Optional[str] = None,
site_id: Optional[float] = None,
updated_at: Optional[str] = None) -> CloudOriginDomainfunc GetCloudOriginDomain(ctx *Context, name string, id IDInput, state *CloudOriginDomainState, opts ...ResourceOption) (*CloudOriginDomain, error)public static CloudOriginDomain Get(string name, Input<string> id, CloudOriginDomainState? state, CustomResourceOptions? opts = null)public static CloudOriginDomain get(String name, Output<String> id, CloudOriginDomainState state, CustomResourceOptions options)resources: _: type: incapsula:CloudOriginDomain get: id: ${id}import {
to = incapsula_cloudorigindomain.example
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.
- Account
Id string - Numeric identifier of the account to operate on.
- Cloud
Origin stringDomain Id - Created
At string - Timestamp when the cloud origin domain was created.
- Domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- Imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- Port double
- Port number for the origin. Valid range: 1-65535. Default: 443
- Region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- Site
Id double - Numeric identifier of the site.
- Updated
At string - Timestamp when the cloud origin domain was last updated.
- Account
Id string - Numeric identifier of the account to operate on.
- Cloud
Origin stringDomain Id - Created
At string - Timestamp when the cloud origin domain was created.
- Domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- Imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- Port float64
- Port number for the origin. Valid range: 1-65535. Default: 443
- Region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- Site
Id float64 - Numeric identifier of the site.
- Updated
At string - Timestamp when the cloud origin domain was last updated.
- account_
id string - Numeric identifier of the account to operate on.
- cloud_
origin_ stringdomain_ id - created_
at string - Timestamp when the cloud origin domain was created.
- domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- imperva_
origin_ stringdomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- port number
- Port number for the origin. Valid range: 1-65535. Default: 443
- region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site_
id number - Numeric identifier of the site.
- updated_
at string - Timestamp when the cloud origin domain was last updated.
- account
Id String - Numeric identifier of the account to operate on.
- cloud
Origin StringDomain Id - created
At String - Timestamp when the cloud origin domain was created.
- domain String
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- imperva
Origin StringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- port Double
- Port number for the origin. Valid range: 1-65535. Default: 443
- region String
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id Double - Numeric identifier of the site.
- updated
At String - Timestamp when the cloud origin domain was last updated.
- account
Id string - Numeric identifier of the account to operate on.
- cloud
Origin stringDomain Id - created
At string - Timestamp when the cloud origin domain was created.
- domain string
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- imperva
Origin stringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- port number
- Port number for the origin. Valid range: 1-65535. Default: 443
- region string
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id number - Numeric identifier of the site.
- updated
At string - Timestamp when the cloud origin domain was last updated.
- account_
id str - Numeric identifier of the account to operate on.
- cloud_
origin_ strdomain_ id - created_
at str - Timestamp when the cloud origin domain was created.
- domain str
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- imperva_
origin_ strdomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- port float
- Port number for the origin. Valid range: 1-65535. Default: 443
- region str
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site_
id float - Numeric identifier of the site.
- updated_
at str - Timestamp when the cloud origin domain was last updated.
- account
Id String - Numeric identifier of the account to operate on.
- cloud
Origin StringDomain Id - created
At String - Timestamp when the cloud origin domain was created.
- domain String
- The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
- imperva
Origin StringDomain - The Imperva-managed origin domain that is used to route traffic to the cloud origin.
- port Number
- Port number for the origin. Valid range: 1-65535. Default: 443
- region String
- The cloud region where the origin is located (e.g., us-east-1 for AWS, us-central1 for GCP).
- site
Id Number - Numeric identifier of the site.
- updated
At String - Timestamp when the cloud origin domain was last updated.
Package Details
- Repository
- incapsula imperva/terraform-provider-incapsula
- License
- Notes
- This Pulumi package is based on the
incapsulaTerraform Provider.
published on Monday, Jun 1, 2026 by imperva