Class: Aws::S3::Types::CloudFunctionConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::CloudFunctionConfiguration
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
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:Post, s3:ObjectRestore:Completed
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:Post, s3:ObjectRestore:Completed
cloud_function: "CloudFunction",
invocation_role: "CloudFunctionInvocationRole",
}
Instance Attribute Summary collapse
- #cloud_function ⇒ String
-
#event ⇒ String
The bucket event for which to send notifications.
- #events ⇒ Array<String>
-
#id ⇒ String
An optional unique identifier for configurations in a notification configuration.
- #invocation_role ⇒ String
Instance Attribute Details
#cloud_function ⇒ String
679 680 681 682 683 684 685 686 |
# File 'lib/aws-sdk-s3/types.rb', line 679 class CloudFunctionConfiguration < Struct.new( :id, :event, :events, :cloud_function, :invocation_role) include Aws::Structure end |
#event ⇒ String
The bucket event for which to send notifications.
679 680 681 682 683 684 685 686 |
# File 'lib/aws-sdk-s3/types.rb', line 679 class CloudFunctionConfiguration < Struct.new( :id, :event, :events, :cloud_function, :invocation_role) include Aws::Structure end |
#events ⇒ Array<String>
679 680 681 682 683 684 685 686 |
# File 'lib/aws-sdk-s3/types.rb', line 679 class CloudFunctionConfiguration < Struct.new( :id, :event, :events, :cloud_function, :invocation_role) include Aws::Structure end |
#id ⇒ String
An optional unique identifier for configurations in a notification configuration. If you don’t provide one, Amazon S3 will assign an ID.
679 680 681 682 683 684 685 686 |
# File 'lib/aws-sdk-s3/types.rb', line 679 class CloudFunctionConfiguration < Struct.new( :id, :event, :events, :cloud_function, :invocation_role) include Aws::Structure end |
#invocation_role ⇒ String
679 680 681 682 683 684 685 686 |
# File 'lib/aws-sdk-s3/types.rb', line 679 class CloudFunctionConfiguration < Struct.new( :id, :event, :events, :cloud_function, :invocation_role) include Aws::Structure end |