Package org.cdk8s.plus24.k8s
Class KubeSubjectAccessReview
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus24.k8s.KubeSubjectAccessReview
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)", date="2023-05-05T16:22:34.141Z") @Stability(Stable) public class KubeSubjectAccessReview extends org.cdk8s.ApiObject
SubjectAccessReview checks whether or not a user or group can perform an action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubeSubjectAccessReview.Builder
A fluent builder forKubeSubjectAccessReview
.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKind
GVK
Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SubjectAccessReview".
-
Constructor Summary
Constructors Modifier Constructor Description protected
KubeSubjectAccessReview(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
KubeSubjectAccessReview(software.amazon.jsii.JsiiObjectRef objRef)
KubeSubjectAccessReview(software.constructs.Construct scope, String id, KubeSubjectAccessReviewProps props)
Defines a "io.k8s.api.authorization.v1.SubjectAccessReview" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
manifest(KubeSubjectAccessReviewProps props)
Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SubjectAccessReview".Object
toJson()
Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeSubjectAccessReview
protected KubeSubjectAccessReview(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeSubjectAccessReview
protected KubeSubjectAccessReview(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeSubjectAccessReview
@Stability(Stable) public KubeSubjectAccessReview(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubeSubjectAccessReviewProps props)
Defines a "io.k8s.api.authorization.v1.SubjectAccessReview" API object.- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.props
- initialization props. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@NotNull KubeSubjectAccessReviewProps props)
Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SubjectAccessReview".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props
- initialization props. This parameter is required.
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJson
in classorg.cdk8s.ApiObject
-
-