Location Fsx Windows Args
data class LocationFsxWindowsArgs(val domain: Output<String>? = null, val fsxFilesystemArn: Output<String>? = null, val password: Output<String>? = null, val securityGroupArns: Output<List<String>>? = null, val subdirectory: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val user: Output<String>? = null) : ConvertibleToJava<LocationFsxWindowsArgs>
Manages an AWS DataSync FSx Windows Location.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.LocationFsxWindows;
import com.pulumi.aws.datasync.LocationFsxWindowsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LocationFsxWindows("example", LocationFsxWindowsArgs.builder()
.fsxFilesystemArn(aws_fsx_windows_file_system.example().arn())
.user("SomeUser")
.password("SuperSecretPassw0rd")
.securityGroupArns(aws_security_group.example().arn())
.build());
}
}
Content copied to clipboard
Import
aws_datasync_location_fsx_windows_file_system
can be imported by using the DataSync-ARN#FSx-Windows-ARN
, e.g.,
$ pulumi import aws:datasync/locationFsxWindows:LocationFsxWindows example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a
Content copied to clipboard
Properties
Link copied to clipboard
The Amazon Resource Name (ARN) for the FSx for Windows file system.
Link copied to clipboard
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Windows file system.
Link copied to clipboard
Subdirectory to perform actions as source or destination.