Class CfnGuardHookMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardHookMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardHookMixinProps
CfnGuardHookMixinProps-
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.cfnpropertymixins.services.cloudformation.CfnGuardHookMixinProps
CfnGuardHookMixinProps.Builder, CfnGuardHookMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnGuardHookMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnGuardHookMixinProps.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 theCfnGuardHookMixinProps.Builder.
-
-
Method Details
-
getAlias
Description copied from interface:CfnGuardHookMixinPropsThe 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 interfaceCfnGuardHookMixinProps- See Also:
-
getExecutionRole
Description copied from interface:CfnGuardHookMixinPropsThe 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 interfaceCfnGuardHookMixinProps- See Also:
-
getFailureMode
Description copied from interface:CfnGuardHookMixinPropsSpecifies 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 interfaceCfnGuardHookMixinProps- See Also:
-
getHookStatus
Description copied from interface:CfnGuardHookMixinPropsSpecifies if the Hook isENABLEDorDISABLED.Default: - "DISABLED"
- Specified by:
getHookStatusin interfaceCfnGuardHookMixinProps- See Also:
-
getLogBucket
Description copied from interface:CfnGuardHookMixinPropsSpecifies 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 interfaceCfnGuardHookMixinProps- See Also:
-
getOptions
Description copied from interface:CfnGuardHookMixinPropsSpecifies the S3 location of your input parameters.Returns union: either
IResolvableorCfnGuardHookPropsMixin.OptionsProperty- Specified by:
getOptionsin interfaceCfnGuardHookMixinProps- See Also:
-
getRuleLocation
Description copied from interface:CfnGuardHookMixinPropsSpecifies the S3 location of your Guard rules.Returns union: either
IResolvableorCfnGuardHookPropsMixin.S3LocationProperty- Specified by:
getRuleLocationin interfaceCfnGuardHookMixinProps- See Also:
-
getStackFilters
Description copied from interface:CfnGuardHookMixinPropsSpecifies 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
IResolvableorCfnGuardHookPropsMixin.StackFiltersProperty- Specified by:
getStackFiltersin interfaceCfnGuardHookMixinProps- See Also:
-
getTargetFilters
Description copied from interface:CfnGuardHookMixinPropsSpecifies 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
IResolvableorCfnGuardHookPropsMixin.TargetFiltersProperty- Specified by:
getTargetFiltersin interfaceCfnGuardHookMixinProps- See Also:
-
getTargetOperations
Description copied from interface:CfnGuardHookMixinPropsSpecifies the list of operations the Hook is run against.For more information, see Hook targets in the CloudFormation Hooks User Guide .
Valid values:
STACK|RESOURCE|CHANGE_SET|CLOUD_CONTROL- Specified by:
getTargetOperationsin interfaceCfnGuardHookMixinProps- 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()
-