Skip to content
v2.278.0

ProtocolProperty Struct ​

Represents the protocol that AWS DataSync uses to access your Amazon FSx for OpenZFS file system.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datasync as datasync } from 'aws-cdk-lib';
const protocolProperty: datasync.CfnLocationFSxOpenZFS.ProtocolProperty = {
  nfs: {
    mountOptions: {
      version: 'version',
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datasync as datasync

protocol_property = datasync.CfnLocationFSxOpenZFS.ProtocolProperty(
    nfs=datasync.CfnLocationFSxOpenZFS.NFSProperty(
        mount_options=datasync.CfnLocationFSxOpenZFS.MountOptionsProperty(
            version="version"
        )
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datasync.*;

ProtocolProperty protocolProperty = ProtocolProperty.builder()
        .nfs(NFSProperty.builder()
                .mountOptions(MountOptionsProperty.builder()
                        .version("version")
                        .build())
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 protocolProperty = new ProtocolProperty {
    Nfs = new NFSProperty {
        MountOptions = new MountOptionsProperty {
            Version = "version"
        }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

protocolProperty := &ProtocolProperty{
	Nfs: &NFSProperty{
		MountOptions: &MountOptionsProperty{
			Version: jsii.String("version"),
		},
	},
}

Properties ​

nfsoptionalIResolvable | CfnLocationFSxOpenZFS.NFSPropertynfsoptionaltyping.Union[IResolvable, NFSProperty]nfsoptionalIResolvableNfsoptionalIResolvableNfsoptionalinterface{} #
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system.