typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
71 lines (70 loc) • 2.66 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type Topic_Type = 'AWS::SNS::Topic';
export declare const Topic_Type = "AWS::SNS::Topic";
/**
* Resource Type definition for AWS::SNS::Topic {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html}
*/
export default function Topic(props: Topic_Properties): CfnResource<Topic_Properties>;
/**
* Resource Type definition for AWS::SNS::Topic {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html}
*/
export declare type Topic_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-kmsmasterkeyid}
*/
KmsMasterKeyId?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-displayname}
*/
DisplayName?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-fifotopic}
*/
FifoTopic?: Resolvable<boolean>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-contentbaseddeduplication}
*/
ContentBasedDeduplication?: Resolvable<boolean>;
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-subscription}
*/
Subscription?: Subscription[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-tags}
*/
Tags?: Tag[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-topicname}
*/
TopicName?: Resolvable<string>;
};
export declare type Tag = {
Value: Resolvable<string>;
Key: Resolvable<string>;
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html}
*/
export declare type Subscription = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html#cfn-sns-topic-subscription-endpoint}
*/
Endpoint: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html#cfn-sns-topic-subscription-protocol}
*/
Protocol: Resolvable<string>;
};