Struct aws_sdk_directory::operation::create_trust::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§
source§impl 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) -> &[String]
pub fn conditional_forwarder_ip_addrs(&self) -> &[String]
The IP addresses of the remote DNS server associated with RemoteDomainName.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .conditional_forwarder_ip_addrs.is_none().
sourcepub fn selective_auth(&self) -> Option<&SelectiveAuth>
pub fn selective_auth(&self) -> Option<&SelectiveAuth>
Optional parameter to enable selective authentication for the trust.
source§impl CreateTrustInput
impl CreateTrustInput
sourcepub fn builder() -> CreateTrustInputBuilder
pub fn builder() -> CreateTrustInputBuilder
Creates a new builder-style object to manufacture CreateTrustInput.
Trait Implementations§
source§impl Clone for CreateTrustInput
impl Clone for CreateTrustInput
source§fn clone(&self) -> CreateTrustInput
fn clone(&self) -> CreateTrustInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTrustInput
impl Debug for CreateTrustInput
source§impl PartialEq for CreateTrustInput
impl PartialEq for CreateTrustInput
source§fn eq(&self, other: &CreateTrustInput) -> bool
fn eq(&self, other: &CreateTrustInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTrustInput
Auto Trait Implementations§
impl Freeze for CreateTrustInput
impl RefUnwindSafe for CreateTrustInput
impl Send for CreateTrustInput
impl Sync for CreateTrustInput
impl Unpin for CreateTrustInput
impl UnwindSafe for CreateTrustInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more