-
Notifications
You must be signed in to change notification settings - Fork 17
/
EcrSourceVariables.go
33 lines (30 loc) · 1.3 KB
/
EcrSourceVariables.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
package awscodepipelineactions
// The CodePipeline variables emitted by the ECR 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"
//
// ecrSourceVariables := &EcrSourceVariables{
// ImageDigest: jsii.String("imageDigest"),
// ImageTag: jsii.String("imageTag"),
// ImageUri: jsii.String("imageUri"),
// RegistryId: jsii.String("registryId"),
// RepositoryName: jsii.String("repositoryName"),
// }
//
type EcrSourceVariables struct {
// The digest of the current image, in the form '<digest type>:<digest value>'.
ImageDigest *string `field:"required" json:"imageDigest" yaml:"imageDigest"`
// The Docker tag of the current image.
ImageTag *string `field:"required" json:"imageTag" yaml:"imageTag"`
// The full ECR Docker URI of the current image.
ImageUri *string `field:"required" json:"imageUri" yaml:"imageUri"`
// The identifier of the registry.
//
// In ECR, this is usually the ID of the AWS account owning it.
RegistryId *string `field:"required" json:"registryId" yaml:"registryId"`
// The physical name of the repository that this action tracks.
RepositoryName *string `field:"required" json:"repositoryName" yaml:"repositoryName"`
}