class Aws::S3::Types::CloudFunctionConfiguration

Container for specifying the Lambda notification configuration.

@note When making an API call, you may pass CloudFunctionConfiguration

data as a hash:

    {
      id: "NotificationId",
      event: "s3:ReducedRedundancyLostObject", # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
      events: ["s3:ReducedRedundancyLostObject"], # accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
      cloud_function: "CloudFunction",
      invocation_role: "CloudFunctionInvocationRole",
    }

@!attribute [rw] id

An optional unique identifier for configurations in a notification
configuration. If you don't provide one, Amazon S3 will assign an
ID.
@return [String]

@!attribute [rw] event

The bucket event for which to send notifications.
@return [String]

@!attribute [rw] events

Bucket events for which to send notifications.
@return [Array<String>]

@!attribute [rw] cloud_function

Lambda cloud function ARN that Amazon S3 can invoke when it detects
events of the specified type.
@return [String]

@!attribute [rw] invocation_role

The role supporting the invocation of the Lambda function
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration AWS API Documentation

Constants

SENSITIVE