Package org.cdk8s.plus24
Interface ClusterRolePolicyRule
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ClusterRolePolicyRule.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-09T03:04:24.793Z") @Stability(Stable) public interface ClusterRolePolicyRule extends software.amazon.jsii.JsiiSerializable
Policy rule of a `ClusterRole.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClusterRolePolicyRule.Builder
A builder forClusterRolePolicyRule
static class
ClusterRolePolicyRule.Jsii$Proxy
An implementation forClusterRolePolicyRule
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ClusterRolePolicyRule.Builder
builder()
List<IApiEndpoint>
getEndpoints()
Endpoints this rule applies to.List<String>
getVerbs()
Verbs to allow.
-
-
-
Method Detail
-
getEndpoints
@Stability(Stable) @NotNull List<IApiEndpoint> getEndpoints()
Endpoints this rule applies to.Can be either api resources or non api resources.
-
builder
@Stability(Stable) static ClusterRolePolicyRule.Builder builder()
- Returns:
- a
ClusterRolePolicyRule.Builder
ofClusterRolePolicyRule
-
-