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

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

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

Overview

Note:

When making an API call, you may pass S3Action data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The Amazon S3 bucket.

Returns:

  • (String)


5508
5509
5510
5511
5512
5513
5514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5508

class S3Action < Struct.new(
  :role_arn,
  :bucket_name,
  :key,
  :canned_acl)
  include Aws::Structure
end

#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)


5508
5509
5510
5511
5512
5513
5514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5508

class S3Action < Struct.new(
  :role_arn,
  :bucket_name,
  :key,
  :canned_acl)
  include Aws::Structure
end

#keyString

The object key.

Returns:

  • (String)


5508
5509
5510
5511
5512
5513
5514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5508

class S3Action < Struct.new(
  :role_arn,
  :bucket_name,
  :key,
  :canned_acl)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)


5508
5509
5510
5511
5512
5513
5514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5508

class S3Action < Struct.new(
  :role_arn,
  :bucket_name,
  :key,
  :canned_acl)
  include Aws::Structure
end