Class AuditAnnotationV1Alpha1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus28.k8s.AuditAnnotationV1Alpha1.Jsii$Proxy
-
- All Implemented Interfaces:
AuditAnnotationV1Alpha1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AuditAnnotationV1Alpha1
@Stability(Stable) @Internal public static final class AuditAnnotationV1Alpha1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AuditAnnotationV1Alpha1
An implementation forAuditAnnotationV1Alpha1
-
-
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.AuditAnnotationV1Alpha1
AuditAnnotationV1Alpha1.Builder, AuditAnnotationV1Alpha1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(AuditAnnotationV1Alpha1.Builder builder)Constructor that initializes the object based on literal property values passed by theAuditAnnotationV1Alpha1.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)StringgetKey()key specifies the audit annotation key.StringgetValueExpression()valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value.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(AuditAnnotationV1Alpha1.Builder builder)
Constructor that initializes the object based on literal property values passed by theAuditAnnotationV1Alpha1.Builder.
-
-
Method Detail
-
getKey
public final String getKey()
Description copied from interface:AuditAnnotationV1Alpha1key specifies the audit annotation key.The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
Required.
- Specified by:
getKeyin interfaceAuditAnnotationV1Alpha1
-
getValueExpression
public final String getValueExpression()
Description copied from interface:AuditAnnotationV1Alpha1valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value.The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
Required.
- Specified by:
getValueExpressionin interfaceAuditAnnotationV1Alpha1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-