CfnPredefinedAttributePropsMixin

class aws_cdk.mixins_preview.aws_connect.mixins.CfnPredefinedAttributePropsMixin(props, *, strategy=None)

Bases: Mixin

Textual or numeric value that describes an attribute.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AttributeConfigurationProperty

class CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty(*, enable_value_validation_on_association=None, is_read_only=None)

Bases: object

Custom 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-attributeconfiguration.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-attributeconfiguration.html#cfn-connect-predefinedattribute-attributeconfiguration-enablevaluevalidationonassociation

is_read_only

Allows the predefined attribute to show up and be managed in the Amazon Connect UI.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-attributeconfiguration.html#cfn-connect-predefinedattribute-attributeconfiguration-isreadonly

ValuesProperty

class CfnPredefinedAttributePropsMixin.ValuesProperty(*, string_list=None)

Bases: object

The values of a predefined attribute.

Parameters:

string_list (Optional[Sequence[str]]) – Predefined attribute values of type string list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html#cfn-connect-predefinedattribute-values-stringlist