Package org.cdk8s.plus24.k8s
Interface KubeRoleProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeRoleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-11-24T11:18:28.907Z") @Stability(Stable) public interface KubeRoleProps extends software.amazon.jsii.JsiiSerializable
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeRoleProps.Builder
A builder forKubeRoleProps
static class
KubeRoleProps.Jsii$Proxy
An implementation forKubeRoleProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeRoleProps.Builder
builder()
default ObjectMeta
getMetadata()
Standard object's metadata.default List<PolicyRule>
getRules()
Rules holds all the PolicyRules for this Role.
-
-
-
Method Detail
-
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 Role.
-
builder
@Stability(Stable) static KubeRoleProps.Builder builder()
- Returns:
- a
KubeRoleProps.Builder
ofKubeRoleProps
-
-