Skip to main content

security_profiles

Creates, updates, deletes or gets a security_profile resource or lists security_profiles in a region

Overview

Namesecurity_profiles
TypeResource
DescriptionResource Type definition for AWS::Connect::SecurityProfile
Idaws.connect.security_profiles

Fields

NameDatatypeDescription
allowed_access_control_tagsarrayThe list of tags that a security profile uses to restrict access to resources in Amazon Connect.
descriptionstringThe description of the security profile.
instance_arnstringThe identifier of the Amazon Connect instance.
permissionsarrayPermissions assigned to the security profile.
security_profile_arnstringThe Amazon Resource Name (ARN) for the security profile.
security_profile_namestringThe name of the security profile.
tag_restricted_resourcesarrayThe list of resources that a security profile applies tag restrictions to in Amazon Connect.
hierarchy_restricted_resourcesarrayThe list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
allowed_access_control_hierarchy_group_idstringThe identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
applicationsarrayA list of third-party applications that the security profile will give access to.
tagsarrayThe tags used to organize, track, or control access for this resource.
last_modified_regionstringThe AWS Region where this resource was last modified.
last_modified_timenumberThe timestamp when this resource was last modified.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTInstanceArn, SecurityProfileName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all security_profiles in a region.

SELECT
region,
allowed_access_control_tags,
description,
instance_arn,
permissions,
security_profile_arn,
security_profile_name,
tag_restricted_resources,
hierarchy_restricted_resources,
allowed_access_control_hierarchy_group_id,
applications,
tags,
last_modified_region,
last_modified_time
FROM aws.connect.security_profiles
WHERE region = 'us-east-1';

Gets all properties from an individual security_profile.

SELECT
region,
allowed_access_control_tags,
description,
instance_arn,
permissions,
security_profile_arn,
security_profile_name,
tag_restricted_resources,
hierarchy_restricted_resources,
allowed_access_control_hierarchy_group_id,
applications,
tags,
last_modified_region,
last_modified_time
FROM aws.connect.security_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<SecurityProfileArn>';

INSERT example

Use the following StackQL query and manifest file to create a new security_profile resource, using stack-deploy.

/*+ create */
INSERT INTO aws.connect.security_profiles (
InstanceArn,
SecurityProfileName,
region
)
SELECT
'{{ InstanceArn }}',
'{{ SecurityProfileName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.connect.security_profiles
WHERE data__Identifier = '<SecurityProfileArn>'
AND region = 'us-east-1';

Permissions

To operate on the security_profiles resource, the following permissions are required:

Create

connect:CreateSecurityProfile,
connect:TagResource

Read

connect:DescribeSecurityProfile,
connect:ListSecurityProfileApplications,
connect:ListSecurityProfilePermissions

Update

connect:TagResource,
connect:UpdateSecurityProfile,
connect:UntagResource

Delete

connect:DeleteSecurityProfile,
connect:UntagResource

List

connect:ListSecurityProfiles