CfnSecurityProfilePropsMixin

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

Bases: Mixin

Creates a security profile.

For information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide . For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

See:

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

CloudformationResource:

AWS::Connect::SecurityProfile

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag, CfnTag
# 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_security_profile_props_mixin = connect_mixins.CfnSecurityProfilePropsMixin(connect_mixins.CfnSecurityProfileMixinProps(
    allowed_access_control_hierarchy_group_id="allowedAccessControlHierarchyGroupId",
    allowed_access_control_tags=[CfnTag(
        key="key",
        value="value"
    )],
    applications=[connect_mixins.CfnSecurityProfilePropsMixin.ApplicationProperty(
        application_permissions=["applicationPermissions"],
        namespace="namespace"
    )],
    description="description",
    granular_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.GranularAccessControlConfigurationProperty(
        data_table_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.DataTableAccessControlConfigurationProperty(
            primary_attribute_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeAccessControlConfigurationItemProperty(
                primary_attribute_values=[connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(
                    access_type="accessType",
                    attribute_name="attributeName",
                    values=["values"]
                )]
            )
        )
    ),
    hierarchy_restricted_resources=["hierarchyRestrictedResources"],
    instance_arn="instanceArn",
    permissions=["permissions"],
    security_profile_name="securityProfileName",
    tag_restricted_resources=["tagRestrictedResources"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Connect::SecurityProfile.

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 = ['allowedAccessControlHierarchyGroupId', 'allowedAccessControlTags', 'applications', 'description', 'granularAccessControlConfiguration', 'hierarchyRestrictedResources', 'instanceArn', 'permissions', 'securityProfileName', 'tagRestrictedResources', 'tags']

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

ApplicationProperty

class CfnSecurityProfilePropsMixin.ApplicationProperty(*, application_permissions=None, namespace=None)

Bases: object

This API is in preview release for Amazon Connect and is subject to change.

A third-party application’s metadata.

Parameters:
  • application_permissions (Optional[Sequence[str]]) – The permissions that the agent is granted on the application. For third-party applications, only the ACCESS permission is supported. For MCP Servers, the permissions are tool Identifiers accepted by MCP Server.

  • namespace (Optional[str]) – Namespace of the application that you want to give access to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.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

application_property = connect_mixins.CfnSecurityProfilePropsMixin.ApplicationProperty(
    application_permissions=["applicationPermissions"],
    namespace="namespace"
)

Attributes

application_permissions

The permissions that the agent is granted on the application.

For third-party applications, only the ACCESS permission is supported. For MCP Servers, the permissions are tool Identifiers accepted by MCP Server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-applicationpermissions

namespace

Namespace of the application that you want to give access to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-namespace

DataTableAccessControlConfigurationProperty

class CfnSecurityProfilePropsMixin.DataTableAccessControlConfigurationProperty(*, primary_attribute_access_control_configuration=None)

Bases: object

A data table access control configuration.

Parameters:

primary_attribute_access_control_configuration (Union[IResolvable, PrimaryAttributeAccessControlConfigurationItemProperty, Dict[str, Any], None]) – The configuration’s primary attribute access control configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-datatableaccesscontrolconfiguration.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

data_table_access_control_configuration_property = connect_mixins.CfnSecurityProfilePropsMixin.DataTableAccessControlConfigurationProperty(
    primary_attribute_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeAccessControlConfigurationItemProperty(
        primary_attribute_values=[connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(
            access_type="accessType",
            attribute_name="attributeName",
            values=["values"]
        )]
    )
)

Attributes

primary_attribute_access_control_configuration

The configuration’s primary attribute access control configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-datatableaccesscontrolconfiguration.html#cfn-connect-securityprofile-datatableaccesscontrolconfiguration-primaryattributeaccesscontrolconfiguration

GranularAccessControlConfigurationProperty

class CfnSecurityProfilePropsMixin.GranularAccessControlConfigurationProperty(*, data_table_access_control_configuration=None)

Bases: object

Contains granular access control configuration for security profiles, including data table access permissions.

Parameters:

data_table_access_control_configuration (Union[IResolvable, DataTableAccessControlConfigurationProperty, Dict[str, Any], None]) – The access control configuration for data tables.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-granularaccesscontrolconfiguration.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

granular_access_control_configuration_property = connect_mixins.CfnSecurityProfilePropsMixin.GranularAccessControlConfigurationProperty(
    data_table_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.DataTableAccessControlConfigurationProperty(
        primary_attribute_access_control_configuration=connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeAccessControlConfigurationItemProperty(
            primary_attribute_values=[connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(
                access_type="accessType",
                attribute_name="attributeName",
                values=["values"]
            )]
        )
    )
)

Attributes

data_table_access_control_configuration

The access control configuration for data tables.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-granularaccesscontrolconfiguration.html#cfn-connect-securityprofile-granularaccesscontrolconfiguration-datatableaccesscontrolconfiguration

PrimaryAttributeAccessControlConfigurationItemProperty

class CfnSecurityProfilePropsMixin.PrimaryAttributeAccessControlConfigurationItemProperty(*, primary_attribute_values=None)

Bases: object

A primary attribute access control configuration item.

Parameters:

primary_attribute_values (Union[IResolvable, Sequence[Union[IResolvable, PrimaryAttributeValueProperty, Dict[str, Any]]], None]) – The item’s primary attribute values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-primaryattributeaccesscontrolconfigurationitem.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

primary_attribute_access_control_configuration_item_property = connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeAccessControlConfigurationItemProperty(
    primary_attribute_values=[connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(
        access_type="accessType",
        attribute_name="attributeName",
        values=["values"]
    )]
)

Attributes

primary_attribute_values

The item’s primary attribute values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-primaryattributeaccesscontrolconfigurationitem.html#cfn-connect-securityprofile-primaryattributeaccesscontrolconfigurationitem-primaryattributevalues

PrimaryAttributeValueProperty

class CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(*, access_type=None, attribute_name=None, values=None)

Bases: object

A primary attribute value.

Parameters:
  • access_type (Optional[str]) – The value’s access type.

  • attribute_name (Optional[str]) – The value’s attribute name.

  • values (Optional[Sequence[str]]) – The value’s values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-primaryattributevalue.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

primary_attribute_value_property = connect_mixins.CfnSecurityProfilePropsMixin.PrimaryAttributeValueProperty(
    access_type="accessType",
    attribute_name="attributeName",
    values=["values"]
)

Attributes

access_type

The value’s access type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-primaryattributevalue.html#cfn-connect-securityprofile-primaryattributevalue-accesstype

attribute_name

The value’s attribute name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-primaryattributevalue.html#cfn-connect-securityprofile-primaryattributevalue-attributename

values

The value’s values.

See:

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