Show / Hide Table of Contents

Class ImportSourceSpecification

Properties for importing data from the S3.

Inheritance
object
ImportSourceSpecification
Implements
IImportSourceSpecification
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ImportSourceSpecification : IImportSourceSpecification
Syntax (vb)
Public Class ImportSourceSpecification Implements IImportSourceSpecification
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK;
            using Amazon.CDK.AWS.S3;

            IBucket bucket;


            var app = new App();
            var stack = new Stack(app, "Stack");

            new Table(stack, "Table", new TableProps {
                PartitionKey = new Attribute {
                    Name = "id",
                    Type = AttributeType.STRING
                },
                ImportSource = new ImportSourceSpecification {
                    CompressionType = InputCompressionType.GZIP,
                    InputFormat = InputFormat.DynamoDBJson(),
                    Bucket = bucket,
                    KeyPrefix = "prefix"
                }
            });

Synopsis

Constructors

ImportSourceSpecification()

Properties for importing data from the S3.

Properties

Bucket

The S3 bucket that is being imported from.

BucketOwner

The account number of the S3 bucket that is being imported from.

CompressionType

The compression type of the imported data.

InputFormat

The format of the imported data.

KeyPrefix

The key prefix shared by all S3 Objects that are being imported.

Constructors

ImportSourceSpecification()

Properties for importing data from the S3.

public ImportSourceSpecification()
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK;
            using Amazon.CDK.AWS.S3;

            IBucket bucket;


            var app = new App();
            var stack = new Stack(app, "Stack");

            new Table(stack, "Table", new TableProps {
                PartitionKey = new Attribute {
                    Name = "id",
                    Type = AttributeType.STRING
                },
                ImportSource = new ImportSourceSpecification {
                    CompressionType = InputCompressionType.GZIP,
                    InputFormat = InputFormat.DynamoDBJson(),
                    Bucket = bucket,
                    KeyPrefix = "prefix"
                }
            });

Properties

Bucket

The S3 bucket that is being imported from.

public IBucket Bucket { get; set; }
Property Value

IBucket

Remarks

ExampleMetadata: infused

BucketOwner

The account number of the S3 bucket that is being imported from.

public string? BucketOwner { get; set; }
Property Value

string

Remarks

Default: - no value

CompressionType

The compression type of the imported data.

public InputCompressionType? CompressionType { get; set; }
Property Value

InputCompressionType?

Remarks

Default: InputCompressionType.NONE

InputFormat

The format of the imported data.

public InputFormat InputFormat { get; set; }
Property Value

InputFormat

Remarks

ExampleMetadata: infused

KeyPrefix

The key prefix shared by all S3 Objects that are being imported.

public string? KeyPrefix { get; set; }
Property Value

string

Remarks

Default: - no value

Implements

IImportSourceSpecification
Back to top Generated by DocFX