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 PolicyAttributeTypeDescription = PolicyAttributeTypeDescription' {}
- newPolicyAttributeTypeDescription :: PolicyAttributeTypeDescription
- policyAttributeTypeDescription_attributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_cardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_defaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_attributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text)
- policyAttributeTypeDescription_description :: Lens' PolicyAttributeTypeDescription (Maybe Text)
Documentation
data PolicyAttributeTypeDescription Source #
Information about a policy attribute type.
See: newPolicyAttributeTypeDescription
smart constructor.
PolicyAttributeTypeDescription' | |
|
Instances
newPolicyAttributeTypeDescription :: PolicyAttributeTypeDescription Source #
Create a value of PolicyAttributeTypeDescription
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:attributeType:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_attributeType
- The type of the attribute. For example, Boolean
or Integer
.
$sel:cardinality:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_cardinality
- The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value is allowed
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
$sel:defaultValue:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_defaultValue
- The default value of the attribute, if applicable.
$sel:attributeName:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_attributeName
- The name of the attribute.
$sel:description:PolicyAttributeTypeDescription'
, policyAttributeTypeDescription_description
- A description of the attribute.
policyAttributeTypeDescription_attributeType :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The type of the attribute. For example, Boolean
or Integer
.
policyAttributeTypeDescription_cardinality :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The cardinality of the attribute.
Valid values:
- ONE(1) : Single value required
- ZERO_OR_ONE(0..1) : Up to one value is allowed
- ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
- ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
policyAttributeTypeDescription_defaultValue :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The default value of the attribute, if applicable.
policyAttributeTypeDescription_attributeName :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
The name of the attribute.
policyAttributeTypeDescription_description :: Lens' PolicyAttributeTypeDescription (Maybe Text) Source #
A description of the attribute.