1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. dynamodb
  6. Backup

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Creates an on-demand backup of a DynamoDB table.

    Create Backup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Backup(name: string, args: BackupArgs, opts?: CustomResourceOptions);
    @overload
    def Backup(resource_name: str,
               args: BackupArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Backup(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               table_name: Optional[str] = None,
               backup_name: Optional[str] = None)
    func NewBackup(ctx *Context, name string, args BackupArgs, opts ...ResourceOption) (*Backup, error)
    public Backup(string name, BackupArgs args, CustomResourceOptions? opts = null)
    public Backup(String name, BackupArgs args)
    public Backup(String name, BackupArgs args, CustomResourceOptions options)
    
    type: aws-native:dynamodb:Backup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_dynamodb_backup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BackupArgs
    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 BackupArgs
    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 BackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Backup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Backup resource accepts the following input properties:

    TableName string
    The name of the table to back up.
    BackupName string
    The name for the backup.
    TableName string
    The name of the table to back up.
    BackupName string
    The name for the backup.
    table_name string
    The name of the table to back up.
    backup_name string
    The name for the backup.
    tableName String
    The name of the table to back up.
    backupName String
    The name for the backup.
    tableName string
    The name of the table to back up.
    backupName string
    The name for the backup.
    table_name str
    The name of the table to back up.
    backup_name str
    The name for the backup.
    tableName String
    The name of the table to back up.
    backupName String
    The name for the backup.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:

    BackupArn string
    The ARN associated with the backup.
    BackupCreationDateTime string
    The time at which the backup was created.
    BackupId string
    The identifier portion of the backup ARN (server-generated).
    BackupSizeBytes int
    The size of the backup in bytes.
    BackupStatus Pulumi.AwsNative.DynamoDb.BackupStatus
    The current state of the backup.
    BackupType Pulumi.AwsNative.DynamoDb.BackupType
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    Id string
    The provider-assigned unique ID for this managed resource.
    BackupArn string
    The ARN associated with the backup.
    BackupCreationDateTime string
    The time at which the backup was created.
    BackupId string
    The identifier portion of the backup ARN (server-generated).
    BackupSizeBytes int
    The size of the backup in bytes.
    BackupStatus BackupStatus
    The current state of the backup.
    BackupType BackupType
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    Id string
    The provider-assigned unique ID for this managed resource.
    backup_arn string
    The ARN associated with the backup.
    backup_creation_date_time string
    The time at which the backup was created.
    backup_id string
    The identifier portion of the backup ARN (server-generated).
    backup_size_bytes number
    The size of the backup in bytes.
    backup_status "CREATING" | "DELETED" | "AVAILABLE"
    The current state of the backup.
    backup_type "USER" | "SYSTEM" | "AWS_BACKUP"
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    id string
    The provider-assigned unique ID for this managed resource.
    backupArn String
    The ARN associated with the backup.
    backupCreationDateTime String
    The time at which the backup was created.
    backupId String
    The identifier portion of the backup ARN (server-generated).
    backupSizeBytes Integer
    The size of the backup in bytes.
    backupStatus BackupStatus
    The current state of the backup.
    backupType BackupType
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    id String
    The provider-assigned unique ID for this managed resource.
    backupArn string
    The ARN associated with the backup.
    backupCreationDateTime string
    The time at which the backup was created.
    backupId string
    The identifier portion of the backup ARN (server-generated).
    backupSizeBytes number
    The size of the backup in bytes.
    backupStatus BackupStatus
    The current state of the backup.
    backupType BackupType
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    id string
    The provider-assigned unique ID for this managed resource.
    backup_arn str
    The ARN associated with the backup.
    backup_creation_date_time str
    The time at which the backup was created.
    backup_id str
    The identifier portion of the backup ARN (server-generated).
    backup_size_bytes int
    The size of the backup in bytes.
    backup_status BackupStatus
    The current state of the backup.
    backup_type BackupType
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    id str
    The provider-assigned unique ID for this managed resource.
    backupArn String
    The ARN associated with the backup.
    backupCreationDateTime String
    The time at which the backup was created.
    backupId String
    The identifier portion of the backup ARN (server-generated).
    backupSizeBytes Number
    The size of the backup in bytes.
    backupStatus "CREATING" | "DELETED" | "AVAILABLE"
    The current state of the backup.
    backupType "USER" | "SYSTEM" | "AWS_BACKUP"
    The type of backup (USER, SYSTEM, or AWS_BACKUP).
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Backup Resource

    Get an existing Backup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Backup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Backup
    func GetBackup(ctx *Context, name string, id IDInput, state *BackupState, opts ...ResourceOption) (*Backup, error)
    public static Backup Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Backup get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingBackup:    type: aws-native:dynamodb:Backup    get:      id: ${id}
    import {
      to = aws-native_dynamodb_backup.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state BackupState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    BackupStatus

    The current state of the backup.

    NameValue
    CreatingCREATING
    DeletedDELETED
    AvailableAVAILABLE
    NameValue
    BackupStatusCreatingCREATING
    BackupStatusDeletedDELETED
    BackupStatusAvailableAVAILABLE
    Value
    CREATING
    DELETED
    AVAILABLE
    NameValue
    CreatingCREATING
    DeletedDELETED
    AvailableAVAILABLE
    NameValue
    CreatingCREATING
    DeletedDELETED
    AvailableAVAILABLE
    NameValue
    CREATINGCREATING
    DELETEDDELETED
    AVAILABLEAVAILABLE
    Value
    CREATING
    DELETED
    AVAILABLE

    BackupType

    The type of backup (USER, SYSTEM, or AWS_BACKUP).

    NameValue
    UserUSER
    SystemSYSTEM
    AwsBackupAWS_BACKUP
    NameValue
    BackupTypeUserUSER
    BackupTypeSystemSYSTEM
    BackupTypeAwsBackupAWS_BACKUP
    Value
    USER
    SYSTEM
    AWS_BACKUP
    NameValue
    UserUSER
    SystemSYSTEM
    AwsBackupAWS_BACKUP
    NameValue
    UserUSER
    SystemSYSTEM
    AwsBackupAWS_BACKUP
    NameValue
    USERUSER
    SYSTEMSYSTEM
    AWS_BACKUPAWS_BACKUP
    Value
    USER
    SYSTEM
    AWS_BACKUP

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial