CfnPredefinedAttributeProps
- class aws_cdk.aws_connect.CfnPredefinedAttributeProps(*, instance_arn, name, attribute_configuration=None, purposes=None, values=None)
Bases:
object
Properties for defining a
CfnPredefinedAttribute
.- Parameters:
instance_arn (
str
) – The Amazon Resource Name (ARN) of the instance.name (
str
) – The name of the predefined attribute.attribute_configuration (
Union
[IResolvable
,AttributeConfigurationProperty
,Dict
[str
,Any
],None
]) – Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.purposes (
Optional
[Sequence
[str
]]) – The assigned purposes of the predefined attribute.values (
Union
[IResolvable
,ValuesProperty
,Dict
[str
,Any
],None
]) – The values of a predefined attribute.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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 cfn_predefined_attribute_props = connect.CfnPredefinedAttributeProps( instance_arn="instanceArn", name="name", # the properties below are optional attribute_configuration=connect.CfnPredefinedAttribute.AttributeConfigurationProperty( enable_value_validation_on_association=False, is_read_only=False ), purposes=["purposes"], values=connect.CfnPredefinedAttribute.ValuesProperty( string_list=["stringList"] ) )
Attributes
- attribute_configuration
Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
- instance_arn
The Amazon Resource Name (ARN) of the instance.
- name
The name of the predefined attribute.
- purposes
The assigned purposes of the predefined attribute.
- values
The values of a predefined attribute.