CfnIndexProps

class aws_cdk.aws_resourceexplorer2.CfnIndexProps(*, type, tags=None)

Bases: object

Properties for defining a CfnIndex.

Parameters:
  • type (str) – Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index in the AWS Resource Explorer User Guide. .

  • tags (Optional[Mapping[str, str]]) – The specified tags are attached to only the index created in this AWS Region . The tags don’t attach to any of the resources listed in the index.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourceexplorer2-index.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resourceexplorer2 as resourceexplorer2

cfn_index_props = resourceexplorer2.CfnIndexProps(
    type="type",

    # the properties below are optional
    tags={
        "tags_key": "tags"
    }
)

Attributes

tags

The specified tags are attached to only the index created in this AWS Region .

The tags don’t attach to any of the resources listed in the index.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourceexplorer2-index.html#cfn-resourceexplorer2-index-tags

type

Specifies the type of the index in this Region.

For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index in the AWS Resource Explorer User Guide. .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourceexplorer2-index.html#cfn-resourceexplorer2-index-type