Class CfnGuardHookProps.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardHookProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardHookProps
CfnGuardHookProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.CfnGuardHookProps
CfnGuardHookProps.Builder, CfnGuardHookProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnGuardHookProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnGuardHookProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
getAlias()
The type name alias for the Hook.final String
The IAM role that the Hook assumes to retrieve your Guard rules from S3 and optionally write a detailed Guard output report back.final String
Specifies how the Hook responds when rules fail their evaluation.final String
Specifies if the Hook isENABLED
orDISABLED
.final String
Specifies the name of an S3 bucket to store the Guard output report.final Object
Specifies the S3 location of your input parameters.final Object
Specifies the S3 location of your Guard rules.final Object
Specifies the stack level filters for the Hook.final Object
Specifies the target filters for the Hook.Specifies the list of operations the Hook is run against.final int
hashCode()
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 theCfnGuardHookProps.Builder
.
-
-
Method Details
-
getAlias
Description copied from interface:CfnGuardHookProps
The type name alias for the Hook. This alias must be unique per account and Region.The alias must be in the form
Name1::Name2::Name3
and must not begin withAWS
. For example,Private::Guard::MyTestHook
.- Specified by:
getAlias
in interfaceCfnGuardHookProps
- See Also:
-
getExecutionRole
Description copied from interface:CfnGuardHookProps
The IAM role that the Hook assumes to retrieve your Guard rules from S3 and optionally write a detailed Guard output report back.- Specified by:
getExecutionRole
in interfaceCfnGuardHookProps
- See Also:
-
getFailureMode
Description copied from interface:CfnGuardHookProps
Specifies how the Hook responds when rules fail their evaluation.FAIL
: Prevents the action from proceeding. This is helpful for enforcing strict compliance or security policies.WARN
: Issues warnings to users but allows actions to continue. This is useful for non-critical validations or informational checks.
Default: - "WARN"
- Specified by:
getFailureMode
in interfaceCfnGuardHookProps
- See Also:
-
getHookStatus
Description copied from interface:CfnGuardHookProps
Specifies if the Hook isENABLED
orDISABLED
.Default: - "DISABLED"
- Specified by:
getHookStatus
in interfaceCfnGuardHookProps
- See Also:
-
getRuleLocation
Description copied from interface:CfnGuardHookProps
Specifies the S3 location of your Guard rules.- Specified by:
getRuleLocation
in interfaceCfnGuardHookProps
- See Also:
-
getTargetOperations
Description copied from interface:CfnGuardHookProps
Specifies the list of operations the Hook is run against.For more information, see Hook targets in the AWS CloudFormation Hooks User Guide .
Valid values:
STACK
|RESOURCE
|CHANGE_SET
|CLOUD_CONTROL
- Specified by:
getTargetOperations
in interfaceCfnGuardHookProps
- See Also:
-
getLogBucket
Description copied from interface:CfnGuardHookProps
Specifies the name of an S3 bucket to store the Guard output report.This report contains the results of your Guard rule validations.
- Specified by:
getLogBucket
in interfaceCfnGuardHookProps
- See Also:
-
getOptions
Description copied from interface:CfnGuardHookProps
Specifies the S3 location of your input parameters.- Specified by:
getOptions
in interfaceCfnGuardHookProps
- See Also:
-
getStackFilters
Description copied from interface:CfnGuardHookProps
Specifies the stack level filters for the Hook.Example stack level filter in JSON:
"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}
Example stack level filter in YAML:
StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2
- Specified by:
getStackFilters
in interfaceCfnGuardHookProps
- See Also:
-
getTargetFilters
Description copied from interface:CfnGuardHookProps
Specifies the target filters for the Hook.Example target filter in JSON:
"TargetFilters": {"Actions": [ "Create", "Update", "Delete" ]}
Example target filter in YAML:
TargetFilters: Actions: - CREATE - UPDATE - DELETE
- Specified by:
getTargetFilters
in interfaceCfnGuardHookProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-