Skip to content
v2.278.0

SnapshotCopyConfigurationProperty Struct ​

The object that you configure to copy snapshots from one namespace to a namespace in another AWS Region .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const snapshotCopyConfigurationProperty: redshiftserverless.CfnNamespace.SnapshotCopyConfigurationProperty = {
  destinationRegion: 'destinationRegion',

  // the properties below are optional
  destinationKmsKeyId: 'destinationKmsKeyId',
  snapshotRetentionPeriod: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_redshiftserverless as redshiftserverless

snapshot_copy_configuration_property = redshiftserverless.CfnNamespace.SnapshotCopyConfigurationProperty(
    destination_region="destinationRegion",

    # the properties below are optional
    destination_kms_key_id="destinationKmsKeyId",
    snapshot_retention_period=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.redshiftserverless.*;

SnapshotCopyConfigurationProperty snapshotCopyConfigurationProperty = SnapshotCopyConfigurationProperty.builder()
        .destinationRegion("destinationRegion")

        // the properties below are optional
        .destinationKmsKeyId("destinationKmsKeyId")
        .snapshotRetentionPeriod(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RedshiftServerless;

var snapshotCopyConfigurationProperty = new SnapshotCopyConfigurationProperty {
    DestinationRegion = "destinationRegion",

    // the properties below are optional
    DestinationKmsKeyId = "destinationKmsKeyId",
    SnapshotRetentionPeriod = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

snapshotCopyConfigurationProperty := &SnapshotCopyConfigurationProperty{
	DestinationRegion: jsii.String("destinationRegion"),

	// the properties below are optional
	DestinationKmsKeyId: jsii.String("destinationKmsKeyId"),
	SnapshotRetentionPeriod: jsii.Number(123),
}

Properties ​

destinationKmsKeyIdoptionalstringdestination_kms_key_idoptionalstrdestinationKmsKeyIdoptionalStringDestinationKmsKeyIdoptionalstringDestinationKmsKeyIdoptional*string #
The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
destinationRegionstringdestination_regionstrdestinationRegionStringDestinationRegionstringDestinationRegion*string required #
The destination AWS Region to copy snapshots to.
snapshotRetentionPeriodoptionalnumbersnapshot_retention_periodoptionalint | floatsnapshotRetentionPeriodoptionalNumberSnapshotRetentionPeriodoptionaldoubleSnapshotRetentionPeriodoptional*float64 #
The retention period of snapshots that are copied to the destination AWS Region .