amazonka-ecs-2.0: Amazon EC2 Container Service 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.ECS.Types.Setting

Description

 
Synopsis

Documentation

data Setting Source #

The current account setting for a resource.

See: newSetting smart constructor.

Constructors

Setting' 

Fields

  • name :: Maybe SettingName

    The Amazon ECS resource name.

  • principalArn :: Maybe Text

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

  • value :: Maybe Text

    Determines whether the account setting is enabled or disabled for the specified resource.

Instances

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

Read Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Show Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

NFData Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

rnf :: Setting -> () #

Eq Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

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

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

Hashable Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

Methods

hashWithSalt :: Int -> Setting -> Int #

hash :: Setting -> Int #

type Rep Setting Source # 
Instance details

Defined in Amazonka.ECS.Types.Setting

type Rep Setting = D1 ('MetaData "Setting" "Amazonka.ECS.Types.Setting" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "Setting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SettingName)) :*: (S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") '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:name:Setting', setting_name - The Amazon ECS resource name.

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

$sel:value:Setting', setting_value - Determines 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. It 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 #

Determines whether the account setting is enabled or disabled for the specified resource.