Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:11.567Z")
@Stability(Stable)
public interface CfnUserProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnUser.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.identitystore.*;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.identityStoreId("identityStoreId")
// the properties below are optional
.addresses(List.of(AddressesItemsProperty.builder()
.country("country")
.formatted("formatted")
.locality("locality")
.postalCode("postalCode")
.primary(false)
.region("region")
.streetAddress("streetAddress")
.type("type")
.build()))
.birthdate("birthdate")
.displayName("displayName")
.emails(List.of(EmailsItemsProperty.builder()
.primary(false)
.type("type")
.value("value")
.build()))
.locale("locale")
.name(NameProperty.builder()
.familyName("familyName")
.formatted("formatted")
.givenName("givenName")
.honorificPrefix("honorificPrefix")
.honorificSuffix("honorificSuffix")
.middleName("middleName")
.build())
.nickName("nickName")
.phoneNumbers(List.of(PhoneNumbersItemsProperty.builder()
.primary(false)
.type("type")
.value("value")
.build()))
.photos(List.of(PhotosItemsProperty.builder()
.value("value")
// the properties below are optional
.display("display")
.primary(false)
.type("type")
.build()))
.preferredLanguage("preferredLanguage")
.profileUrl("profileUrl")
.roles(List.of(RolesItemsProperty.builder()
.primary(false)
.type("type")
.value("value")
.build()))
.timezone("timezone")
.title("title")
.userName("userName")
.userType("userType")
.website("website")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPropsstatic final classAn implementation forCfnUserProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserProps.Builderbuilder()default ObjectA list of addresses associated with the user.default StringThe user's birthdate in YYYY-MM-DD format.default StringA string containing the name of the user for display.default ObjectA list of email addresses associated with the user.The globally unique identifier for the identity store.default StringThe geographical region or location of the user.default ObjectgetName()The name of the user.default StringAn alternate name for the user.default ObjectA list of phone numbers associated with the user.default ObjectA list of photos associated with the user.default StringThe preferred language of the user.default StringA URL associated with the user.default ObjectgetRoles()A list of roles associated with the user.default StringThe time zone for the user.default StringgetTitle()The title of the user.default StringA unique string used to identify the user.default StringA string indicating the type of user.default StringThe user's personal website or blog URL.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentityStoreId
The globally unique identifier for the identity store.- See Also:
-
getAddresses
A list of addresses associated with the user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.AddressesItemsProperty>- See Also:
-
getBirthdate
The user's birthdate in YYYY-MM-DD format.- See Also:
-
getDisplayName
A string containing the name of the user for display.- See Also:
-
getEmails
A list of email addresses associated with the user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.EmailsItemsProperty>- See Also:
-
getLocale
The geographical region or location of the user.- See Also:
-
getName
The name of the user.Returns union: either
IResolvableorCfnUser.NameProperty- See Also:
-
getNickName
An alternate name for the user.- See Also:
-
getPhoneNumbers
A list of phone numbers associated with the user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.PhoneNumbersItemsProperty>- See Also:
-
getPhotos
A list of photos associated with the user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.PhotosItemsProperty>- See Also:
-
getPreferredLanguage
The preferred language of the user.- See Also:
-
getProfileUrl
A URL associated with the user.- See Also:
-
getRoles
A list of roles associated with the user.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnUser.RolesItemsProperty>- See Also:
-
getTimezone
The time zone for the user.- See Also:
-
getTitle
The title of the user.- See Also:
-
getUserName
A unique string used to identify the user.- See Also:
-
getUserType
A string indicating the type of user.- See Also:
-
getWebsite
The user's personal website or blog URL.- See Also:
-
builder
- Returns:
- a
CfnUserProps.BuilderofCfnUserProps
-