SnapshotCopy.reference constructor

SnapshotCopy.reference(
  1. String urn
)

Creates a typed reference to an existing SnapshotCopy resource.

Implementation

SnapshotCopy.reference(String urn)
  : super(
      'aws:redshift/snapshotCopy:SnapshotCopy',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  clusterIdentifier = registerOutput<String>('clusterIdentifier');
  destinationRegion = registerOutput<String>('destinationRegion');
  manualSnapshotRetentionPeriod = registerOutput<int>('manualSnapshotRetentionPeriod');
  region = registerOutput<String>('region');
  retentionPeriod = registerOutput<int>('retentionPeriod');
  snapshotCopyGrantName = registerOutput<String?>('snapshotCopyGrantName');
}