#[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>>,
}
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
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) -> Option<&[String]>
pub fn permissions(&self) -> Option<&[String]>
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
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) -> Option<&[String]>
pub fn tag_restricted_resources(&self) -> Option<&[String]>
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
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<CreateSecurityProfileInput> for CreateSecurityProfileInput
impl PartialEq<CreateSecurityProfileInput> 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 ==
.