import * as core from "@terrascript/core"; export interface DsCloudwatchEventSourceArgs { /** * (Optional) Specifying this limits the results to only those partner event sources with names that st * art with the specified prefix */ namePrefix?: string | core.StringOut; } export class DsCloudwatchEventSource extends core.Data { /** * The ARN of the partner event source */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The name of the SaaS partner that created the event source */ @core.attr(String, { computed: true }) public createdBy!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The name of the event source */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * (Optional) Specifying this limits the results to only those partner event sources with names that st * art with the specified prefix */ @core.attr(String) public namePrefix?: string | core.StringOut; /** * The state of the event source (`ACTIVE` or `PENDING`) */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; constructor(name: string, args?: DsCloudwatchEventSourceArgs) { super(name, "aws_cloudwatch_event_source", args); } public override getNamespace(): string { return "aws_eventbridge"; } }