Refer to the Terraform Registory for docs: aws_sns_topic
.
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic aws_sns_topic}.
import { snsTopic } from '@cdktf/aws-cdk'
new snsTopic.SnsTopic(scope: Construct, id: string, config?: SnsTopicConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
SnsTopicConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: SnsTopicConfig
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public resetApplicationFailureFeedbackRoleArn(): void
public resetApplicationSuccessFeedbackRoleArn(): void
public resetApplicationSuccessFeedbackSampleRate(): void
public resetContentBasedDeduplication(): void
public resetDeliveryPolicy(): void
public resetDisplayName(): void
public resetFifoTopic(): void
public resetFirehoseFailureFeedbackRoleArn(): void
public resetFirehoseSuccessFeedbackRoleArn(): void
public resetFirehoseSuccessFeedbackSampleRate(): void
public resetHttpFailureFeedbackRoleArn(): void
public resetHttpSuccessFeedbackRoleArn(): void
public resetHttpSuccessFeedbackSampleRate(): void
public resetId(): void
public resetKmsMasterKeyId(): void
public resetLambdaFailureFeedbackRoleArn(): void
public resetLambdaSuccessFeedbackRoleArn(): void
public resetLambdaSuccessFeedbackSampleRate(): void
public resetName(): void
public resetNamePrefix(): void
public resetPolicy(): void
public resetSqsFailureFeedbackRoleArn(): void
public resetSqsSuccessFeedbackRoleArn(): void
public resetSqsSuccessFeedbackSampleRate(): void
public resetTags(): void
public resetTagsAll(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
import { snsTopic } from '@cdktf/aws-cdk'
snsTopic.SnsTopic.isConstruct(x: any)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: any
Any object.
import { snsTopic } from '@cdktf/aws-cdk'
snsTopic.SnsTopic.isTerraformElement(x: any)
- Type: any
import { snsTopic } from '@cdktf/aws-cdk'
snsTopic.SnsTopic.isTerraformResource(x: any)
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
arn |
string |
No description. |
owner |
string |
No description. |
applicationFailureFeedbackRoleArnInput |
string |
No description. |
applicationSuccessFeedbackRoleArnInput |
string |
No description. |
applicationSuccessFeedbackSampleRateInput |
number |
No description. |
contentBasedDeduplicationInput |
boolean | cdktf.IResolvable |
No description. |
deliveryPolicyInput |
string |
No description. |
displayNameInput |
string |
No description. |
fifoTopicInput |
boolean | cdktf.IResolvable |
No description. |
firehoseFailureFeedbackRoleArnInput |
string |
No description. |
firehoseSuccessFeedbackRoleArnInput |
string |
No description. |
firehoseSuccessFeedbackSampleRateInput |
number |
No description. |
httpFailureFeedbackRoleArnInput |
string |
No description. |
httpSuccessFeedbackRoleArnInput |
string |
No description. |
httpSuccessFeedbackSampleRateInput |
number |
No description. |
idInput |
string |
No description. |
kmsMasterKeyIdInput |
string |
No description. |
lambdaFailureFeedbackRoleArnInput |
string |
No description. |
lambdaSuccessFeedbackRoleArnInput |
string |
No description. |
lambdaSuccessFeedbackSampleRateInput |
number |
No description. |
nameInput |
string |
No description. |
namePrefixInput |
string |
No description. |
policyInput |
string |
No description. |
sqsFailureFeedbackRoleArnInput |
string |
No description. |
sqsSuccessFeedbackRoleArnInput |
string |
No description. |
sqsSuccessFeedbackSampleRateInput |
number |
No description. |
tagsAllInput |
{[ key: string ]: string} |
No description. |
tagsInput |
{[ key: string ]: string} |
No description. |
applicationFailureFeedbackRoleArn |
string |
No description. |
applicationSuccessFeedbackRoleArn |
string |
No description. |
applicationSuccessFeedbackSampleRate |
number |
No description. |
contentBasedDeduplication |
boolean | cdktf.IResolvable |
No description. |
deliveryPolicy |
string |
No description. |
displayName |
string |
No description. |
fifoTopic |
boolean | cdktf.IResolvable |
No description. |
firehoseFailureFeedbackRoleArn |
string |
No description. |
firehoseSuccessFeedbackRoleArn |
string |
No description. |
firehoseSuccessFeedbackSampleRate |
number |
No description. |
httpFailureFeedbackRoleArn |
string |
No description. |
httpSuccessFeedbackRoleArn |
string |
No description. |
httpSuccessFeedbackSampleRate |
number |
No description. |
id |
string |
No description. |
kmsMasterKeyId |
string |
No description. |
lambdaFailureFeedbackRoleArn |
string |
No description. |
lambdaSuccessFeedbackRoleArn |
string |
No description. |
lambdaSuccessFeedbackSampleRate |
number |
No description. |
name |
string |
No description. |
namePrefix |
string |
No description. |
policy |
string |
No description. |
sqsFailureFeedbackRoleArn |
string |
No description. |
sqsSuccessFeedbackRoleArn |
string |
No description. |
sqsSuccessFeedbackSampleRate |
number |
No description. |
tags |
{[ key: string ]: string} |
No description. |
tagsAll |
{[ key: string ]: string} |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly arn: string;
- Type: string
public readonly owner: string;
- Type: string
public readonly applicationFailureFeedbackRoleArnInput: string;
- Type: string
public readonly applicationSuccessFeedbackRoleArnInput: string;
- Type: string
public readonly applicationSuccessFeedbackSampleRateInput: number;
- Type: number
public readonly contentBasedDeduplicationInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly deliveryPolicyInput: string;
- Type: string
public readonly displayNameInput: string;
- Type: string
public readonly fifoTopicInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly firehoseFailureFeedbackRoleArnInput: string;
- Type: string
public readonly firehoseSuccessFeedbackRoleArnInput: string;
- Type: string
public readonly firehoseSuccessFeedbackSampleRateInput: number;
- Type: number
public readonly httpFailureFeedbackRoleArnInput: string;
- Type: string
public readonly httpSuccessFeedbackRoleArnInput: string;
- Type: string
public readonly httpSuccessFeedbackSampleRateInput: number;
- Type: number
public readonly idInput: string;
- Type: string
public readonly kmsMasterKeyIdInput: string;
- Type: string
public readonly lambdaFailureFeedbackRoleArnInput: string;
- Type: string
public readonly lambdaSuccessFeedbackRoleArnInput: string;
- Type: string
public readonly lambdaSuccessFeedbackSampleRateInput: number;
- Type: number
public readonly nameInput: string;
- Type: string
public readonly namePrefixInput: string;
- Type: string
public readonly policyInput: string;
- Type: string
public readonly sqsFailureFeedbackRoleArnInput: string;
- Type: string
public readonly sqsSuccessFeedbackRoleArnInput: string;
- Type: string
public readonly sqsSuccessFeedbackSampleRateInput: number;
- Type: number
public readonly tagsAllInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly applicationFailureFeedbackRoleArn: string;
- Type: string
public readonly applicationSuccessFeedbackRoleArn: string;
- Type: string
public readonly applicationSuccessFeedbackSampleRate: number;
- Type: number
public readonly contentBasedDeduplication: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly deliveryPolicy: string;
- Type: string
public readonly displayName: string;
- Type: string
public readonly fifoTopic: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly firehoseFailureFeedbackRoleArn: string;
- Type: string
public readonly firehoseSuccessFeedbackRoleArn: string;
- Type: string
public readonly firehoseSuccessFeedbackSampleRate: number;
- Type: number
public readonly httpFailureFeedbackRoleArn: string;
- Type: string
public readonly httpSuccessFeedbackRoleArn: string;
- Type: string
public readonly httpSuccessFeedbackSampleRate: number;
- Type: number
public readonly id: string;
- Type: string
public readonly kmsMasterKeyId: string;
- Type: string
public readonly lambdaFailureFeedbackRoleArn: string;
- Type: string
public readonly lambdaSuccessFeedbackRoleArn: string;
- Type: string
public readonly lambdaSuccessFeedbackSampleRate: number;
- Type: number
public readonly name: string;
- Type: string
public readonly namePrefix: string;
- Type: string
public readonly policy: string;
- Type: string
public readonly sqsFailureFeedbackRoleArn: string;
- Type: string
public readonly sqsSuccessFeedbackRoleArn: string;
- Type: string
public readonly sqsSuccessFeedbackSampleRate: number;
- Type: number
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { snsTopic } from '@cdktf/aws-cdk'
const snsTopicConfig: snsTopic.SnsTopicConfig = { ... }
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly applicationFailureFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#application_failure_feedback_role_arn SnsTopic#application_failure_feedback_role_arn}.
public readonly applicationSuccessFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#application_success_feedback_role_arn SnsTopic#application_success_feedback_role_arn}.
public readonly applicationSuccessFeedbackSampleRate: number;
- Type: number
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#application_success_feedback_sample_rate SnsTopic#application_success_feedback_sample_rate}.
public readonly contentBasedDeduplication: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#content_based_deduplication SnsTopic#content_based_deduplication}.
public readonly deliveryPolicy: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#delivery_policy SnsTopic#delivery_policy}.
public readonly displayName: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#display_name SnsTopic#display_name}.
public readonly fifoTopic: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#fifo_topic SnsTopic#fifo_topic}.
public readonly firehoseFailureFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#firehose_failure_feedback_role_arn SnsTopic#firehose_failure_feedback_role_arn}.
public readonly firehoseSuccessFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#firehose_success_feedback_role_arn SnsTopic#firehose_success_feedback_role_arn}.
public readonly firehoseSuccessFeedbackSampleRate: number;
- Type: number
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#firehose_success_feedback_sample_rate SnsTopic#firehose_success_feedback_sample_rate}.
public readonly httpFailureFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#http_failure_feedback_role_arn SnsTopic#http_failure_feedback_role_arn}.
public readonly httpSuccessFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#http_success_feedback_role_arn SnsTopic#http_success_feedback_role_arn}.
public readonly httpSuccessFeedbackSampleRate: number;
- Type: number
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#http_success_feedback_sample_rate SnsTopic#http_success_feedback_sample_rate}.
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#id SnsTopic#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
public readonly kmsMasterKeyId: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#kms_master_key_id SnsTopic#kms_master_key_id}.
public readonly lambdaFailureFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#lambda_failure_feedback_role_arn SnsTopic#lambda_failure_feedback_role_arn}.
public readonly lambdaSuccessFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#lambda_success_feedback_role_arn SnsTopic#lambda_success_feedback_role_arn}.
public readonly lambdaSuccessFeedbackSampleRate: number;
- Type: number
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#lambda_success_feedback_sample_rate SnsTopic#lambda_success_feedback_sample_rate}.
public readonly name: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#name SnsTopic#name}.
public readonly namePrefix: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#name_prefix SnsTopic#name_prefix}.
public readonly policy: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#policy SnsTopic#policy}.
public readonly sqsFailureFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#sqs_failure_feedback_role_arn SnsTopic#sqs_failure_feedback_role_arn}.
public readonly sqsSuccessFeedbackRoleArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#sqs_success_feedback_role_arn SnsTopic#sqs_success_feedback_role_arn}.
public readonly sqsSuccessFeedbackSampleRate: number;
- Type: number
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#sqs_success_feedback_sample_rate SnsTopic#sqs_success_feedback_sample_rate}.
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#tags SnsTopic#tags}.
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/sns_topic#tags_all SnsTopic#tags_all}.