CfnLogicallyAirGappedBackupVaultPropsMixin

class aws_cdk.mixins_preview.aws_backup.mixins.CfnLogicallyAirGappedBackupVaultPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a logical container to where backups may be copied.

This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID. .. epigraph:

Do not include sensitive data, such as passport numbers, in the name of a backup vault.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html

CloudformationResource:

AWS::Backup::LogicallyAirGappedBackupVault

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_backup import mixins as backup_mixins

# access_policy: Any

cfn_logically_air_gapped_backup_vault_props_mixin = backup_mixins.CfnLogicallyAirGappedBackupVaultPropsMixin(backup_mixins.CfnLogicallyAirGappedBackupVaultMixinProps(
    access_policy=access_policy,
    backup_vault_name="backupVaultName",
    backup_vault_tags={
        "backup_vault_tags_key": "backupVaultTags"
    },
    encryption_key_arn="encryptionKeyArn",
    max_retention_days=123,
    min_retention_days=123,
    mpa_approval_team_arn="mpaApprovalTeamArn",
    notifications=backup_mixins.CfnLogicallyAirGappedBackupVaultPropsMixin.NotificationObjectTypeProperty(
        backup_vault_events=["backupVaultEvents"],
        sns_topic_arn="snsTopicArn"
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Backup::LogicallyAirGappedBackupVault.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['accessPolicy', 'backupVaultName', 'backupVaultTags', 'encryptionKeyArn', 'maxRetentionDays', 'minRetentionDays', 'mpaApprovalTeamArn', 'notifications']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

NotificationObjectTypeProperty

class CfnLogicallyAirGappedBackupVaultPropsMixin.NotificationObjectTypeProperty(*, backup_vault_events=None, sns_topic_arn=None)

Bases: object

Parameters:
  • backup_vault_events (Optional[Sequence[str]]) – An array of events that indicate the status of jobs to back up resources to the backup vault.

  • sns_topic_arn (Optional[str]) – The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_backup import mixins as backup_mixins

notification_object_type_property = backup_mixins.CfnLogicallyAirGappedBackupVaultPropsMixin.NotificationObjectTypeProperty(
    backup_vault_events=["backupVaultEvents"],
    sns_topic_arn="snsTopicArn"
)

Attributes

backup_vault_events

An array of events that indicate the status of jobs to back up resources to the backup vault.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html#cfn-backup-logicallyairgappedbackupvault-notificationobjecttype-backupvaultevents

sns_topic_arn

The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;

for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-logicallyairgappedbackupvault-notificationobjecttype.html#cfn-backup-logicallyairgappedbackupvault-notificationobjecttype-snstopicarn