Struct aws_sdk_transfer::types::DescribedSecurityPolicy
source · #[non_exhaustive]pub struct DescribedSecurityPolicy {
pub fips: Option<bool>,
pub security_policy_name: String,
pub ssh_ciphers: Option<Vec<String>>,
pub ssh_kexs: Option<Vec<String>>,
pub ssh_macs: Option<Vec<String>>,
pub tls_ciphers: Option<Vec<String>>,
}
Expand description
Describes the properties of a security policy that was specified. For more information about security policies, see Working with security policies.
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.fips: Option<bool>
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
security_policy_name: String
Specifies the name of the security policy that is attached to the server.
ssh_ciphers: Option<Vec<String>>
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
ssh_kexs: Option<Vec<String>>
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
ssh_macs: Option<Vec<String>>
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
tls_ciphers: Option<Vec<String>>
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
Implementations§
source§impl DescribedSecurityPolicy
impl DescribedSecurityPolicy
sourcepub fn fips(&self) -> Option<bool>
pub fn fips(&self) -> Option<bool>
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
sourcepub fn security_policy_name(&self) -> &str
pub fn security_policy_name(&self) -> &str
Specifies the name of the security policy that is attached to the server.
sourcepub fn ssh_ciphers(&self) -> &[String]
pub fn ssh_ciphers(&self) -> &[String]
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ssh_ciphers.is_none()
.
sourcepub fn ssh_kexs(&self) -> &[String]
pub fn ssh_kexs(&self) -> &[String]
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ssh_kexs.is_none()
.
sourcepub fn ssh_macs(&self) -> &[String]
pub fn ssh_macs(&self) -> &[String]
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ssh_macs.is_none()
.
sourcepub fn tls_ciphers(&self) -> &[String]
pub fn tls_ciphers(&self) -> &[String]
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tls_ciphers.is_none()
.
source§impl DescribedSecurityPolicy
impl DescribedSecurityPolicy
sourcepub fn builder() -> DescribedSecurityPolicyBuilder
pub fn builder() -> DescribedSecurityPolicyBuilder
Creates a new builder-style object to manufacture DescribedSecurityPolicy
.
Trait Implementations§
source§impl Clone for DescribedSecurityPolicy
impl Clone for DescribedSecurityPolicy
source§fn clone(&self) -> DescribedSecurityPolicy
fn clone(&self) -> DescribedSecurityPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribedSecurityPolicy
impl Debug for DescribedSecurityPolicy
source§impl PartialEq for DescribedSecurityPolicy
impl PartialEq for DescribedSecurityPolicy
source§fn eq(&self, other: &DescribedSecurityPolicy) -> bool
fn eq(&self, other: &DescribedSecurityPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.