libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.IamRoleConfiguration

Description

 
Synopsis

Documentation

data IamRoleConfiguration Source #

The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see IAM and STS quotas.

See: newIamRoleConfiguration smart constructor.

Constructors

IamRoleConfiguration' 

Fields

Instances

Instances details
Eq IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

Read IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

Show IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

Generic IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

Associated Types

type Rep IamRoleConfiguration :: Type -> Type #

NFData IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

Methods

rnf :: IamRoleConfiguration -> () #

Hashable IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

ToJSON IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

FromJSON IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

type Rep IamRoleConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.IamRoleConfiguration

type Rep IamRoleConfiguration = D1 ('MetaData "IamRoleConfiguration" "Amazonka.AccessAnalyzer.Types.IamRoleConfiguration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "IamRoleConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trustPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIamRoleConfiguration :: IamRoleConfiguration Source #

Create a value of IamRoleConfiguration 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:trustPolicy:IamRoleConfiguration', iamRoleConfiguration_trustPolicy - The proposed trust policy for the IAM role.

iamRoleConfiguration_trustPolicy :: Lens' IamRoleConfiguration (Maybe Text) Source #

The proposed trust policy for the IAM role.