aws_codebuild_project

package
v5.45.0 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 {
	// BadgeEnabled: bool, optional
	BadgeEnabled terra.BoolValue `hcl:"badge_enabled,attr"`
	// BuildTimeout: number, optional
	BuildTimeout terra.NumberValue `hcl:"build_timeout,attr"`
	// ConcurrentBuildLimit: number, optional
	ConcurrentBuildLimit terra.NumberValue `hcl:"concurrent_build_limit,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// EncryptionKey: string, optional
	EncryptionKey terra.StringValue `hcl:"encryption_key,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProjectVisibility: string, optional
	ProjectVisibility terra.StringValue `hcl:"project_visibility,attr"`
	// QueuedTimeout: number, optional
	QueuedTimeout terra.NumberValue `hcl:"queued_timeout,attr"`
	// ResourceAccessRole: string, optional
	ResourceAccessRole terra.StringValue `hcl:"resource_access_role,attr"`
	// ServiceRole: string, required
	ServiceRole terra.StringValue `hcl:"service_role,attr" validate:"required"`
	// SourceVersion: string, optional
	SourceVersion terra.StringValue `hcl:"source_version,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"`
	// Artifacts: required
	Artifacts *Artifacts `hcl:"artifacts,block" validate:"required"`
	// BuildBatchConfig: optional
	BuildBatchConfig *BuildBatchConfig `hcl:"build_batch_config,block"`
	// Cache: optional
	Cache *Cache `hcl:"cache,block"`
	// Environment: required
	Environment *Environment `hcl:"environment,block" validate:"required"`
	// FileSystemLocations: min=0
	FileSystemLocations []FileSystemLocations `hcl:"file_system_locations,block" validate:"min=0"`
	// LogsConfig: optional
	LogsConfig *LogsConfig `hcl:"logs_config,block"`
	// SecondaryArtifacts: min=0,max=12
	SecondaryArtifacts []SecondaryArtifacts `hcl:"secondary_artifacts,block" validate:"min=0,max=12"`
	// SecondarySourceVersion: min=0,max=12
	SecondarySourceVersion []SecondarySourceVersion `hcl:"secondary_source_version,block" validate:"min=0,max=12"`
	// SecondarySources: min=0,max=12
	SecondarySources []SecondarySources `hcl:"secondary_sources,block" validate:"min=0,max=12"`
	// Source: required
	Source *Source `hcl:"source,block" validate:"required"`
	// VpcConfig: optional
	VpcConfig *VpcConfig `hcl:"vpc_config,block"`
}

Args contains the configurations for aws_codebuild_project.

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"`
	// BuildBatchConfigRestrictions: optional
	Restrictions *BuildBatchConfigRestrictions `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 BuildBatchConfigRestrictions

type BuildBatchConfigRestrictions 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 BuildBatchConfigRestrictionsAttributes

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

func (BuildBatchConfigRestrictionsAttributes) ComputeTypesAllowed

func (BuildBatchConfigRestrictionsAttributes) InternalRef

func (BuildBatchConfigRestrictionsAttributes) InternalTokens

func (BuildBatchConfigRestrictionsAttributes) InternalWithRef

func (BuildBatchConfigRestrictionsAttributes) MaximumBuildsAllowed

func (r BuildBatchConfigRestrictionsAttributes) MaximumBuildsAllowed() terra.NumberValue

type BuildBatchConfigRestrictionsState

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

type BuildBatchConfigState

type BuildBatchConfigState struct {
	CombineArtifacts bool                                `json:"combine_artifacts"`
	ServiceRole      string                              `json:"service_role"`
	TimeoutInMins    float64                             `json:"timeout_in_mins"`
	Restrictions     []BuildBatchConfigRestrictionsState `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 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"`
	// EnvironmentEnvironmentVariable: min=0
	EnvironmentVariable []EnvironmentEnvironmentVariable `hcl:"environment_variable,block" validate:"min=0"`
	// EnvironmentRegistryCredential: optional
	RegistryCredential *EnvironmentRegistryCredential `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 EnvironmentEnvironmentVariable

type EnvironmentEnvironmentVariable 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 EnvironmentEnvironmentVariableAttributes

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

func (EnvironmentEnvironmentVariableAttributes) InternalRef

func (EnvironmentEnvironmentVariableAttributes) InternalTokens

func (EnvironmentEnvironmentVariableAttributes) InternalWithRef

func (EnvironmentEnvironmentVariableAttributes) Name

func (EnvironmentEnvironmentVariableAttributes) Type

func (EnvironmentEnvironmentVariableAttributes) Value

type EnvironmentEnvironmentVariableState

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

type EnvironmentRegistryCredential

type EnvironmentRegistryCredential 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 EnvironmentRegistryCredentialAttributes

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

func (EnvironmentRegistryCredentialAttributes) Credential

func (EnvironmentRegistryCredentialAttributes) CredentialProvider

func (EnvironmentRegistryCredentialAttributes) InternalRef

func (EnvironmentRegistryCredentialAttributes) InternalTokens

func (EnvironmentRegistryCredentialAttributes) InternalWithRef

type EnvironmentRegistryCredentialState

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

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      []EnvironmentEnvironmentVariableState `json:"environment_variable"`
	RegistryCredential       []EnvironmentRegistryCredentialState  `json:"registry_credential"`
}

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 {
	// LogsConfigCloudwatchLogs: optional
	CloudwatchLogs *LogsConfigCloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// LogsConfigS3Logs: optional
	S3Logs *LogsConfigS3Logs `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 LogsConfigCloudwatchLogs

type LogsConfigCloudwatchLogs 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 LogsConfigCloudwatchLogsAttributes

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

func (LogsConfigCloudwatchLogsAttributes) GroupName

func (LogsConfigCloudwatchLogsAttributes) InternalRef

func (LogsConfigCloudwatchLogsAttributes) InternalTokens

func (LogsConfigCloudwatchLogsAttributes) InternalWithRef

func (LogsConfigCloudwatchLogsAttributes) Status

func (LogsConfigCloudwatchLogsAttributes) StreamName

type LogsConfigCloudwatchLogsState

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

type LogsConfigS3Logs

type LogsConfigS3Logs 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 LogsConfigS3LogsAttributes

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

func (LogsConfigS3LogsAttributes) BucketOwnerAccess

func (sl LogsConfigS3LogsAttributes) BucketOwnerAccess() terra.StringValue

func (LogsConfigS3LogsAttributes) EncryptionDisabled

func (sl LogsConfigS3LogsAttributes) EncryptionDisabled() terra.BoolValue

func (LogsConfigS3LogsAttributes) InternalRef

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

func (LogsConfigS3LogsAttributes) InternalTokens

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

func (LogsConfigS3LogsAttributes) InternalWithRef

func (LogsConfigS3LogsAttributes) Location

func (LogsConfigS3LogsAttributes) Status

type LogsConfigS3LogsState

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

type LogsConfigState

type LogsConfigState struct {
	CloudwatchLogs []LogsConfigCloudwatchLogsState `json:"cloudwatch_logs"`
	S3Logs         []LogsConfigS3LogsState         `json:"s3_logs"`
}

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_codebuild_project.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acp *Resource) Attributes() awsCodebuildProjectAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acp *Resource) State() (*awsCodebuildProjectState, bool)

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

func (*Resource) StateMust

func (acp *Resource) StateMust() *awsCodebuildProjectState

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

func (*Resource) Type

func (acp *Resource) Type() string

Type returns the Terraform object type for Resource.

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