aws_codegurureviewer_repository_association

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// KmsKeyDetails: optional
	KmsKeyDetails *KmsKeyDetails `hcl:"kms_key_details,block"`
	// Repository: required
	Repository *Repository `hcl:"repository,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_codegurureviewer_repository_association.

type KmsKeyDetails

type KmsKeyDetails struct {
	// EncryptionOption: string, optional
	EncryptionOption terra.StringValue `hcl:"encryption_option,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
}

type KmsKeyDetailsAttributes

type KmsKeyDetailsAttributes struct {
	// contains filtered or unexported fields
}

func (KmsKeyDetailsAttributes) EncryptionOption

func (kkd KmsKeyDetailsAttributes) EncryptionOption() terra.StringValue

func (KmsKeyDetailsAttributes) InternalRef

func (kkd KmsKeyDetailsAttributes) InternalRef() (terra.Reference, error)

func (KmsKeyDetailsAttributes) InternalTokens

func (kkd KmsKeyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KmsKeyDetailsAttributes) InternalWithRef

func (KmsKeyDetailsAttributes) KmsKeyId

func (kkd KmsKeyDetailsAttributes) KmsKeyId() terra.StringValue

type KmsKeyDetailsState

type KmsKeyDetailsState struct {
	EncryptionOption string `json:"encryption_option"`
	KmsKeyId         string `json:"kms_key_id"`
}

type Repository

type Repository struct {
	// RepositoryBitbucket: optional
	Bitbucket *RepositoryBitbucket `hcl:"bitbucket,block"`
	// RepositoryCodecommit: optional
	Codecommit *RepositoryCodecommit `hcl:"codecommit,block"`
	// RepositoryGithubEnterpriseServer: optional
	GithubEnterpriseServer *RepositoryGithubEnterpriseServer `hcl:"github_enterprise_server,block"`
	// RepositoryS3Bucket: optional
	S3Bucket *RepositoryS3Bucket `hcl:"s3_bucket,block"`
}

type RepositoryAttributes

type RepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryAttributes) Bitbucket

func (RepositoryAttributes) Codecommit

func (RepositoryAttributes) GithubEnterpriseServer

func (RepositoryAttributes) InternalRef

func (r RepositoryAttributes) InternalRef() (terra.Reference, error)

func (RepositoryAttributes) InternalTokens

func (r RepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryAttributes) InternalWithRef

func (RepositoryAttributes) S3Bucket

type RepositoryBitbucket

type RepositoryBitbucket struct {
	// ConnectionArn: string, required
	ConnectionArn terra.StringValue `hcl:"connection_arn,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Owner: string, required
	Owner terra.StringValue `hcl:"owner,attr" validate:"required"`
}

type RepositoryBitbucketAttributes

type RepositoryBitbucketAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryBitbucketAttributes) ConnectionArn

func (RepositoryBitbucketAttributes) InternalRef

func (RepositoryBitbucketAttributes) InternalTokens

func (b RepositoryBitbucketAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryBitbucketAttributes) InternalWithRef

func (RepositoryBitbucketAttributes) Name

func (RepositoryBitbucketAttributes) Owner

type RepositoryBitbucketState

type RepositoryBitbucketState struct {
	ConnectionArn string `json:"connection_arn"`
	Name          string `json:"name"`
	Owner         string `json:"owner"`
}

type RepositoryCodecommit

type RepositoryCodecommit struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type RepositoryCodecommitAttributes

type RepositoryCodecommitAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryCodecommitAttributes) InternalRef

func (RepositoryCodecommitAttributes) InternalTokens

func (c RepositoryCodecommitAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryCodecommitAttributes) InternalWithRef

func (RepositoryCodecommitAttributes) Name

type RepositoryCodecommitState

type RepositoryCodecommitState struct {
	Name string `json:"name"`
}

type RepositoryGithubEnterpriseServer

type RepositoryGithubEnterpriseServer struct {
	// ConnectionArn: string, required
	ConnectionArn terra.StringValue `hcl:"connection_arn,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Owner: string, required
	Owner terra.StringValue `hcl:"owner,attr" validate:"required"`
}

type RepositoryGithubEnterpriseServerAttributes

type RepositoryGithubEnterpriseServerAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryGithubEnterpriseServerAttributes) ConnectionArn

func (RepositoryGithubEnterpriseServerAttributes) InternalRef

func (RepositoryGithubEnterpriseServerAttributes) InternalTokens

func (RepositoryGithubEnterpriseServerAttributes) InternalWithRef

func (RepositoryGithubEnterpriseServerAttributes) Name

func (RepositoryGithubEnterpriseServerAttributes) Owner

type RepositoryGithubEnterpriseServerState

type RepositoryGithubEnterpriseServerState struct {
	ConnectionArn string `json:"connection_arn"`
	Name          string `json:"name"`
	Owner         string `json:"owner"`
}

type RepositoryS3Bucket

type RepositoryS3Bucket struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type RepositoryS3BucketAttributes

type RepositoryS3BucketAttributes struct {
	// contains filtered or unexported fields
}

func (RepositoryS3BucketAttributes) BucketName

func (RepositoryS3BucketAttributes) InternalRef

func (sb RepositoryS3BucketAttributes) InternalRef() (terra.Reference, error)

func (RepositoryS3BucketAttributes) InternalTokens

func (sb RepositoryS3BucketAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepositoryS3BucketAttributes) InternalWithRef

func (RepositoryS3BucketAttributes) Name

type RepositoryS3BucketState

type RepositoryS3BucketState struct {
	BucketName string `json:"bucket_name"`
	Name       string `json:"name"`
}

type RepositoryState

type RepositoryState struct {
	Bitbucket              []RepositoryBitbucketState              `json:"bitbucket"`
	Codecommit             []RepositoryCodecommitState             `json:"codecommit"`
	GithubEnterpriseServer []RepositoryGithubEnterpriseServerState `json:"github_enterprise_server"`
	S3Bucket               []RepositoryS3BucketState               `json:"s3_bucket"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_codegurureviewer_repository_association.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acra *Resource) Attributes() awsCodegurureviewerRepositoryAssociationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acra *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acra *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acra *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acra *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acra *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acra *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acra *Resource) State() (*awsCodegurureviewerRepositoryAssociationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acra *Resource) StateMust() *awsCodegurureviewerRepositoryAssociationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acra *Resource) Type() string

Type returns the Terraform object type for Resource.

type S3RepositoryDetailsAttributes

type S3RepositoryDetailsAttributes struct {
	// contains filtered or unexported fields
}

func (S3RepositoryDetailsAttributes) BucketName

func (S3RepositoryDetailsAttributes) CodeArtifacts

func (S3RepositoryDetailsAttributes) InternalRef

func (srd S3RepositoryDetailsAttributes) InternalRef() (terra.Reference, error)

func (S3RepositoryDetailsAttributes) InternalTokens

func (srd S3RepositoryDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3RepositoryDetailsAttributes) InternalWithRef

type S3RepositoryDetailsCodeArtifactsAttributes

type S3RepositoryDetailsCodeArtifactsAttributes struct {
	// contains filtered or unexported fields
}

func (S3RepositoryDetailsCodeArtifactsAttributes) BuildArtifactsObjectKey

func (ca S3RepositoryDetailsCodeArtifactsAttributes) BuildArtifactsObjectKey() terra.StringValue

func (S3RepositoryDetailsCodeArtifactsAttributes) InternalRef

func (S3RepositoryDetailsCodeArtifactsAttributes) InternalTokens

func (S3RepositoryDetailsCodeArtifactsAttributes) InternalWithRef

func (S3RepositoryDetailsCodeArtifactsAttributes) SourceCodeArtifactsObjectKey

func (ca S3RepositoryDetailsCodeArtifactsAttributes) SourceCodeArtifactsObjectKey() terra.StringValue

type S3RepositoryDetailsCodeArtifactsState

type S3RepositoryDetailsCodeArtifactsState struct {
	BuildArtifactsObjectKey      string `json:"build_artifacts_object_key"`
	SourceCodeArtifactsObjectKey string `json:"source_code_artifacts_object_key"`
}

type S3RepositoryDetailsState

type S3RepositoryDetailsState struct {
	BucketName    string                                  `json:"bucket_name"`
	CodeArtifacts []S3RepositoryDetailsCodeArtifactsState `json:"code_artifacts"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL