# PhoneNumbersItemsProperty

Struct · External

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```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 phoneNumbersItemsProperty: identitystore.CfnUser.PhoneNumbersItemsProperty = {
  primary: false,
  type: 'type',
  value: 'value',
};
```

Python:

```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

phone_numbers_items_property = identitystore.CfnUser.PhoneNumbersItemsProperty(
    primary=False,
    type="type",
    value="value"
)
```

Java:

```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.*;

PhoneNumbersItemsProperty phoneNumbersItemsProperty = PhoneNumbersItemsProperty.builder()
        .primary(false)
        .type("type")
        .value("value")
        .build();
```

C#:

```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 phoneNumbersItemsProperty = new PhoneNumbersItemsProperty {
    Primary = false,
    Type = "type",
    Value = "value"
};
```

Go:

```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"

phoneNumbersItemsProperty := &PhoneNumbersItemsProperty{
	Primary: jsii.Boolean(false),
	Type: jsii.String("type"),
	Value: jsii.String("value"),
}
```

## Properties

- `primary`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether this is the primary phone number.

- `type`: string — The type of phone number.

- `value`: string — The phone number.
