Skip to content
v2.275.0

CfnInfluxDBBackupProps Struct Added in v2.275.0 ​

Properties for defining a CfnInfluxDBBackup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from 'aws-cdk-lib';
const cfnInfluxDBBackupProps: timestream.CfnInfluxDBBackupProps = {
  dbResourceId: 'dbResourceId',
  name: 'name',

  // the properties below are optional
  retentionDays: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

dbResourceIdstringdb_resource_idstrdbResourceIdStringDbResourceIdstringDbResourceId*stringrequired#
The id of the DB instance or DB cluster to back up.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the backup.

Must be unique within the account and region.

retentionDaysoptionalnumberretention_daysoptionalint | floatretentionDaysoptionalNumberRetentionDaysoptionaldoubleRetentionDaysoptional*float64#
The number of days to retain the backup.

Valid values are 1 to 3650.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A list of key-value pairs to associate with the backup.