1. Packages
  2. AWS Native
  3. API Docs
  4. datasync
  5. LocationNfs

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.datasync.LocationNfs

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource schema for AWS::DataSync::LocationNFS

    Create LocationNfs Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LocationNfs(name: string, args: LocationNfsArgs, opts?: CustomResourceOptions);
    @overload
    def LocationNfs(resource_name: str,
                    args: LocationNfsArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def LocationNfs(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    on_prem_config: Optional[LocationNfsOnPremConfigArgs] = None,
                    mount_options: Optional[LocationNfsMountOptionsArgs] = None,
                    server_hostname: Optional[str] = None,
                    subdirectory: Optional[str] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewLocationNfs(ctx *Context, name string, args LocationNfsArgs, opts ...ResourceOption) (*LocationNfs, error)
    public LocationNfs(string name, LocationNfsArgs args, CustomResourceOptions? opts = null)
    public LocationNfs(String name, LocationNfsArgs args)
    public LocationNfs(String name, LocationNfsArgs args, CustomResourceOptions options)
    
    type: aws-native:datasync:LocationNfs
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LocationNfsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LocationNfsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LocationNfsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocationNfsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocationNfsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const locationNfsResource = new aws_native.datasync.LocationNfs("locationNfsResource", {
        onPremConfig: {
            agentArns: ["string"],
        },
        mountOptions: {
            version: aws_native.datasync.LocationNfsMountOptionsVersion.Automatic,
        },
        serverHostname: "string",
        subdirectory: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    LocationNfs Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LocationNfs resource accepts the following input properties:

    OnPremConfig Pulumi.AwsNative.DataSync.Inputs.LocationNfsOnPremConfig
    MountOptions Pulumi.AwsNative.DataSync.Inputs.LocationNfsMountOptions
    ServerHostname string
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    Subdirectory string
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    OnPremConfig LocationNfsOnPremConfigArgs
    MountOptions LocationNfsMountOptionsArgs
    ServerHostname string
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    Subdirectory string
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    onPremConfig LocationNfsOnPremConfig
    mountOptions LocationNfsMountOptions
    serverHostname String
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    subdirectory String
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    onPremConfig LocationNfsOnPremConfig
    mountOptions LocationNfsMountOptions
    serverHostname string
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    subdirectory string
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    on_prem_config LocationNfsOnPremConfigArgs
    mount_options LocationNfsMountOptionsArgs
    server_hostname str
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    subdirectory str
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    onPremConfig Property Map
    mountOptions Property Map
    serverHostname String
    The name of the NFS server. This value is the IP address or DNS name of the NFS server.
    subdirectory String
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LocationNfs resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LocationArn string
    The Amazon Resource Name (ARN) of the NFS location.
    LocationUri string
    The URL of the NFS location that was described.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocationArn string
    The Amazon Resource Name (ARN) of the NFS location.
    LocationUri string
    The URL of the NFS location that was described.
    id String
    The provider-assigned unique ID for this managed resource.
    locationArn String
    The Amazon Resource Name (ARN) of the NFS location.
    locationUri String
    The URL of the NFS location that was described.
    id string
    The provider-assigned unique ID for this managed resource.
    locationArn string
    The Amazon Resource Name (ARN) of the NFS location.
    locationUri string
    The URL of the NFS location that was described.
    id str
    The provider-assigned unique ID for this managed resource.
    location_arn str
    The Amazon Resource Name (ARN) of the NFS location.
    location_uri str
    The URL of the NFS location that was described.
    id String
    The provider-assigned unique ID for this managed resource.
    locationArn String
    The Amazon Resource Name (ARN) of the NFS location.
    locationUri String
    The URL of the NFS location that was described.

    Supporting Types

    LocationNfsMountOptions, LocationNfsMountOptionsArgs

    Version Pulumi.AwsNative.DataSync.LocationNfsMountOptionsVersion
    The specific NFS version that you want DataSync to use to mount your NFS share.
    Version LocationNfsMountOptionsVersion
    The specific NFS version that you want DataSync to use to mount your NFS share.
    version LocationNfsMountOptionsVersion
    The specific NFS version that you want DataSync to use to mount your NFS share.
    version LocationNfsMountOptionsVersion
    The specific NFS version that you want DataSync to use to mount your NFS share.
    version LocationNfsMountOptionsVersion
    The specific NFS version that you want DataSync to use to mount your NFS share.
    version "AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1"
    The specific NFS version that you want DataSync to use to mount your NFS share.

    LocationNfsMountOptionsVersion, LocationNfsMountOptionsVersionArgs

    Automatic
    AUTOMATIC
    Nfs3
    NFS3
    Nfs40
    NFS4_0
    Nfs41
    NFS4_1
    LocationNfsMountOptionsVersionAutomatic
    AUTOMATIC
    LocationNfsMountOptionsVersionNfs3
    NFS3
    LocationNfsMountOptionsVersionNfs40
    NFS4_0
    LocationNfsMountOptionsVersionNfs41
    NFS4_1
    Automatic
    AUTOMATIC
    Nfs3
    NFS3
    Nfs40
    NFS4_0
    Nfs41
    NFS4_1
    Automatic
    AUTOMATIC
    Nfs3
    NFS3
    Nfs40
    NFS4_0
    Nfs41
    NFS4_1
    AUTOMATIC
    AUTOMATIC
    NFS3
    NFS3
    NFS40
    NFS4_0
    NFS41
    NFS4_1
    "AUTOMATIC"
    AUTOMATIC
    "NFS3"
    NFS3
    "NFS4_0"
    NFS4_0
    "NFS4_1"
    NFS4_1

    LocationNfsOnPremConfig, LocationNfsOnPremConfigArgs

    AgentArns List<string>
    ARN(s) of the agent(s) to use for an NFS location.
    AgentArns []string
    ARN(s) of the agent(s) to use for an NFS location.
    agentArns List<String>
    ARN(s) of the agent(s) to use for an NFS location.
    agentArns string[]
    ARN(s) of the agent(s) to use for an NFS location.
    agent_arns Sequence[str]
    ARN(s) of the agent(s) to use for an NFS location.
    agentArns List<String>
    ARN(s) of the agent(s) to use for an NFS location.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi