DataRepositoryAssociation.reference constructor
DataRepositoryAssociation.reference(
- String urn
Creates a typed reference to an existing DataRepositoryAssociation resource.
Implementation
DataRepositoryAssociation.reference(String urn)
: super(
'aws:fsx/dataRepositoryAssociation:DataRepositoryAssociation',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
arn = registerOutput<String>('arn');
associationId = registerOutput<String>('associationId');
batchImportMetaDataOnCreate = registerOutput<bool?>('batchImportMetaDataOnCreate');
dataRepositoryPath = registerOutput<String>('dataRepositoryPath');
deleteDataInFilesystem = registerOutput<bool?>('deleteDataInFilesystem');
fileSystemId = registerOutput<String>('fileSystemId');
fileSystemPath = registerOutput<String>('fileSystemPath');
importedFileChunkSize = registerOutput<int>('importedFileChunkSize');
region = registerOutput<String>('region');
s3 = registerOutput<DataRepositoryAssociationS3>('s3', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DataRepositoryAssociationS3.fromMap((guardedValue as Map).cast<String, dynamic>()); });
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}