libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.Setting

Description

 
Synopsis

Documentation

data Setting Source #

The current account setting for a resource.

See: newSetting smart constructor.

Constructors

Setting' 

Fields

  • value :: Maybe Text

    Whether the account setting is enabled or disabled for the specified resource.

  • name :: Maybe SettingName

    The Amazon ECS resource name.

  • principalArn :: Maybe Text

    The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.

Instances

Instances details
Eq Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

(==) :: Setting -> Setting -> Bool #

(/=) :: Setting -> Setting -> Bool #

Read Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Show Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Generic Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Associated Types

type Rep Setting :: Type -> Type #

Methods

from :: Setting -> Rep Setting x #

to :: Rep Setting x -> Setting #

NFData Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

rnf :: Setting -> () #

Hashable Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

hashWithSalt :: Int -> Setting -> Int #

hash :: Setting -> Int #

FromJSON Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

type Rep Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

type Rep Setting = D1 ('MetaData "Setting" "Amazonka.ECS.Types.Setting" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Setting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SettingName)) :*: S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSetting :: Setting Source #

Create a value of Setting 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:value:Setting', setting_value - Whether the account setting is enabled or disabled for the specified resource.

$sel:name:Setting', setting_name - The Amazon ECS resource name.

$sel:principalArn:Setting', setting_principalArn - The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.

setting_value :: Lens' Setting (Maybe Text) Source #

Whether the account setting is enabled or disabled for the specified resource.

setting_name :: Lens' Setting (Maybe SettingName) Source #

The Amazon ECS resource name.

setting_principalArn :: Lens' Setting (Maybe Text) Source #

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.