Class: Aws::MailManager::Types::S3Action

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

Overview

Writes the MIME content of the email to an S3 bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_failure_policyString

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3190

class S3Action < Struct.new(
  :action_failure_policy,
  :role_arn,
  :s3_bucket,
  :s3_prefix,
  :s3_sse_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3190

class S3Action < Struct.new(
  :action_failure_policy,
  :role_arn,
  :s3_bucket,
  :s3_prefix,
  :s3_sse_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucketString

The bucket name of the S3 bucket to write to.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3190

class S3Action < Struct.new(
  :action_failure_policy,
  :role_arn,
  :s3_bucket,
  :s3_prefix,
  :s3_sse_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#s3_prefixString

The S3 prefix to use for the write to the s3 bucket.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3190

class S3Action < Struct.new(
  :action_failure_policy,
  :role_arn,
  :s3_bucket,
  :s3_prefix,
  :s3_sse_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#s3_sse_kms_key_idString

The KMS Key ID to use to encrypt the message in S3.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3190

class S3Action < Struct.new(
  :action_failure_policy,
  :role_arn,
  :s3_bucket,
  :s3_prefix,
  :s3_sse_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end