You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AppSync::Types::DynamodbDataSourceConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Note:

When making an API call, you may pass DynamodbDataSourceConfig data as a hash:

{
  table_name: "String", # required
  aws_region: "String", # required
  use_caller_credentials: false,
  delta_sync_config: {
    base_table_ttl: 1,
    delta_sync_table_name: "String",
    delta_sync_table_ttl: 1,
  },
  versioned: false,
}

Describes an Amazon DynamoDB data source configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#aws_regionString

The AWS Region.

Returns:

  • (String)


1304
1305
1306
1307
1308
1309
1310
1311
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1304

class DynamodbDataSourceConfig < Struct.new(
  :table_name,
  :aws_region,
  :use_caller_credentials,
  :delta_sync_config,
  :versioned)
  include Aws::Structure
end

#delta_sync_configTypes::DeltaSyncConfig

The DeltaSyncConfig for a versioned datasource.



1304
1305
1306
1307
1308
1309
1310
1311
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1304

class DynamodbDataSourceConfig < Struct.new(
  :table_name,
  :aws_region,
  :use_caller_credentials,
  :delta_sync_config,
  :versioned)
  include Aws::Structure
end

#table_nameString

The table name.

Returns:

  • (String)


1304
1305
1306
1307
1308
1309
1310
1311
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1304

class DynamodbDataSourceConfig < Struct.new(
  :table_name,
  :aws_region,
  :use_caller_credentials,
  :delta_sync_config,
  :versioned)
  include Aws::Structure
end

#use_caller_credentialsBoolean

Set to TRUE to use Amazon Cognito credentials with this data source.

Returns:

  • (Boolean)


1304
1305
1306
1307
1308
1309
1310
1311
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1304

class DynamodbDataSourceConfig < Struct.new(
  :table_name,
  :aws_region,
  :use_caller_credentials,
  :delta_sync_config,
  :versioned)
  include Aws::Structure
end

#versionedBoolean

Set to TRUE to use Conflict Detection and Resolution with this data source.

Returns:

  • (Boolean)


1304
1305
1306
1307
1308
1309
1310
1311
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1304

class DynamodbDataSourceConfig < Struct.new(
  :table_name,
  :aws_region,
  :use_caller_credentials,
  :delta_sync_config,
  :versioned)
  include Aws::Structure
end