Struct aws_sdk_directory::input::CreateTrustInput
source · [−]#[non_exhaustive]pub struct CreateTrustInput {
pub directory_id: Option<String>,
pub remote_domain_name: Option<String>,
pub trust_password: Option<String>,
pub trust_direction: Option<TrustDirection>,
pub trust_type: Option<TrustType>,
pub conditional_forwarder_ip_addrs: Option<Vec<String>>,
pub selective_auth: Option<SelectiveAuth>,
}
Expand description
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain.
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.directory_id: Option<String>
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
remote_domain_name: Option<String>
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
trust_password: Option<String>
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
trust_direction: Option<TrustDirection>
The direction of the trust relationship.
trust_type: Option<TrustType>
The trust relationship type. Forest
is the default.
conditional_forwarder_ip_addrs: Option<Vec<String>>
The IP addresses of the remote DNS server associated with RemoteDomainName.
selective_auth: Option<SelectiveAuth>
Optional parameter to enable selective authentication for the trust.
Implementations
sourceimpl CreateTrustInput
impl CreateTrustInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTrust, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTrust, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateTrust
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTrustInput
sourceimpl CreateTrustInput
impl CreateTrustInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
sourcepub fn remote_domain_name(&self) -> Option<&str>
pub fn remote_domain_name(&self) -> Option<&str>
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
sourcepub fn trust_password(&self) -> Option<&str>
pub fn trust_password(&self) -> Option<&str>
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
sourcepub fn trust_direction(&self) -> Option<&TrustDirection>
pub fn trust_direction(&self) -> Option<&TrustDirection>
The direction of the trust relationship.
sourcepub fn trust_type(&self) -> Option<&TrustType>
pub fn trust_type(&self) -> Option<&TrustType>
The trust relationship type. Forest
is the default.
sourcepub fn conditional_forwarder_ip_addrs(&self) -> Option<&[String]>
pub fn conditional_forwarder_ip_addrs(&self) -> Option<&[String]>
The IP addresses of the remote DNS server associated with RemoteDomainName.
sourcepub fn selective_auth(&self) -> Option<&SelectiveAuth>
pub fn selective_auth(&self) -> Option<&SelectiveAuth>
Optional parameter to enable selective authentication for the trust.
Trait Implementations
sourceimpl Clone for CreateTrustInput
impl Clone for CreateTrustInput
sourcefn clone(&self) -> CreateTrustInput
fn clone(&self) -> CreateTrustInput
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 CreateTrustInput
impl Debug for CreateTrustInput
sourceimpl PartialEq<CreateTrustInput> for CreateTrustInput
impl PartialEq<CreateTrustInput> for CreateTrustInput
sourcefn eq(&self, other: &CreateTrustInput) -> bool
fn eq(&self, other: &CreateTrustInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateTrustInput) -> bool
fn ne(&self, other: &CreateTrustInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateTrustInput
Auto Trait Implementations
impl RefUnwindSafe for CreateTrustInput
impl Send for CreateTrustInput
impl Sync for CreateTrustInput
impl Unpin for CreateTrustInput
impl UnwindSafe for CreateTrustInput
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> 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