alicloud_ecd_policy_group

Provides a Elastic Desktop Service (ECD) Policy Group resource.

For information about Elastic Desktop Service (ECD) Policy Group and how to use it, see What is Policy Group.

Example Usage

Basic Usage

resource "alicloud_ecd_policy_group" "default" {
  policy_group_name = "terraform-example"
  clipboard         = "read"
  local_drive       = "read"
  usb_redirect      = "off"
  watermark         = "off"

  authorize_access_policy_rules {
    description = "terraform-example"
    cidr_ip     = "1.2.3.45/24"
  }
  authorize_security_policy_rules {
    type        = "inflow"
    policy      = "accept"
    description = "terraform-example"
    port_range  = "80/80"
    ip_protocol = "TCP"
    priority    = "1"
    cidr_ip     = "1.2.3.4/24"
  }
}

Argument Reference

The following arguments are supported:

authorize_security_policy_rules

The authorize_security_policy_rules supports the following:

authorize_access_policy_rules

The authorize_access_policy_rules supports the following:

Attributes Reference

The following attributes are exported:

Import

Elastic Desktop Service (ECD) Policy Group can be imported using the id, e.g.

$ terraform import alicloud_ecd_policy_group.example <id>