---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_vpc_lattice_rule{% #aws_vpc_lattice_rule %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `action`{% #action %}

**Type**: `STRUCT`**Provider name**: `action`**Description**: The action for the default rule.

- `fixed_response`**Type**: `STRUCT`**Provider name**: `fixedResponse`**Description**: The fixed response action. The rule returns a custom HTTP response.
  - `status_code`**Type**: `INT32`**Provider name**: `statusCode`**Description**: The HTTP response code.
- `forward`**Type**: `STRUCT`**Provider name**: `forward`**Description**: The forward action. Traffic that matches the rule is forwarded to the specified target groups.
  - `target_groups`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `targetGroups`**Description**: The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group.
    - `target_group_identifier`**Type**: `STRING`**Provider name**: `targetGroupIdentifier`**Description**: The ID or ARN of the target group.
    - `weight`**Type**: `INT32`**Provider name**: `weight`**Description**: Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.

## `arn`{% #arn %}

**Type**: `STRING`**Provider name**: `arn`**Description**: The Amazon Resource Name (ARN) of the listener.

## `created_at`{% #created_at %}

**Type**: `TIMESTAMP`**Provider name**: `createdAt`**Description**: The date and time that the listener rule was created, in ISO-8601 format.

## `id`{% #id %}

**Type**: `STRING`**Provider name**: `id`**Description**: The ID of the listener.

## `is_default`{% #is_default %}

**Type**: `BOOLEAN`**Provider name**: `isDefault`**Description**: Indicates whether this is the default rule.

## `last_updated_at`{% #last_updated_at %}

**Type**: `TIMESTAMP`**Provider name**: `lastUpdatedAt`**Description**: The date and time that the listener rule was last updated, in ISO-8601 format.

## `match`{% #match %}

**Type**: `STRUCT`**Provider name**: `match`**Description**: The rule match.

- `http_match`**Type**: `STRUCT`**Provider name**: `httpMatch`**Description**: The HTTP criteria that a rule must match.
  - `header_matches`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `headerMatches`**Description**: The header matches. Matches incoming requests with rule based on request header value before applying rule action.
    - `case_sensitive`**Type**: `BOOLEAN`**Provider name**: `caseSensitive`**Description**: Indicates whether the match is case sensitive.
    - `match`**Type**: `STRUCT`**Provider name**: `match`**Description**: The header match type.
      - `contains`**Type**: `STRING`**Provider name**: `contains`**Description**: A contains type match.
      - `exact`**Type**: `STRING`**Provider name**: `exact`**Description**: An exact type match.
      - `prefix`**Type**: `STRING`**Provider name**: `prefix`**Description**: A prefix type match. Matches the value with the prefix.
    - `name`**Type**: `STRING`**Provider name**: `name`**Description**: The name of the header.
  - `method`**Type**: `STRING`**Provider name**: `method`**Description**: The HTTP method type.
  - `path_match`**Type**: `STRUCT`**Provider name**: `pathMatch`**Description**: The path match.
    - `case_sensitive`**Type**: `BOOLEAN`**Provider name**: `caseSensitive`**Description**: Indicates whether the match is case sensitive.
    - `match`**Type**: `STRUCT`**Provider name**: `match`**Description**: The type of path match.
      - `exact`**Type**: `STRING`**Provider name**: `exact`**Description**: An exact match of the path.
      - `prefix`**Type**: `STRING`**Provider name**: `prefix`**Description**: A prefix match of the path.

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: The name of the listener.

## `priority`{% #priority %}

**Type**: `INT32`**Provider name**: `priority`**Description**: The priority level for the specified rule.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`
