AWS Native is in preview. AWS Classic is fully supported.
aws-native.backup.BackupVault
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Backup::BackupVault
Create BackupVault Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupVault(name: string, args?: BackupVaultArgs, opts?: CustomResourceOptions);
@overload
def BackupVault(resource_name: str,
args: Optional[BackupVaultArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def BackupVault(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_policy: Optional[Any] = None,
backup_vault_name: Optional[str] = None,
backup_vault_tags: Optional[Mapping[str, str]] = None,
encryption_key_arn: Optional[str] = None,
lock_configuration: Optional[BackupVaultLockConfigurationTypeArgs] = None,
notifications: Optional[BackupVaultNotificationObjectTypeArgs] = None)
func NewBackupVault(ctx *Context, name string, args *BackupVaultArgs, opts ...ResourceOption) (*BackupVault, error)
public BackupVault(string name, BackupVaultArgs? args = null, CustomResourceOptions? opts = null)
public BackupVault(String name, BackupVaultArgs args)
public BackupVault(String name, BackupVaultArgs args, CustomResourceOptions options)
type: aws-native:backup:BackupVault
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BackupVaultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupVaultArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupVaultArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupVaultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupVaultArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const backupVaultResource = new aws_native.backup.BackupVault("backupVaultResource", {
accessPolicy: "any",
backupVaultName: "string",
backupVaultTags: {
string: "string",
},
encryptionKeyArn: "string",
lockConfiguration: {
minRetentionDays: 0,
changeableForDays: 0,
maxRetentionDays: 0,
},
notifications: {
backupVaultEvents: ["string"],
snsTopicArn: "string",
},
});
Coming soon!
BackupVault Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BackupVault resource accepts the following input properties:
- Access
Policy object - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - Backup
Vault stringName - Dictionary<string, string>
- Encryption
Key stringArn - Lock
Configuration Pulumi.Aws Native. Backup. Inputs. Backup Vault Lock Configuration Type - Notifications
Pulumi.
Aws Native. Backup. Inputs. Backup Vault Notification Object Type
- Access
Policy interface{} - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - Backup
Vault stringName - map[string]string
- Encryption
Key stringArn - Lock
Configuration BackupVault Lock Configuration Type Args - Notifications
Backup
Vault Notification Object Type Args
- access
Policy Object - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - backup
Vault StringName - Map<String,String>
- encryption
Key StringArn - lock
Configuration BackupVault Lock Configuration Type - notifications
Backup
Vault Notification Object Type
- access
Policy any - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - backup
Vault stringName - {[key: string]: string}
- encryption
Key stringArn - lock
Configuration BackupVault Lock Configuration Type - notifications
Backup
Vault Notification Object Type
- access_
policy Any - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - backup_
vault_ strname - Mapping[str, str]
- encryption_
key_ strarn - lock_
configuration BackupVault Lock Configuration Type Args - notifications
Backup
Vault Notification Object Type Args
- access
Policy Any - Search the CloudFormation User Guide for
AWS::Backup::BackupVault
for more information about the expected schema for this property. - backup
Vault StringName - Map<String>
- encryption
Key StringArn - lock
Configuration Property Map - notifications Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupVault resource produces the following output properties:
- Backup
Vault stringArn - Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Vault stringArn - Id string
- The provider-assigned unique ID for this managed resource.
- backup
Vault StringArn - id String
- The provider-assigned unique ID for this managed resource.
- backup
Vault stringArn - id string
- The provider-assigned unique ID for this managed resource.
- backup_
vault_ strarn - id str
- The provider-assigned unique ID for this managed resource.
- backup
Vault StringArn - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
BackupVaultLockConfigurationType, BackupVaultLockConfigurationTypeArgs
- min
Retention IntegerDays - changeable
For IntegerDays - max
Retention IntegerDays
- min
Retention numberDays - changeable
For numberDays - max
Retention numberDays
- min
Retention NumberDays - changeable
For NumberDays - max
Retention NumberDays
BackupVaultNotificationObjectType, BackupVaultNotificationObjectTypeArgs
- Backup
Vault List<string>Events - Sns
Topic stringArn
- Backup
Vault []stringEvents - Sns
Topic stringArn
- backup
Vault List<String>Events - sns
Topic StringArn
- backup
Vault string[]Events - sns
Topic stringArn
- backup_
vault_ Sequence[str]events - sns_
topic_ strarn
- backup
Vault List<String>Events - sns
Topic StringArn
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.