-
Notifications
You must be signed in to change notification settings - Fork 17
/
CodeStarSourceVariables.go
34 lines (31 loc) · 1.52 KB
/
CodeStarSourceVariables.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 CodeStar 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"
//
// codeStarSourceVariables := &CodeStarSourceVariables{
// AuthorDate: jsii.String("authorDate"),
// BranchName: jsii.String("branchName"),
// CommitId: jsii.String("commitId"),
// CommitMessage: jsii.String("commitMessage"),
// ConnectionArn: jsii.String("connectionArn"),
// FullRepositoryName: jsii.String("fullRepositoryName"),
// }
//
type CodeStarSourceVariables 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 connection ARN this source uses.
ConnectionArn *string `field:"required" json:"connectionArn" yaml:"connectionArn"`
// The name of the repository this action points to.
FullRepositoryName *string `field:"required" json:"fullRepositoryName" yaml:"fullRepositoryName"`
}