LambdaHookArgs

data class LambdaHookArgs(val alias: Output<String>? = null, val executionRole: Output<String>? = null, val failureMode: Output<LambdaHookFailureMode>? = null, val hookStatus: Output<LambdaHookHookStatus>? = null, val lambdaFunction: Output<String>? = null, val stackFilters: Output<StackFiltersPropertiesArgs>? = null, val targetFilters: Output<Either<TargetFilters0PropertiesArgs, TargetFilters1PropertiesArgs>>? = null, val targetOperations: Output<List<LambdaHookTargetOperation>>? = null) : ConvertibleToJava<LambdaHookArgs>

This is a CloudFormation resource for the first-party AWS::Hooks::LambdaHook.

Constructors

Link copied to clipboard
constructor(alias: Output<String>? = null, executionRole: Output<String>? = null, failureMode: Output<LambdaHookFailureMode>? = null, hookStatus: Output<LambdaHookHookStatus>? = null, lambdaFunction: Output<String>? = null, stackFilters: Output<StackFiltersPropertiesArgs>? = null, targetFilters: Output<Either<TargetFilters0PropertiesArgs, TargetFilters1PropertiesArgs>>? = null, targetOperations: Output<List<LambdaHookTargetOperation>>? = null)

Properties

Link copied to clipboard
val alias: Output<String>? = null

The typename alias for the hook.

Link copied to clipboard
val executionRole: Output<String>? = null

The execution role ARN assumed by Hooks to invoke Lambda.

Link copied to clipboard
val failureMode: Output<LambdaHookFailureMode>? = null

Attribute to specify CloudFormation behavior on hook failure.

Link copied to clipboard
val hookStatus: Output<LambdaHookHookStatus>? = null

Attribute to specify which stacks this hook applies to or should get invoked for

Link copied to clipboard
val lambdaFunction: Output<String>? = null

Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.

Link copied to clipboard

Filters to allow hooks to target specific stack attributes

Link copied to clipboard

Attribute to specify which targets should invoke the hook

Link copied to clipboard

Which operations should this Hook run against? Resource changes, stacks or change sets.

Functions

Link copied to clipboard
open override fun toJava(): LambdaHookArgs