Struct aws_sdk_transfer::model::DescribedSecurityPolicy
source · [−]#[non_exhaustive]pub struct DescribedSecurityPolicy {
pub fips: Option<bool>,
pub security_policy_name: Option<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: Option<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
sourceimpl 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) -> Option<&str>
pub fn security_policy_name(&self) -> Option<&str>
Specifies the name of the security policy that is attached to the server.
sourcepub fn ssh_ciphers(&self) -> Option<&[String]>
pub fn ssh_ciphers(&self) -> Option<&[String]>
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn ssh_kexs(&self) -> Option<&[String]>
pub fn ssh_kexs(&self) -> Option<&[String]>
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sourceimpl DescribedSecurityPolicy
impl DescribedSecurityPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribedSecurityPolicy
Trait Implementations
sourceimpl Clone for DescribedSecurityPolicy
impl Clone for DescribedSecurityPolicy
sourcefn clone(&self) -> DescribedSecurityPolicy
fn clone(&self) -> DescribedSecurityPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribedSecurityPolicy
impl Debug for DescribedSecurityPolicy
sourceimpl PartialEq<DescribedSecurityPolicy> for DescribedSecurityPolicy
impl PartialEq<DescribedSecurityPolicy> for DescribedSecurityPolicy
sourcefn eq(&self, other: &DescribedSecurityPolicy) -> bool
fn eq(&self, other: &DescribedSecurityPolicy) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribedSecurityPolicy) -> bool
fn ne(&self, other: &DescribedSecurityPolicy) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribedSecurityPolicy
Auto Trait Implementations
impl RefUnwindSafe for DescribedSecurityPolicy
impl Send for DescribedSecurityPolicy
impl Sync for DescribedSecurityPolicy
impl Unpin for DescribedSecurityPolicy
impl UnwindSafe for DescribedSecurityPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more