libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.Permission

Description

 
Synopsis

Documentation

data Permission Source #

Describes stack or user permissions.

See: newPermission smart constructor.

Constructors

Permission' 

Fields

Instances

Instances details
Eq Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

Read Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

Generic Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

NFData Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

Methods

rnf :: Permission -> () #

Hashable Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

FromJSON Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.OpsWorks.Types.Permission" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "Permission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "iamUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowSudo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowSsh") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newPermission :: Permission Source #

Create a value of Permission 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:iamUserArn:Permission', permission_iamUserArn - The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

$sel:allowSudo:Permission', permission_allowSudo - Whether the user can use sudo.

$sel:stackId:Permission', permission_stackId - A stack ID.

$sel:level:Permission', permission_level - The user's permission level, which must be the following:

  • deny
  • show
  • deploy
  • manage
  • iam_only

For more information on the permissions associated with these levels, see Managing User Permissions

$sel:allowSsh:Permission', permission_allowSsh - Whether the user can use SSH.

permission_iamUserArn :: Lens' Permission (Maybe Text) Source #

The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

permission_allowSudo :: Lens' Permission (Maybe Bool) Source #

Whether the user can use sudo.

permission_level :: Lens' Permission (Maybe Text) Source #

The user's permission level, which must be the following:

  • deny
  • show
  • deploy
  • manage
  • iam_only

For more information on the permissions associated with these levels, see Managing User Permissions

permission_allowSsh :: Lens' Permission (Maybe Bool) Source #

Whether the user can use SSH.