Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Setting = Setting' {
- value :: Maybe Text
- name :: Maybe SettingName
- principalArn :: Maybe Text
- newSetting :: Setting
- setting_value :: Lens' Setting (Maybe Text)
- setting_name :: Lens' Setting (Maybe SettingName)
- setting_principalArn :: Lens' Setting (Maybe Text)
Documentation
The current account setting for a resource.
See: newSetting
smart constructor.
Setting' | |
|
Instances
Eq Setting Source # | |
Read Setting Source # | |
Show Setting Source # | |
Generic Setting Source # | |
NFData Setting Source # | |
Defined in Amazonka.ECS.Types.Setting | |
Hashable Setting Source # | |
Defined in Amazonka.ECS.Types.Setting | |
FromJSON Setting Source # | |
type Rep Setting Source # | |
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.