Package software.amazon.awscdk
Interface CfnLambdaHookProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLambdaHookProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:02.087Z")
@Stability(Stable)
public interface CfnLambdaHookProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLambdaHook.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
CfnLambdaHookProps cfnLambdaHookProps = CfnLambdaHookProps.builder()
.alias("alias")
.executionRole("executionRole")
.failureMode("failureMode")
.hookStatus("hookStatus")
.lambdaFunction("lambdaFunction")
.targetOperations(List.of("targetOperations"))
// the properties below are optional
.stackFilters(StackFiltersProperty.builder()
.filteringCriteria("filteringCriteria")
// the properties below are optional
.stackNames(StackNamesProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.stackRoles(StackRolesProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.build())
.targetFilters(TargetFiltersProperty.builder()
.actions(List.of("actions"))
.invocationPoints(List.of("invocationPoints"))
.targetNames(List.of("targetNames"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLambdaHookPropsstatic final classAn implementation forCfnLambdaHookProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLambdaHookProps.Builderbuilder()getAlias()The typename alias for the hook.IAM Role ARN.Attribute to specify CloudFormation behavior on hook failure.Attribute to specify which stacks this hook applies to or should get invoked for.Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.default ObjectFilters to allow hooks to target specific stack attributes.default ObjectWhich operations should this Hook run against?Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
The typename alias for the hook.- See Also:
-
getExecutionRole
IAM Role ARN.- See Also:
-
getFailureMode
Attribute to specify CloudFormation behavior on hook failure.- See Also:
-
getHookStatus
Attribute to specify which stacks this hook applies to or should get invoked for.Default: - "ENABLED"
- See Also:
-
getLambdaFunction
Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.- See Also:
-
getTargetOperations
Which operations should this Hook run against?Resource changes, stacks or change sets.
- See Also:
-
getStackFilters
Filters to allow hooks to target specific stack attributes.- See Also:
-
getTargetFilters
- See Also:
-
builder
- Returns:
- a
CfnLambdaHookProps.BuilderofCfnLambdaHookProps
-