1. Packages
  2. Packages
  3. Incapsula Provider
  4. API Docs
  5. CloudOriginDomain
Viewing docs for incapsula 3.38.3
published on Monday, Jun 1, 2026 by imperva
Viewing docs for incapsula 3.38.3
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).
    SiteId double
    Numeric identifier of the site.
    AccountId string
    Numeric identifier of the account to operate on.
    CloudOriginDomainId string
    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).
    SiteId float64
    Numeric identifier of the site.
    AccountId string
    Numeric identifier of the account to operate on.
    CloudOriginDomainId string
    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_domain_id string
    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).
    siteId Double
    Numeric identifier of the site.
    accountId String
    Numeric identifier of the account to operate on.
    cloudOriginDomainId String
    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).
    siteId number
    Numeric identifier of the site.
    accountId string
    Numeric identifier of the account to operate on.
    cloudOriginDomainId string
    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_domain_id str
    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).
    siteId Number
    Numeric identifier of the site.
    accountId String
    Numeric identifier of the account to operate on.
    cloudOriginDomainId String
    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:

    CreatedAt string
    Timestamp when the cloud origin domain was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImpervaOriginDomain string
    The Imperva-managed origin domain that is used to route traffic to the cloud origin.
    UpdatedAt string
    Timestamp when the cloud origin domain was last updated.
    CreatedAt string
    Timestamp when the cloud origin domain was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImpervaOriginDomain string
    The Imperva-managed origin domain that is used to route traffic to the cloud origin.
    UpdatedAt 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_domain string
    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.
    createdAt String
    Timestamp when the cloud origin domain was created.
    id String
    The provider-assigned unique ID for this managed resource.
    impervaOriginDomain String
    The Imperva-managed origin domain that is used to route traffic to the cloud origin.
    updatedAt String
    Timestamp when the cloud origin domain was last updated.
    createdAt string
    Timestamp when the cloud origin domain was created.
    id string
    The provider-assigned unique ID for this managed resource.
    impervaOriginDomain string
    The Imperva-managed origin domain that is used to route traffic to the cloud origin.
    updatedAt 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_domain str
    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.
    createdAt String
    Timestamp when the cloud origin domain was created.
    id String
    The provider-assigned unique ID for this managed resource.
    impervaOriginDomain String
    The Imperva-managed origin domain that is used to route traffic to the cloud origin.
    updatedAt 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) -> CloudOriginDomain
    func 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.
    The following state arguments are supported:
    AccountId string
    Numeric identifier of the account to operate on.
    CloudOriginDomainId string
    CreatedAt string
    Timestamp when the cloud origin domain was created.
    Domain string
    The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
    ImpervaOriginDomain string
    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).
    SiteId double
    Numeric identifier of the site.
    UpdatedAt string
    Timestamp when the cloud origin domain was last updated.
    AccountId string
    Numeric identifier of the account to operate on.
    CloudOriginDomainId string
    CreatedAt string
    Timestamp when the cloud origin domain was created.
    Domain string
    The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
    ImpervaOriginDomain string
    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).
    SiteId float64
    Numeric identifier of the site.
    UpdatedAt string
    Timestamp when the cloud origin domain was last updated.
    account_id string
    Numeric identifier of the account to operate on.
    cloud_origin_domain_id string
    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_domain string
    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.
    accountId String
    Numeric identifier of the account to operate on.
    cloudOriginDomainId String
    createdAt String
    Timestamp when the cloud origin domain was created.
    domain String
    The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
    impervaOriginDomain String
    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).
    siteId Double
    Numeric identifier of the site.
    updatedAt String
    Timestamp when the cloud origin domain was last updated.
    accountId string
    Numeric identifier of the account to operate on.
    cloudOriginDomainId string
    createdAt string
    Timestamp when the cloud origin domain was created.
    domain string
    The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
    impervaOriginDomain string
    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).
    siteId number
    Numeric identifier of the site.
    updatedAt string
    Timestamp when the cloud origin domain was last updated.
    account_id str
    Numeric identifier of the account to operate on.
    cloud_origin_domain_id str
    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_domain str
    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.
    accountId String
    Numeric identifier of the account to operate on.
    cloudOriginDomainId String
    createdAt String
    Timestamp when the cloud origin domain was created.
    domain String
    The origin domain (FQDN). Must be unique per site. Maximum 253 characters.
    impervaOriginDomain String
    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).
    siteId Number
    Numeric identifier of the site.
    updatedAt 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 incapsula Terraform Provider.
    Viewing docs for incapsula 3.38.3
    published on Monday, Jun 1, 2026 by imperva

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial