assets

package
v2.0.0-rc.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStaging_Override deprecated

func NewStaging_Override(s Staging, scope constructs.Construct, id *string, props *StagingProps)

Deprecated: use `core.AssetStaging`

func Staging_BUNDLING_INPUT_DIR

func Staging_BUNDLING_INPUT_DIR() *string

func Staging_BUNDLING_OUTPUT_DIR

func Staging_BUNDLING_OUTPUT_DIR() *string

func Staging_ClearAssetHashCache

func Staging_ClearAssetHashCache()

Clears the asset hash cache. Deprecated: use `core.AssetStaging`

func Staging_IsConstruct

func Staging_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead

Types

type CopyOptions

type CopyOptions struct {
	// Glob patterns to exclude from the copy.
	// Deprecated: see `core.CopyOptions`
	Exclude *[]*string `json:"exclude"`
	// A strategy for how to handle symlinks.
	// Deprecated: use `followSymlinks` instead
	Follow FollowMode `json:"follow"`
	// The ignore behavior to use for exclude patterns.
	// Deprecated: see `core.CopyOptions`
	IgnoreMode awscdk.IgnoreMode `json:"ignoreMode"`
}

Obtains applied when copying directories into the staging location. Deprecated: see `core.CopyOptions`

type FingerprintOptions

type FingerprintOptions struct {
	// Glob patterns to exclude from the copy.
	// Deprecated: see `core.FingerprintOptions`
	Exclude *[]*string `json:"exclude"`
	// A strategy for how to handle symlinks.
	// Deprecated: use `followSymlinks` instead
	Follow FollowMode `json:"follow"`
	// The ignore behavior to use for exclude patterns.
	// Deprecated: see `core.FingerprintOptions`
	IgnoreMode awscdk.IgnoreMode `json:"ignoreMode"`
	// Extra information to encode into the fingerprint (e.g. build instructions and other inputs).
	// Deprecated: see `core.FingerprintOptions`
	ExtraHash *string `json:"extraHash"`
}

Options related to calculating source hash. Deprecated: see `core.FingerprintOptions`

type FollowMode

type FollowMode string

Symlink follow mode. Deprecated: see `core.SymlinkFollowMode`

const (
	FollowMode_NEVER          FollowMode = "NEVER"
	FollowMode_ALWAYS         FollowMode = "ALWAYS"
	FollowMode_EXTERNAL       FollowMode = "EXTERNAL"
	FollowMode_BLOCK_EXTERNAL FollowMode = "BLOCK_EXTERNAL"
)

type IAsset

type IAsset interface {
	// A hash of the source 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.
	// Deprecated: use `core.IAsset`
	SourceHash() *string
}

Common interface for all assets. Deprecated: use `core.IAsset`

type Staging

type Staging interface {
	awscdk.AssetStaging
	AbsoluteStagedPath() *string
	AssetHash() *string
	IsArchive() *bool
	Node() constructs.Node
	Packaging() awscdk.FileAssetPackaging
	SourceHash() *string
	SourcePath() *string
	StagedPath() *string
	RelativeStagedPath(stack awscdk.Stack) *string
	ToString() *string
}

Deprecated. Deprecated: use `core.AssetStaging`

func NewStaging deprecated

func NewStaging(scope constructs.Construct, id *string, props *StagingProps) Staging

Deprecated: use `core.AssetStaging`

type StagingProps

type StagingProps struct {
	// Glob patterns to exclude from the copy.
	// Deprecated: use `core.AssetStagingProps`
	Exclude *[]*string `json:"exclude"`
	// A strategy for how to handle symlinks.
	// Deprecated: use `followSymlinks` instead
	Follow FollowMode `json:"follow"`
	// The ignore behavior to use for exclude patterns.
	// Deprecated: use `core.AssetStagingProps`
	IgnoreMode awscdk.IgnoreMode `json:"ignoreMode"`
	// Extra information to encode into the fingerprint (e.g. build instructions and other inputs).
	// Deprecated: use `core.AssetStagingProps`
	ExtraHash *string `json:"extraHash"`
	// Local file or directory to stage.
	// Deprecated: use `core.AssetStagingProps`
	SourcePath *string `json:"sourcePath"`
}

Deprecated. Deprecated: use `core.AssetStagingProps`

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL