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

Class: Aws::IoT::Types::S3Action

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3Action as input to an Aws::Client method, you can use a vanilla Hash:

{
  role_arn: "AwsArn", # required
  bucket_name: "BucketName", # required
  key: "Key", # required
  canned_acl: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write
}

Describes an action to write data to an Amazon S3 bucket.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The Amazon S3 bucket.

Returns:

  • (String)

    The Amazon S3 bucket.

#canned_aclString

The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.

Returns:

  • (String)

    The Amazon S3 canned ACL that controls access to the object identified by the object key.

#keyString

The object key.

Returns:

  • (String)

    The object key.

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)

    The ARN of the IAM role that grants access.