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.63.2 (build a8a8833)", date="2022-08-08T02:54:19.171Z") @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 classClusterRoleProps.BuilderA builder forClusterRolePropsstatic classClusterRoleProps.Jsii$ProxyAn implementation forClusterRoleProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ClusterRoleProps.Builderbuilder()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.BuilderofClusterRoleProps
-
-