Skip to content

Latest commit

 

History

History
126 lines (89 loc) · 4.9 KB

source_aws_cloudtrail.md

File metadata and controls

126 lines (89 loc) · 4.9 KB
page_title subcategory description
airbyte_source_aws_cloudtrail Resource - terraform-provider-airbyte
SourceAwsCloudtrail Resource

airbyte_source_aws_cloudtrail (Resource)

SourceAwsCloudtrail Resource

Example Usage

resource "airbyte_source_aws_cloudtrail" "my_source_awscloudtrail" {
  configuration = {
    aws_key_id      = "...my_aws_key_id..."
    aws_region_name = "...my_aws_region_name..."
    aws_secret_key  = "...my_aws_secret_key..."
    lookup_attributes_filter = {
      attribute_key   = "EventName"
      attribute_value = "ListInstanceAssociations"
    }
    start_date = "2021-01-01"
  }
  definition_id = "552bff18-4067-44af-bc96-8a4b1825bd55"
  name          = "...my_name..."
  secret_id     = "...my_secret_id..."
  workspace_id  = "74a290f5-806c-40bd-8860-ace07aaedafd"
}

Schema

Required

  • configuration (Attributes) (see below for nested schema)
  • name (String) Name of the source e.g. dev-mysql-instance.
  • workspace_id (String)

Optional

  • definition_id (String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.
  • secret_id (String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.

Read-Only

  • created_at (Number)
  • resource_allocation (Attributes) actor or actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level. (see below for nested schema)
  • source_id (String)
  • source_type (String)

Nested Schema for configuration

Required:

  • aws_key_id (String, Sensitive) AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key.
  • aws_secret_key (String, Sensitive) AWS CloudTrail Access Key ID. See the docs for more information on how to obtain this key.

Optional:

  • aws_region_name (String) The default AWS Region to use, for example, us-west-1 or us-west-2. When specifying a Region inline during client initialization, this property is named region_name. Default: "us-east-1"
  • lookup_attributes_filter (Attributes) (see below for nested schema)
  • start_date (String) The date you would like to replicate data. Data in AWS CloudTrail is available for last 90 days only. Format: YYYY-MM-DD.

Nested Schema for configuration.lookup_attributes_filter

Optional:

  • attribute_key (String) Default: "EventName"
  • attribute_value (String) Default: "ListInstanceAssociations"

Nested Schema for resource_allocation

Read-Only:

Nested Schema for resource_allocation.default

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Nested Schema for resource_allocation.job_specific

Read-Only:

  • job_type (String) enum that describes the different types of jobs that the platform runs. must be one of ["get_spec", "check_connection", "discover_schema", "sync", "reset_connection", "connection_updater", "replicate"]
  • resource_requirements (Attributes) optional resource requirements to run workers (blank for unbounded allocations) (see below for nested schema)

Nested Schema for resource_allocation.job_specific.resource_requirements

Read-Only:

  • cpu_limit (String)
  • cpu_request (String)
  • ephemeral_storage_limit (String)
  • ephemeral_storage_request (String)
  • memory_limit (String)
  • memory_request (String)

Import

Import is supported using the following syntax:

terraform import airbyte_source_aws_cloudtrail.my_airbyte_source_aws_cloudtrail ""