class Google::Apis::StoragetransferV1::AwsS3Data

An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name.

Attributes

aws_access_key[RW]

AWS access key (see [AWS Security Credentials](docs.aws.amazon.com/ general/latest/gr/aws-security-credentials.html)). Corresponds to the JSON property `awsAccessKey` @return [Google::Apis::StoragetransferV1::AwsAccessKey]

bucket_name[RW]

S3 Bucket name (see [Creating a bucket](docs.aws.amazon.com/AmazonS3/ latest/dev/create-bucket-get-location-example.html)). Required. Corresponds to the JSON property `bucketName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/storagetransfer_v1/classes.rb, line 230
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/storagetransfer_v1/classes.rb, line 235
def update!(**args)
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
  @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
end