@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:30.461Z") public class CfnLocationFSxLustre extends CfnResource implements IInspectable
The AWS::DataSync::LocationFSxLustre
resource specifies an endpoint for an Amazon FSx for Lustre file system.
Example:
// 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.*; CfnLocationFSxLustre cfnLocationFSxLustre = CfnLocationFSxLustre.Builder.create(this, "MyCfnLocationFSxLustre") .fsxFilesystemArn("fsxFilesystemArn") .securityGroupArns(List.of("securityGroupArns")) // the properties below are optional .subdirectory("subdirectory") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnLocationFSxLustre.Builder
A fluent builder for
CfnLocationFSxLustre . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnLocationFSxLustre(Construct scope,
java.lang.String id,
CfnLocationFSxLustreProps props)
Create a new `AWS::DataSync::LocationFSxLustre`.
|
protected |
CfnLocationFSxLustre(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLocationFSxLustre(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrLocationArn()
The ARN of the specified FSx for Lustre file system location.
|
java.lang.String |
getAttrLocationUri()
The URI of the specified FSx for Lustre file system location.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getFsxFilesystemArn()
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
java.util.List<java.lang.String> |
getSecurityGroupArns()
The ARNs of the security groups that are used to configure the FSx for Lustre file system.
|
java.lang.String |
getSubdirectory()
A subdirectory in the location's path.
|
TagManager |
getTags()
The key-value pair that represents a tag that you want to add to the resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setFsxFilesystemArn(java.lang.String value)
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
void |
setSecurityGroupArns(java.util.List<java.lang.String> value)
The ARNs of the security groups that are used to configure the FSx for Lustre file system.
|
void |
setSubdirectory(java.lang.String value)
A subdirectory in the location's path.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnLocationFSxLustre(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLocationFSxLustre(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnLocationFSxLustre(Construct scope, java.lang.String id, CfnLocationFSxLustreProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrLocationArn()
public java.lang.String getAttrLocationUri()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
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.
public java.lang.String getFsxFilesystemArn()
public void setFsxFilesystemArn(java.lang.String value)
public java.util.List<java.lang.String> getSecurityGroupArns()
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.
public void setSecurityGroupArns(java.util.List<java.lang.String> value)
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.
public java.lang.String getSubdirectory()
This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.
public void setSubdirectory(java.lang.String value)
This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.