Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
A resource group that contains AWS resources. You can assign resources to the group by associating either of the following elements with the group:
- ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same AWS Region and AWS account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.
- GroupConfiguration - Use a service configuration to associate the group with an AWS service. The configuration specifies which resource types can be included in the group.
See: newGroup
smart constructor.
Instances
Eq Group Source # | |
Read Group Source # | |
Show Group Source # | |
Generic Group Source # | |
NFData Group Source # | |
Defined in Amazonka.ResourceGroups.Types.Group | |
Hashable Group Source # | |
Defined in Amazonka.ResourceGroups.Types.Group | |
FromJSON Group Source # | |
type Rep Group Source # | |
Defined in Amazonka.ResourceGroups.Types.Group type Rep Group = D1 ('MetaData "Group" "Amazonka.ResourceGroups.Types.Group" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Group
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:Group'
, group_description
- The description of the resource group.
$sel:groupArn:Group'
, group_groupArn
- The ARN of the resource group.
$sel:name:Group'
, group_name
- The name of the resource group.