aws-cdk-lib.aws_datasync.CfnLocationFSxOpenZFSProps

interface CfnLocationFSxOpenZFSProps

LanguageType name
.NETAmazon.CDK.AWS.DataSync.CfnLocationFSxOpenZFSProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatasync#CfnLocationFSxOpenZFSProps
Javasoftware.amazon.awscdk.services.datasync.CfnLocationFSxOpenZFSProps
Pythonaws_cdk.aws_datasync.CfnLocationFSxOpenZFSProps
TypeScript aws-cdk-lib » aws_datasync » CfnLocationFSxOpenZFSProps

Properties for defining a CfnLocationFSxOpenZFS.

Example

// 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 cfnLocationFSxOpenZFSProps: datasync.CfnLocationFSxOpenZFSProps = {
  protocol: {
    nfs: {
      mountOptions: {
        version: 'version',
      },
    },
  },
  securityGroupArns: ['securityGroupArns'],

  // the properties below are optional
  fsxFilesystemArn: 'fsxFilesystemArn',
  subdirectory: 'subdirectory',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
protocolIResolvable | ProtocolPropertyThe type of protocol that AWS DataSync uses to access your file system.
securityGroupArnsstring[]The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
fsxFilesystemArn?stringThe Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
subdirectory?stringA subdirectory in the location's path that must begin with /fsx .
tags?CfnTag[]The key-value pair that represents a tag that you want to add to the resource.

protocol

Type: IResolvable | ProtocolProperty

The type of protocol that AWS DataSync uses to access your file system.


securityGroupArns

Type: string[]

The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

Pattern : ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$

Length constraints : Maximum length of 128.


fsxFilesystemArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.


subdirectory?

Type: string (optional)

A subdirectory in the location's path that must begin with /fsx .

DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).


tags?

Type: CfnTag[] (optional)

The key-value pair that represents a tag that you want to add to the resource.

The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.