Class CfnLocationNFS
The AWS::DataSync::LocationNFS
resource specifies a Network File System (NFS) file server that AWS DataSync can use as a transfer source or destination.
Inherited Members
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocationNFS : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnLocationNFS
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html
CloudformationResource: AWS::DataSync::LocationNFS
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var cfnLocationNFS = new CfnLocationNFS(this, "MyCfnLocationNFS", new CfnLocationNFSProps {
OnPremConfig = new OnPremConfigProperty {
AgentArns = new [] { "agentArns" }
},
// the properties below are optional
MountOptions = new MountOptionsProperty {
Version = "version"
},
ServerHostname = "serverHostname",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnLocationNFS(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLocationNFS(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLocationNFS(Construct, String, ICfnLocationNFSProps) |
Properties
AttrLocationArn | The Amazon Resource Name (ARN) of the NFS location that you created. |
AttrLocationUri | The URI of the NFS location that you created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MountOptions | Specifies the options that DataSync can use to mount your NFS file server. |
OnPremConfig | Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server. |
ServerHostname | Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to. |
Subdirectory | Specifies the export path in your NFS file server that you want DataSync to mount. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Specifies labels that help you categorize, filter, and search for your AWS resources. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLocationNFS(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLocationNFS(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLocationNFS(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLocationNFS(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLocationNFS(Construct, String, ICfnLocationNFSProps)
public CfnLocationNFS(Construct scope, string id, ICfnLocationNFSProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnLocationNFSProps
Resource properties.
Properties
AttrLocationArn
The Amazon Resource Name (ARN) of the NFS location that you created.
public virtual string AttrLocationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationArn
AttrLocationUri
The URI of the NFS location that you created.
public virtual string AttrLocationUri { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationUri
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MountOptions
Specifies the options that DataSync can use to mount your NFS file server.
public virtual object MountOptions { get; set; }
Property Value
System.Object
OnPremConfig
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
public virtual object OnPremConfig { get; set; }
Property Value
System.Object
ServerHostname
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
public virtual string ServerHostname { get; set; }
Property Value
System.String
Subdirectory
Specifies the export path in your NFS file server that you want DataSync to mount.
public virtual string Subdirectory { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Specifies labels that help you categorize, filter, and search for your AWS resources.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>