1. Packages
  2. AWS Native
  3. API Docs
  4. resourcegroups
  5. Group

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.resourcegroups.Group

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    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.AwsNative.ResourceGroups.Inputs.GroupConfigurationItem>

    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    Description string
    The description of the resource group
    Name string
    The name of the resource group
    ResourceQuery Pulumi.AwsNative.ResourceGroups.Inputs.GroupResourceQuery
    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 a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tag key and value pairs that are attached to the resource group.
    Configuration []GroupConfigurationItemArgs

    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    Description string
    The description of the resource group
    Name string
    The name of the resource group
    ResourceQuery GroupResourceQueryArgs
    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 a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    Tags TagArgs
    The tag key and value pairs that are attached to the resource group.
    configuration List<GroupConfigurationItem>

    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    description String
    The description of the resource group
    name String
    The name of the resource group
    resourceQuery GroupResourceQuery
    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 a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    tags List<Tag>
    The tag key and value pairs that are attached to the resource group.
    configuration GroupConfigurationItem[]

    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    description string
    The description of the resource group
    name string
    The name of the resource group
    resourceQuery GroupResourceQuery
    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 a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    tags Tag[]
    The tag key and value pairs that are attached to the resource group.
    configuration Sequence[GroupConfigurationItemArgs]

    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    description str
    The description of the resource group
    name str
    The name of the resource group
    resource_query GroupResourceQueryArgs
    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 a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    tags Sequence[TagArgs]
    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 more ConfigurationItem 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 a ResourceQuery , but not both.

    description String
    The description of the resource group
    name String
    The name 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 ResourceQuery or a Configuration , but not both.
    • You can specify the group's membership either by using a ResourceQuery or by using a list of Resources , but not both.
    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 a ResourceQuery , but not both.
    • You can include a Resources property only if you also specify a Configuration property.
    tags 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:

    Arn string
    The Resource Group ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Resource Group ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Resource Group ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Resource Group ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Resource Group ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Resource Group ARN.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GroupConfigurationItem, GroupConfigurationItemArgs

    GroupConfigurationParameter, GroupConfigurationParameterArgs

    Name string
    Values List<string>
    Name string
    Values []string
    name String
    values List<String>
    name string
    values string[]
    name str
    values Sequence[str]
    name String
    values List<String>

    GroupQuery, GroupQueryArgs

    ResourceTypeFilters List<string>
    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"] .
    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 StackIdentifier only when the ResourceQuery.Type property is CLOUDFORMATION_STACK_1_0.

    TagFilters List<Pulumi.AwsNative.ResourceGroups.Inputs.GroupTagFilter>

    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 is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    ResourceTypeFilters []string
    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"] .
    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 StackIdentifier only when the ResourceQuery.Type property is CLOUDFORMATION_STACK_1_0.

    TagFilters []GroupTagFilter

    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 is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    resourceTypeFilters List<String>
    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"] .
    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 StackIdentifier only when the ResourceQuery.Type property is CLOUDFORMATION_STACK_1_0.

    tagFilters List<GroupTagFilter>

    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 is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    resourceTypeFilters string[]
    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"] .
    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 StackIdentifier only when the ResourceQuery.Type property is CLOUDFORMATION_STACK_1_0.

    tagFilters GroupTagFilter[]

    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 is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    resource_type_filters Sequence[str]
    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 the ResourceQuery.Type property is CLOUDFORMATION_STACK_1_0.

    tag_filters Sequence[GroupTagFilter]

    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 is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    resourceTypeFilters List<String>
    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"] .
    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 StackIdentifier only when the ResourceQuery.Type property 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.Type property is TAG_FILTERS_1_0 .

    A resource must have a tag that matches every filter that is provided in the TagFilters list.

    GroupResourceQuery, GroupResourceQueryArgs

    Query Pulumi.AwsNative.ResourceGroups.Inputs.GroupQuery

    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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    Type Pulumi.AwsNative.ResourceGroups.GroupResourceQueryType
    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 the TagFilters 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 the StackIdentifier 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 GroupQuery

    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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    Type GroupResourceQueryType
    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 the TagFilters 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 the StackIdentifier 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 GroupQuery

    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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    type GroupResourceQueryType
    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 the TagFilters 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 the StackIdentifier 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 GroupQuery

    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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    type GroupResourceQueryType
    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 the TagFilters 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 the StackIdentifier 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 GroupQuery

    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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    type GroupResourceQueryType
    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 the TagFilters 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 the StackIdentifier 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 is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.
    • When the Type is CLOUDFORMATION_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, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.
    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 the TagFilters 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 the StackIdentifier 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

    TagFilters10
    TAG_FILTERS_1_0
    CloudformationStack10
    CLOUDFORMATION_STACK_1_0
    GroupResourceQueryTypeTagFilters10
    TAG_FILTERS_1_0
    GroupResourceQueryTypeCloudformationStack10
    CLOUDFORMATION_STACK_1_0
    TagFilters10
    TAG_FILTERS_1_0
    CloudformationStack10
    CLOUDFORMATION_STACK_1_0
    TagFilters10
    TAG_FILTERS_1_0
    CloudformationStack10
    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's Type property 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 ResourceQuery structure's Type property 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 ResourceQuery structure's Type property 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 ResourceQuery structure's Type property 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 ResourceQuery structure's Type property 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 ResourceQuery structure's Type property 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, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi