libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.ResourcePolicy

Description

 
Synopsis

Documentation

data ResourcePolicy Source #

The resource policy that allows Incident Manager to perform actions on resources on your behalf.

See: newResourcePolicy smart constructor.

Constructors

ResourcePolicy' 

Fields

Instances

Instances details
Eq ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

Read ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

Show ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

Generic ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

Associated Types

type Rep ResourcePolicy :: Type -> Type #

NFData ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

Methods

rnf :: ResourcePolicy -> () #

Hashable ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

FromJSON ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

type Rep ResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ResourcePolicy

type Rep ResourcePolicy = D1 ('MetaData "ResourcePolicy" "Amazonka.SSMIncidents.Types.ResourcePolicy" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "ResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ramResourceShareRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newResourcePolicy Source #

Create a value of ResourcePolicy 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:policyDocument:ResourcePolicy', resourcePolicy_policyDocument - The JSON blob that describes the policy.

$sel:policyId:ResourcePolicy', resourcePolicy_policyId - The ID of the resource policy.

$sel:ramResourceShareRegion:ResourcePolicy', resourcePolicy_ramResourceShareRegion - The Region that policy allows resources to be used in.

resourcePolicy_policyDocument :: Lens' ResourcePolicy Text Source #

The JSON blob that describes the policy.

resourcePolicy_policyId :: Lens' ResourcePolicy Text Source #

The ID of the resource policy.

resourcePolicy_ramResourceShareRegion :: Lens' ResourcePolicy Text Source #

The Region that policy allows resources to be used in.