Skip to content

Vault

This class encapsulates and extends the ROS resource type ALIYUN::HBR::Vault, which is used to create a backup vault.

Initializers

import { Vault } from '@alicloud/ros-cdk-hbr'
new Vault(scope: Construct, id: string, props: VaultProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props VaultProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { Vault } from '@alicloud/ros-cdk-hbr'
Vault.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrBackupPlanStatistics @alicloud/ros-cdk-core.IResolvable Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.
attrBytesDone @alicloud/ros-cdk-core.IResolvable Attribute BytesDone: The amount of data that is backed up.
attrCreateTime @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the backup vault was created.
attrDedup @alicloud/ros-cdk-core.IResolvable Attribute Dedup: Indicates whether the deduplication feature is enabled.
attrDescription @alicloud/ros-cdk-core.IResolvable Attribute Description: The description of the backup vault.
attrIndexAvailable @alicloud/ros-cdk-core.IResolvable Attribute IndexAvailable: Indicates whether indexes are available.
attrIndexLevel @alicloud/ros-cdk-core.IResolvable Attribute IndexLevel: The index level.
attrIndexUpdateTime @alicloud/ros-cdk-core.IResolvable Attribute IndexUpdateTime: The time when the index was updated.
attrLatestReplicationTime @alicloud/ros-cdk-core.IResolvable Attribute LatestReplicationTime: The time when the last remote backup was synchronized.
attrPaymentType @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: PaymentType.
attrRedundancyType @alicloud/ros-cdk-core.IResolvable Attribute RedundancyType: The data redundancy type of the backup vault.
attrReplication @alicloud/ros-cdk-core.IResolvable Attribute Replication: Indicates whether the backup vault is a remote backup vault.
attrReplicationProgress @alicloud/ros-cdk-core.IResolvable Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.
attrReplicationSourceRegionId @alicloud/ros-cdk-core.IResolvable Attribute ReplicationSourceRegionId: The ID of the region where the remote backup vault resides.
attrReplicationSourceVaultId @alicloud/ros-cdk-core.IResolvable Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.
attrResourceGroupId @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrRetention @alicloud/ros-cdk-core.IResolvable Attribute Retention: The retention period of the backup vault.
attrSearchEnabled @alicloud/ros-cdk-core.IResolvable Attribute SearchEnabled: Indicates whether the backup search feature is enabled.
attrSourceTypes @alicloud/ros-cdk-core.IResolvable Attribute SourceTypes: The information about the data source.
attrStorageSize @alicloud/ros-cdk-core.IResolvable Attribute StorageSize: The usage of the backup vault.
attrTags @alicloud/ros-cdk-core.IResolvable Attribute Tags: The tags of the backup vault.
attrTrialInfo @alicloud/ros-cdk-core.IResolvable Attribute TrialInfo: The free trial information.
attrUpdatedTime @alicloud/ros-cdk-core.IResolvable Attribute UpdatedTime: The time when the backup vault was updated.
attrVaultId @alicloud/ros-cdk-core.IResolvable Attribute VaultId: The ID of the backup vault.
attrVaultName @alicloud/ros-cdk-core.IResolvable Attribute VaultName: The name of the backup vault.
attrVaultStatusMessage @alicloud/ros-cdk-core.IResolvable Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.
attrVaultStorageClass @alicloud/ros-cdk-core.IResolvable Attribute VaultStorageClass: The storage type of the backup vault.
attrVaultType @alicloud/ros-cdk-core.IResolvable Attribute VaultType: The type of the backup vault.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrBackupPlanStatisticsRequired

public readonly attrBackupPlanStatistics: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.


attrBytesDoneRequired

public readonly attrBytesDone: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute BytesDone: The amount of data that is backed up.

Unit: bytes.


attrCreateTimeRequired

public readonly attrCreateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The time when the backup vault was created.

This value is a UNIX timestamp. Unit: seconds.


attrDedupRequired

public readonly attrDedup: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Dedup: Indicates whether the deduplication feature is enabled.


attrDescriptionRequired

public readonly attrDescription: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Description: The description of the backup vault.


attrIndexAvailableRequired

public readonly attrIndexAvailable: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IndexAvailable: Indicates whether indexes are available.

Indexes are available when they are not being updated.


attrIndexLevelRequired

public readonly attrIndexLevel: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IndexLevel: The index level.

OFF: No indexes are created. - META: Metadata indexes are created. - ALL: Full-text indexes are created.


attrIndexUpdateTimeRequired

public readonly attrIndexUpdateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IndexUpdateTime: The time when the index was updated.


attrLatestReplicationTimeRequired

public readonly attrLatestReplicationTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute LatestReplicationTime: The time when the last remote backup was synchronized.

This value is a UNIX timestamp. Unit: seconds.


attrPaymentTypeRequired

public readonly attrPaymentType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: PaymentType.


attrRedundancyTypeRequired

public readonly attrRedundancyType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RedundancyType: The data redundancy type of the backup vault.

Valid values: - LRS: Locally redundant storage (LRS) is enabled for the backup vault. HBR stores the copies of each object on multiple devices of different facilities in the same zone. This way, HBR ensures data durability and availability even if hardware failures occur. - ZRS: Zone-redundant storage (ZRS) is enabled for the backup vault. HBR uses the multi-zone mechanism to distribute data across three zones within the same region. If a zone fails, the data that is stored in the other two zones is still accessible.


attrReplicationRequired

public readonly attrReplication: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Replication: Indicates whether the backup vault is a remote backup vault.

Valid values: - true: The backup vault is a remote backup vault. - false: The backup vault is an on-premises backup vault.


attrReplicationProgressRequired

public readonly attrReplicationProgress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.


attrReplicationSourceRegionIdRequired

public readonly attrReplicationSourceRegionId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ReplicationSourceRegionId: The ID of the region where the remote backup vault resides.


attrReplicationSourceVaultIdRequired

public readonly attrReplicationSourceVaultId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.


attrResourceGroupIdRequired

public readonly attrResourceGroupId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


attrRetentionRequired

public readonly attrRetention: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Retention: The retention period of the backup vault.

Unit: days.


attrSearchEnabledRequired

public readonly attrSearchEnabled: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SearchEnabled: Indicates whether the backup search feature is enabled.


attrSourceTypesRequired

public readonly attrSourceTypes: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SourceTypes: The information about the data source.


attrStorageSizeRequired

public readonly attrStorageSize: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute StorageSize: The usage of the backup vault.

Unit: bytes.


attrTagsRequired

public readonly attrTags: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Tags: The tags of the backup vault.


attrTrialInfoRequired

public readonly attrTrialInfo: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute TrialInfo: The free trial information.


attrUpdatedTimeRequired

public readonly attrUpdatedTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute UpdatedTime: The time when the backup vault was updated.

This value is a UNIX timestamp. Unit: seconds.


attrVaultIdRequired

public readonly attrVaultId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VaultId: The ID of the backup vault.


attrVaultNameRequired

public readonly attrVaultName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VaultName: The name of the backup vault.


attrVaultStatusMessageRequired

public readonly attrVaultStatusMessage: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.

This parameter is available only for remote backup vaults. Valid values: - UNKNOWN_ERROR*: An unknown error occurs. - SOURCE_VAULT_ALREADY_HAS_REPLICATION**: A mirror vault is configured for the source vault.


attrVaultStorageClassRequired

public readonly attrVaultStorageClass: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VaultStorageClass: The storage type of the backup vault.

Valid value: STANDARD, which indicates standard storage.


attrVaultTypeRequired

public readonly attrVaultType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VaultType: The type of the backup vault.

Valid value: STANDARD, which indicates a standard backup vault.