-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnRepository_CodeProperty.go
40 lines (37 loc) · 1.81 KB
/
CfnRepository_CodeProperty.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
package awscodecommit
// Information about code to be committed.
//
// 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"
//
// codeProperty := &CodeProperty{
// S3: &S3Property{
// Bucket: jsii.String("bucket"),
// Key: jsii.String("key"),
//
// // the properties below are optional
// ObjectVersion: jsii.String("objectVersion"),
// },
//
// // the properties below are optional
// BranchName: jsii.String("branchName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html
//
type CfnRepository_CodeProperty struct {
// Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.
//
// Changes to this property are ignored after initial resource creation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html#cfn-codecommit-repository-code-s3
//
S3 interface{} `field:"required" json:"s3" yaml:"s3"`
// Optional.
//
// Specifies a branch name to be used as the default branch when importing code into a repository on initial creation. If this property is not set, the name *main* will be used for the default branch for the repository. Changes to this property are ignored after initial resource creation. We recommend using this parameter to set the name to *main* to align with the default behavior of CodeCommit unless another name is needed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html#cfn-codecommit-repository-code-branchname
//
BranchName *string `field:"optional" json:"branchName" yaml:"branchName"`
}