SnapshotCopy constructor

SnapshotCopy(
  1. String name, {
  2. SnapshotCopyArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new SnapshotCopy. name The Pulumi resource name. args Arguments used to configure this SnapshotCopy. The set of arguments for SnapshotCopy. options Resource options controlling this resource's behavior.

Implementation

SnapshotCopy(
  String name, {
  SnapshotCopyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:redshift/snapshotCopy:SnapshotCopy',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  clusterIdentifier = registerOutput<String>('clusterIdentifier');
  destinationRegion = registerOutput<String>('destinationRegion');
  manualSnapshotRetentionPeriod = registerOutput<int>('manualSnapshotRetentionPeriod');
  region = registerOutput<String>('region');
  retentionPeriod = registerOutput<int>('retentionPeriod');
  snapshotCopyGrantName = registerOutput<String?>('snapshotCopyGrantName');
}