Class OneZoneFileSystemProps
Properties for configuring ReplicationConfiguration to replicate to a new One Zone file system.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OneZoneFileSystemProps : IOneZoneFileSystemProps
Syntax (vb)
Public Class OneZoneFileSystemProps Implements IOneZoneFileSystemProps
Remarks
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.EFS;
using Amazon.CDK.AWS.KMS;
Key key;
var oneZoneFileSystemProps = new OneZoneFileSystemProps {
AvailabilityZone = "availabilityZone",
Region = "region",
// the properties below are optional
KmsKey = key
};
Synopsis
Constructors
| OneZoneFileSystemProps() | Properties for configuring ReplicationConfiguration to replicate to a new One Zone file system. |
Properties
| AvailabilityZone | The availability zone name of the destination file system. |
| KmsKey | AWS KMS key used to protect the encrypted file system. |
| Region | The AWS Region in which the destination file system is located. |
Constructors
OneZoneFileSystemProps()
Properties for configuring ReplicationConfiguration to replicate to a new One Zone file system.
public OneZoneFileSystemProps()
Remarks
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.EFS;
using Amazon.CDK.AWS.KMS;
Key key;
var oneZoneFileSystemProps = new OneZoneFileSystemProps {
AvailabilityZone = "availabilityZone",
Region = "region",
// the properties below are optional
KmsKey = key
};
Properties
AvailabilityZone
The availability zone name of the destination file system.
public string AvailabilityZone { get; set; }
Property Value
Remarks
One zone file system is used as the destination file system when this property is set.
KmsKey
AWS KMS key used to protect the encrypted file system.
public IKey? KmsKey { get; set; }
Property Value
Remarks
Default: - use service-managed KMS key for Amazon EFS
Region
The AWS Region in which the destination file system is located.
public string Region { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated