amazonka-inspector-2.0: Amazon Inspector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Show ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

NFData ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Methods

rnf :: ResourceGroup -> () #

Eq ResourceGroup Source # 
Instance details

Defined in Amazonka.Inspector.Types.ResourceGroup

Hashable 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" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" '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.