Class CfnSecurityProfile.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfile>
- Enclosing class:
CfnSecurityProfile
@Stability(Stable)
public static final class CfnSecurityProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfile>
A fluent builder for
CfnSecurityProfile
.-
Method Summary
Modifier and TypeMethodDescriptionallowedAccessControlHierarchyGroupId
(String allowedAccessControlHierarchyGroupId) The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.allowedAccessControlTags
(List<? extends Object> allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.allowedAccessControlTags
(IResolvable allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.applications
(List<? extends Object> applications) A list of third-party applications that the security profile will give access to.applications
(IResolvable applications) A list of third-party applications that the security profile will give access to.build()
static CfnSecurityProfile.Builder
description
(String description) The description of the security profile.hierarchyRestrictedResources
(List<String> hierarchyRestrictedResources) The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.instanceArn
(String instanceArn) The identifier of the Amazon Connect instance.permissions
(List<String> permissions) Permissions assigned to the security profile.securityProfileName
(String securityProfileName) The name for the security profile.tagRestrictedResources
(List<String> tagRestrictedResources) The list of resources that a security profile applies tag restrictions to in Amazon Connect.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSecurityProfile.Builder
.
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn
- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
- See Also:
-
securityProfileName
@Stability(Stable) public CfnSecurityProfile.Builder securityProfileName(String securityProfileName) The name for the security profile.- Parameters:
securityProfileName
- The name for the security profile. This parameter is required.- Returns:
this
- See Also:
-
allowedAccessControlHierarchyGroupId
@Stability(Stable) public CfnSecurityProfile.Builder allowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId) The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.- Parameters:
allowedAccessControlHierarchyGroupId
- The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect. This parameter is required.- Returns:
this
- See Also:
-
allowedAccessControlTags
@Stability(Stable) public CfnSecurityProfile.Builder allowedAccessControlTags(IResolvable allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Parameters:
allowedAccessControlTags
- The list of tags that a security profile uses to restrict access to resources in Amazon Connect. This parameter is required.- Returns:
this
- See Also:
-
allowedAccessControlTags
@Stability(Stable) public CfnSecurityProfile.Builder allowedAccessControlTags(List<? extends Object> allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Parameters:
allowedAccessControlTags
- The list of tags that a security profile uses to restrict access to resources in Amazon Connect. This parameter is required.- Returns:
this
- See Also:
-
applications
A list of third-party applications that the security profile will give access to.- Parameters:
applications
- A list of third-party applications that the security profile will give access to. This parameter is required.- Returns:
this
- See Also:
-
applications
@Stability(Stable) public CfnSecurityProfile.Builder applications(List<? extends Object> applications) A list of third-party applications that the security profile will give access to.- Parameters:
applications
- A list of third-party applications that the security profile will give access to. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the security profile.- Parameters:
description
- The description of the security profile. This parameter is required.- Returns:
this
- See Also:
-
hierarchyRestrictedResources
@Stability(Stable) public CfnSecurityProfile.Builder hierarchyRestrictedResources(List<String> hierarchyRestrictedResources) The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.Following are acceptable ResourceNames:
User
.- Parameters:
hierarchyRestrictedResources
- The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. This parameter is required.- Returns:
this
- See Also:
-
permissions
Permissions assigned to the security profile.For a list of valid permissions, see List of security profile permissions .
- Parameters:
permissions
- Permissions assigned to the security profile. This parameter is required.- Returns:
this
- See Also:
-
tagRestrictedResources
@Stability(Stable) public CfnSecurityProfile.Builder tagRestrictedResources(List<String> tagRestrictedResources) The list of resources that a security profile applies tag restrictions to in Amazon Connect.- Parameters:
tagRestrictedResources
- The list of resources that a security profile applies tag restrictions to in Amazon Connect. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags used to organize, track, or control access for this resource.For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityProfile>
- Returns:
- a newly built instance of
CfnSecurityProfile
.
-