PrincipalArgs

data class PrincipalArgs(val condition: Output<String>? = null, val groups: Output<List<String>>? = null, val ips: Output<List<String>>? = null, val namespaces: Output<List<String>>? = null, val notGroups: Output<List<String>>? = null, val notIps: Output<List<String>>? = null, val notNamespaces: Output<List<String>>? = null, val notUsers: Output<List<String>>? = null, val properties: Output<Map<String, String>>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<PrincipalArgs>

Deprecated All fields defined in a principal are ANDed.

Constructors

Link copied to clipboard
fun PrincipalArgs(condition: Output<String>? = null, groups: Output<List<String>>? = null, ips: Output<List<String>>? = null, namespaces: Output<List<String>>? = null, notGroups: Output<List<String>>? = null, notIps: Output<List<String>>? = null, notNamespaces: Output<List<String>>? = null, notUsers: Output<List<String>>? = null, properties: Output<Map<String, String>>? = null, users: Output<List<String>>? = null)

Functions

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

Properties

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

An expression to specify custom condition.

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

The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.

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

IPv4 or IPv6 address or range (In CIDR format)

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

The namespaces. Exact match, prefix match, and suffix match are supported.

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

Negate of groups. Specifies exclusions.

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

Negate of IPs. Specifies exclusions.

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

Negate of namespaces. Specifies exclusions.

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

Negate of users. Specifies exclusions.

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, request.headers[version]: "v1". The properties are ANDed together.

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

The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.