Skip to content

Vault

  • Implements: ros_cdk_hbr.datasource.IVault

This class encapsulates and extends the ROS resource type DATASOURCE::HBR::Vault, which is used to query the information about a backup vault.

Initializers

from ros_cdk_hbr import datasource
datasource.Vault(
  scope: Construct,
  id: str,
  vault_id: typing.Union[str, IResolvable],
  refresh_options: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
vault_id typing.Union[str, ros_cdk_core.IResolvable] Property vaultId: The ID of the backup vault.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

vault_idRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vaultId: The ID of the backup vault.


refresh_optionsOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

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: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

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

is_construct

from ros_cdk_hbr import datasource
datasource.Vault.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_backup_plan_statistics typing.Union[str, ros_cdk_core.IResolvable] Attribute BackupPlanStatistics: The statistics of backup plans that use the backup vault.
attr_bytes_done typing.Union[str, ros_cdk_core.IResolvable] Attribute BytesDone: The amount of data that is backed up.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The creation time of the backup vault.
attr_dedup typing.Union[str, ros_cdk_core.IResolvable] Attribute Dedup: Indicates whether the deduplication feature is enabled.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: The description of the backup vault.
attr_index_available typing.Union[str, ros_cdk_core.IResolvable] Attribute IndexAvailable: Indicates whether indexes are available.
attr_index_level typing.Union[str, ros_cdk_core.IResolvable] Attribute IndexLevel: The index level.
attr_index_update_time typing.Union[str, ros_cdk_core.IResolvable] Attribute IndexUpdateTime: The time when the index was updated.
attr_latest_replication_time typing.Union[str, ros_cdk_core.IResolvable] Attribute LatestReplicationTime: The time when the last remote backup was synchronized.
attr_payment_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PaymentType: The payment type of the backup vault.
attr_redundancy_type typing.Union[str, ros_cdk_core.IResolvable] Attribute RedundancyType: The data redundancy type of the backup vault.
attr_replication typing.Union[str, ros_cdk_core.IResolvable] Attribute Replication: Indicates whether the backup vault is a remote backup vault.
attr_replication_progress typing.Union[str, ros_cdk_core.IResolvable] Attribute ReplicationProgress: The progress of data synchronization from the backup vault to the mirror vault.
attr_replication_source_region_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ReplicationSourceRegionId: The ID of the region in which the source vault resides.
attr_replication_source_vault_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ReplicationSourceVaultId: The ID of the source vault that corresponds to the remote backup vault.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The ID of the resource group.
attr_retention typing.Union[str, ros_cdk_core.IResolvable] Attribute Retention: The retention period of the backup vault.
attr_search_enabled typing.Union[str, ros_cdk_core.IResolvable] Attribute SearchEnabled: Indicates whether the backup search feature is enabled.
attr_source_types typing.Union[str, ros_cdk_core.IResolvable] Attribute SourceTypes: The data source types of the backup vault.
attr_storage_size typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageSize: The usage of the backup vault.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The tags of the backup vault.
attr_trial_info typing.Union[str, ros_cdk_core.IResolvable] Attribute TrialInfo: The free trial information.
attr_updated_time typing.Union[str, ros_cdk_core.IResolvable] Attribute UpdatedTime: The time when the backup vault was updated.
attr_vault_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VaultId: The ID of the backup vault.
attr_vault_name typing.Union[str, ros_cdk_core.IResolvable] Attribute VaultName: The name of the backup vault.
attr_vault_status_message typing.Union[str, ros_cdk_core.IResolvable] Attribute VaultStatusMessage: The status message that is returned when the backup vault is in the ERROR state.
attr_vault_storage_class typing.Union[str, ros_cdk_core.IResolvable] Attribute VaultStorageClass: Backup repository storage type.
attr_vault_type typing.Union[str, ros_cdk_core.IResolvable] Attribute VaultType: The type of the backup vault.
props VaultProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_backup_plan_statisticsRequired

attr_backup_plan_statistics: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_bytes_doneRequired

attr_bytes_done: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

Unit: bytes.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The creation time of the backup vault.


attr_dedupRequired

attr_dedup: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Dedup: Indicates whether the deduplication feature is enabled.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: The description of the backup vault.


attr_index_availableRequired

attr_index_available: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute IndexAvailable: Indicates whether indexes are available.

Indexes are available when they are not being updated.


attr_index_levelRequired

attr_index_level: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute IndexLevel: The index level.


attr_index_update_timeRequired

attr_index_update_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute IndexUpdateTime: The time when the index was updated.


attr_latest_replication_timeRequired

attr_latest_replication_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

The value is a UNIX timestamp. Unit: seconds.


attr_payment_typeRequired

attr_payment_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PaymentType: The payment type of the backup vault.


attr_redundancy_typeRequired

attr_redundancy_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_replicationRequired

attr_replication: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_replication_progressRequired

attr_replication_progress: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_replication_source_region_idRequired

attr_replication_source_region_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ReplicationSourceRegionId: The ID of the region in which the source vault resides.

This parameter is valid only for remote backup vaults.


attr_replication_source_vault_idRequired

attr_replication_source_vault_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_resource_group_idRequired

attr_resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ResourceGroupId: The ID of the resource group.


attr_retentionRequired

attr_retention: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Retention: The retention period of the backup vault.

Unit: days.


attr_search_enabledRequired

attr_search_enabled: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_source_typesRequired

attr_source_types: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SourceTypes: The data source types of the backup vault.


attr_storage_sizeRequired

attr_storage_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute StorageSize: The usage of the backup vault.

Unit: bytes.


attr_tagsRequired

attr_tags: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Tags: The tags of the backup vault.


attr_trial_infoRequired

attr_trial_info: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute TrialInfo: The free trial information.


attr_updated_timeRequired

attr_updated_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

The value is a UNIX timestamp. Unit: seconds.


attr_vault_idRequired

attr_vault_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VaultId: The ID of the backup vault.


attr_vault_nameRequired

attr_vault_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VaultName: The name of the backup vault.


attr_vault_status_messageRequired

attr_vault_status_message: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

This parameter is valid only for remote backup vaults.


attr_vault_storage_classRequired

attr_vault_storage_class: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VaultStorageClass: Backup repository storage type.

The value is only STANDARD, which indicates STANDARD storage.


attr_vault_typeRequired

attr_vault_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VaultType: The type of the backup vault.


propsRequired

props: VaultProps