package codestar
import "github.com/awslabs/goformation/v4/cloudformation/codestar"
Index ¶
- type GitHubRepository
- func (r *GitHubRepository) AWSCloudFormationType() string
- func (r GitHubRepository) MarshalJSON() ([]byte, error)
- func (r *GitHubRepository) UnmarshalJSON(b []byte) error
- type GitHubRepository_Code
- type GitHubRepository_S3
Types ¶
type GitHubRepository ¶
type GitHubRepository struct { // Code AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-code Code *GitHubRepository_Code `json:"Code,omitempty"` // ConnectionArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-connectionarn ConnectionArn string `json:"ConnectionArn,omitempty"` // EnableIssues AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-enableissues EnableIssues bool `json:"EnableIssues,omitempty"` // IsPrivate AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-isprivate IsPrivate bool `json:"IsPrivate,omitempty"` // RepositoryAccessToken AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryaccesstoken RepositoryAccessToken string `json:"RepositoryAccessToken,omitempty"` // RepositoryDescription AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositorydescription RepositoryDescription string `json:"RepositoryDescription,omitempty"` // RepositoryName AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryname RepositoryName string `json:"RepositoryName,omitempty"` // RepositoryOwner AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryowner RepositoryOwner string `json:"RepositoryOwner,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource AWSCloudFormationDependsOn []string `json:"-"` // AWSCloudFormationMetadata stores structured data associated with this resource AWSCloudFormationMetadata map[string]interface{} `json:"-"` // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created AWSCloudFormationCondition string `json:"-"` }
GitHubRepository AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html
func (*GitHubRepository) AWSCloudFormationType ¶
func (r *GitHubRepository) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
func (GitHubRepository) MarshalJSON ¶
func (r GitHubRepository) MarshalJSON() ([]byte, error)
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*GitHubRepository) UnmarshalJSON ¶
func (r *GitHubRepository) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type GitHubRepository_Code ¶
type GitHubRepository_Code struct { // S3 AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-code.html#cfn-codestar-githubrepository-code-s3 S3 *GitHubRepository_S3 `json:"S3,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource AWSCloudFormationDependsOn []string `json:"-"` // AWSCloudFormationMetadata stores structured data associated with this resource AWSCloudFormationMetadata map[string]interface{} `json:"-"` // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created AWSCloudFormationCondition string `json:"-"` }
GitHubRepository_Code AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository.Code) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-code.html
func (*GitHubRepository_Code) AWSCloudFormationType ¶
func (r *GitHubRepository_Code) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type GitHubRepository_S3 ¶
type GitHubRepository_S3 struct { // Bucket AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-bucket Bucket string `json:"Bucket,omitempty"` // Key AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-key Key string `json:"Key,omitempty"` // ObjectVersion AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-objectversion ObjectVersion string `json:"ObjectVersion,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource AWSCloudFormationDependsOn []string `json:"-"` // AWSCloudFormationMetadata stores structured data associated with this resource AWSCloudFormationMetadata map[string]interface{} `json:"-"` // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created AWSCloudFormationCondition string `json:"-"` }
GitHubRepository_S3 AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository.S3) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html
func (*GitHubRepository_S3) AWSCloudFormationType ¶
func (r *GitHubRepository_S3) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
Source Files ¶
aws-codestar-githubrepository.go aws-codestar-githubrepository_code.go aws-codestar-githubrepository_s3.go
- Version
- v4.19.5 (latest)
- Published
- Jun 10, 2021
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 months ago –
Tools for package owners.