Package org.cdk8s.plus25.k8s
Interface SubjectAccessReviewSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubjectAccessReviewSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.825Z") @Stability(Stable) public interface SubjectAccessReviewSpec extends software.amazon.jsii.JsiiSerializable
SubjectAccessReviewSpec is a description of the access request.Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSubjectAccessReviewSpec.BuilderA builder forSubjectAccessReviewSpecstatic classSubjectAccessReviewSpec.Jsii$ProxyAn implementation forSubjectAccessReviewSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SubjectAccessReviewSpec.Builderbuilder()default Map<String,List<String>>getExtra()Extra corresponds to the user.Info.GetExtra() method from the authenticator.default List<String>getGroups()Groups is the groups you're testing for.default NonResourceAttributesgetNonResourceAttributes()NonResourceAttributes describes information for a non-resource access request.default ResourceAttributesgetResourceAttributes()ResourceAuthorizationAttributes describes information for a resource access request.default StringgetUid()UID information about the requesting user.default StringgetUser()User is the user you're testing for.
-
-
-
Method Detail
-
getExtra
@Stability(Stable) @Nullable default Map<String,List<String>> getExtra()
Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
-
getGroups
@Stability(Stable) @Nullable default List<String> getGroups()
Groups is the groups you're testing for.
-
getNonResourceAttributes
@Stability(Stable) @Nullable default NonResourceAttributes getNonResourceAttributes()
NonResourceAttributes describes information for a non-resource access request.
-
getResourceAttributes
@Stability(Stable) @Nullable default ResourceAttributes getResourceAttributes()
ResourceAuthorizationAttributes describes information for a resource access request.
-
getUid
@Stability(Stable) @Nullable default String getUid()
UID information about the requesting user.
-
getUser
@Stability(Stable) @Nullable default String getUser()
User is the user you're testing for.If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
-
builder
@Stability(Stable) static SubjectAccessReviewSpec.Builder builder()
- Returns:
- a
SubjectAccessReviewSpec.BuilderofSubjectAccessReviewSpec
-
-