Class PolicyRule.Jsii$Proxy

  • All Implemented Interfaces:
    PolicyRule, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    PolicyRule

    @Stability(Stable)
    @Internal
    public static final class PolicyRule.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements PolicyRule
    An implementation for PolicyRule
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getVerbs

        public final List<String> getVerbs()
        Description copied from interface: PolicyRule
        Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.

        '*' represents all verbs.

        Specified by:
        getVerbs in interface PolicyRule
      • getApiGroups

        public final List<String> getApiGroups()
        Description copied from interface: PolicyRule
        APIGroups is the name of the APIGroup that contains the resources.

        If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.

        Specified by:
        getApiGroups in interface PolicyRule
      • getNonResourceUrLs

        public final List<String> getNonResourceUrLs()
        Description copied from interface: PolicyRule
        NonResourceURLs is a set of partial urls that a user should have access to.

        *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.

        Specified by:
        getNonResourceUrLs in interface PolicyRule
      • getResourceNames

        public final List<String> getResourceNames()
        Description copied from interface: PolicyRule
        ResourceNames is an optional white list of names that the rule applies to.

        An empty set means that everything is allowed.

        Specified by:
        getResourceNames in interface PolicyRule
      • getResources

        public final List<String> getResources()
        Description copied from interface: PolicyRule
        Resources is a list of resources this rule applies to.

        '*' represents all resources.

        Specified by:
        getResources in interface PolicyRule
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object