libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.ResourceGroup

Description

 
Synopsis

Documentation

data ResourceGroup Source #

Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.

See: newResourceGroup smart constructor.

Constructors

ResourceGroup' 

Fields

  • arn :: Text

    The ARN of the resource group.

  • tags :: NonEmpty ResourceGroupTag

    The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.

  • createdAt :: POSIX

    The time at which resource group is created.

Instances

Instances details
Eq ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Read ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Show ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Generic ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Associated Types

type Rep ResourceGroup :: Type -> Type #

NFData ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Methods

rnf :: ResourceGroup -> () #

Hashable ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

FromJSON ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

type Rep ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

type Rep ResourceGroup = D1 ('MetaData "ResourceGroup" "Amazonka.Inspector.Types.ResourceGroup" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "ResourceGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ResourceGroupTag)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newResourceGroup Source #

Create a value of ResourceGroup 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:arn:ResourceGroup', resourceGroup_arn - The ARN of the resource group.

$sel:tags:ResourceGroup', resourceGroup_tags - The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.

$sel:createdAt:ResourceGroup', resourceGroup_createdAt - The time at which resource group is created.

resourceGroup_arn :: Lens' ResourceGroup Text Source #

The ARN of the resource group.

resourceGroup_tags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag) Source #

The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.

resourceGroup_createdAt :: Lens' ResourceGroup UTCTime Source #

The time at which resource group is created.