EcdPolicyGroup

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.

NOTE: Available in v1.130.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.EcdPolicyGroup;
import com.pulumi.alicloud.eds.EcdPolicyGroupArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeAccessPolicyRuleArgs;
import com.pulumi.alicloud.eds.inputs.EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new EcdPolicyGroup("default", EcdPolicyGroupArgs.builder()
.authorizeAccessPolicyRules(EcdPolicyGroupAuthorizeAccessPolicyRuleArgs.builder()
.cidrIp("1.2.3.45/24")
.description("my-description1")
.build())
.authorizeSecurityPolicyRules(EcdPolicyGroupAuthorizeSecurityPolicyRuleArgs.builder()
.cidrIp("1.2.3.4/24")
.description("my-description")
.ipProtocol("TCP")
.policy("accept")
.portRange("80/80")
.priority("1")
.type("inflow")
.build())
.clipboard("read")
.localDrive("read")
.policyGroupName("my-policy-group")
.usbRedirect("off")
.watermark("off")
.build());
}
}

Import

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

$ pulumi import alicloud:eds/ecdPolicyGroup:EcdPolicyGroup example <id>

Properties

Link copied to clipboard

The rule of authorize access rule.

Link copied to clipboard
val cameraRedirect: Output<String>

Whether to enable local camera redirection. Valid values: on, off.

Link copied to clipboard
val clipboard: Output<String>

The clipboard policy. Valid values: off, read, readwrite.

Link copied to clipboard
val domainList: Output<String>?

The list of domain.

Link copied to clipboard
val htmlAccess: Output<String>

The access of html5. Valid values: off, on.

Link copied to clipboard

The html5 file transfer. Valid values: all, download, off, upload.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val localDrive: Output<String>

Local drive redirect policy. Valid values: readwrite, off, read.

Link copied to clipboard
val policyGroupName: Output<String>?

The name of policy group.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val recording: Output<String>

Whether to enable screen recording. Valid values: off, alltime, period.

Link copied to clipboard
val recordingEndTime: Output<String>?

The end time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.

Link copied to clipboard
val recordingExpires: Output<Int>

The screen recording video retention. Valid values between 30 and 180. This return value is meaningful only when the value of recording is period or alltime.

Link copied to clipboard
val recordingFps: Output<Int>

The fps of recording. Valid values: 2, 5, 10, 15.

Link copied to clipboard

The start time of recording, value: HH:MM:SS. This return value is meaningful only when the value of recording is period.

Link copied to clipboard
val status: Output<String>

The status of policy.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val usbRedirect: Output<String>

The usb redirect policy. Valid values: off, on.

Link copied to clipboard
val visualQuality: Output<String>

The quality of visual. Valid values: high, lossless, low, medium.

Link copied to clipboard
val watermark: Output<String>

The watermark policy. Valid values: off, on.

Link copied to clipboard

The watermark transparency. Valid values: DARK, LIGHT, MIDDLE.

Link copied to clipboard
val watermarkType: Output<String>

The type of watemark. Valid values: EndUserId, HostName.