#[non_exhaustive]pub struct CreateSecurityProfileInput {
pub security_profile_name: Option<String>,
pub description: Option<String>,
pub permissions: Option<Vec<String>>,
pub instance_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub allowed_access_control_tags: Option<HashMap<String, String>>,
pub tag_restricted_resources: Option<Vec<String>>,
pub applications: Option<Vec<Application>>,
pub hierarchy_restricted_resources: Option<Vec<String>>,
pub allowed_access_control_hierarchy_group_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.security_profile_name: Option<String>
The name of the security profile.
description: Option<String>
The description of the security profile.
permissions: Option<Vec<String>>
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
tag_restricted_resources: Option<Vec<String>>
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
applications: Option<Vec<Application>>
This API is in preview release for Amazon Connect and is subject to change.
A list of third-party applications that the security profile will give access to.
hierarchy_restricted_resources: Option<Vec<String>>
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
allowed_access_control_hierarchy_group_id: Option<String>
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
Implementations§
source§impl CreateSecurityProfileInput
impl CreateSecurityProfileInput
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name of the security profile.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the security profile.
sourcepub fn permissions(&self) -> &[String]
pub fn permissions(&self) -> &[String]
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn tag_restricted_resources(&self) -> &[String]
pub fn tag_restricted_resources(&self) -> &[String]
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_restricted_resources.is_none()
.
sourcepub fn applications(&self) -> &[Application]
pub fn applications(&self) -> &[Application]
This API is in preview release for Amazon Connect and is subject to change.
A list of third-party applications that the security profile will give access to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .applications.is_none()
.
sourcepub fn hierarchy_restricted_resources(&self) -> &[String]
pub fn hierarchy_restricted_resources(&self) -> &[String]
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hierarchy_restricted_resources.is_none()
.
sourcepub fn allowed_access_control_hierarchy_group_id(&self) -> Option<&str>
pub fn allowed_access_control_hierarchy_group_id(&self) -> Option<&str>
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
source§impl CreateSecurityProfileInput
impl CreateSecurityProfileInput
sourcepub fn builder() -> CreateSecurityProfileInputBuilder
pub fn builder() -> CreateSecurityProfileInputBuilder
Creates a new builder-style object to manufacture CreateSecurityProfileInput
.
Trait Implementations§
source§impl Clone for CreateSecurityProfileInput
impl Clone for CreateSecurityProfileInput
source§fn clone(&self) -> CreateSecurityProfileInput
fn clone(&self) -> CreateSecurityProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSecurityProfileInput
impl Debug for CreateSecurityProfileInput
source§impl PartialEq for CreateSecurityProfileInput
impl PartialEq for CreateSecurityProfileInput
source§fn eq(&self, other: &CreateSecurityProfileInput) -> bool
fn eq(&self, other: &CreateSecurityProfileInput) -> bool
self
and other
values to be equal, and is used
by ==
.