Documentation
¶
Index ¶
- func NewStaging_Override(s Staging, scope awscdk.Construct, id *string, props *StagingProps)deprecated
- func Staging_BUNDLING_INPUT_DIR() *string
- func Staging_BUNDLING_OUTPUT_DIR() *string
- func Staging_ClearAssetHashCache()
- func Staging_IsConstruct(x interface{}) *bool
- type CopyOptions
- type FingerprintOptions
- type FollowMode
- type IAsset
- type Staging
- type StagingProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStaging_Override
deprecated
func NewStaging_Override(s Staging, scope awscdk.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
Return whether the given object is a Construct. Deprecated: use `core.AssetStaging`
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() awscdk.ConstructNode
Packaging() awscdk.FileAssetPackaging
SourceHash() *string
SourcePath() *string
StagedPath() *string
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
RelativeStagedPath(stack awscdk.Stack) *string
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
Deprecated. Deprecated: use `core.AssetStaging`
func NewStaging
deprecated
func NewStaging(scope awscdk.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`
Click to show internal directories.
Click to hide internal directories.