Class CfnUserPool.SchemaAttributeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnUserPool.SchemaAttributeProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnUserPool.SchemaAttributeProperty
CfnUserPool.SchemaAttributeProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.CfnUserPool.SchemaAttributeProperty
CfnUserPool.SchemaAttributeProperty.Builder, CfnUserPool.SchemaAttributeProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnUserPool.SchemaAttributeProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe data format of the values for your attribute.final Objectfinal ObjectSpecifies whether the value of the attribute can be changed.final StringgetName()The name of your user pool attribute.final ObjectSpecifies the constraints for an attribute of the number type.final ObjectSpecifies whether a user pool attribute is required.final ObjectSpecifies the constraints for an attribute of the string type.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnUserPool.SchemaAttributeProperty.Builder.
-
-
Method Details
-
getAttributeDataType
Description copied from interface:CfnUserPool.SchemaAttributePropertyThe data format of the values for your attribute.When you choose an
AttributeDataType, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example"custom:isMember" : "true"or"custom:YearsAsMember" : "12".- Specified by:
getAttributeDataTypein interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getDeveloperOnlyAttribute
Description copied from interface:CfnUserPool.SchemaAttributePropertyYou should use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using
DeveloperOnlyAttribute.Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users won't be able to modify this attribute using their access token. For example,
DeveloperOnlyAttributecan be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.Returns union: either
BooleanorIResolvable- Specified by:
getDeveloperOnlyAttributein interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getMutable
Description copied from interface:CfnUserPool.SchemaAttributePropertySpecifies whether the value of the attribute can be changed.Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of
true. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool .Returns union: either
BooleanorIResolvable- Specified by:
getMutablein interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getName
Description copied from interface:CfnUserPool.SchemaAttributePropertyThe name of your user pool attribute.When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a
Namevalue ofMyAttribute, Amazon Cognito creates the custom attributecustom:MyAttribute. WhenDeveloperOnlyAttributeistrue, Amazon Cognito creates your attribute asdev:MyAttribute. In an operation that describes a user pool, Amazon Cognito returns this value asvaluefor standard attributes,custom:valuefor custom attributes, anddev:valuefor developer-only attributes..- Specified by:
getNamein interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getNumberAttributeConstraints
Description copied from interface:CfnUserPool.SchemaAttributePropertySpecifies the constraints for an attribute of the number type.Returns union: either
IResolvableorCfnUserPool.NumberAttributeConstraintsProperty- Specified by:
getNumberAttributeConstraintsin interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getRequired
Description copied from interface:CfnUserPool.SchemaAttributePropertySpecifies whether a user pool attribute is required.If the attribute is required and the user doesn't provide a value, registration or sign-in will fail.
Returns union: either
BooleanorIResolvable- Specified by:
getRequiredin interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
getStringAttributeConstraints
Description copied from interface:CfnUserPool.SchemaAttributePropertySpecifies the constraints for an attribute of the string type.Returns union: either
IResolvableorCfnUserPool.StringAttributeConstraintsProperty- Specified by:
getStringAttributeConstraintsin interfaceCfnUserPool.SchemaAttributeProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-