Package org.cdk8s.plus24
Interface ClusterRoleProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ResourceProps
- All Known Implementing Classes:
ClusterRoleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-11-24T11:18:28.298Z") @Stability(Stable) public interface ClusterRoleProps extends software.amazon.jsii.JsiiSerializable, ResourceProps
Properties for `ClusterRole`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClusterRoleProps.Builder
A builder forClusterRoleProps
static class
ClusterRoleProps.Jsii$Proxy
An implementation forClusterRoleProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ClusterRoleProps.Builder
builder()
default Map<String,String>
getAggregationLabels()
Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules.default List<ClusterRolePolicyRule>
getRules()
A list of rules the role should allow.-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getAggregationLabels
@Stability(Stable) @Nullable default Map<String,String> getAggregationLabels()
Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules.
-
getRules
@Stability(Stable) @Nullable default List<ClusterRolePolicyRule> getRules()
A list of rules the role should allow.Default: []
-
builder
@Stability(Stable) static ClusterRoleProps.Builder builder()
- Returns:
- a
ClusterRoleProps.Builder
ofClusterRoleProps
-
-