ClusterSnapshotCopy.reference constructor
ClusterSnapshotCopy.reference(
- String urn
Creates a typed reference to an existing ClusterSnapshotCopy resource.
Implementation
ClusterSnapshotCopy.reference(String urn)
: super(
'aws:rds/clusterSnapshotCopy:ClusterSnapshotCopy',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
allocatedStorage = registerOutput<int>('allocatedStorage');
copyTags = registerOutput<bool?>('copyTags');
dbClusterSnapshotArn = registerOutput<String>('dbClusterSnapshotArn');
destinationRegion = registerOutput<String?>('destinationRegion');
engine = registerOutput<String>('engine');
engineVersion = registerOutput<String>('engineVersion');
kmsKeyId = registerOutput<String?>('kmsKeyId');
licenseModel = registerOutput<String>('licenseModel');
presignedUrl = registerOutput<String?>('presignedUrl');
region = registerOutput<String>('region');
sharedAccounts = registerOutput<List<String>?>('sharedAccounts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
snapshotType = registerOutput<String>('snapshotType');
sourceDbClusterSnapshotIdentifier = registerOutput<String>('sourceDbClusterSnapshotIdentifier');
storageEncrypted = registerOutput<bool>('storageEncrypted');
storageType = registerOutput<String>('storageType');
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>(); });
targetDbClusterSnapshotIdentifier = registerOutput<String>('targetDbClusterSnapshotIdentifier');
timeouts = registerOutput<ClusterSnapshotCopyTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ClusterSnapshotCopyTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
vpcId = registerOutput<String>('vpcId');
}