RDSDataSpec class

The data specification of an Amazon Relational Database Service (Amazon RDS) DataSource.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: false, createToJson: true)

Constructors

RDSDataSpec({@required RDSDatabaseCredentials databaseCredentials, @required RDSDatabase databaseInformation, @required String resourceRole, @required String s3StagingLocation, @required List<String> securityGroupIds, @required String selectSqlQuery, @required String serviceRole, @required String subnetId, String dataRearrangement, String dataSchema, String dataSchemaUri})

Properties

databaseCredentials RDSDatabaseCredentials
The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.
@JsonKey(name: 'DatabaseCredentials'), final
databaseInformation RDSDatabase
Describes the DatabaseName and InstanceIdentifier of an Amazon RDS database.
@JsonKey(name: 'DatabaseInformation'), final
dataRearrangement String
A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. [...]
@JsonKey(name: 'DataRearrangement'), final
dataSchema String
A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. [...]
@JsonKey(name: 'DataSchema'), final
dataSchemaUri String
The Amazon S3 location of the DataSchema.
@JsonKey(name: 'DataSchemaUri'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
resourceRole String
The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines.
@JsonKey(name: 'ResourceRole'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
s3StagingLocation String
The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location.
@JsonKey(name: 'S3StagingLocation'), final
securityGroupIds List<String>
The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.
@JsonKey(name: 'SecurityGroupIds'), final
selectSqlQuery String
The query that is used to retrieve the observation data for the DataSource.
@JsonKey(name: 'SelectSqlQuery'), final
serviceRole String
The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.
@JsonKey(name: 'ServiceRole'), final
subnetId String
The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.
@JsonKey(name: 'SubnetId'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited