Class PolicyProps.Jsii$Proxy
- All Implemented Interfaces:
PolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PolicyProps
PolicyProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.PolicyProps
PolicyProps.Builder, PolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(PolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by thePolicyProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringOptional description for the policy.final IPolicyEngineThe policy engine this policy belongs to.final StringThe name of the policy.final PolicyStatementThe Cedar policy statement for this policy.final PolicyValidationModeValidation mode for the policy.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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
Constructor that initializes the object based on literal property values passed by thePolicyProps.Builder.
-
-
Method Details
-
getPolicyEngine
Description copied from interface:PolicyPropsThe policy engine this policy belongs to.[disable-awslint:prefer-ref-interface]
- Specified by:
getPolicyEnginein interfacePolicyProps
-
getStatement
Description copied from interface:PolicyPropsThe Cedar policy statement for this policy.Build a type-safe statement with the
PolicyStatementfactories, which validate at synthesis time and reject values that cannot be represented safely in Cedar.For raw Cedar (features this API does not model, or migrating an existing policy), use
PolicyStatement.fromCedar('...'). That string is used exactly as given: the module does not escape, quote, or validate it, so it is treated as trusted input and you own its correctness and safety. Do not assemble it from values that come from outside your application, such as a request body or a database record.- Specified by:
getStatementin interfacePolicyProps
-
getDescription
Description copied from interface:PolicyPropsOptional description for the policy.Maximum length of 4096.
Default: - No description
- Specified by:
getDescriptionin interfacePolicyProps
-
getPolicyName
Description copied from interface:PolicyPropsThe name of the policy.Valid characters: a-z, A-Z, 0-9, _ (underscore) Must start with a letter, 1-48 characters Pattern: ^[A-Za-z][A-Za-z0-9_]*$
Default: - Auto-generated unique name
- Specified by:
getPolicyNamein interfacePolicyProps
-
getValidationMode
Description copied from interface:PolicyPropsValidation mode for the policy.Controls how Cedar analyzer validation findings are handled.
Default: PolicyValidationMode.FAIL_ON_ANY_FINDINGS
- Specified by:
getValidationModein interfacePolicyProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-