PrimaryAttributeValueProperty
Struct External
A primary attribute value.
| Source | |
|---|---|
| Type last changed |
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 primaryAttributeValueProperty: connect.CfnSecurityProfile.PrimaryAttributeValueProperty = {
accessType: 'accessType',
attributeName: 'attributeName',
values: ['values'],
};
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
primary_attribute_value_property = connect.CfnSecurityProfile.PrimaryAttributeValueProperty(
access_type="accessType",
attribute_name="attributeName",
values=["values"]
)
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.*;
PrimaryAttributeValueProperty primaryAttributeValueProperty = PrimaryAttributeValueProperty.builder()
.accessType("accessType")
.attributeName("attributeName")
.values(List.of("values"))
.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 primaryAttributeValueProperty = new PrimaryAttributeValueProperty {
AccessType = "accessType",
AttributeName = "attributeName",
Values = new [] { "values" }
};
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"
primaryAttributeValueProperty := &PrimaryAttributeValueProperty{
AccessType: jsii.String("accessType"),
AttributeName: jsii.String("attributeName"),
Values: []*string{
jsii.String("values"),
},
}
Properties
accessTypeoptionalstringaccess_typeoptionalstraccessTypeoptionalStringAccessTypeoptionalstringAccessTypeoptional*string #The value's access type.
attributeNameoptionalstringattribute_nameoptionalstrattributeNameoptionalStringAttributeNameoptionalstringAttributeNameoptional*string #The value's attribute name.
valuesoptionalstring[]valuesoptionaltyping.List[str]valuesoptionalList<String>Valuesoptionalstring[]Valuesoptional*[]*string #The value's values.