Struct aws_sdk_datasync::operation::create_location_fsx_windows::CreateLocationFsxWindowsInput
source · #[non_exhaustive]pub struct CreateLocationFsxWindowsInput {
pub subdirectory: Option<String>,
pub fsx_filesystem_arn: Option<String>,
pub security_group_arns: Option<Vec<String>>,
pub tags: Option<Vec<TagListEntry>>,
pub user: Option<String>,
pub domain: Option<String>,
pub password: Option<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.subdirectory: Option<String>
Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).
fsx_filesystem_arn: Option<String>
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
security_group_arns: Option<Vec<String>>
Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.
If you choose a security group that doesn't allow connections from within itself, do one of the following:
-
Configure the security group to allow it to communicate within itself.
-
Choose a different security group that can communicate with the mount target's security group.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
user: Option<String>
Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
domain: Option<String>
Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
password: Option<String>
Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
Implementations§
source§impl CreateLocationFsxWindowsInput
impl CreateLocationFsxWindowsInput
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).
sourcepub fn fsx_filesystem_arn(&self) -> Option<&str>
pub fn fsx_filesystem_arn(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
sourcepub fn security_group_arns(&self) -> &[String]
pub fn security_group_arns(&self) -> &[String]
Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.
If you choose a security group that doesn't allow connections from within itself, do one of the following:
-
Configure the security group to allow it to communicate within itself.
-
Choose a different security group that can communicate with the mount target's security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_arns.is_none()
.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn user(&self) -> Option<&str>
pub fn user(&self) -> Option<&str>
Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
source§impl CreateLocationFsxWindowsInput
impl CreateLocationFsxWindowsInput
sourcepub fn builder() -> CreateLocationFsxWindowsInputBuilder
pub fn builder() -> CreateLocationFsxWindowsInputBuilder
Creates a new builder-style object to manufacture CreateLocationFsxWindowsInput
.
Trait Implementations§
source§impl Clone for CreateLocationFsxWindowsInput
impl Clone for CreateLocationFsxWindowsInput
source§fn clone(&self) -> CreateLocationFsxWindowsInput
fn clone(&self) -> CreateLocationFsxWindowsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateLocationFsxWindowsInput
impl PartialEq for CreateLocationFsxWindowsInput
source§fn eq(&self, other: &CreateLocationFsxWindowsInput) -> bool
fn eq(&self, other: &CreateLocationFsxWindowsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLocationFsxWindowsInput
Auto Trait Implementations§
impl Freeze for CreateLocationFsxWindowsInput
impl RefUnwindSafe for CreateLocationFsxWindowsInput
impl Send for CreateLocationFsxWindowsInput
impl Sync for CreateLocationFsxWindowsInput
impl Unpin for CreateLocationFsxWindowsInput
impl UnwindSafe for CreateLocationFsxWindowsInput
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