AWS Native is in preview. AWS Classic is fully supported.
aws-native.resourcegroups.Group
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Schema for ResourceGroups::Group
Create Group Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
args: Optional[GroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[Sequence[GroupConfigurationItemArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
resource_query: Optional[GroupResourceQueryArgs] = None,
resources: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
type: aws-native:resourcegroups:Group
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Group Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Group resource accepts the following input properties:
- Configuration
List<Pulumi.
Aws Native. Resource Groups. Inputs. Group Configuration Item> The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- Description string
- The description of the resource group
- Name string
- The name of the resource group
- Resource
Query Pulumi.Aws Native. Resource Groups. Inputs. Group Resource Query - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- Resources List<string>
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- List<Pulumi.
Aws Native. Inputs. Tag> - The tag key and value pairs that are attached to the resource group.
- Configuration
[]Group
Configuration Item Args The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- Description string
- The description of the resource group
- Name string
- The name of the resource group
- Resource
Query GroupResource Query Args - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- Resources []string
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- Tag
Args - The tag key and value pairs that are attached to the resource group.
- configuration
List<Group
Configuration Item> The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- description String
- The description of the resource group
- name String
- The name of the resource group
- resource
Query GroupResource Query - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- resources List<String>
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- List<Tag>
- The tag key and value pairs that are attached to the resource group.
- configuration
Group
Configuration Item[] The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- description string
- The description of the resource group
- name string
- The name of the resource group
- resource
Query GroupResource Query - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- resources string[]
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- Tag[]
- The tag key and value pairs that are attached to the resource group.
- configuration
Sequence[Group
Configuration Item Args] The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- description str
- The description of the resource group
- name str
- The name of the resource group
- resource_
query GroupResource Query Args - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- resources Sequence[str]
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- Sequence[Tag
Args] - The tag key and value pairs that are attached to the resource group.
- configuration List<Property Map>
The service configuration currently associated with the resource group and in effect for the members of the resource group. A
Configuration
consists of one or moreConfigurationItem
entries. For information about service configurations for resource groups and how to construct them, see Service configurations for resource groups in the AWS Resource Groups User Guide .You can include either a
Configuration
or aResourceQuery
, but not both.- description String
- The description of the resource group
- name String
- The name of the resource group
- resource
Query Property Map - The resource query structure that is used to dynamically determine which AWS resources are members of the associated resource group. For more information about queries and how to construct them, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide
- You can include either a
ResourceQuery
or aConfiguration
, but not both. - You can specify the group's membership either by using a
ResourceQuery
or by using a list ofResources
, but not both.
- You can include either a
- resources List<String>
- A list of the Amazon Resource Names (ARNs) of AWS resources that you want to add to the specified group.
- You can specify the group membership either by using a list of
Resources
or by using aResourceQuery
, but not both. - You can include a
Resources
property only if you also specify aConfiguration
property.
- You can specify the group membership either by using a list of
- List<Property Map>
- The tag key and value pairs that are attached to the resource group.
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
Supporting Types
GroupConfigurationItem, GroupConfigurationItemArgs
- parameters List<Property Map>
- type String
GroupConfigurationParameter, GroupConfigurationParameterArgs
GroupQuery, GroupQueryArgs
- Resource
Type List<string>Filters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - Stack
Identifier string Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- Tag
Filters List<Pulumi.Aws Native. Resource Groups. Inputs. Group Tag Filter> A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
- Resource
Type []stringFilters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - Stack
Identifier string Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- Tag
Filters []GroupTag Filter A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
- resource
Type List<String>Filters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - stack
Identifier String Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- tag
Filters List<GroupTag Filter> A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
- resource
Type string[]Filters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - stack
Identifier string Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- tag
Filters GroupTag Filter[] A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
- resource_
type_ Sequence[str]filters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - stack_
identifier str Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- tag_
filters Sequence[GroupTag Filter] A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
- resource
Type List<String>Filters - Specifies limits to the types of resources that can be included in the resource group. For example, if
ResourceTypeFilters
is["AWS::EC2::Instance", "AWS::DynamoDB::Table"]
, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is["AWS::AllSupported"]
. - stack
Identifier String Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.
You can specify a value for
StackIdentifier
only when theResourceQuery.Type
property isCLOUDFORMATION_STACK_1_0.
- tag
Filters List<Property Map> A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the
ResourceQuery.Type
property isTAG_FILTERS_1_0
.A resource must have a tag that matches every filter that is provided in the
TagFilters
list.
GroupResourceQuery, GroupResourceQueryArgs
- Query
Pulumi.
Aws Native. Resource Groups. Inputs. Group Query The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- Type
Pulumi.
Aws Native. Resource Groups. Group Resource Query Type - Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
- Query
Group
Query The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- Type
Group
Resource Query Type - Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
- query
Group
Query The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- type
Group
Resource Query Type - Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
- query
Group
Query The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- type
Group
Resource Query Type - Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
- query
Group
Query The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- type
Group
Resource Query Type - Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
- query Property Map
The query that defines the membership of the group. This is a structure with properties that depend on the
Type
.The
Query
structure must be included in the following scenarios:- When the
Type
isTAG_FILTERS_1_0
, you must specify aQuery
structure that contains aTagFilters
list of tags. Resources with tags that match those in theTagFilter
list become members of the resource group. - When the
Type
isCLOUDFORMATION_STACK_1_0
then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuery
structure must contain theStackIdentifier
property. If you don't specify either aQuery
structure or aStackIdentifier
within thatQuery
, then it defaults to the CloudFormation stack that you're currently constructing.
- When the
- type "TAG_FILTERS_1_0" | "CLOUDFORMATION_STACK_1_0"
- Specifies the type of resource query that determines this group's membership. There are two valid query types:
TAG_FILTERS_1_0
indicates that the group is a tag-based group. To complete the group membership, you must include theTagFilters
property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0
, the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify theStackIdentifier
property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.
GroupResourceQueryType, GroupResourceQueryTypeArgs
- Tag
Filters10 - TAG_FILTERS_1_0
- Cloudformation
Stack10 - CLOUDFORMATION_STACK_1_0
- Group
Resource Query Type Tag Filters10 - TAG_FILTERS_1_0
- Group
Resource Query Type Cloudformation Stack10 - CLOUDFORMATION_STACK_1_0
- Tag
Filters10 - TAG_FILTERS_1_0
- Cloudformation
Stack10 - CLOUDFORMATION_STACK_1_0
- Tag
Filters10 - TAG_FILTERS_1_0
- Cloudformation
Stack10 - CLOUDFORMATION_STACK_1_0
- TAG_FILTERS10
- TAG_FILTERS_1_0
- CLOUDFORMATION_STACK10
- CLOUDFORMATION_STACK_1_0
- "TAG_FILTERS_1_0"
- TAG_FILTERS_1_0
- "CLOUDFORMATION_STACK_1_0"
- CLOUDFORMATION_STACK_1_0
GroupTagFilter, GroupTagFilterArgs
- Key string
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- Values List<string>
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
- Key string
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- Values []string
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
- key String
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- values List<String>
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
- key string
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- values string[]
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
- key str
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- values Sequence[str]
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
- key String
A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the
ResourceQuery
structure'sType
property isTAG_FILTERS_1_0
. You must specify at least one tag key.- values List<String>
- A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.