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 who has the permissions to access files, folders, and metadata in your 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 Windows domain that the FSx for Windows File Server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for FSx for Windows File Server locations.
password: Option<String>
Specifies the password of the user who has the permissions to access files and folders in the file system.
For more information, see required permissions for FSx for Windows File Server locations.
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 who has the permissions to access files, folders, and metadata in your 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 Windows domain that the FSx for Windows File Server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for FSx for Windows File Server locations.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
Specifies the password of the user who has the permissions to access files and folders in the file system.
For more information, see required permissions for FSx for Windows File Server locations.
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 ==
.