Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Data source for listing AWS DynamoDB backups.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.dynamodb.getBackups({
tableName: "my-table",
});
import pulumi
import pulumi_aws as aws
example = aws.dynamodb.get_backups(table_name="my-table")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynamodb.GetBackups(ctx, &dynamodb.GetBackupsArgs{
TableName: pulumi.StringRef("my-table"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.DynamoDB.GetBackups.Invoke(new()
{
TableName = "my-table",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dynamodb.DynamodbFunctions;
import com.pulumi.aws.dynamodb.inputs.GetBackupsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DynamodbFunctions.getBackups(GetBackupsArgs.builder()
.tableName("my-table")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:dynamodb:getBackups
arguments:
tableName: my-table
Using getBackups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBackups(args: GetBackupsArgs, opts?: InvokeOptions): Promise<GetBackupsResult>
function getBackupsOutput(args: GetBackupsOutputArgs, opts?: InvokeOptions): Output<GetBackupsResult>def get_backups(backup_type: Optional[str] = None,
region: Optional[str] = None,
table_name: Optional[str] = None,
time_range_lower_bound: Optional[str] = None,
time_range_upper_bound: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupsResult
def get_backups_output(backup_type: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
table_name: Optional[pulumi.Input[str]] = None,
time_range_lower_bound: Optional[pulumi.Input[str]] = None,
time_range_upper_bound: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupsResult]func GetBackups(ctx *Context, args *GetBackupsArgs, opts ...InvokeOption) (*GetBackupsResult, error)
func GetBackupsOutput(ctx *Context, args *GetBackupsOutputArgs, opts ...InvokeOption) GetBackupsResultOutput> Note: This function is named GetBackups in the Go SDK.
public static class GetBackups
{
public static Task<GetBackupsResult> InvokeAsync(GetBackupsArgs args, InvokeOptions? opts = null)
public static Output<GetBackupsResult> Invoke(GetBackupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
public static Output<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
fn::invoke:
function: aws:dynamodb/getBackups:getBackups
arguments:
# arguments dictionaryThe following arguments are supported:
- Backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Table
Name string - Name of the table to list backups for.
- Time
Range stringLower Bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- Time
Range stringUpper Bound - Only backups created before this time are listed. Time must be in RFC3339 format.
- Backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Table
Name string - Name of the table to list backups for.
- Time
Range stringLower Bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- Time
Range stringUpper Bound - Only backups created before this time are listed. Time must be in RFC3339 format.
- backup
Type String - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- table
Name String - Name of the table to list backups for.
- time
Range StringLower Bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- time
Range StringUpper Bound - Only backups created before this time are listed. Time must be in RFC3339 format.
- backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- table
Name string - Name of the table to list backups for.
- time
Range stringLower Bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- time
Range stringUpper Bound - Only backups created before this time are listed. Time must be in RFC3339 format.
- backup_
type str - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- table_
name str - Name of the table to list backups for.
- time_
range_ strlower_ bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- time_
range_ strupper_ bound - Only backups created before this time are listed. Time must be in RFC3339 format.
- backup
Type String - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- table
Name String - Name of the table to list backups for.
- time
Range StringLower Bound - Only backups created after this time are listed. Time must be in RFC3339 format.
- time
Range StringUpper Bound - Only backups created before this time are listed. Time must be in RFC3339 format.
getBackups Result
The following output properties are available:
- Backup
Summaries List<GetBackups Backup Summary> - List of backups. See below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Backup
Type string - BackupType:
USER,SYSTEM,AWS_BACKUP. - Table
Name string - Name of the table.
- Time
Range stringLower Bound - Time
Range stringUpper Bound
- Backup
Summaries []GetBackups Backup Summary - List of backups. See below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Backup
Type string - BackupType:
USER,SYSTEM,AWS_BACKUP. - Table
Name string - Name of the table.
- Time
Range stringLower Bound - Time
Range stringUpper Bound
- backup
Summaries List<GetBackups Backup Summary> - List of backups. See below.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- backup
Type String - BackupType:
USER,SYSTEM,AWS_BACKUP. - table
Name String - Name of the table.
- time
Range StringLower Bound - time
Range StringUpper Bound
- backup
Summaries GetBackups Backup Summary[] - List of backups. See below.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- backup
Type string - BackupType:
USER,SYSTEM,AWS_BACKUP. - table
Name string - Name of the table.
- time
Range stringLower Bound - time
Range stringUpper Bound
- backup_
summaries Sequence[GetBackups Backup Summary] - List of backups. See below.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- backup_
type str - BackupType:
USER,SYSTEM,AWS_BACKUP. - table_
name str - Name of the table.
- time_
range_ strlower_ bound - time_
range_ strupper_ bound
- backup
Summaries List<Property Map> - List of backups. See below.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- backup
Type String - BackupType:
USER,SYSTEM,AWS_BACKUP. - table
Name String - Name of the table.
- time
Range StringLower Bound - time
Range StringUpper Bound
Supporting Types
GetBackupsBackupSummary
- Backup
Arn string - ARN of the backup.
- Backup
Creation stringDate Time - Time at which the backup was created.
- Backup
Expiry stringDate Time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- Backup
Name string - Name of the specified backup.
- Backup
Size intBytes - Size of the backup in bytes.
- Backup
Status string - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - Backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - Table
Arn string - ARN associated with the table.
- Table
Id string - Unique identifier for the table.
- Table
Name string - Name of the table to list backups for.
- Backup
Arn string - ARN of the backup.
- Backup
Creation stringDate Time - Time at which the backup was created.
- Backup
Expiry stringDate Time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- Backup
Name string - Name of the specified backup.
- Backup
Size intBytes - Size of the backup in bytes.
- Backup
Status string - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - Backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - Table
Arn string - ARN associated with the table.
- Table
Id string - Unique identifier for the table.
- Table
Name string - Name of the table to list backups for.
- backup
Arn String - ARN of the backup.
- backup
Creation StringDate Time - Time at which the backup was created.
- backup
Expiry StringDate Time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- backup
Name String - Name of the specified backup.
- backup
Size IntegerBytes - Size of the backup in bytes.
- backup
Status String - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - backup
Type String - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - table
Arn String - ARN associated with the table.
- table
Id String - Unique identifier for the table.
- table
Name String - Name of the table to list backups for.
- backup
Arn string - ARN of the backup.
- backup
Creation stringDate Time - Time at which the backup was created.
- backup
Expiry stringDate Time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- backup
Name string - Name of the specified backup.
- backup
Size numberBytes - Size of the backup in bytes.
- backup
Status string - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - backup
Type string - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - table
Arn string - ARN associated with the table.
- table
Id string - Unique identifier for the table.
- table
Name string - Name of the table to list backups for.
- backup_
arn str - ARN of the backup.
- backup_
creation_ strdate_ time - Time at which the backup was created.
- backup_
expiry_ strdate_ time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- backup_
name str - Name of the specified backup.
- backup_
size_ intbytes - Size of the backup in bytes.
- backup_
status str - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - backup_
type str - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - table_
arn str - ARN associated with the table.
- table_
id str - Unique identifier for the table.
- table_
name str - Name of the table to list backups for.
- backup
Arn String - ARN of the backup.
- backup
Creation StringDate Time - Time at which the backup was created.
- backup
Expiry StringDate Time - Time at which the automatic on-demand backup created by DynamoDB will expire.
- backup
Name String - Name of the specified backup.
- backup
Size NumberBytes - Size of the backup in bytes.
- backup
Status String - Backup can be in one of the following states:
CREATING,DELETED,AVAILABLE. - backup
Type String - Backup type. Valid values:
USER,SYSTEM,AWS_BACKUP,ALL. - table
Arn String - ARN associated with the table.
- table
Id String - Unique identifier for the table.
- table
Name String - Name of the table to list backups for.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.24.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
