AWS Fundamentals Logo
AWS Fundamentals
AWS::SecurityHub::ProductSubscription

SecurityHub ProductSubscription

The AWS::SecurityHub::ProductSubscription resource represents a subscription to a service that is allowed to generate findings for your Security Hub account. One product subscription resource is created for each product enabled.

Properties

1 configurable property. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
ProductArn
string
RequiredCreate-only

Return Values

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

AttributeTypeDescription
ProductSubscriptionArnstringThe ARN of the product subscription for the account

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::ProductSubscription

Resources:
  MyResource:
    Type: AWS::SecurityHub::ProductSubscription
    Properties:
      ProductArn: "arn:aws:service:region:account:resource"

Required IAM Permissions

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

create

securityhub:EnableImportFindingsForProduct

read

securityhub:ListEnabledProductsForImport

delete

securityhub:ListEnabledProductsForImportsecurityhub:DisableImportFindingsForProduct

list

securityhub:ListEnabledProductsForImport

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
Properties2
Required1
TaggingNot supported
Primary IDProductSubscriptionArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ProductArn

External Links