CfnPredefinedAttributePropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnPredefinedAttributePropsMixin(props, *, strategy=None)
Bases:
MixinTextual or numeric value that describes an attribute.
- See:
- CloudformationResource:
AWS::Connect::PredefinedAttribute
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cfn_predefined_attribute_props_mixin = connect_mixins.CfnPredefinedAttributePropsMixin(connect_mixins.CfnPredefinedAttributeMixinProps( attribute_configuration=connect_mixins.CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty( enable_value_validation_on_association=False, is_read_only=False ), instance_arn="instanceArn", name="name", purposes=["purposes"], values=connect_mixins.CfnPredefinedAttributePropsMixin.ValuesProperty( string_list=["stringList"] ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::PredefinedAttribute.- Parameters:
props (
Union[CfnPredefinedAttributeMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['attributeConfiguration', 'instanceArn', 'name', 'purposes', 'values']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AttributeConfigurationProperty
- class CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty(*, enable_value_validation_on_association=None, is_read_only=None)
Bases:
objectCustom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
- Parameters:
enable_value_validation_on_association (
Union[bool,IResolvable,None]) – Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.is_read_only (
Union[bool,IResolvable,None]) – Allows the predefined attribute to show up and be managed in the Amazon Connect UI.
- 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.mixins_preview.aws_connect import mixins as connect_mixins attribute_configuration_property = connect_mixins.CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty( enable_value_validation_on_association=False, is_read_only=False )
Attributes
- enable_value_validation_on_association
Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.
- is_read_only
Allows the predefined attribute to show up and be managed in the Amazon Connect UI.
ValuesProperty
- class CfnPredefinedAttributePropsMixin.ValuesProperty(*, string_list=None)
Bases:
objectThe values of a predefined attribute.
- Parameters:
string_list (
Optional[Sequence[str]]) – Predefined attribute values of type string list.- 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.mixins_preview.aws_connect import mixins as connect_mixins values_property = connect_mixins.CfnPredefinedAttributePropsMixin.ValuesProperty( string_list=["stringList"] )
Attributes
- string_list
Predefined attribute values of type string list.