Package org.cdk8s.plus28.k8s
Interface NonResourcePolicyRuleV1Beta3
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NonResourcePolicyRuleV1Beta3.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.834Z") @Stability(Stable) public interface NonResourcePolicyRuleV1Beta3 extends software.amazon.jsii.JsiiSerializable
NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL.A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNonResourcePolicyRuleV1Beta3.BuilderA builder forNonResourcePolicyRuleV1Beta3static classNonResourcePolicyRuleV1Beta3.Jsii$ProxyAn implementation forNonResourcePolicyRuleV1Beta3
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static NonResourcePolicyRuleV1Beta3.Builderbuilder()List<String>getNonResourceUrLs()nonResourceURLsis a set of url prefixes that a user should have access to and may not be empty.List<String>getVerbs()verbsis a list of matching verbs and may not be empty.
-
-
-
Method Detail
-
getNonResourceUrLs
@Stability(Stable) @NotNull List<String> getNonResourceUrLs()
nonResourceURLsis a set of url prefixes that a user should have access to and may not be empty.For example:
- "/healthz" is legal
- "/hea*" is illegal
- "/hea" is legal but matches nothing
- "/hea/*" also matches nothing
- "/healthz/" matches all per-component health checks. "" matches all non-resource urls. if it is present, it must be the only entry. Required.
-
getVerbs
@Stability(Stable) @NotNull List<String> getVerbs()
verbsis a list of matching verbs and may not be empty."*" matches all verbs. If it is present, it must be the only entry. Required.
-
builder
@Stability(Stable) static NonResourcePolicyRuleV1Beta3.Builder builder()
-
-