ClusterSnapshotCopy constructor
ClusterSnapshotCopy(
- String name, {
- ClusterSnapshotCopyArgs? args,
- CustomResourceOptions? options,
Creates a new ClusterSnapshotCopy.
name The Pulumi resource name.
args Arguments used to configure this ClusterSnapshotCopy. The set of arguments for ClusterSnapshotCopy.
options Resource options controlling this resource's behavior.
Implementation
ClusterSnapshotCopy(
String name, {
ClusterSnapshotCopyArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:rds/clusterSnapshotCopy:ClusterSnapshotCopy',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
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');
}