ISource

class aws_cdk.aws_s3_deployment.ISource(*args, **kwds)

Bases: typing_extensions.Protocol

Represents a source for bucket deployments.

Methods

bind(scope, *, handler_role)

Binds the source to a bucket deployment.

Parameters
  • scope (Construct) – The construct tree context.

  • handler_role (IRole) – The role for the handler.

Return type

SourceConfig