class Google::Apis::StoragetransferV1::AwsS3Data

An AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, 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)). For information on our data retention policy for user credentials, see [User credentials](/storage- transfer/docs/data-retention#user-credentials). Corresponds to the JSON property `awsAccessKey` @return [Google::Apis::StoragetransferV1::AwsAccessKey]

bucket_name[RW]

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

path[RW]

Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'. Corresponds to the JSON property `path` @return [String]

role_arn[RW]

The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers. html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project. Corresponds to the JSON property `roleArn` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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