S3Destination
- class aws_cdk.aws_lambda_destinations.S3Destination(bucket)
Bases:
object
Use a S3 bucket as a Lambda destination.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lambda_destinations as lambda_destinations from aws_cdk import aws_s3 as s3 # bucket: s3.Bucket s3_destination = lambda_destinations.S3Destination(bucket)
- Parameters:
bucket (
IBucket
) –
Methods
- bind(_scope, fn, *, type)
Returns a destination configuration.
- Parameters:
_scope (
Construct
) –fn (
IFunction
) –type (
DestinationType
) – The destination type.
- Return type: