Show / Hide Table of Contents

Class CfnBucket.LambdaConfigurationProperty

Describes the AWS Lambda functions to invoke and the events for which to invoke them.

Inheritance
object
CfnBucket.LambdaConfigurationProperty
Implements
CfnBucket.ILambdaConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBucket.LambdaConfigurationProperty : CfnBucket.ILambdaConfigurationProperty
Syntax (vb)
Public Class CfnBucket.LambdaConfigurationProperty Implements CfnBucket.ILambdaConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.S3;

             var lambdaConfigurationProperty = new LambdaConfigurationProperty {
                 Event = "event",
                 Function = "function",

                 // the properties below are optional
                 Filter = new NotificationFilterProperty {
                     S3Key = new S3KeyFilterProperty {
                         Rules = new [] { new FilterRuleProperty {
                             Name = "name",
                             Value = "value"
                         } }
                     }
                 }
             };

Synopsis

Constructors

LambdaConfigurationProperty()

Describes the AWS Lambda functions to invoke and the events for which to invoke them.

Properties

Event

The Amazon S3 bucket event for which to invoke the AWS Lambda function.

Filter

The filtering rules that determine which objects invoke the AWS Lambda function.

Function

The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs.

Constructors

LambdaConfigurationProperty()

Describes the AWS Lambda functions to invoke and the events for which to invoke them.

public LambdaConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.S3;

             var lambdaConfigurationProperty = new LambdaConfigurationProperty {
                 Event = "event",
                 Function = "function",

                 // the properties below are optional
                 Filter = new NotificationFilterProperty {
                     S3Key = new S3KeyFilterProperty {
                         Rules = new [] { new FilterRuleProperty {
                             Name = "name",
                             Value = "value"
                         } }
                     }
                 }
             };

Properties

Event

The Amazon S3 bucket event for which to invoke the AWS Lambda function.

public string Event { get; set; }
Property Value

string

Remarks

For more information, see Supported Event Types in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-event

Filter

The filtering rules that determine which objects invoke the AWS Lambda function.

public object? Filter { get; set; }
Property Value

object

Remarks

For example, you can create a filter so that only image files with a .jpg extension invoke the function when they are added to the Amazon S3 bucket.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-filter

Function

The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs.

public string Function { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-function

Implements

CfnBucket.ILambdaConfigurationProperty
Back to top Generated by DocFX