Class CfnDataRepositoryAssociationPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnDataRepositoryAssociationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.505Z")
@Stability(Stable)
public class CfnDataRepositoryAssociationPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates an Amazon FSx for Lustre data repository association (DRA).
A data repository association is a link between a directory on the file system and an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository associations on a file system. Data repository associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding scratch_1 deployment type.
Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see Linking your file system to an S3 bucket .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.fsx.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnDataRepositoryAssociationPropsMixin cfnDataRepositoryAssociationPropsMixin = CfnDataRepositoryAssociationPropsMixin.Builder.create(CfnDataRepositoryAssociationMixinProps.builder()
.batchImportMetaDataOnCreate(false)
.dataRepositoryPath("dataRepositoryPath")
.fileSystemId("fileSystemId")
.fileSystemPath("fileSystemPath")
.importedFileChunkSize(123)
.s3(S3Property.builder()
.autoExportPolicy(AutoExportPolicyProperty.builder()
.events(List.of("events"))
.build())
.autoImportPolicy(AutoImportPolicyProperty.builder()
.events(List.of("events"))
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes a data repository association's automatic export policy.static interfaceDescribes the data repository association's automatic import policy.static final classA fluent builder forCfnDataRepositoryAssociationPropsMixin.static interfaceThe configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::FSx::DataRepositoryAssociation.CfnDataRepositoryAssociationPropsMixin(CfnDataRepositoryAssociationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::FSx::DataRepositoryAssociation.protectedCfnDataRepositoryAssociationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataRepositoryAssociationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDataRepositoryAssociationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDataRepositoryAssociationPropsMixin
protected CfnDataRepositoryAssociationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataRepositoryAssociationPropsMixin
protected CfnDataRepositoryAssociationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataRepositoryAssociationPropsMixin
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin(@NotNull CfnDataRepositoryAssociationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::FSx::DataRepositoryAssociation.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDataRepositoryAssociationPropsMixin
@Stability(Stable) public CfnDataRepositoryAssociationPropsMixin(@NotNull CfnDataRepositoryAssociationMixinProps props) Create a mixin to apply properties toAWS::FSx::DataRepositoryAssociation.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-