AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SNS::Subscription

CfnSubscription

L1 CloudFormation construct for AWS::SNS::Subscription

Import

import { CfnSubscription } from 'aws-cdk-lib/aws-sns';

Or use the module namespace:

import * as sns from 'aws-cdk-lib/aws-sns';
// sns.CfnSubscription

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon SNS Cheat Sheet

Everything you need to know about Amazon SNS on one page. HD quality, print-friendly.

Download Free Infographic