import * as core from "@terrascript/core"; export interface DsCloudwatchEventConnectionArgs { /** * The name of the connection. */ name: string | core.StringOut; } export class DsCloudwatchEventConnection extends core.Data { /** * The ARN (Amazon Resource Name) for the connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The type of authorization to use to connect. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`. */ @core.attr(String, { computed: true }) public authorizationType!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The name of the connection. */ @core.attr(String) public name!: string | core.StringOut; /** * The ARN (Amazon Resource Name) for the secret created from the authorization parameters specified fo * r the connection. */ @core.attr(String, { computed: true }) public secretArn!: string | core.StringOut; constructor(name: string, args?: DsCloudwatchEventConnectionArgs) { super(name, "aws_cloudwatch_event_connection", args); } public override getNamespace(): string { return "aws_eventbridge"; } }