import * as core from "@terrascript/core"; export interface DsTopicArgs { /** * (Required) The friendly name of the topic to match. */ name: string | core.StringOut; } export class DsTopic extends core.Data { /** * Amazon Resource Name (ARN) of the found topic, suitable for referencing in other resources that supp * ort SNS topics. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the found topic, suitable for referencing in other resources that supp * ort SNS topics. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The friendly name of the topic to match. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: DsTopicArgs) { super(name, "aws_sns_topic", args); } public override getNamespace(): string { return "aws_sns"; } }