libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.ContextEntry

Description

 
Synopsis

Documentation

data ContextEntry Source #

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.

See: newContextEntry smart constructor.

Constructors

ContextEntry' 

Fields

  • contextKeyValues :: Maybe [Text]

    The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

  • contextKeyName :: Maybe Text

    The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

  • contextKeyType :: Maybe ContextKeyTypeEnum

    The data type of the value (or values) specified in the ContextKeyValues parameter.

Instances

Instances details
Eq ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

Read ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

Show ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

Generic ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

Associated Types

type Rep ContextEntry :: Type -> Type #

NFData ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

Methods

rnf :: ContextEntry -> () #

Hashable ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

ToQuery ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

type Rep ContextEntry Source # 
Instance details

Defined in Amazonka.IAM.Types.ContextEntry

type Rep ContextEntry = D1 ('MetaData "ContextEntry" "Amazonka.IAM.Types.ContextEntry" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ContextEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contextKeyValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "contextKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contextKeyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContextKeyTypeEnum)))))

newContextEntry :: ContextEntry Source #

Create a value of ContextEntry 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:contextKeyValues:ContextEntry', contextEntry_contextKeyValues - The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

$sel:contextKeyName:ContextEntry', contextEntry_contextKeyName - The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

$sel:contextKeyType:ContextEntry', contextEntry_contextKeyType - The data type of the value (or values) specified in the ContextKeyValues parameter.

contextEntry_contextKeyValues :: Lens' ContextEntry (Maybe [Text]) Source #

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

contextEntry_contextKeyName :: Lens' ContextEntry (Maybe Text) Source #

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

contextEntry_contextKeyType :: Lens' ContextEntry (Maybe ContextKeyTypeEnum) Source #

The data type of the value (or values) specified in the ContextKeyValues parameter.