Skip to content

Resource: awsAppintegrationsEventIntegration

Provides an Amazon AppIntegrations Event Integration resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.appintegrationsEventIntegration.AppintegrationsEventIntegration(
  this,
  "example",
  {
    description: "Example Description",
    eventFilter: {
      source: "aws.partner/examplepartner.com",
    },
    eventbridgeBus: "default",
    name: "example-name",
    tags: {
      Name: "Example Event Integration",
    },
  }
);

Argument Reference

The following arguments are supported:

  • description - (Optional) Description of the Event Integration.
  • eventbridgeBus - (Required) EventBridge bus.
  • eventFilter - (Required) Block that defines the configuration information for the event filter. The Event Filter block is documented below.
  • name - (Required) Name of the Event Integration.
  • tags - (Optional) Tags to apply to the Event Integration. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

A eventFilter block supports the following arguments:

  • source - (Required) Source of the events.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - ARN of the Event Integration.
  • id - Identifier of the Event Integration which is the name of the Event Integration.
  • tagsAll - Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

Amazon AppIntegrations Event Integrations can be imported using the name e.g.,

$ terraform import aws_appintegrations_event_integration.example example-name