Module: AWSCDK::CodeBuild::IFileSystemLocation

Defined in:
code_build/i_file_system_location.rb

Overview

The interface of a CodeBuild FileSystemLocation.

Implemented by EfsFileSystemLocation.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



20
21
22
23
24
# File 'code_build/i_file_system_location.rb', line 20

def self.jsii_overridable_methods
  {
    :bind => { kind: :method, name: "bind", is_optional: false },
  }
end

Instance Method Details

#bind(scope, project) ⇒ AWSCDK::CodeBuild::FileSystemConfig

Called by the project when a file system is added so it can perform binding operations on this file system location.

Parameters:

Returns:



14
15
16
17
18
# File 'code_build/i_file_system_location.rb', line 14

def bind(scope, project)
  Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope")
  Jsii::Type.check_type(project, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLklQcm9qZWN0In0=")), "project")
  jsii_call_method("bind", [scope, project])
end