Documentation ¶
Overview ¶
CDK Aspect to tag resources with git metadata. This provides a nice connection between the construct and the git repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitUrlTagger_Override ¶
func NewGitUrlTagger_Override(g GitUrlTagger, props *GitUrlTaggerProps)
Types ¶
type GitUrlTagger ¶
type GitUrlTagger interface { awscdk.IAspect FindGitDirectory() *string PutGitUrlInFile(gitUrl *string) RetrieveGitUrl() *string // All aspects can visit an IConstruct. Visit(construct constructs.IConstruct) }
func NewGitUrlTagger ¶
func NewGitUrlTagger(props *GitUrlTaggerProps) GitUrlTagger
type GitUrlTaggerProps ¶
type GitUrlTaggerProps struct { // A flag on whether to try to normalize the URL found in the git config If enabled, it will turn ssh urls into https urls. // Default: true. // NormalizeUrl *bool `field:"optional" json:"normalizeUrl" yaml:"normalizeUrl"` // The Tag key/name to use. // Default: 'GitUrl'. // TagName *string `field:"optional" json:"tagName" yaml:"tagName"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.