S3ResourceExtensions Class

Definition

Provides extension methods for adding Amazon S3 resources to the application model.

public static class S3ResourceExtensions
type S3ResourceExtensions = class
Public Module S3ResourceExtensions
Inheritance
S3ResourceExtensions

Methods

AddEventNotification(IResourceBuilder<IConstructResource<Bucket>>, IResourceBuilder<IConstructResource<IQueue>>, EventType, INotificationKeyFilter[])

Subscribes a destination to receive notifications when an object is created in the bucket.

AddObjectCreatedNotification(IResourceBuilder<IConstructResource<Bucket>>, IResourceBuilder<IConstructResource<IQueue>>, INotificationKeyFilter[])

Subscribes a destination to receive notifications when an object is created in the bucket.

AddObjectCreatedNotification(IResourceBuilder<IConstructResource<Bucket>>, IResourceBuilder<IConstructResource<ITopic>>, INotificationKeyFilter[])

Subscribes a destination to receive notifications when an object is created in the bucket.

AddObjectRemovedNotification(IResourceBuilder<IConstructResource<Bucket>>, IResourceBuilder<IConstructResource<IQueue>>, INotificationKeyFilter[])

Subscribes a destination to receive notifications when an object is removed from the bucket.

AddObjectRemovedNotification(IResourceBuilder<IConstructResource<Bucket>>, IResourceBuilder<IConstructResource<ITopic>>, INotificationKeyFilter[])

Subscribes a destination to receive notifications when an object is removed from the bucket.

AddS3Bucket(IResourceBuilder<IStackResource>, String, IBucketProps)

Adds an Amazon S3 bucket.

WithReference<TDestination>(IResourceBuilder<TDestination>, IResourceBuilder<IConstructResource<Bucket>>, String)

Adds a reference of an Amazon S3 bucket to a project. The output parameters of the bucket are added to the project IConfiguration.

Applies to