-
Notifications
You must be signed in to change notification settings - Fork 17
/
CodeCommitSourceVariables.go
34 lines (31 loc) · 1.56 KB
/
CodeCommitSourceVariables.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
package awscodepipelineactions
// The CodePipeline variables emitted by the CodeCommit source Action.
//
// 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"
//
// codeCommitSourceVariables := &CodeCommitSourceVariables{
// AuthorDate: jsii.String("authorDate"),
// BranchName: jsii.String("branchName"),
// CommitId: jsii.String("commitId"),
// CommitMessage: jsii.String("commitMessage"),
// CommitterDate: jsii.String("committerDate"),
// RepositoryName: jsii.String("repositoryName"),
// }
//
type CodeCommitSourceVariables struct {
// The date the currently last commit on the tracked branch was authored, in ISO-8601 format.
AuthorDate *string `field:"required" json:"authorDate" yaml:"authorDate"`
// The name of the branch this action tracks.
BranchName *string `field:"required" json:"branchName" yaml:"branchName"`
// The SHA1 hash of the currently last commit on the tracked branch.
CommitId *string `field:"required" json:"commitId" yaml:"commitId"`
// The message of the currently last commit on the tracked branch.
CommitMessage *string `field:"required" json:"commitMessage" yaml:"commitMessage"`
// The date the currently last commit on the tracked branch was committed, in ISO-8601 format.
CommitterDate *string `field:"required" json:"committerDate" yaml:"committerDate"`
// The name of the repository this action points to.
RepositoryName *string `field:"required" json:"repositoryName" yaml:"repositoryName"`
}