We recommend new projects start with resources from the AWS provider.
aws-native.resourcegroups.getGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Schema for ResourceGroups::Group
Using getGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>def get_group(name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput> Note: This function is named LookupGroup in the Go SDK.
public static class GetGroup 
{
    public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
public static Output<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:resourcegroups:getGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the resource group
- Name string
- The name of the resource group
- name String
- The name of the resource group
- name string
- The name of the resource group
- name str
- The name of the resource group
- name String
- The name of the resource group
getGroup Result
The following output properties are available:
- Arn string
- The Resource Group ARN.
- Configuration
List<Pulumi.Aws Native. Resource Groups. Outputs. Group Configuration Item> 
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- Description string
- The description of the resource group
- ResourceQuery Pulumi.Aws Native. Resource Groups. Outputs. 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- You can specify the group membership either by using a list of 
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tag key and value pairs that are attached to the resource group.
- Arn string
- The Resource Group ARN.
- Configuration
[]GroupConfiguration Item 
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- Description string
- The description of the resource group
- ResourceQuery 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- 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.
- arn String
- The Resource Group ARN.
- configuration
List<GroupConfiguration Item> 
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- description String
- The description of the resource group
- resourceQuery 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- 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.
- arn string
- The Resource Group ARN.
- configuration
GroupConfiguration Item[] 
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- description string
- The description of the resource group
- resourceQuery 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- 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.
- arn str
- The Resource Group ARN.
- configuration
Sequence[GroupConfiguration Item] 
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- description str
- The description 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- You can specify the group membership either by using a list of 
- Sequence[root_Tag]
- The tag key and value pairs that are attached to the resource group.
- arn String
- The Resource Group ARN.
- configuration List<Property Map>
- The service configuration currently associated with the resource group and in effect for the members of the resource group. A - Configurationconsists of one or more- ConfigurationItementries. 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 - Configurationor a- ResourceQuery, but not both.
- description String
- The description of the resource group
- resourceQuery 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 ResourceQueryor aConfiguration, but not both.
- You can specify the group's membership either by using a ResourceQueryor 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 Resourcesor by using aResourceQuery, but not both.
- You can include a Resourcesproperty only if you also specify aConfigurationproperty.
 
- 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.
Supporting Types
GroupConfigurationItem  
- parameters List<Property Map>
- type String
GroupConfigurationParameter  
GroupQuery 
- ResourceType List<string>Filters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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"].
- StackIdentifier 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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_STACK_1_0.
- TagFilters 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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
- ResourceType []stringFilters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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"].
- StackIdentifier 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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_STACK_1_0.
- TagFilters []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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
- resourceType List<String>Filters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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"].
- stackIdentifier 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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_STACK_1_0.
- tagFilters 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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
- resourceType string[]Filters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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"].
- stackIdentifier 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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_STACK_1_0.
- tagFilters 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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
- resource_type_ Sequence[str]filters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
- resourceType List<String>Filters 
- Specifies limits to the types of resources that can be included in the resource group. For example, if ResourceTypeFiltersis["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"].
- stackIdentifier 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 - StackIdentifieronly when the- ResourceQuery.Typeproperty is- CLOUDFORMATION_STACK_1_0.
- tagFilters 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.Typeproperty is- TAG_FILTERS_1_0.- A resource must have a tag that matches every filter that is provided in the - TagFilterslist.
GroupResourceQuery  
- 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 - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin 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_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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
GroupQuery 
- The query that defines the membership of the group. This is a structure with properties that depend on the - Type.- The - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin thatQuery, then it defaults to the CloudFormation stack that you're currently constructing.
 
- When the 
- Type
GroupResource Query Type 
- Specifies the type of resource query that determines this group's membership. There are two valid query types:- TAG_FILTERS_1_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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
GroupQuery 
- The query that defines the membership of the group. This is a structure with properties that depend on the - Type.- The - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin thatQuery, then it defaults to the CloudFormation stack that you're currently constructing.
 
- When the 
- type
GroupResource Query Type 
- Specifies the type of resource query that determines this group's membership. There are two valid query types:- TAG_FILTERS_1_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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
GroupQuery 
- The query that defines the membership of the group. This is a structure with properties that depend on the - Type.- The - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin thatQuery, then it defaults to the CloudFormation stack that you're currently constructing.
 
- When the 
- type
GroupResource Query Type 
- Specifies the type of resource query that determines this group's membership. There are two valid query types:- TAG_FILTERS_1_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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
GroupQuery 
- The query that defines the membership of the group. This is a structure with properties that depend on the - Type.- The - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin thatQuery, then it defaults to the CloudFormation stack that you're currently constructing.
 
- When the 
- type
GroupResource Query Type 
- Specifies the type of resource query that determines this group's membership. There are two valid query types:- TAG_FILTERS_1_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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 - Querystructure must be included in the following scenarios:- When the TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group.
- When the TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin 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_0indicates that the group is a tag-based group. To complete the group membership, you must include the- TagFiltersproperty 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 the- StackIdentifierproperty 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   
GroupTagFilter  
- 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 - ResourceQuerystructure's- Typeproperty is- TAG_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 - ResourceQuerystructure's- Typeproperty is- TAG_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 - ResourceQuerystructure's- Typeproperty is- TAG_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 - ResourceQuerystructure's- Typeproperty is- TAG_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 - ResourceQuerystructure's- Typeproperty is- TAG_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 - ResourceQuerystructure's- Typeproperty is- TAG_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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.