# AWS::ResourceExplorer2 Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as resourceexplorer2 from 'aws-cdk-lib/aws-resourceexplorer2';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for ResourceExplorer2 construct libraries](https://constructs.dev/search?q=resourceexplorer2)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::ResourceExplorer2 resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ResourceExplorer2.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::ResourceExplorer2](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ResourceExplorer2.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnDefaultViewAssociation`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnDefaultViewAssociation) | Construct (L1) | Sets the specified view as the default for the AWS Region in which you call this operation. |
| [`CfnIndex`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnIndex) | Construct (L1) | Turns on Resource Explorer in the AWS Region in which you called this operation by creating an index. |
| [`CfnView`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnView) | Construct (L1) | Creates a view that users can query by using the [Search](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) operation. Results from queries that you make using this view include only resources that match the view's `Filters` . |
| [`CfnDefaultViewAssociationProps`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnDefaultViewAssociationProps) | Struct | Properties for defining a `CfnDefaultViewAssociation`. |
| [`CfnIndexProps`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnIndexProps) | Struct | Properties for defining a `CfnIndex`. |
| [`CfnView.FiltersProperty`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnView.FiltersProperty) | Struct |  |
| [`CfnView.IncludedPropertyProperty`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnView.IncludedPropertyProperty) | Struct | Information about an additional property that describes a resource, that you can optionally include in a view. |
| [`CfnView.SearchFilterProperty`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnView.SearchFilterProperty) | Struct | A search filter defines which resources can be part of a search query result set. |
| [`CfnViewProps`](/v2/docs/aws-cdk-lib.aws_resourceexplorer2.CfnViewProps) | Struct | Properties for defining a `CfnView`. |
