FingerprintOptions

class aws_cdk.assets.FingerprintOptions(*, exclude=None, follow=None, ignore_mode=None, extra_hash=None)

Bases: CopyOptions

(deprecated) Options related to calculating source hash.

Parameters:
  • exclude (Optional[Sequence[str]]) – (deprecated) Glob patterns to exclude from the copy. Default: nothing is excluded

  • follow (Optional[FollowMode]) – (deprecated) A strategy for how to handle symlinks. Default: Never

  • ignore_mode (Optional[IgnoreMode]) – (deprecated) The ignore behavior to use for exclude patterns. Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the ‘

  • extra_hash (Optional[str]) – (deprecated) Extra information to encode into the fingerprint (e.g. build instructions and other inputs). Default: - hash is only based on source content

Deprecated:

see core.FingerprintOptions

Stability:

deprecated

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.assets as assets
import aws_cdk.core as cdk

fingerprint_options = assets.FingerprintOptions(
    exclude=["exclude"],
    extra_hash="extraHash",
    follow=assets.FollowMode.NEVER,
    ignore_mode=cdk.IgnoreMode.GLOB
)

Attributes

exclude

(deprecated) Glob patterns to exclude from the copy.

Default:

nothing is excluded

Stability:

deprecated

extra_hash

(deprecated) Extra information to encode into the fingerprint (e.g. build instructions and other inputs).

Default:
  • hash is only based on source content

Stability:

deprecated

follow

(deprecated) A strategy for how to handle symlinks.

Default:

Never

Deprecated:

use followSymlinks instead

Stability:

deprecated

ignore_mode

(deprecated) The ignore behavior to use for exclude patterns.

Default:

  • GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the

Stability:

deprecated

Aws-cdk:

/aws-ecr-assets:dockerIgnoreSupport’ flag is set.