import * as core from "@terrascript/core"; export interface EventFilterArgs extends core.SchemaArgs { source: string | core.StringOut; } export class EventFilter extends core.Schema { @core.attr(String) public source!: string | core.StringOut; } export interface EventIntegrationArgs extends core.ResourceArgs { /** * (Optional) Specifies the description of the Event Integration. */ description?: string | core.StringOut; /** * (Required) A block that defines the configuration information for the event filter. The Event Filter * block is documented below. */ eventFilter: EventFilter; /** * (Required) Specifies the EventBridge bus. */ eventbridgeBus: string | core.StringOut; /** * (Required) Specifies the name of the Event Integration. */ name: string | core.StringOut; /** * (Optional) Tags to apply to the Event Integration. If configured with a provider [`default_tags` con * figuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-con * figuration-block) present, tags with matching keys will overwrite those defined at the provider-leve * l. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class EventIntegration extends core.Resource { /** * The Amazon Resource Name (ARN) of the Event Integration. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Specifies the description of the Event Integration. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) A block that defines the configuration information for the event filter. The Event Filter * block is documented below. */ @core.attr(EventFilter) public eventFilter!: EventFilter; /** * (Required) Specifies the EventBridge bus. */ @core.attr(String) public eventbridgeBus!: string | core.StringOut; /** * The identifier of the Event Integration which is the name of the Event Integration. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Specifies the name of the Event Integration. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Tags to apply to the Event Integration. If configured with a provider [`default_tags` con * figuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-con * figuration-block) present, tags with matching keys will overwrite those defined at the provider-leve * l. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: EventIntegrationArgs) { super(name, "aws_appintegrations_event_integration", args); } public override getNamespace(): string { return "aws_appintegrations"; } }