Package org.cdk8s.plus24.k8s
Class PolicyRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.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 forPolicyRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.PolicyRule
PolicyRule.Builder, PolicyRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(PolicyRule.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRule.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
List<String>
getApiGroups()
APIGroups is the name of the APIGroup that contains the resources.List<String>
getNonResourceUrLs()
NonResourceURLs is a set of partial urls that a user should have access to.List<String>
getResourceNames()
ResourceNames is an optional white list of names that the rule applies to.List<String>
getResources()
Resources is a list of resources this rule applies to.List<String>
getVerbs()
Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.int
hashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(PolicyRule.Builder builder)
Constructor that initializes the object based on literal property values passed by thePolicyRule.Builder
.
-
-
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 interfacePolicyRule
-
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 interfacePolicyRule
-
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 interfacePolicyRule
-
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 interfacePolicyRule
-
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 interfacePolicyRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-