Class MatchCondition.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus28.k8s.MatchCondition.Jsii$Proxy
-
- All Implemented Interfaces:
MatchCondition,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MatchCondition
@Stability(Stable) @Internal public static final class MatchCondition.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MatchCondition
An implementation forMatchCondition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus28.k8s.MatchCondition
MatchCondition.Builder, MatchCondition.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MatchCondition.Builder builder)Constructor that initializes the object based on literal property values passed by theMatchCondition.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetExpression()Expression represents the expression which will be evaluated by CEL.StringgetName()Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MatchCondition.Builder builder)
Constructor that initializes the object based on literal property values passed by theMatchCondition.Builder.
-
-
Method Detail
-
getExpression
public final String getExpression()
Description copied from interface:MatchConditionExpression represents the expression which will be evaluated by CEL.Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the request resource. Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
Required.
- Specified by:
getExpressionin interfaceMatchCondition
-
getName
public final String getName()
Description copied from interface:MatchConditionName is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes.A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
Required.
- Specified by:
getNamein interfaceMatchCondition
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-