Class CfnLocationFSxOpenZFS
A CloudFormation AWS::DataSync::LocationFSxOpenZFS
.
Inherited Members
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.AWS.DataSync.dll
Syntax (csharp)
public class CfnLocationFSxOpenZFS : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLocationFSxOpenZFS
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::DataSync::LocationFSxOpenZFS
resource specifies an endpoint for an Amazon FSx for OpenZFS file system.
CloudformationResource: AWS::DataSync::LocationFSxOpenZFS
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.DataSync;
var cfnLocationFSxOpenZFS = new CfnLocationFSxOpenZFS(this, "MyCfnLocationFSxOpenZFS", new CfnLocationFSxOpenZFSProps {
Protocol = new ProtocolProperty {
Nfs = new NFSProperty {
MountOptions = new MountOptionsProperty {
Version = "version"
}
}
},
SecurityGroupArns = new [] { "securityGroupArns" },
// the properties below are optional
FsxFilesystemArn = "fsxFilesystemArn",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnLocationFSxOpenZFS(Construct, String, ICfnLocationFSxOpenZFSProps) | Create a new |
CfnLocationFSxOpenZFS(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLocationFSxOpenZFS(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrLocationArn | The ARN of the specified FSx for OpenZFS file system location. |
AttrLocationUri | The URI of the specified FSx for OpenZFS file system location. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
FsxFilesystemArn | The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. |
Protocol | The type of protocol that AWS DataSync uses to access your file system. |
SecurityGroupArns | The ARNs of the security groups that are used to configure the FSx for OpenZFS file system. |
Subdirectory | A subdirectory in the location's path that must begin with |
Tags | The key-value pair that represents a tag that you want to add to the resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLocationFSxOpenZFS(Construct, String, ICfnLocationFSxOpenZFSProps)
Create a new AWS::DataSync::LocationFSxOpenZFS
.
public CfnLocationFSxOpenZFS(Construct scope, string id, ICfnLocationFSxOpenZFSProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnLocationFSxOpenZFSProps
- resource properties.
CfnLocationFSxOpenZFS(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLocationFSxOpenZFS(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLocationFSxOpenZFS(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLocationFSxOpenZFS(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrLocationArn
The ARN of the specified FSx for OpenZFS file system location.
public virtual string AttrLocationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationArn
AttrLocationUri
The URI of the specified FSx for OpenZFS file system location.
public virtual string AttrLocationUri { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationUri
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
FsxFilesystemArn
The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
public virtual string FsxFilesystemArn { get; set; }
Property Value
System.String
Remarks
Protocol
The type of protocol that AWS DataSync uses to access your file system.
public virtual object Protocol { get; set; }
Property Value
System.Object
Remarks
SecurityGroupArns
The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
public virtual string[] SecurityGroupArns { get; set; }
Property Value
System.String[]
Remarks
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.
Subdirectory
A subdirectory in the location's path that must begin with /fsx
.
public virtual string Subdirectory { get; set; }
Property Value
System.String
Remarks
DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).
Tags
The key-value pair that represents a tag that you want to add to the resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
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.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>