@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:08:44.998Z") @Stability(value=Stable) 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") .securityGroupArns(List.of("securityGroupArns")) // the properties below are optional .fsxFilesystemArn("fsxFilesystemArn") .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 . |
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnLocationFSxLustre(Construct scope,
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 |
---|---|
String |
getAttrLocationArn()
The ARN of the specified FSx for Lustre file system location.
|
String |
getAttrLocationUri()
The URI of the specified FSx for Lustre file system location.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getFsxFilesystemArn()
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
List<String> |
getSecurityGroupArns()
The ARNs of the security groups that are used to configure the FSx for Lustre file system.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setFsxFilesystemArn(String value)
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
void |
setSecurityGroupArns(List<String> value)
The ARNs of the security groups that are used to configure the FSx for Lustre file system.
|
void |
setSubdirectory(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
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLocationFSxLustre(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLocationFSxLustre(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnLocationFSxLustre(@NotNull Construct scope, @NotNull String id, @NotNull 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.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull public String getAttrLocationArn()
@Stability(value=Stable) @NotNull public String getAttrLocationUri()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull 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.
@Stability(value=Stable) @NotNull public List<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.
@Stability(value=Stable) public void setSecurityGroupArns(@NotNull List<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.
@Stability(value=Stable) @Nullable public String getFsxFilesystemArn()
@Stability(value=Stable) public void setFsxFilesystemArn(@Nullable String value)
@Stability(value=Stable) @Nullable public 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.
@Stability(value=Stable) public void setSubdirectory(@Nullable 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.
Copyright © 2023. All rights reserved.