Package org.cdk8s.plus24.k8s
Interface KubeClusterRoleProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeClusterRoleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-07-08T00:25:14.445Z") @Stability(Stable) public interface KubeClusterRoleProps extends software.amazon.jsii.JsiiSerializable
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeClusterRoleProps.Builder
A builder forKubeClusterRoleProps
static class
KubeClusterRoleProps.Jsii$Proxy
An implementation forKubeClusterRoleProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeClusterRoleProps.Builder
builder()
default AggregationRule
getAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.default ObjectMeta
getMetadata()
Standard object's metadata.default List<PolicyRule>
getRules()
Rules holds all the PolicyRules for this ClusterRole.
-
-
-
Method Detail
-
getAggregationRule
@Stability(Stable) @Nullable default AggregationRule getAggregationRule()
AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.
-
getRules
@Stability(Stable) @Nullable default List<PolicyRule> getRules()
Rules holds all the PolicyRules for this ClusterRole.
-
builder
@Stability(Stable) static KubeClusterRoleProps.Builder builder()
- Returns:
- a
KubeClusterRoleProps.Builder
ofKubeClusterRoleProps
-
-