Skip to content
v2.278.0

NameProperty ​

Struct External

The name of the user.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_identitystore as identitystore } from 'aws-cdk-lib';
const nameProperty: identitystore.CfnUser.NameProperty = {
  familyName: 'familyName',
  formatted: 'formatted',
  givenName: 'givenName',
  honorificPrefix: 'honorificPrefix',
  honorificSuffix: 'honorificSuffix',
  middleName: 'middleName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_identitystore as identitystore

name_property = identitystore.CfnUser.NameProperty(
    family_name="familyName",
    formatted="formatted",
    given_name="givenName",
    honorific_prefix="honorificPrefix",
    honorific_suffix="honorificSuffix",
    middle_name="middleName"
)
java
// 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.*;

NameProperty nameProperty = NameProperty.builder()
        .familyName("familyName")
        .formatted("formatted")
        .givenName("givenName")
        .honorificPrefix("honorificPrefix")
        .honorificSuffix("honorificSuffix")
        .middleName("middleName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IdentityStore;

var nameProperty = new NameProperty {
    FamilyName = "familyName",
    Formatted = "formatted",
    GivenName = "givenName",
    HonorificPrefix = "honorificPrefix",
    HonorificSuffix = "honorificSuffix",
    MiddleName = "middleName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

nameProperty := &NameProperty{
	FamilyName: jsii.String("familyName"),
	Formatted: jsii.String("formatted"),
	GivenName: jsii.String("givenName"),
	HonorificPrefix: jsii.String("honorificPrefix"),
	HonorificSuffix: jsii.String("honorificSuffix"),
	MiddleName: jsii.String("middleName"),
}

Properties ​

familyNameoptionalstringfamily_nameoptionalstrfamilyNameoptionalStringFamilyNameoptionalstringFamilyNameoptional*string #
The family name of the user.
formattedoptionalstringformattedoptionalstrformattedoptionalStringFormattedoptionalstringFormattedoptional*string #
A string containing a formatted version of the name for display.
givenNameoptionalstringgiven_nameoptionalstrgivenNameoptionalStringGivenNameoptionalstringGivenNameoptional*string #
The given name of the user.
honorificPrefixoptionalstringhonorific_prefixoptionalstrhonorificPrefixoptionalStringHonorificPrefixoptionalstringHonorificPrefixoptional*string #
The honorific prefix of the user.
honorificSuffixoptionalstringhonorific_suffixoptionalstrhonorificSuffixoptionalStringHonorificSuffixoptionalstringHonorificSuffixoptional*string #
The honorific suffix of the user.
middleNameoptionalstringmiddle_nameoptionalstrmiddleNameoptionalStringMiddleNameoptionalstringMiddleNameoptional*string #
The middle name of the user.