Class: Aws::S3::Types::CloudFunctionConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Container for specifying the Lambda notification configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_functionString

Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.

Returns:

  • (String)


741
742
743
744
745
746
747
748
749
# File 'lib/aws-sdk-s3/types.rb', line 741

class CloudFunctionConfiguration < Struct.new(
  :id,
  :event,
  :events,
  :cloud_function,
  :invocation_role)
  SENSITIVE = []
  include Aws::Structure
end

#eventString

The bucket event for which to send notifications.

Returns:

  • (String)


741
742
743
744
745
746
747
748
749
# File 'lib/aws-sdk-s3/types.rb', line 741

class CloudFunctionConfiguration < Struct.new(
  :id,
  :event,
  :events,
  :cloud_function,
  :invocation_role)
  SENSITIVE = []
  include Aws::Structure
end

#eventsArray<String>

Bucket events for which to send notifications.

Returns:

  • (Array<String>)


741
742
743
744
745
746
747
748
749
# File 'lib/aws-sdk-s3/types.rb', line 741

class CloudFunctionConfiguration < Struct.new(
  :id,
  :event,
  :events,
  :cloud_function,
  :invocation_role)
  SENSITIVE = []
  include Aws::Structure
end

#idString

An optional unique identifier for configurations in a notification configuration. If you don’t provide one, Amazon S3 will assign an ID.

Returns:

  • (String)


741
742
743
744
745
746
747
748
749
# File 'lib/aws-sdk-s3/types.rb', line 741

class CloudFunctionConfiguration < Struct.new(
  :id,
  :event,
  :events,
  :cloud_function,
  :invocation_role)
  SENSITIVE = []
  include Aws::Structure
end

#invocation_roleString

The role supporting the invocation of the Lambda function

Returns:

  • (String)


741
742
743
744
745
746
747
748
749
# File 'lib/aws-sdk-s3/types.rb', line 741

class CloudFunctionConfiguration < Struct.new(
  :id,
  :event,
  :events,
  :cloud_function,
  :invocation_role)
  SENSITIVE = []
  include Aws::Structure
end