com.pulumi.aws.datasync.LocationFsxOntapFileSystem Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.datasync;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.datasync.LocationFsxOntapFileSystemArgs;
import com.pulumi.aws.datasync.inputs.LocationFsxOntapFileSystemState;
import com.pulumi.aws.datasync.outputs.LocationFsxOntapFileSystemProtocol;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Resource for managing an AWS DataSync Location FSx Ontap File System.
*
* ## Example Usage
*
* ### Basic Usage
*
* <!--Start PulumiCodeChooser -->
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import `aws_datasync_location_fsx_ontap_file_system` using the `DataSync-ARN#FSx-ontap-svm-ARN`. For example:
*
* ```sh
* $ pulumi import aws:datasync/locationFsxOntapFileSystem:LocationFsxOntapFileSystem example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:storage-virtual-machine/svm-12345678abcdef123
* ```
*
*/
@ResourceType(type="aws:datasync/locationFsxOntapFileSystem:LocationFsxOntapFileSystem")
public class LocationFsxOntapFileSystem extends com.pulumi.resources.CustomResource {
/**
* ARN of the DataSync Location for the FSx Ontap File System.
*
*/
@Export(name="arn", refs={String.class}, tree="[0]")
private Output arn;
/**
* @return ARN of the DataSync Location for the FSx Ontap File System.
*
*/
public Output arn() {
return this.arn;
}
@Export(name="creationTime", refs={String.class}, tree="[0]")
private Output creationTime;
public Output creationTime() {
return this.creationTime;
}
/**
* ARN of the FSx Ontap File System.
*
*/
@Export(name="fsxFilesystemArn", refs={String.class}, tree="[0]")
private Output fsxFilesystemArn;
/**
* @return ARN of the FSx Ontap File System.
*
*/
public Output fsxFilesystemArn() {
return this.fsxFilesystemArn;
}
/**
* The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
*
*/
@Export(name="protocol", refs={LocationFsxOntapFileSystemProtocol.class}, tree="[0]")
private Output protocol;
/**
* @return The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
*
*/
public Output protocol() {
return this.protocol;
}
/**
* The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):
* * Network File System (NFS): TCP ports 111, 635, and 2049
* * Server Message Block (SMB): TCP port 445
*
*/
@Export(name="securityGroupArns", refs={List.class,String.class}, tree="[0,1]")
private Output> securityGroupArns;
/**
* @return The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):
* * Network File System (NFS): TCP ports 111, 635, and 2049
* * Server Message Block (SMB): TCP port 445
*
*/
public Output> securityGroupArns() {
return this.securityGroupArns;
}
/**
* The ARN of the SVM in your file system where you want to copy data to of from.
*
* The following arguments are optional:
*
*/
@Export(name="storageVirtualMachineArn", refs={String.class}, tree="[0]")
private Output storageVirtualMachineArn;
/**
* @return The ARN of the SVM in your file system where you want to copy data to of from.
*
* The following arguments are optional:
*
*/
public Output storageVirtualMachineArn() {
return this.storageVirtualMachineArn;
}
/**
* Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
*
*/
@Export(name="subdirectory", refs={String.class}, tree="[0]")
private Output subdirectory;
/**
* @return Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
*
*/
public Output subdirectory() {
return this.subdirectory;
}
/**
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy