Package com.pulumi.aws.datasync
Class LocationFsxWindows
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.datasync.LocationFsxWindows
-
public class LocationFsxWindows extends com.pulumi.resources.CustomResourceManages an AWS DataSync FSx Windows Location. ## Example Usage
## Import Using `pulumi import`, import `aws.datasync.LocationFsxWindows` using the `DataSync-ARN#FSx-Windows-ARN`. For example: ```sh $ 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 ```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.ArrayList; import java.util.Arrays; 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(exampleAwsFsxWindowsFileSystem.arn()) .user("SomeUser") .password("SuperSecretPassw0rd") .securityGroupArns(exampleAwsSecurityGroup.arn()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description LocationFsxWindows(java.lang.String name)LocationFsxWindows(java.lang.String name, LocationFsxWindowsArgs args)LocationFsxWindows(java.lang.String name, LocationFsxWindowsArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>creationTime()com.pulumi.core.Output<java.util.Optional<java.lang.String>>domain()com.pulumi.core.Output<java.lang.String>fsxFilesystemArn()static LocationFsxWindowsget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, LocationFsxWindowsState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>password()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.List<java.lang.String>>securityGroupArns()com.pulumi.core.Output<java.lang.String>subdirectory()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<java.lang.String>uri()com.pulumi.core.Output<java.lang.String>user()
-
-
-
Constructor Detail
-
LocationFsxWindows
public LocationFsxWindows(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
LocationFsxWindows
public LocationFsxWindows(java.lang.String name, LocationFsxWindowsArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
LocationFsxWindows
public LocationFsxWindows(java.lang.String name, LocationFsxWindowsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the DataSync Location.
-
creationTime
public com.pulumi.core.Output<java.lang.String> creationTime()
- Returns:
- The time that the FSx for Windows location was created.
-
domain
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> domain()
- Returns:
- The name of the Windows domain that the FSx for Windows server belongs to.
-
fsxFilesystemArn
public com.pulumi.core.Output<java.lang.String> fsxFilesystemArn()
- Returns:
- ARN for the FSx for Windows file system.
-
password
public com.pulumi.core.Output<java.lang.String> password()
- Returns:
- The password of the user who has the permissions to access files and folders in the FSx for Windows file system.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
securityGroupArns
public com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupArns()
- Returns:
- ARNs of the security groups that are to use to configure the FSx for Windows file system.
-
subdirectory
public com.pulumi.core.Output<java.lang.String> subdirectory()
- Returns:
- Subdirectory to perform actions as source or destination.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
uri
public com.pulumi.core.Output<java.lang.String> uri()
- Returns:
- The URL of the FSx for Windows location that was described.
-
user
public com.pulumi.core.Output<java.lang.String> user()
- Returns:
- The user who has the permissions to access files and folders in the FSx for Windows file system.
-
get
public static LocationFsxWindows get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable LocationFsxWindowsState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-