# UserProficiencyProperty

> A predefined attribute must be created before using `UserProficiencies` in the Cloudformation *User* template.

For more information, see [Predefined attributes](https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html) .

Proficiency of a user.

- Source: Generated at build time
- Type last changed: v2.119.0 · 11 Jan 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const userProficiencyProperty: connect.CfnUser.UserProficiencyProperty = {
  attributeName: 'attributeName',
  attributeValue: 'attributeValue',
  level: 123,
};
```

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_connect as connect

user_proficiency_property = connect.CfnUser.UserProficiencyProperty(
    attribute_name="attributeName",
    attribute_value="attributeValue",
    level=123
)
```

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

UserProficiencyProperty userProficiencyProperty = UserProficiencyProperty.builder()
        .attributeName("attributeName")
        .attributeValue("attributeValue")
        .level(123)
        .build();
```

C# / .NET:

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

var userProficiencyProperty = new UserProficiencyProperty {
    AttributeName = "attributeName",
    AttributeValue = "attributeValue",
    Level = 123
};
```

Golang:

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

userProficiencyProperty := &UserProficiencyProperty{
	AttributeName: jsii.String("attributeName"),
	AttributeValue: jsii.String("attributeValue"),
	Level: jsii.Number(123),
}
```

## Properties

- `attributeName`: string (required) — The name of user’s proficiency.

  You must use a predefined attribute name that is present in the Amazon Connect instance.

- `attributeValue`: string (required) — The value of user’s proficiency.

  You must use a predefined attribute value that is present in the Amazon Connect instance.

- `level`: number (required) — The level of the proficiency.

  The valid values are 1, 2, 3, 4 and 5.
