AWS::CloudFormation::GuardHookThis is a CloudFormation resource for activating the first-party AWS::Hooks::GuardHook.
10 configurable properties. 6 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Alias | string | RequiredCreate-only |
ExecutionRole | string | RequiredCreate-only |
FailureMode | string | Required |
HookStatus | string | Required |
RuleLocation | S3Location | Required |
TargetOperations | Array<string> | Required |
LogBucket | string | |
Options | Any | |
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::GuardHook
Resources:
MyResource:
Type: AWS::CloudFormation::GuardHook
Properties:
RuleLocation: "value"
HookStatus: "ENABLED"
TargetOperations: []
FailureMode: "FAIL"
Alias: "value"
ExecutionRole: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudformation:ActivateTypecloudformation:DescribeTypecloudformation:ListTypescloudformation:SetTypeConfigurationcloudformation:BatchDescribeTypeConfigurationsiam:PassRolecloudformation:DescribeTypecloudformation:BatchDescribeTypeConfigurationscloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypecloudformation:SetTypeConfigurationiam:PassRolecloudformation:BatchDescribeTypeConfigurationscloudformation:DescribeTypecloudformation:DeactivateTypecloudformation:SetTypeConfigurationcloudformation:ListTypescloudformation:DescribeTypecloudformation:BatchDescribeTypeConfigurationsEverything 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.
ExecutionRoleAlias