AclPolicyArgs

data class AclPolicyArgs(val description: Output<String>? = null, val jobAcl: Output<AclPolicyJobAclArgs>? = null, val name: Output<String>? = null, val rulesHcl: Output<String>? = null) : ConvertibleToJava<AclPolicyArgs>

Manages an ACL policy registered in Nomad.

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, jobAcl: Output<AclPolicyJobAclArgs>? = null, name: Output<String>? = null, rulesHcl: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

(string: "") - A description of the policy.

Link copied to clipboard
val jobAcl: Output<AclPolicyJobAclArgs>? = null

(``JobACL``: <optional>) - Options for assigning the ACL rules to a job, group, or task.

Link copied to clipboard
val name: Output<String>? = null

(string: <required>) - A unique name for the policy.

Link copied to clipboard
val rulesHcl: Output<String>? = null

(string: <required>) - The contents of the policy to register, as HCL or JSON.

Functions

Link copied to clipboard
open override fun toJava(): AclPolicyArgs