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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.CfnGuardHookProps
CfnGuardHookProps.Builder, CfnGuardHookProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnGuardHookProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnGuardHookProps.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 StringgetAlias()The type name alias for the Hook.final StringThe IAM role that the Hook assumes to retrieve your Guard rules from S3 and optionally write a detailed Guard output report back.final StringSpecifies how the Hook responds when rules fail their evaluation.final StringSpecifies if the Hook isENABLEDorDISABLED.final StringSpecifies the name of an S3 bucket to store the Guard output report.final ObjectSpecifies the S3 location of your input parameters.final ObjectSpecifies the S3 location of your Guard rules.final ObjectSpecifies the stack level filters for the Hook.final ObjectSpecifies the target filters for the Hook.Specifies the list of operations the Hook is run against.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 theCfnGuardHookProps.Builder.
-
-
Method Details
-
getAlias
Description copied from interface:CfnGuardHookPropsThe type name alias for the Hook. This alias must be unique per account and Region.The alias must be in the form
Name1::Name2::Name3and must not begin withAWS. For example,Private::Guard::MyTestHook.- Specified by:
getAliasin interfaceCfnGuardHookProps- See Also:
-
getExecutionRole
Description copied from interface:CfnGuardHookPropsThe IAM role that the Hook assumes to retrieve your Guard rules from S3 and optionally write a detailed Guard output report back.- Specified by:
getExecutionRolein interfaceCfnGuardHookProps- See Also:
-
getFailureMode
Description copied from interface:CfnGuardHookPropsSpecifies 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:
getFailureModein interfaceCfnGuardHookProps- See Also:
-
getHookStatus
Description copied from interface:CfnGuardHookPropsSpecifies if the Hook isENABLEDorDISABLED.Default: - "DISABLED"
- Specified by:
getHookStatusin interfaceCfnGuardHookProps- See Also:
-
getRuleLocation
Description copied from interface:CfnGuardHookPropsSpecifies the S3 location of your Guard rules.Returns union: either
IResolvableorCfnGuardHook.S3LocationProperty- Specified by:
getRuleLocationin interfaceCfnGuardHookProps- See Also:
-
getTargetOperations
Description copied from interface:CfnGuardHookPropsSpecifies 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:
getTargetOperationsin interfaceCfnGuardHookProps- See Also:
-
getLogBucket
Description copied from interface:CfnGuardHookPropsSpecifies the name of an S3 bucket to store the Guard output report.This report contains the results of your Guard rule validations.
- Specified by:
getLogBucketin interfaceCfnGuardHookProps- See Also:
-
getOptions
Description copied from interface:CfnGuardHookPropsSpecifies the S3 location of your input parameters.Returns union: either
IResolvableorCfnGuardHook.OptionsProperty- Specified by:
getOptionsin interfaceCfnGuardHookProps- See Also:
-
getStackFilters
Description copied from interface:CfnGuardHookPropsSpecifies 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-2Returns union: either
IResolvableorCfnGuardHook.StackFiltersProperty- Specified by:
getStackFiltersin interfaceCfnGuardHookProps- See Also:
-
getTargetFilters
Description copied from interface:CfnGuardHookPropsSpecifies 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 - DELETEReturns union: either
IResolvableorCfnGuardHook.TargetFiltersProperty- Specified by:
getTargetFiltersin interfaceCfnGuardHookProps- See Also:
-
$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()
-