aws.dynamodb.TableExport
Explore with Pulumi AI
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.s3.BucketV2("example", {
bucketPrefix: "example",
forceDestroy: true,
});
const exampleTable = new aws.dynamodb.Table("example", {
name: "example-table-1",
billingMode: "PAY_PER_REQUEST",
hashKey: "user_id",
attributes: [{
name: "user_id",
type: "S",
}],
pointInTimeRecovery: {
enabled: true,
},
});
const exampleTableExport = new aws.dynamodb.TableExport("example", {
tableArn: exampleTable.arn,
s3Bucket: example.id,
});
import pulumi
import pulumi_aws as aws
example = aws.s3.BucketV2("example",
bucket_prefix="example",
force_destroy=True)
example_table = aws.dynamodb.Table("example",
name="example-table-1",
billing_mode="PAY_PER_REQUEST",
hash_key="user_id",
attributes=[{
"name": "user_id",
"type": "S",
}],
point_in_time_recovery={
"enabled": True,
})
example_table_export = aws.dynamodb.TableExport("example",
table_arn=example_table.arn,
s3_bucket=example.id)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
BucketPrefix: pulumi.String("example"),
ForceDestroy: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleTable, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{
Name: pulumi.String("example-table-1"),
BillingMode: pulumi.String("PAY_PER_REQUEST"),
HashKey: pulumi.String("user_id"),
Attributes: dynamodb.TableAttributeArray{
&dynamodb.TableAttributeArgs{
Name: pulumi.String("user_id"),
Type: pulumi.String("S"),
},
},
PointInTimeRecovery: &dynamodb.TablePointInTimeRecoveryArgs{
Enabled: pulumi.Bool(true),
},
})
if err != nil {
return err
}
_, err = dynamodb.NewTableExport(ctx, "example", &dynamodb.TableExportArgs{
TableArn: exampleTable.Arn,
S3Bucket: example.ID(),
})
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 = new Aws.S3.BucketV2("example", new()
{
BucketPrefix = "example",
ForceDestroy = true,
});
var exampleTable = new Aws.DynamoDB.Table("example", new()
{
Name = "example-table-1",
BillingMode = "PAY_PER_REQUEST",
HashKey = "user_id",
Attributes = new[]
{
new Aws.DynamoDB.Inputs.TableAttributeArgs
{
Name = "user_id",
Type = "S",
},
},
PointInTimeRecovery = new Aws.DynamoDB.Inputs.TablePointInTimeRecoveryArgs
{
Enabled = true,
},
});
var exampleTableExport = new Aws.DynamoDB.TableExport("example", new()
{
TableArn = exampleTable.Arn,
S3Bucket = example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.BucketV2;
import com.pulumi.aws.s3.BucketV2Args;
import com.pulumi.aws.dynamodb.Table;
import com.pulumi.aws.dynamodb.TableArgs;
import com.pulumi.aws.dynamodb.inputs.TableAttributeArgs;
import com.pulumi.aws.dynamodb.inputs.TablePointInTimeRecoveryArgs;
import com.pulumi.aws.dynamodb.TableExport;
import com.pulumi.aws.dynamodb.TableExportArgs;
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) {
var example = new BucketV2("example", BucketV2Args.builder()
.bucketPrefix("example")
.forceDestroy(true)
.build());
var exampleTable = new Table("exampleTable", TableArgs.builder()
.name("example-table-1")
.billingMode("PAY_PER_REQUEST")
.hashKey("user_id")
.attributes(TableAttributeArgs.builder()
.name("user_id")
.type("S")
.build())
.pointInTimeRecovery(TablePointInTimeRecoveryArgs.builder()
.enabled(true)
.build())
.build());
var exampleTableExport = new TableExport("exampleTableExport", TableExportArgs.builder()
.tableArn(exampleTable.arn())
.s3Bucket(example.id())
.build());
}
}
resources:
example:
type: aws:s3:BucketV2
properties:
bucketPrefix: example
forceDestroy: true
exampleTable:
type: aws:dynamodb:Table
name: example
properties:
name: example-table-1
billingMode: PAY_PER_REQUEST
hashKey: user_id
attributes:
- name: user_id
type: S
pointInTimeRecovery:
enabled: true
exampleTableExport:
type: aws:dynamodb:TableExport
name: example
properties:
tableArn: ${exampleTable.arn}
s3Bucket: ${example.id}
Example with export time
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.dynamodb.TableExport("example", {
exportTime: "2023-04-02T11:30:13+01:00",
s3Bucket: exampleAwsS3Bucket.id,
tableArn: exampleAwsDynamodbTable.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.dynamodb.TableExport("example",
export_time="2023-04-02T11:30:13+01:00",
s3_bucket=example_aws_s3_bucket["id"],
table_arn=example_aws_dynamodb_table["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynamodb.NewTableExport(ctx, "example", &dynamodb.TableExportArgs{
ExportTime: pulumi.String("2023-04-02T11:30:13+01:00"),
S3Bucket: pulumi.Any(exampleAwsS3Bucket.Id),
TableArn: pulumi.Any(exampleAwsDynamodbTable.Arn),
})
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 = new Aws.DynamoDB.TableExport("example", new()
{
ExportTime = "2023-04-02T11:30:13+01:00",
S3Bucket = exampleAwsS3Bucket.Id,
TableArn = exampleAwsDynamodbTable.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dynamodb.TableExport;
import com.pulumi.aws.dynamodb.TableExportArgs;
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) {
var example = new TableExport("example", TableExportArgs.builder()
.exportTime("2023-04-02T11:30:13+01:00")
.s3Bucket(exampleAwsS3Bucket.id())
.tableArn(exampleAwsDynamodbTable.arn())
.build());
}
}
resources:
example:
type: aws:dynamodb:TableExport
properties:
exportTime: 2023-04-02T11:30:13+01:00
s3Bucket: ${exampleAwsS3Bucket.id}
tableArn: ${exampleAwsDynamodbTable.arn}
Create TableExport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TableExport(name: string, args: TableExportArgs, opts?: CustomResourceOptions);
@overload
def TableExport(resource_name: str,
args: TableExportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TableExport(resource_name: str,
opts: Optional[ResourceOptions] = None,
s3_bucket: Optional[str] = None,
table_arn: Optional[str] = None,
export_format: Optional[str] = None,
export_time: Optional[str] = None,
s3_bucket_owner: Optional[str] = None,
s3_prefix: Optional[str] = None,
s3_sse_algorithm: Optional[str] = None,
s3_sse_kms_key_id: Optional[str] = None)
func NewTableExport(ctx *Context, name string, args TableExportArgs, opts ...ResourceOption) (*TableExport, error)
public TableExport(string name, TableExportArgs args, CustomResourceOptions? opts = null)
public TableExport(String name, TableExportArgs args)
public TableExport(String name, TableExportArgs args, CustomResourceOptions options)
type: aws:dynamodb:TableExport
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 TableExportArgs
- 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 TableExportArgs
- 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 TableExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableExportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var tableExportResource = new Aws.DynamoDB.TableExport("tableExportResource", new()
{
S3Bucket = "string",
TableArn = "string",
ExportFormat = "string",
ExportTime = "string",
S3BucketOwner = "string",
S3Prefix = "string",
S3SseAlgorithm = "string",
S3SseKmsKeyId = "string",
});
example, err := dynamodb.NewTableExport(ctx, "tableExportResource", &dynamodb.TableExportArgs{
S3Bucket: pulumi.String("string"),
TableArn: pulumi.String("string"),
ExportFormat: pulumi.String("string"),
ExportTime: pulumi.String("string"),
S3BucketOwner: pulumi.String("string"),
S3Prefix: pulumi.String("string"),
S3SseAlgorithm: pulumi.String("string"),
S3SseKmsKeyId: pulumi.String("string"),
})
var tableExportResource = new TableExport("tableExportResource", TableExportArgs.builder()
.s3Bucket("string")
.tableArn("string")
.exportFormat("string")
.exportTime("string")
.s3BucketOwner("string")
.s3Prefix("string")
.s3SseAlgorithm("string")
.s3SseKmsKeyId("string")
.build());
table_export_resource = aws.dynamodb.TableExport("tableExportResource",
s3_bucket="string",
table_arn="string",
export_format="string",
export_time="string",
s3_bucket_owner="string",
s3_prefix="string",
s3_sse_algorithm="string",
s3_sse_kms_key_id="string")
const tableExportResource = new aws.dynamodb.TableExport("tableExportResource", {
s3Bucket: "string",
tableArn: "string",
exportFormat: "string",
exportTime: "string",
s3BucketOwner: "string",
s3Prefix: "string",
s3SseAlgorithm: "string",
s3SseKmsKeyId: "string",
});
type: aws:dynamodb:TableExport
properties:
exportFormat: string
exportTime: string
s3Bucket: string
s3BucketOwner: string
s3Prefix: string
s3SseAlgorithm: string
s3SseKmsKeyId: string
tableArn: string
TableExport 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 TableExport resource accepts the following input properties:
- S3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- Table
Arn string ARN associated with the table to export.
The following arguments are optional:
- Export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - Export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- S3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- S3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- S3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - S3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- S3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- Table
Arn string ARN associated with the table to export.
The following arguments are optional:
- Export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - Export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- S3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- S3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- S3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - S3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- s3Bucket String
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- table
Arn String ARN associated with the table to export.
The following arguments are optional:
- export
Format String - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Time String - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- s3Bucket
Owner String - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix String
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm String - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms StringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- s3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- table
Arn string ARN associated with the table to export.
The following arguments are optional:
- export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- s3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- s3_
bucket str - Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- table_
arn str ARN associated with the table to export.
The following arguments are optional:
- export_
format str - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export_
time str - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- s3_
bucket_ strowner - ID of the AWS account that owns the bucket the export will be stored in.
- s3_
prefix str - Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3_
sse_ stralgorithm - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3_
sse_ strkms_ key_ id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- s3Bucket String
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- table
Arn String ARN associated with the table to export.
The following arguments are optional:
- export
Format String - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Time String - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- s3Bucket
Owner String - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix String
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm String - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms StringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
Outputs
All input properties are implicitly available as output properties. Additionally, the TableExport resource produces the following output properties:
- Arn string
- ARN of the Table Export.
- Billed
Size intIn Bytes - Billable size of the table export.
- End
Time string - Time at which the export task completed.
- Export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - Id string
- The provider-assigned unique ID for this managed resource.
- Item
Count int - Number of items exported.
- Manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- Start
Time string - Time at which the export task began.
- Arn string
- ARN of the Table Export.
- Billed
Size intIn Bytes - Billable size of the table export.
- End
Time string - Time at which the export task completed.
- Export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - Id string
- The provider-assigned unique ID for this managed resource.
- Item
Count int - Number of items exported.
- Manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- Start
Time string - Time at which the export task began.
- arn String
- ARN of the Table Export.
- billed
Size IntegerIn Bytes - Billable size of the table export.
- end
Time String - Time at which the export task completed.
- export
Status String - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - id String
- The provider-assigned unique ID for this managed resource.
- item
Count Integer - Number of items exported.
- manifest
Files StringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- start
Time String - Time at which the export task began.
- arn string
- ARN of the Table Export.
- billed
Size numberIn Bytes - Billable size of the table export.
- end
Time string - Time at which the export task completed.
- export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - id string
- The provider-assigned unique ID for this managed resource.
- item
Count number - Number of items exported.
- manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- start
Time string - Time at which the export task began.
- arn str
- ARN of the Table Export.
- billed_
size_ intin_ bytes - Billable size of the table export.
- end_
time str - Time at which the export task completed.
- export_
status str - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - id str
- The provider-assigned unique ID for this managed resource.
- item_
count int - Number of items exported.
- manifest_
files_ strs3_ key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- start_
time str - Time at which the export task began.
- arn String
- ARN of the Table Export.
- billed
Size NumberIn Bytes - Billable size of the table export.
- end
Time String - Time at which the export task completed.
- export
Status String - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - id String
- The provider-assigned unique ID for this managed resource.
- item
Count Number - Number of items exported.
- manifest
Files StringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- start
Time String - Time at which the export task began.
Look up Existing TableExport Resource
Get an existing TableExport 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>, state?: TableExportState, opts?: CustomResourceOptions): TableExport
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
billed_size_in_bytes: Optional[int] = None,
end_time: Optional[str] = None,
export_format: Optional[str] = None,
export_status: Optional[str] = None,
export_time: Optional[str] = None,
item_count: Optional[int] = None,
manifest_files_s3_key: Optional[str] = None,
s3_bucket: Optional[str] = None,
s3_bucket_owner: Optional[str] = None,
s3_prefix: Optional[str] = None,
s3_sse_algorithm: Optional[str] = None,
s3_sse_kms_key_id: Optional[str] = None,
start_time: Optional[str] = None,
table_arn: Optional[str] = None) -> TableExport
func GetTableExport(ctx *Context, name string, id IDInput, state *TableExportState, opts ...ResourceOption) (*TableExport, error)
public static TableExport Get(string name, Input<string> id, TableExportState? state, CustomResourceOptions? opts = null)
public static TableExport get(String name, Output<String> id, TableExportState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Table Export.
- Billed
Size intIn Bytes - Billable size of the table export.
- End
Time string - Time at which the export task completed.
- Export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - Export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - Export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- Item
Count int - Number of items exported.
- Manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- S3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- S3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- S3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- S3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - S3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- Start
Time string - Time at which the export task began.
- Table
Arn string ARN associated with the table to export.
The following arguments are optional:
- Arn string
- ARN of the Table Export.
- Billed
Size intIn Bytes - Billable size of the table export.
- End
Time string - Time at which the export task completed.
- Export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - Export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - Export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- Item
Count int - Number of items exported.
- Manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- S3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- S3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- S3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- S3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - S3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- Start
Time string - Time at which the export task began.
- Table
Arn string ARN associated with the table to export.
The following arguments are optional:
- arn String
- ARN of the Table Export.
- billed
Size IntegerIn Bytes - Billable size of the table export.
- end
Time String - Time at which the export task completed.
- export
Format String - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Status String - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - export
Time String - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- item
Count Integer - Number of items exported.
- manifest
Files StringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- s3Bucket String
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- s3Bucket
Owner String - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix String
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm String - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms StringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- start
Time String - Time at which the export task began.
- table
Arn String ARN associated with the table to export.
The following arguments are optional:
- arn string
- ARN of the Table Export.
- billed
Size numberIn Bytes - Billable size of the table export.
- end
Time string - Time at which the export task completed.
- export
Format string - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Status string - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - export
Time string - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- item
Count number - Number of items exported.
- manifest
Files stringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- s3Bucket string
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- s3Bucket
Owner string - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix string
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm string - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms stringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- start
Time string - Time at which the export task began.
- table
Arn string ARN associated with the table to export.
The following arguments are optional:
- arn str
- ARN of the Table Export.
- billed_
size_ intin_ bytes - Billable size of the table export.
- end_
time str - Time at which the export task completed.
- export_
format str - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export_
status str - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - export_
time str - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- item_
count int - Number of items exported.
- manifest_
files_ strs3_ key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- s3_
bucket str - Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- s3_
bucket_ strowner - ID of the AWS account that owns the bucket the export will be stored in.
- s3_
prefix str - Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3_
sse_ stralgorithm - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3_
sse_ strkms_ key_ id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- start_
time str - Time at which the export task began.
- table_
arn str ARN associated with the table to export.
The following arguments are optional:
- arn String
- ARN of the Table Export.
- billed
Size NumberIn Bytes - Billable size of the table export.
- end
Time String - Time at which the export task completed.
- export
Format String - Format for the exported data. Valid values are
DYNAMODB_JSON
orION
. See the AWS Documentation for more information on these export formats. Default isDYNAMODB_JSON
. - export
Status String - Status of the export - export can be in one of the following states
IN_PROGRESS
,COMPLETED
, orFAILED
. - export
Time String - Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
- item
Count Number - Number of items exported.
- manifest
Files StringS3Key - Name of the manifest file for the export task. See the AWS Documentation for more information on this manifest file.
- s3Bucket String
- Name of the Amazon S3 bucket to export the snapshot to. See the AWS Documentation for information on how configure this S3 bucket.
- s3Bucket
Owner String - ID of the AWS account that owns the bucket the export will be stored in.
- s3Prefix String
- Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
- s3Sse
Algorithm String - Type of encryption used on the bucket where export data will be stored. Valid values are:
AES256
,KMS
. - s3Sse
Kms StringKey Id - ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
- start
Time String - Time at which the export task began.
- table
Arn String ARN associated with the table to export.
The following arguments are optional:
Import
Using pulumi import
, import DynamoDB table exports using the arn
. For example:
$ pulumi import aws:dynamodb/tableExport:TableExport example arn:aws:dynamodb:us-west-2:12345678911:table/my-table-1/export/01580735656614-2c2f422e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.