Package org.cdk8s.plus25.k8s
Interface KubeClusterRoleProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeClusterRoleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.589Z") @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 classKubeClusterRoleProps.BuilderA builder forKubeClusterRolePropsstatic classKubeClusterRoleProps.Jsii$ProxyAn implementation forKubeClusterRoleProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeClusterRoleProps.Builderbuilder()default AggregationRulegetAggregationRule()AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.default ObjectMetagetMetadata()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.BuilderofKubeClusterRoleProps
-
-