Module: AWSCDK::IAsset

Included in:
S3Assets::Asset
Defined in:
i_asset.rb

Overview

Common interface for all assets.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



18
19
20
21
22
# File 'i_asset.rb', line 18

def self.jsii_overridable_methods
  {
    :asset_hash => { kind: :property, name: "assetHash", is_optional: false },
  }
end

Instance Method Details

#asset_hashString

A hash of this asset, which is available at construction time.

As this is a plain string, it can be used in construct IDs in order to enforce creation of a new resource when the content hash has changed.

Returns:

  • (String)


14
15
16
# File 'i_asset.rb', line 14

def asset_hash()
  jsii_get_property("assetHash")
end