-
Notifications
You must be signed in to change notification settings - Fork 17
/
FileFingerprintOptions.go
41 lines (38 loc) · 1.39 KB
/
FileFingerprintOptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package awscdk
// Options related to calculating source hash.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// fileFingerprintOptions := &FileFingerprintOptions{
// Exclude: []*string{
// jsii.String("exclude"),
// },
// ExtraHash: jsii.String("extraHash"),
// FollowSymlinks: cdk.SymlinkFollowMode_NEVER,
// IgnoreMode: cdk.IgnoreMode_GLOB,
// }
//
type FileFingerprintOptions struct {
// File paths matching the patterns will be excluded.
//
// See `ignoreMode` to set the matching behavior.
// Has no effect on Assets bundled using the `bundling` property.
// Default: - nothing is excluded.
//
Exclude *[]*string `field:"optional" json:"exclude" yaml:"exclude"`
// A strategy for how to handle symlinks.
// Default: SymlinkFollowMode.NEVER
//
FollowSymlinks SymlinkFollowMode `field:"optional" json:"followSymlinks" yaml:"followSymlinks"`
// The ignore behavior to use for `exclude` patterns.
// Default: IgnoreMode.GLOB
//
IgnoreMode IgnoreMode `field:"optional" json:"ignoreMode" yaml:"ignoreMode"`
// Extra information to encode into the fingerprint (e.g. build instructions and other inputs).
// Default: - hash is only based on source content.
//
ExtraHash *string `field:"optional" json:"extraHash" yaml:"extraHash"`
}