ISource

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

Bases: typing_extensions.Protocol

(experimental) Represents a source for bucket deployments.

Stability

experimental

Methods

bind(scope, *, handler_role)

(experimental) Binds the source to a bucket deployment.

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

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

Stability

experimental

Return type

SourceConfig