codebuildproject

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifacts

type Artifacts struct {
	// ArtifactIdentifier: string, optional
	ArtifactIdentifier terra.StringValue `hcl:"artifact_identifier,attr"`
	// BucketOwnerAccess: string, optional
	BucketOwnerAccess terra.StringValue `hcl:"bucket_owner_access,attr"`
	// EncryptionDisabled: bool, optional
	EncryptionDisabled terra.BoolValue `hcl:"encryption_disabled,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// NamespaceType: string, optional
	NamespaceType terra.StringValue `hcl:"namespace_type,attr"`
	// OverrideArtifactName: bool, optional
	OverrideArtifactName terra.BoolValue `hcl:"override_artifact_name,attr"`
	// Packaging: string, optional
	Packaging terra.StringValue `hcl:"packaging,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ArtifactsAttributes

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

func (ArtifactsAttributes) ArtifactIdentifier

func (a ArtifactsAttributes) ArtifactIdentifier() terra.StringValue

func (ArtifactsAttributes) BucketOwnerAccess

func (a ArtifactsAttributes) BucketOwnerAccess() terra.StringValue

func (ArtifactsAttributes) EncryptionDisabled

func (a ArtifactsAttributes) EncryptionDisabled() terra.BoolValue

func (ArtifactsAttributes) InternalRef

func (a ArtifactsAttributes) InternalRef() (terra.Reference, error)

func (ArtifactsAttributes) InternalTokens

func (a ArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ArtifactsAttributes) InternalWithRef

func (a ArtifactsAttributes) InternalWithRef(ref terra.Reference) ArtifactsAttributes

func (ArtifactsAttributes) Location

func (a ArtifactsAttributes) Location() terra.StringValue

func (ArtifactsAttributes) Name

func (ArtifactsAttributes) NamespaceType

func (a ArtifactsAttributes) NamespaceType() terra.StringValue

func (ArtifactsAttributes) OverrideArtifactName

func (a ArtifactsAttributes) OverrideArtifactName() terra.BoolValue

func (ArtifactsAttributes) Packaging

func (a ArtifactsAttributes) Packaging() terra.StringValue

func (ArtifactsAttributes) Path

func (ArtifactsAttributes) Type

type ArtifactsState

type ArtifactsState struct {
	ArtifactIdentifier   string `json:"artifact_identifier"`
	BucketOwnerAccess    string `json:"bucket_owner_access"`
	EncryptionDisabled   bool   `json:"encryption_disabled"`
	Location             string `json:"location"`
	Name                 string `json:"name"`
	NamespaceType        string `json:"namespace_type"`
	OverrideArtifactName bool   `json:"override_artifact_name"`
	Packaging            string `json:"packaging"`
	Path                 string `json:"path"`
	Type                 string `json:"type"`
}

type BuildBatchConfig

type BuildBatchConfig struct {
	// CombineArtifacts: bool, optional
	CombineArtifacts terra.BoolValue `hcl:"combine_artifacts,attr"`
	// ServiceRole: string, required
	ServiceRole terra.StringValue `hcl:"service_role,attr" validate:"required"`
	// TimeoutInMins: number, optional
	TimeoutInMins terra.NumberValue `hcl:"timeout_in_mins,attr"`
	// Restrictions: optional
	Restrictions *Restrictions `hcl:"restrictions,block"`
}

type BuildBatchConfigAttributes

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

func (BuildBatchConfigAttributes) CombineArtifacts

func (bbc BuildBatchConfigAttributes) CombineArtifacts() terra.BoolValue

func (BuildBatchConfigAttributes) InternalRef

func (bbc BuildBatchConfigAttributes) InternalRef() (terra.Reference, error)

func (BuildBatchConfigAttributes) InternalTokens

func (bbc BuildBatchConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BuildBatchConfigAttributes) InternalWithRef

func (BuildBatchConfigAttributes) Restrictions

func (BuildBatchConfigAttributes) ServiceRole

func (bbc BuildBatchConfigAttributes) ServiceRole() terra.StringValue

func (BuildBatchConfigAttributes) TimeoutInMins

func (bbc BuildBatchConfigAttributes) TimeoutInMins() terra.NumberValue

type BuildBatchConfigState

type BuildBatchConfigState struct {
	CombineArtifacts bool                `json:"combine_artifacts"`
	ServiceRole      string              `json:"service_role"`
	TimeoutInMins    float64             `json:"timeout_in_mins"`
	Restrictions     []RestrictionsState `json:"restrictions"`
}

type Cache

type Cache struct {
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Modes: list of string, optional
	Modes terra.ListValue[terra.StringValue] `hcl:"modes,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type CacheAttributes

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

func (CacheAttributes) InternalRef

func (c CacheAttributes) InternalRef() (terra.Reference, error)

func (CacheAttributes) InternalTokens

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

func (CacheAttributes) InternalWithRef

func (c CacheAttributes) InternalWithRef(ref terra.Reference) CacheAttributes

func (CacheAttributes) Location

func (c CacheAttributes) Location() terra.StringValue

func (CacheAttributes) Modes

func (CacheAttributes) Type

type CacheState

type CacheState struct {
	Location string   `json:"location"`
	Modes    []string `json:"modes"`
	Type     string   `json:"type"`
}

type CloudwatchLogs

type CloudwatchLogs struct {
	// GroupName: string, optional
	GroupName terra.StringValue `hcl:"group_name,attr"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
	// StreamName: string, optional
	StreamName terra.StringValue `hcl:"stream_name,attr"`
}

type CloudwatchLogsAttributes

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

func (CloudwatchLogsAttributes) GroupName

func (CloudwatchLogsAttributes) InternalRef

func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchLogsAttributes) InternalTokens

func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchLogsAttributes) InternalWithRef

func (CloudwatchLogsAttributes) Status

func (CloudwatchLogsAttributes) StreamName

func (cl CloudwatchLogsAttributes) StreamName() terra.StringValue

type CloudwatchLogsState

type CloudwatchLogsState struct {
	GroupName  string `json:"group_name"`
	Status     string `json:"status"`
	StreamName string `json:"stream_name"`
}

type Environment

type Environment struct {
	// Certificate: string, optional
	Certificate terra.StringValue `hcl:"certificate,attr"`
	// ComputeType: string, required
	ComputeType terra.StringValue `hcl:"compute_type,attr" validate:"required"`
	// Image: string, required
	Image terra.StringValue `hcl:"image,attr" validate:"required"`
	// ImagePullCredentialsType: string, optional
	ImagePullCredentialsType terra.StringValue `hcl:"image_pull_credentials_type,attr"`
	// PrivilegedMode: bool, optional
	PrivilegedMode terra.BoolValue `hcl:"privileged_mode,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// EnvironmentVariable: min=0
	EnvironmentVariable []EnvironmentVariable `hcl:"environment_variable,block" validate:"min=0"`
	// RegistryCredential: optional
	RegistryCredential *RegistryCredential `hcl:"registry_credential,block"`
}

type EnvironmentAttributes

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

func (EnvironmentAttributes) Certificate

func (e EnvironmentAttributes) Certificate() terra.StringValue

func (EnvironmentAttributes) ComputeType

func (e EnvironmentAttributes) ComputeType() terra.StringValue

func (EnvironmentAttributes) EnvironmentVariable

func (EnvironmentAttributes) Image

func (EnvironmentAttributes) ImagePullCredentialsType

func (e EnvironmentAttributes) ImagePullCredentialsType() terra.StringValue

func (EnvironmentAttributes) InternalRef

func (e EnvironmentAttributes) InternalRef() (terra.Reference, error)

func (EnvironmentAttributes) InternalTokens

func (e EnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EnvironmentAttributes) InternalWithRef

func (EnvironmentAttributes) PrivilegedMode

func (e EnvironmentAttributes) PrivilegedMode() terra.BoolValue

func (EnvironmentAttributes) RegistryCredential

func (EnvironmentAttributes) Type

type EnvironmentState

type EnvironmentState struct {
	Certificate              string                     `json:"certificate"`
	ComputeType              string                     `json:"compute_type"`
	Image                    string                     `json:"image"`
	ImagePullCredentialsType string                     `json:"image_pull_credentials_type"`
	PrivilegedMode           bool                       `json:"privileged_mode"`
	Type                     string                     `json:"type"`
	EnvironmentVariable      []EnvironmentVariableState `json:"environment_variable"`
	RegistryCredential       []RegistryCredentialState  `json:"registry_credential"`
}

type EnvironmentVariable

type EnvironmentVariable struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type EnvironmentVariableAttributes

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

func (EnvironmentVariableAttributes) InternalRef

func (ev EnvironmentVariableAttributes) InternalRef() (terra.Reference, error)

func (EnvironmentVariableAttributes) InternalTokens

func (ev EnvironmentVariableAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EnvironmentVariableAttributes) InternalWithRef

func (EnvironmentVariableAttributes) Name

func (EnvironmentVariableAttributes) Type

func (EnvironmentVariableAttributes) Value

type EnvironmentVariableState

type EnvironmentVariableState struct {
	Name  string `json:"name"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type FileSystemLocations

type FileSystemLocations struct {
	// Identifier: string, optional
	Identifier terra.StringValue `hcl:"identifier,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// MountOptions: string, optional
	MountOptions terra.StringValue `hcl:"mount_options,attr"`
	// MountPoint: string, optional
	MountPoint terra.StringValue `hcl:"mount_point,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type FileSystemLocationsAttributes

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

func (FileSystemLocationsAttributes) Identifier

func (FileSystemLocationsAttributes) InternalRef

func (fsl FileSystemLocationsAttributes) InternalRef() (terra.Reference, error)

func (FileSystemLocationsAttributes) InternalTokens

func (fsl FileSystemLocationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FileSystemLocationsAttributes) InternalWithRef

func (FileSystemLocationsAttributes) Location

func (FileSystemLocationsAttributes) MountOptions

func (fsl FileSystemLocationsAttributes) MountOptions() terra.StringValue

func (FileSystemLocationsAttributes) MountPoint

func (FileSystemLocationsAttributes) Type

type FileSystemLocationsState

type FileSystemLocationsState struct {
	Identifier   string `json:"identifier"`
	Location     string `json:"location"`
	MountOptions string `json:"mount_options"`
	MountPoint   string `json:"mount_point"`
	Type         string `json:"type"`
}

type LogsConfig

type LogsConfig struct {
	// CloudwatchLogs: optional
	CloudwatchLogs *CloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// S3Logs: optional
	S3Logs *S3Logs `hcl:"s3_logs,block"`
}

type LogsConfigAttributes

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

func (LogsConfigAttributes) CloudwatchLogs

func (LogsConfigAttributes) InternalRef

func (lc LogsConfigAttributes) InternalRef() (terra.Reference, error)

func (LogsConfigAttributes) InternalTokens

func (lc LogsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogsConfigAttributes) InternalWithRef

func (lc LogsConfigAttributes) InternalWithRef(ref terra.Reference) LogsConfigAttributes

func (LogsConfigAttributes) S3Logs

type LogsConfigState

type LogsConfigState struct {
	CloudwatchLogs []CloudwatchLogsState `json:"cloudwatch_logs"`
	S3Logs         []S3LogsState         `json:"s3_logs"`
}

type RegistryCredential

type RegistryCredential struct {
	// Credential: string, required
	Credential terra.StringValue `hcl:"credential,attr" validate:"required"`
	// CredentialProvider: string, required
	CredentialProvider terra.StringValue `hcl:"credential_provider,attr" validate:"required"`
}

type RegistryCredentialAttributes

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

func (RegistryCredentialAttributes) Credential

func (RegistryCredentialAttributes) CredentialProvider

func (rc RegistryCredentialAttributes) CredentialProvider() terra.StringValue

func (RegistryCredentialAttributes) InternalRef

func (rc RegistryCredentialAttributes) InternalRef() (terra.Reference, error)

func (RegistryCredentialAttributes) InternalTokens

func (rc RegistryCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RegistryCredentialAttributes) InternalWithRef

type RegistryCredentialState

type RegistryCredentialState struct {
	Credential         string `json:"credential"`
	CredentialProvider string `json:"credential_provider"`
}

type Restrictions

type Restrictions struct {
	// ComputeTypesAllowed: list of string, optional
	ComputeTypesAllowed terra.ListValue[terra.StringValue] `hcl:"compute_types_allowed,attr"`
	// MaximumBuildsAllowed: number, optional
	MaximumBuildsAllowed terra.NumberValue `hcl:"maximum_builds_allowed,attr"`
}

type RestrictionsAttributes

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

func (RestrictionsAttributes) ComputeTypesAllowed

func (r RestrictionsAttributes) ComputeTypesAllowed() terra.ListValue[terra.StringValue]

func (RestrictionsAttributes) InternalRef

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

func (RestrictionsAttributes) InternalTokens

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

func (RestrictionsAttributes) InternalWithRef

func (RestrictionsAttributes) MaximumBuildsAllowed

func (r RestrictionsAttributes) MaximumBuildsAllowed() terra.NumberValue

type RestrictionsState

type RestrictionsState struct {
	ComputeTypesAllowed  []string `json:"compute_types_allowed"`
	MaximumBuildsAllowed float64  `json:"maximum_builds_allowed"`
}

type S3Logs

type S3Logs struct {
	// BucketOwnerAccess: string, optional
	BucketOwnerAccess terra.StringValue `hcl:"bucket_owner_access,attr"`
	// EncryptionDisabled: bool, optional
	EncryptionDisabled terra.BoolValue `hcl:"encryption_disabled,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
}

type S3LogsAttributes

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

func (S3LogsAttributes) BucketOwnerAccess

func (sl S3LogsAttributes) BucketOwnerAccess() terra.StringValue

func (S3LogsAttributes) EncryptionDisabled

func (sl S3LogsAttributes) EncryptionDisabled() terra.BoolValue

func (S3LogsAttributes) InternalRef

func (sl S3LogsAttributes) InternalRef() (terra.Reference, error)

func (S3LogsAttributes) InternalTokens

func (sl S3LogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3LogsAttributes) InternalWithRef

func (sl S3LogsAttributes) InternalWithRef(ref terra.Reference) S3LogsAttributes

func (S3LogsAttributes) Location

func (sl S3LogsAttributes) Location() terra.StringValue

func (S3LogsAttributes) Status

func (sl S3LogsAttributes) Status() terra.StringValue

type S3LogsState

type S3LogsState struct {
	BucketOwnerAccess  string `json:"bucket_owner_access"`
	EncryptionDisabled bool   `json:"encryption_disabled"`
	Location           string `json:"location"`
	Status             string `json:"status"`
}

type SecondaryArtifacts

type SecondaryArtifacts struct {
	// ArtifactIdentifier: string, required
	ArtifactIdentifier terra.StringValue `hcl:"artifact_identifier,attr" validate:"required"`
	// BucketOwnerAccess: string, optional
	BucketOwnerAccess terra.StringValue `hcl:"bucket_owner_access,attr"`
	// EncryptionDisabled: bool, optional
	EncryptionDisabled terra.BoolValue `hcl:"encryption_disabled,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// NamespaceType: string, optional
	NamespaceType terra.StringValue `hcl:"namespace_type,attr"`
	// OverrideArtifactName: bool, optional
	OverrideArtifactName terra.BoolValue `hcl:"override_artifact_name,attr"`
	// Packaging: string, optional
	Packaging terra.StringValue `hcl:"packaging,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type SecondaryArtifactsAttributes

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

func (SecondaryArtifactsAttributes) ArtifactIdentifier

func (sa SecondaryArtifactsAttributes) ArtifactIdentifier() terra.StringValue

func (SecondaryArtifactsAttributes) BucketOwnerAccess

func (sa SecondaryArtifactsAttributes) BucketOwnerAccess() terra.StringValue

func (SecondaryArtifactsAttributes) EncryptionDisabled

func (sa SecondaryArtifactsAttributes) EncryptionDisabled() terra.BoolValue

func (SecondaryArtifactsAttributes) InternalRef

func (sa SecondaryArtifactsAttributes) InternalRef() (terra.Reference, error)

func (SecondaryArtifactsAttributes) InternalTokens

func (sa SecondaryArtifactsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecondaryArtifactsAttributes) InternalWithRef

func (SecondaryArtifactsAttributes) Location

func (SecondaryArtifactsAttributes) Name

func (SecondaryArtifactsAttributes) NamespaceType

func (sa SecondaryArtifactsAttributes) NamespaceType() terra.StringValue

func (SecondaryArtifactsAttributes) OverrideArtifactName

func (sa SecondaryArtifactsAttributes) OverrideArtifactName() terra.BoolValue

func (SecondaryArtifactsAttributes) Packaging

func (SecondaryArtifactsAttributes) Path

func (SecondaryArtifactsAttributes) Type

type SecondaryArtifactsState

type SecondaryArtifactsState struct {
	ArtifactIdentifier   string `json:"artifact_identifier"`
	BucketOwnerAccess    string `json:"bucket_owner_access"`
	EncryptionDisabled   bool   `json:"encryption_disabled"`
	Location             string `json:"location"`
	Name                 string `json:"name"`
	NamespaceType        string `json:"namespace_type"`
	OverrideArtifactName bool   `json:"override_artifact_name"`
	Packaging            string `json:"packaging"`
	Path                 string `json:"path"`
	Type                 string `json:"type"`
}

type SecondarySourceVersion

type SecondarySourceVersion struct {
	// SourceIdentifier: string, required
	SourceIdentifier terra.StringValue `hcl:"source_identifier,attr" validate:"required"`
	// SourceVersion: string, required
	SourceVersion terra.StringValue `hcl:"source_version,attr" validate:"required"`
}

type SecondarySourceVersionAttributes

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

func (SecondarySourceVersionAttributes) InternalRef

func (SecondarySourceVersionAttributes) InternalTokens

func (ssv SecondarySourceVersionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecondarySourceVersionAttributes) InternalWithRef

func (SecondarySourceVersionAttributes) SourceIdentifier

func (ssv SecondarySourceVersionAttributes) SourceIdentifier() terra.StringValue

func (SecondarySourceVersionAttributes) SourceVersion

type SecondarySourceVersionState

type SecondarySourceVersionState struct {
	SourceIdentifier string `json:"source_identifier"`
	SourceVersion    string `json:"source_version"`
}

type SecondarySources

type SecondarySources struct {
	// Buildspec: string, optional
	Buildspec terra.StringValue `hcl:"buildspec,attr"`
	// GitCloneDepth: number, optional
	GitCloneDepth terra.NumberValue `hcl:"git_clone_depth,attr"`
	// InsecureSsl: bool, optional
	InsecureSsl terra.BoolValue `hcl:"insecure_ssl,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// ReportBuildStatus: bool, optional
	ReportBuildStatus terra.BoolValue `hcl:"report_build_status,attr"`
	// SourceIdentifier: string, required
	SourceIdentifier terra.StringValue `hcl:"source_identifier,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// SecondarySourcesAuth: optional
	Auth *SecondarySourcesAuth `hcl:"auth,block"`
	// SecondarySourcesBuildStatusConfig: optional
	BuildStatusConfig *SecondarySourcesBuildStatusConfig `hcl:"build_status_config,block"`
	// SecondarySourcesGitSubmodulesConfig: optional
	GitSubmodulesConfig *SecondarySourcesGitSubmodulesConfig `hcl:"git_submodules_config,block"`
}

type SecondarySourcesAttributes

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

func (SecondarySourcesAttributes) Auth

func (SecondarySourcesAttributes) BuildStatusConfig

func (SecondarySourcesAttributes) Buildspec

func (SecondarySourcesAttributes) GitCloneDepth

func (ss SecondarySourcesAttributes) GitCloneDepth() terra.NumberValue

func (SecondarySourcesAttributes) GitSubmodulesConfig

func (SecondarySourcesAttributes) InsecureSsl

func (ss SecondarySourcesAttributes) InsecureSsl() terra.BoolValue

func (SecondarySourcesAttributes) InternalRef

func (ss SecondarySourcesAttributes) InternalRef() (terra.Reference, error)

func (SecondarySourcesAttributes) InternalTokens

func (ss SecondarySourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecondarySourcesAttributes) InternalWithRef

func (SecondarySourcesAttributes) Location

func (SecondarySourcesAttributes) ReportBuildStatus

func (ss SecondarySourcesAttributes) ReportBuildStatus() terra.BoolValue

func (SecondarySourcesAttributes) SourceIdentifier

func (ss SecondarySourcesAttributes) SourceIdentifier() terra.StringValue

func (SecondarySourcesAttributes) Type

type SecondarySourcesAuth

type SecondarySourcesAuth struct {
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type SecondarySourcesAuthAttributes

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

func (SecondarySourcesAuthAttributes) InternalRef

func (SecondarySourcesAuthAttributes) InternalTokens

func (a SecondarySourcesAuthAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecondarySourcesAuthAttributes) InternalWithRef

func (SecondarySourcesAuthAttributes) Resource

func (SecondarySourcesAuthAttributes) Type

type SecondarySourcesAuthState

type SecondarySourcesAuthState struct {
	Resource string `json:"resource"`
	Type     string `json:"type"`
}

type SecondarySourcesBuildStatusConfig

type SecondarySourcesBuildStatusConfig struct {
	// Context: string, optional
	Context terra.StringValue `hcl:"context,attr"`
	// TargetUrl: string, optional
	TargetUrl terra.StringValue `hcl:"target_url,attr"`
}

type SecondarySourcesBuildStatusConfigAttributes

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

func (SecondarySourcesBuildStatusConfigAttributes) Context

func (SecondarySourcesBuildStatusConfigAttributes) InternalRef

func (SecondarySourcesBuildStatusConfigAttributes) InternalTokens

func (SecondarySourcesBuildStatusConfigAttributes) InternalWithRef

func (SecondarySourcesBuildStatusConfigAttributes) TargetUrl

type SecondarySourcesBuildStatusConfigState

type SecondarySourcesBuildStatusConfigState struct {
	Context   string `json:"context"`
	TargetUrl string `json:"target_url"`
}

type SecondarySourcesGitSubmodulesConfig

type SecondarySourcesGitSubmodulesConfig struct {
	// FetchSubmodules: bool, required
	FetchSubmodules terra.BoolValue `hcl:"fetch_submodules,attr" validate:"required"`
}

type SecondarySourcesGitSubmodulesConfigAttributes

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

func (SecondarySourcesGitSubmodulesConfigAttributes) FetchSubmodules

func (SecondarySourcesGitSubmodulesConfigAttributes) InternalRef

func (SecondarySourcesGitSubmodulesConfigAttributes) InternalTokens

func (SecondarySourcesGitSubmodulesConfigAttributes) InternalWithRef

type SecondarySourcesGitSubmodulesConfigState

type SecondarySourcesGitSubmodulesConfigState struct {
	FetchSubmodules bool `json:"fetch_submodules"`
}

type SecondarySourcesState

type SecondarySourcesState struct {
	Buildspec           string                                     `json:"buildspec"`
	GitCloneDepth       float64                                    `json:"git_clone_depth"`
	InsecureSsl         bool                                       `json:"insecure_ssl"`
	Location            string                                     `json:"location"`
	ReportBuildStatus   bool                                       `json:"report_build_status"`
	SourceIdentifier    string                                     `json:"source_identifier"`
	Type                string                                     `json:"type"`
	Auth                []SecondarySourcesAuthState                `json:"auth"`
	BuildStatusConfig   []SecondarySourcesBuildStatusConfigState   `json:"build_status_config"`
	GitSubmodulesConfig []SecondarySourcesGitSubmodulesConfigState `json:"git_submodules_config"`
}

type Source

type Source struct {
	// Buildspec: string, optional
	Buildspec terra.StringValue `hcl:"buildspec,attr"`
	// GitCloneDepth: number, optional
	GitCloneDepth terra.NumberValue `hcl:"git_clone_depth,attr"`
	// InsecureSsl: bool, optional
	InsecureSsl terra.BoolValue `hcl:"insecure_ssl,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// ReportBuildStatus: bool, optional
	ReportBuildStatus terra.BoolValue `hcl:"report_build_status,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// SourceAuth: optional
	Auth *SourceAuth `hcl:"auth,block"`
	// SourceBuildStatusConfig: optional
	BuildStatusConfig *SourceBuildStatusConfig `hcl:"build_status_config,block"`
	// SourceGitSubmodulesConfig: optional
	GitSubmodulesConfig *SourceGitSubmodulesConfig `hcl:"git_submodules_config,block"`
}

type SourceAttributes

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

func (SourceAttributes) Auth

func (SourceAttributes) BuildStatusConfig

func (SourceAttributes) Buildspec

func (s SourceAttributes) Buildspec() terra.StringValue

func (SourceAttributes) GitCloneDepth

func (s SourceAttributes) GitCloneDepth() terra.NumberValue

func (SourceAttributes) GitSubmodulesConfig

func (SourceAttributes) InsecureSsl

func (s SourceAttributes) InsecureSsl() terra.BoolValue

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

func (SourceAttributes) Location

func (s SourceAttributes) Location() terra.StringValue

func (SourceAttributes) ReportBuildStatus

func (s SourceAttributes) ReportBuildStatus() terra.BoolValue

func (SourceAttributes) Type

type SourceAuth

type SourceAuth struct {
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type SourceAuthAttributes

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

func (SourceAuthAttributes) InternalRef

func (a SourceAuthAttributes) InternalRef() (terra.Reference, error)

func (SourceAuthAttributes) InternalTokens

func (a SourceAuthAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAuthAttributes) InternalWithRef

func (SourceAuthAttributes) Resource

func (a SourceAuthAttributes) Resource() terra.StringValue

func (SourceAuthAttributes) Type

type SourceAuthState

type SourceAuthState struct {
	Resource string `json:"resource"`
	Type     string `json:"type"`
}

type SourceBuildStatusConfig

type SourceBuildStatusConfig struct {
	// Context: string, optional
	Context terra.StringValue `hcl:"context,attr"`
	// TargetUrl: string, optional
	TargetUrl terra.StringValue `hcl:"target_url,attr"`
}

type SourceBuildStatusConfigAttributes

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

func (SourceBuildStatusConfigAttributes) Context

func (SourceBuildStatusConfigAttributes) InternalRef

func (SourceBuildStatusConfigAttributes) InternalTokens

func (bsc SourceBuildStatusConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceBuildStatusConfigAttributes) InternalWithRef

func (SourceBuildStatusConfigAttributes) TargetUrl

type SourceBuildStatusConfigState

type SourceBuildStatusConfigState struct {
	Context   string `json:"context"`
	TargetUrl string `json:"target_url"`
}

type SourceGitSubmodulesConfig

type SourceGitSubmodulesConfig struct {
	// FetchSubmodules: bool, required
	FetchSubmodules terra.BoolValue `hcl:"fetch_submodules,attr" validate:"required"`
}

type SourceGitSubmodulesConfigAttributes

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

func (SourceGitSubmodulesConfigAttributes) FetchSubmodules

func (gsc SourceGitSubmodulesConfigAttributes) FetchSubmodules() terra.BoolValue

func (SourceGitSubmodulesConfigAttributes) InternalRef

func (SourceGitSubmodulesConfigAttributes) InternalTokens

func (gsc SourceGitSubmodulesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceGitSubmodulesConfigAttributes) InternalWithRef

type SourceGitSubmodulesConfigState

type SourceGitSubmodulesConfigState struct {
	FetchSubmodules bool `json:"fetch_submodules"`
}

type SourceState

type SourceState struct {
	Buildspec           string                           `json:"buildspec"`
	GitCloneDepth       float64                          `json:"git_clone_depth"`
	InsecureSsl         bool                             `json:"insecure_ssl"`
	Location            string                           `json:"location"`
	ReportBuildStatus   bool                             `json:"report_build_status"`
	Type                string                           `json:"type"`
	Auth                []SourceAuthState                `json:"auth"`
	BuildStatusConfig   []SourceBuildStatusConfigState   `json:"build_status_config"`
	GitSubmodulesConfig []SourceGitSubmodulesConfigState `json:"git_submodules_config"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
	// VpcId: string, required
	VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"`
}

type VpcConfigAttributes

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

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) Subnets

func (VpcConfigAttributes) VpcId

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	Subnets          []string `json:"subnets"`
	VpcId            string   `json:"vpc_id"`
}

Jump to

Keyboard shortcuts

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