Skip to content
v2.278.0

UserProficiencyProperty Struct ​

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

For more information, see Predefined attributes .

Proficiency of a user.

Example ​

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
# 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
// 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();
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
};
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 ​

attributeNamestringattribute_namestrattributeNameStringAttributeNamestringAttributeName*string required #
The name of user’s proficiency.

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

attributeValuestringattribute_valuestrattributeValueStringAttributeValuestringAttributeValue*string required #
The value of user’s proficiency.

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

levelnumberlevelint | floatlevelNumberLeveldoubleLevel*float64 required #
The level of the proficiency.

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