Skip to content
v2.277.0

NfsExportsProperty Struct ​

The configuration object for mounting a 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_fsx as fsx } from 'aws-cdk-lib';
const nfsExportsProperty: fsx.CfnFileSystem.NfsExportsProperty = {
  clientConfigurations: [{
    clients: 'clients',
    options: ['options'],
  }],
};
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_fsx as fsx

nfs_exports_property = fsx.CfnFileSystem.NfsExportsProperty(
    client_configurations=[fsx.CfnFileSystem.ClientConfigurationsProperty(
        clients="clients",
        options=["options"]
    )]
)
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.fsx.*;

NfsExportsProperty nfsExportsProperty = NfsExportsProperty.builder()
        .clientConfigurations(List.of(ClientConfigurationsProperty.builder()
                .clients("clients")
                .options(List.of("options"))
                .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.FSx;

var nfsExportsProperty = new NfsExportsProperty {
    ClientConfigurations = new [] { new ClientConfigurationsProperty {
        Clients = "clients",
        Options = new [] { "options" }
    } }
};
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"

nfsExportsProperty := &NfsExportsProperty{
	ClientConfigurations: []interface{}{
		&ClientConfigurationsProperty{
			Clients: jsii.String("clients"),
			Options: []*string{
				jsii.String("options"),
			},
		},
	},
}

Properties ​

clientConfigurationsoptionalIResolvable | IResolvable | CfnFileSystem.ClientConfigurationsProperty[]client_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ClientConfigurationsProperty]]]clientConfigurationsoptionalIResolvableClientConfigurationsoptionalIResolvableClientConfigurationsoptionalinterface{} #
A list of configuration objects that contain the client and options for mounting the OpenZFS file system.