Resource: awsResourceexplorer2Index
Provides a resource to manage a Resource Explorer index in the current AWS Region.
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.resourceexplorer2Index.Resourceexplorer2Index(this, "example", {
type: "LOCAL",
});
Argument Reference
The following arguments are supported:
type
- (Required) The type of the index. Valid values:aggregator
,local
. To understand the difference betweenlocal
andaggregator
, see the AWS Resource Explorer User Guide.tags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts
create
- (Default2H
)update
- (Default2H
)delete
- (Default10M
)
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- Amazon Resource Name (ARN) of the Resource Explorer index.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
Resource Explorer indexes can be imported using the arn
, e.g.