We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.cloudformation.getLambdaHook
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
This is a CloudFormation resource for the first-party AWS::Hooks::LambdaHook.
Using getLambdaHook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLambdaHook(args: GetLambdaHookArgs, opts?: InvokeOptions): Promise<GetLambdaHookResult>
function getLambdaHookOutput(args: GetLambdaHookOutputArgs, opts?: InvokeOptions): Output<GetLambdaHookResult>def get_lambda_hook(hook_arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetLambdaHookResult
def get_lambda_hook_output(hook_arn: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetLambdaHookResult]func LookupLambdaHook(ctx *Context, args *LookupLambdaHookArgs, opts ...InvokeOption) (*LookupLambdaHookResult, error)
func LookupLambdaHookOutput(ctx *Context, args *LookupLambdaHookOutputArgs, opts ...InvokeOption) LookupLambdaHookResultOutput> Note: This function is named LookupLambdaHook in the Go SDK.
public static class GetLambdaHook 
{
    public static Task<GetLambdaHookResult> InvokeAsync(GetLambdaHookArgs args, InvokeOptions? opts = null)
    public static Output<GetLambdaHookResult> Invoke(GetLambdaHookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLambdaHookResult> getLambdaHook(GetLambdaHookArgs args, InvokeOptions options)
public static Output<GetLambdaHookResult> getLambdaHook(GetLambdaHookArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cloudformation:getLambdaHook
  arguments:
    # arguments dictionaryThe following arguments are supported:
- HookArn string
- The Amazon Resource Name (ARN) of the activated hook
- HookArn string
- The Amazon Resource Name (ARN) of the activated hook
- hookArn String
- The Amazon Resource Name (ARN) of the activated hook
- hookArn string
- The Amazon Resource Name (ARN) of the activated hook
- hook_arn str
- The Amazon Resource Name (ARN) of the activated hook
- hookArn String
- The Amazon Resource Name (ARN) of the activated hook
getLambdaHook Result
The following output properties are available:
- ExecutionRole string
- The execution role ARN assumed by Hooks to invoke Lambda.
- FailureMode Pulumi.Aws Native. Cloud Formation. Lambda Hook Failure Mode 
- Attribute to specify CloudFormation behavior on hook failure.
- HookArn string
- The Amazon Resource Name (ARN) of the activated hook
- HookStatus Pulumi.Aws Native. Cloud Formation. Lambda Hook Hook Status 
- Attribute to specify which stacks this hook applies to or should get invoked for
- LambdaFunction string
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- StackFilters Pulumi.Aws Native. Cloud Formation. Outputs. Stack Filters Properties 
- Filters to allow hooks to target specific stack attributes
- TargetFilters Pulumi.Aws | Pulumi.Native. Cloud Formation. Outputs. Target Filters0Properties Aws Native. Cloud Formation. Outputs. Target Filters1Properties 
- Attribute to specify which targets should invoke the hook
- TargetOperations List<Pulumi.Aws Native. Cloud Formation. Lambda Hook Target Operation> 
- Which operations should this Hook run against? Resource changes, stacks or change sets.
- ExecutionRole string
- The execution role ARN assumed by Hooks to invoke Lambda.
- FailureMode LambdaHook Failure Mode 
- Attribute to specify CloudFormation behavior on hook failure.
- HookArn string
- The Amazon Resource Name (ARN) of the activated hook
- HookStatus LambdaHook Hook Status 
- Attribute to specify which stacks this hook applies to or should get invoked for
- LambdaFunction string
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- StackFilters StackFilters Properties 
- Filters to allow hooks to target specific stack attributes
- TargetFilters TargetFilters0Properties | TargetFilters1Properties 
- Attribute to specify which targets should invoke the hook
- TargetOperations []LambdaHook Target Operation 
- Which operations should this Hook run against? Resource changes, stacks or change sets.
- executionRole String
- The execution role ARN assumed by Hooks to invoke Lambda.
- failureMode LambdaHook Failure Mode 
- Attribute to specify CloudFormation behavior on hook failure.
- hookArn String
- The Amazon Resource Name (ARN) of the activated hook
- hookStatus LambdaHook Hook Status 
- Attribute to specify which stacks this hook applies to or should get invoked for
- lambdaFunction String
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- stackFilters StackFilters Properties 
- Filters to allow hooks to target specific stack attributes
- targetFilters TargetFilters0Properties | TargetFilters1Properties 
- Attribute to specify which targets should invoke the hook
- targetOperations List<LambdaHook Target Operation> 
- Which operations should this Hook run against? Resource changes, stacks or change sets.
- executionRole string
- The execution role ARN assumed by Hooks to invoke Lambda.
- failureMode LambdaHook Failure Mode 
- Attribute to specify CloudFormation behavior on hook failure.
- hookArn string
- The Amazon Resource Name (ARN) of the activated hook
- hookStatus LambdaHook Hook Status 
- Attribute to specify which stacks this hook applies to or should get invoked for
- lambdaFunction string
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- stackFilters StackFilters Properties 
- Filters to allow hooks to target specific stack attributes
- targetFilters TargetFilters0Properties | TargetFilters1Properties 
- Attribute to specify which targets should invoke the hook
- targetOperations LambdaHook Target Operation[] 
- Which operations should this Hook run against? Resource changes, stacks or change sets.
- execution_role str
- The execution role ARN assumed by Hooks to invoke Lambda.
- failure_mode LambdaHook Failure Mode 
- Attribute to specify CloudFormation behavior on hook failure.
- hook_arn str
- The Amazon Resource Name (ARN) of the activated hook
- hook_status LambdaHook Hook Status 
- Attribute to specify which stacks this hook applies to or should get invoked for
- lambda_function str
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- stack_filters StackFilters Properties 
- Filters to allow hooks to target specific stack attributes
- target_filters TargetFilters0Properties | TargetFilters1Properties 
- Attribute to specify which targets should invoke the hook
- target_operations Sequence[LambdaHook Target Operation] 
- Which operations should this Hook run against? Resource changes, stacks or change sets.
- executionRole String
- The execution role ARN assumed by Hooks to invoke Lambda.
- failureMode "FAIL" | "WARN"
- Attribute to specify CloudFormation behavior on hook failure.
- hookArn String
- The Amazon Resource Name (ARN) of the activated hook
- hookStatus "ENABLED" | "DISABLED"
- Attribute to specify which stacks this hook applies to or should get invoked for
- lambdaFunction String
- Amazon Resource Name (ARN), Partial ARN, name, version, or alias of the Lambda function to invoke with this hook.
- stackFilters Property Map
- Filters to allow hooks to target specific stack attributes
- targetFilters Property Map | Property Map
- Attribute to specify which targets should invoke the hook
- targetOperations List<"RESOURCE" | "STACK" | "CHANGE_SET" | "CLOUD_CONTROL">
- Which operations should this Hook run against? Resource changes, stacks or change sets.
Supporting Types
LambdaHookAction  
LambdaHookFailureMode   
LambdaHookHookStatus   
LambdaHookHookTarget   
LambdaHookInvocationPoint   
LambdaHookStackFiltersPropertiesFilteringCriteria      
LambdaHookTargetOperation   
StackFiltersProperties  
- FilteringCriteria Pulumi.Aws Native. Cloud Formation. Lambda Hook Stack Filters Properties Filtering Criteria 
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- StackNames Pulumi.Aws Native. Cloud Formation. Inputs. Stack Filters Properties Stack Names Properties 
- List of stack names as filters
- StackRoles Pulumi.Aws Native. Cloud Formation. Inputs. Stack Filters Properties Stack Roles Properties 
- List of stack roles that are performing the stack operations.
- FilteringCriteria LambdaHook Stack Filters Properties Filtering Criteria 
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- StackNames StackFilters Properties Stack Names Properties 
- List of stack names as filters
- StackRoles StackFilters Properties Stack Roles Properties 
- List of stack roles that are performing the stack operations.
- filteringCriteria LambdaHook Stack Filters Properties Filtering Criteria 
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- stackNames StackFilters Properties Stack Names Properties 
- List of stack names as filters
- stackRoles StackFilters Properties Stack Roles Properties 
- List of stack roles that are performing the stack operations.
- filteringCriteria LambdaHook Stack Filters Properties Filtering Criteria 
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- stackNames StackFilters Properties Stack Names Properties 
- List of stack names as filters
- stackRoles StackFilters Properties Stack Roles Properties 
- List of stack roles that are performing the stack operations.
- filtering_criteria LambdaHook Stack Filters Properties Filtering Criteria 
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- stack_names StackFilters Properties Stack Names Properties 
- List of stack names as filters
- stack_roles StackFilters Properties Stack Roles Properties 
- List of stack roles that are performing the stack operations.
- filteringCriteria "ALL" | "ANY"
- Attribute to specify the filtering behavior. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
- stackNames Property Map
- List of stack names as filters
- stackRoles Property Map
- List of stack roles that are performing the stack operations.
StackFiltersPropertiesStackNamesProperties     
StackFiltersPropertiesStackRolesProperties     
TargetFilters0Properties 
- Actions
List<Pulumi.Aws Native. Cloud Formation. Lambda Hook Action> 
- List of actions that the hook is going to target
- InvocationPoints List<Pulumi.Aws Native. Cloud Formation. Lambda Hook Invocation Point> 
- List of invocation points that the hook is going to target
- TargetNames List<string>
- List of type names that the hook is going to target
- Actions
[]LambdaHook Action 
- List of actions that the hook is going to target
- InvocationPoints []LambdaHook Invocation Point 
- List of invocation points that the hook is going to target
- TargetNames []string
- List of type names that the hook is going to target
- actions
List<LambdaHook Action> 
- List of actions that the hook is going to target
- invocationPoints List<LambdaHook Invocation Point> 
- List of invocation points that the hook is going to target
- targetNames List<String>
- List of type names that the hook is going to target
- actions
LambdaHook Action[] 
- List of actions that the hook is going to target
- invocationPoints LambdaHook Invocation Point[] 
- List of invocation points that the hook is going to target
- targetNames string[]
- List of type names that the hook is going to target
- actions
Sequence[LambdaHook Action] 
- List of actions that the hook is going to target
- invocation_points Sequence[LambdaHook Invocation Point] 
- List of invocation points that the hook is going to target
- target_names Sequence[str]
- List of type names that the hook is going to target
- actions List<"CREATE" | "UPDATE" | "DELETE">
- List of actions that the hook is going to target
- invocationPoints List<"PRE_PROVISION">
- List of invocation points that the hook is going to target
- targetNames List<String>
- List of type names that the hook is going to target
TargetFilters1Properties 
- Targets
List<Pulumi.Aws Native. Cloud Formation. Inputs. Lambda Hook Hook Target> 
- List of hook targets
- Targets
[]LambdaHook Hook Target 
- List of hook targets
- targets
List<LambdaHook Hook Target> 
- List of hook targets
- targets
LambdaHook Hook Target[] 
- List of hook targets
- targets
Sequence[LambdaHook Hook Target] 
- List of hook targets
- targets List<Property Map>
- List of hook targets
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi