AWS Fundamentals Logo
AWS Fundamentals
AWS::SecurityHub::HubV2

SecurityHub HubV2

The AWS::SecurityHub::HubV2 resource represents the implementation of the AWS Security Hub V2 service in your account. Only one hubv2 resource can created in each region in which you enable Security Hub V2.

Properties

1 configurable property. Click a row to see details.

Filter:
PropertyTypeFlags
Tags
Tags

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
HubV2ArnstringThe Amazon Resource Name of the Security Hub V2 resource.
SubscribedAtstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SecurityHub::HubV2

Resources:
  MyResource:
    Type: AWS::SecurityHub::HubV2
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

securityhub:EnableSecurityHubV2securityhub:DescribeSecurityHubV2securityhub:TagResourceiam:CreateServiceLinkedRole

read

securityhub:DescribeSecurityHubV2securityhub:ListTagsForResource

update

securityhub:DescribeSecurityHubV2securityhub:TagResourcesecurityhub:UntagResourcesecurityhub:ListTagsForResource

delete

securityhub:DescribeSecurityHubV2securityhub:DisableSecurityHubV2

list

securityhub:DescribeSecurityHubV2securityhub:ListTagsForResource

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSecurityHub
Properties3
Required0
TaggingSupported
Primary IDHubV2Arn

Supported Operations

CreateReadUpdateDeleteList

External Links