interface CfnLocationNFSMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DataSync.Mixins.CfnLocationNFSMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdatasync/mixins#CfnLocationNFSMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnLocationNFSMixinProps |
Python | aws_cdk.mixins_preview.aws_datasync.mixins.CfnLocationNFSMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_datasync » mixins » CfnLocationNFSMixinProps |
Properties for CfnLocationNFSPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as datasync_mixins } from '@aws-cdk/mixins-preview/aws-datasync';
const cfnLocationNFSMixinProps: datasync_mixins.CfnLocationNFSMixinProps = {
mountOptions: {
version: 'version',
},
onPremConfig: {
agentArns: ['agentArns'],
},
serverHostname: 'serverHostname',
subdirectory: 'subdirectory',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| mount | IResolvable | Mount | Specifies the options that DataSync can use to mount your NFS file server. |
| on | IResolvable | On | Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server. |
| server | string | Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to. |
| subdirectory? | string | Specifies the export path in your NFS file server that you want DataSync to mount. |
| tags? | Cfn[] | Specifies labels that help you categorize, filter, and search for your AWS resources. |
mountOptions?
Type:
IResolvable | Mount
(optional)
Specifies the options that DataSync can use to mount your NFS file server.
onPremConfig?
Type:
IResolvable | On
(optional)
Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
serverHostname?
Type:
string
(optional)
Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.
subdirectory?
Type:
string
(optional)
Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers .
tags?
Type:
Cfn[]
(optional)
Specifies labels that help you categorize, filter, and search for your AWS resources.
We recommend creating at least a name tag for your location.

.NET
Go
Java
Python
TypeScript