AWS::CloudFormation::LambdaHookThis is a CloudFormation resource for the first-party AWS::Hooks::LambdaHook.
8 configurable properties. 6 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Alias | string | RequiredCreate-only |
ExecutionRole | string | Required |
FailureMode | string | Required |
HookStatus | string | Required |
LambdaFunction | string | Required |
TargetOperations | Array<string> | Required |
StackFilters | object | |
TargetFilters | object | object |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
HookArn | string | The Amazon Resource Name (ARN) of the activated hook |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFormation::LambdaHook
Resources:
MyResource:
Type: AWS::CloudFormation::LambdaHook
Properties:
LambdaFunction: "value"
FailureMode: "FAIL"
Alias: "value"
ExecutionRole: "value"
TargetOperations: []
HookStatus: "ENABLED"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudformation:ListTypescloudformation:ActivateTypecloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypecloudformation:SetTypeConfigurationiam:PassRolecloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypecloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypecloudformation:SetTypeConfigurationiam:PassRolecloudformation:BatchDescribeTypeConfigurationscloudformation:DeactivateTypecloudformation:DescribeTypecloudformation:SetTypeConfigurationcloudformation:ListTypescloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypeEverything you need to know about CloudFormation on one page. HD quality, print-friendly.
Download Free InfographicHookArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Alias