Package org.cdk8s.plus28.k8s
Interface PolicyRulesWithSubjectsV1Beta3
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyRulesWithSubjectsV1Beta3.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.853Z") @Stability(Stable) public interface PolicyRulesWithSubjectsV1Beta3 extends software.amazon.jsii.JsiiSerializable
PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver.The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPolicyRulesWithSubjectsV1Beta3.BuilderA builder forPolicyRulesWithSubjectsV1Beta3static classPolicyRulesWithSubjectsV1Beta3.Jsii$ProxyAn implementation forPolicyRulesWithSubjectsV1Beta3
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PolicyRulesWithSubjectsV1Beta3.Builderbuilder()default List<NonResourcePolicyRuleV1Beta3>getNonResourceRules()nonResourceRulesis a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.default List<ResourcePolicyRuleV1Beta3>getResourceRules()resourceRulesis a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.List<SubjectV1Beta3>getSubjects()subjects is the list of normal user, serviceaccount, or group that this rule cares about.
-
-
-
Method Detail
-
getSubjects
@Stability(Stable) @NotNull List<SubjectV1Beta3> getSubjects()
subjects is the list of normal user, serviceaccount, or group that this rule cares about.There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.
-
getNonResourceRules
@Stability(Stable) @Nullable default List<NonResourcePolicyRuleV1Beta3> getNonResourceRules()
nonResourceRulesis a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
-
getResourceRules
@Stability(Stable) @Nullable default List<ResourcePolicyRuleV1Beta3> getResourceRules()
resourceRulesis a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.At least one of
resourceRulesandnonResourceRuleshas to be non-empty.
-
builder
@Stability(Stable) static PolicyRulesWithSubjectsV1Beta3.Builder builder()
-
-