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:

# 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. Only the ACCESS permission is supported.

  • 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.

Only the ACCESS permission is supported.

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

Defines the access control configuration for data tables.

Parameters:

primary_attribute_access_control_configuration (Union[IResolvable, PrimaryAttributeAccessControlConfigurationItemProperty, Dict[str, Any], None]) – Contains the configuration for record-based access control.

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

Contains the configuration for record-based access control.

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

Parameters:

data_table_access_control_configuration (Union[IResolvable, DataTableAccessControlConfigurationProperty, Dict[str, Any], None]) – Defines 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

Defines 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

Contains the configuration for record-based access control.

Parameters:

primary_attribute_values (Union[IResolvable, Sequence[Union[IResolvable, PrimaryAttributeValueProperty, Dict[str, Any]]], None]) – An array of PrimaryAttributeValue objects.

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

An array of PrimaryAttributeValue objects.

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

An object defining the access control for a specific attribute and its values.

Parameters:
  • access_type (Optional[str]) – Specifies the type of access granted. Currently, only “ALLOW” is supported

  • attribute_name (Optional[str]) – The name of the primary attribute.

  • values (Optional[Sequence[str]]) – An array of allowed primary values for the specified primary attribute.

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

Specifies the type of access granted.

Currently, only “ALLOW” is supported

See:

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

attribute_name

The name of the primary attribute.

See:

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

values

An array of allowed primary values for the specified primary attribute.

See:

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