Documentation ¶
Index ¶
- type Args
- type ArtifactStore
- type ArtifactStoreAttributes
- func (as ArtifactStoreAttributes) EncryptionKey() terra.ListValue[ArtifactStoreEncryptionKeyAttributes]
- func (as ArtifactStoreAttributes) InternalRef() (terra.Reference, error)
- func (as ArtifactStoreAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ArtifactStoreAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreAttributes
- func (as ArtifactStoreAttributes) Location() terra.StringValue
- func (as ArtifactStoreAttributes) Region() terra.StringValue
- func (as ArtifactStoreAttributes) Type() terra.StringValue
- type ArtifactStoreEncryptionKey
- type ArtifactStoreEncryptionKeyAttributes
- func (ek ArtifactStoreEncryptionKeyAttributes) Id() terra.StringValue
- func (ek ArtifactStoreEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (ek ArtifactStoreEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ek ArtifactStoreEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreEncryptionKeyAttributes
- func (ek ArtifactStoreEncryptionKeyAttributes) Type() terra.StringValue
- type ArtifactStoreEncryptionKeyState
- type ArtifactStoreState
- type Resource
- func (ac *Resource) Attributes() awsCodepipelineAttributes
- func (ac *Resource) Configuration() interface{}
- func (ac *Resource) DependOn() terra.Reference
- func (ac *Resource) Dependencies() terra.Dependencies
- func (ac *Resource) ImportState(state io.Reader) error
- func (ac *Resource) LifecycleManagement() *terra.Lifecycle
- func (ac *Resource) LocalName() string
- func (ac *Resource) State() (*awsCodepipelineState, bool)
- func (ac *Resource) StateMust() *awsCodepipelineState
- func (ac *Resource) Type() string
- type Stage
- type StageAction
- type StageActionAttributes
- func (a StageActionAttributes) Category() terra.StringValue
- func (a StageActionAttributes) Configuration() terra.MapValue[terra.StringValue]
- func (a StageActionAttributes) InputArtifacts() terra.ListValue[terra.StringValue]
- func (a StageActionAttributes) InternalRef() (terra.Reference, error)
- func (a StageActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a StageActionAttributes) InternalWithRef(ref terra.Reference) StageActionAttributes
- func (a StageActionAttributes) Name() terra.StringValue
- func (a StageActionAttributes) Namespace() terra.StringValue
- func (a StageActionAttributes) OutputArtifacts() terra.ListValue[terra.StringValue]
- func (a StageActionAttributes) Owner() terra.StringValue
- func (a StageActionAttributes) Provider() terra.StringValue
- func (a StageActionAttributes) Region() terra.StringValue
- func (a StageActionAttributes) RoleArn() terra.StringValue
- func (a StageActionAttributes) RunOrder() terra.NumberValue
- func (a StageActionAttributes) Version() terra.StringValue
- type StageActionState
- type StageAttributes
- func (s StageAttributes) Action() terra.ListValue[StageActionAttributes]
- func (s StageAttributes) InternalRef() (terra.Reference, error)
- func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
- func (s StageAttributes) Name() terra.StringValue
- type StageState
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"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // 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"` // ArtifactStore: min=1 ArtifactStore []ArtifactStore `hcl:"artifact_store,block" validate:"min=1"` // Stage: min=2 Stage []Stage `hcl:"stage,block" validate:"min=2"` }
Args contains the configurations for aws_codepipeline.
type ArtifactStore ¶
type ArtifactStore struct { // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // ArtifactStoreEncryptionKey: optional EncryptionKey *ArtifactStoreEncryptionKey `hcl:"encryption_key,block"` }
type ArtifactStoreAttributes ¶
type ArtifactStoreAttributes struct {
// contains filtered or unexported fields
}
func (ArtifactStoreAttributes) EncryptionKey ¶
func (as ArtifactStoreAttributes) EncryptionKey() terra.ListValue[ArtifactStoreEncryptionKeyAttributes]
func (ArtifactStoreAttributes) InternalRef ¶
func (as ArtifactStoreAttributes) InternalRef() (terra.Reference, error)
func (ArtifactStoreAttributes) InternalTokens ¶
func (as ArtifactStoreAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArtifactStoreAttributes) InternalWithRef ¶
func (as ArtifactStoreAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreAttributes
func (ArtifactStoreAttributes) Location ¶
func (as ArtifactStoreAttributes) Location() terra.StringValue
func (ArtifactStoreAttributes) Region ¶
func (as ArtifactStoreAttributes) Region() terra.StringValue
func (ArtifactStoreAttributes) Type ¶
func (as ArtifactStoreAttributes) Type() terra.StringValue
type ArtifactStoreEncryptionKey ¶
type ArtifactStoreEncryptionKey struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type ArtifactStoreEncryptionKeyAttributes ¶
type ArtifactStoreEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (ArtifactStoreEncryptionKeyAttributes) Id ¶
func (ek ArtifactStoreEncryptionKeyAttributes) Id() terra.StringValue
func (ArtifactStoreEncryptionKeyAttributes) InternalRef ¶
func (ek ArtifactStoreEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (ArtifactStoreEncryptionKeyAttributes) InternalTokens ¶
func (ek ArtifactStoreEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArtifactStoreEncryptionKeyAttributes) InternalWithRef ¶
func (ek ArtifactStoreEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) ArtifactStoreEncryptionKeyAttributes
func (ArtifactStoreEncryptionKeyAttributes) Type ¶
func (ek ArtifactStoreEncryptionKeyAttributes) Type() terra.StringValue
type ArtifactStoreState ¶
type ArtifactStoreState struct { Location string `json:"location"` Region string `json:"region"` Type string `json:"type"` EncryptionKey []ArtifactStoreEncryptionKeyState `json:"encryption_key"` }
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_codepipeline.
func (*Resource) Attributes ¶
func (ac *Resource) Attributes() awsCodepipelineAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ac *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ac *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Stage ¶
type Stage struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StageAction: min=1 Action []StageAction `hcl:"action,block" validate:"min=1"` }
type StageAction ¶
type StageAction struct { // Category: string, required Category terra.StringValue `hcl:"category,attr" validate:"required"` // Configuration: map of string, optional Configuration terra.MapValue[terra.StringValue] `hcl:"configuration,attr"` // InputArtifacts: list of string, optional InputArtifacts terra.ListValue[terra.StringValue] `hcl:"input_artifacts,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // OutputArtifacts: list of string, optional OutputArtifacts terra.ListValue[terra.StringValue] `hcl:"output_artifacts,attr"` // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` // Provider: string, required Provider terra.StringValue `hcl:"provider,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // RunOrder: number, optional RunOrder terra.NumberValue `hcl:"run_order,attr"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type StageActionAttributes ¶
type StageActionAttributes struct {
// contains filtered or unexported fields
}
func (StageActionAttributes) Category ¶
func (a StageActionAttributes) Category() terra.StringValue
func (StageActionAttributes) Configuration ¶
func (a StageActionAttributes) Configuration() terra.MapValue[terra.StringValue]
func (StageActionAttributes) InputArtifacts ¶
func (a StageActionAttributes) InputArtifacts() terra.ListValue[terra.StringValue]
func (StageActionAttributes) InternalRef ¶
func (a StageActionAttributes) InternalRef() (terra.Reference, error)
func (StageActionAttributes) InternalTokens ¶
func (a StageActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageActionAttributes) InternalWithRef ¶
func (a StageActionAttributes) InternalWithRef(ref terra.Reference) StageActionAttributes
func (StageActionAttributes) Name ¶
func (a StageActionAttributes) Name() terra.StringValue
func (StageActionAttributes) Namespace ¶
func (a StageActionAttributes) Namespace() terra.StringValue
func (StageActionAttributes) OutputArtifacts ¶
func (a StageActionAttributes) OutputArtifacts() terra.ListValue[terra.StringValue]
func (StageActionAttributes) Owner ¶
func (a StageActionAttributes) Owner() terra.StringValue
func (StageActionAttributes) Provider ¶
func (a StageActionAttributes) Provider() terra.StringValue
func (StageActionAttributes) Region ¶
func (a StageActionAttributes) Region() terra.StringValue
func (StageActionAttributes) RoleArn ¶
func (a StageActionAttributes) RoleArn() terra.StringValue
func (StageActionAttributes) RunOrder ¶
func (a StageActionAttributes) RunOrder() terra.NumberValue
func (StageActionAttributes) Version ¶
func (a StageActionAttributes) Version() terra.StringValue
type StageActionState ¶
type StageActionState struct { Category string `json:"category"` Configuration map[string]string `json:"configuration"` InputArtifacts []string `json:"input_artifacts"` Name string `json:"name"` Namespace string `json:"namespace"` OutputArtifacts []string `json:"output_artifacts"` Owner string `json:"owner"` Provider string `json:"provider"` Region string `json:"region"` RoleArn string `json:"role_arn"` RunOrder float64 `json:"run_order"` Version string `json:"version"` }
type StageAttributes ¶
type StageAttributes struct {
// contains filtered or unexported fields
}
func (StageAttributes) Action ¶
func (s StageAttributes) Action() terra.ListValue[StageActionAttributes]
func (StageAttributes) InternalRef ¶
func (s StageAttributes) InternalRef() (terra.Reference, error)
func (StageAttributes) InternalTokens ¶
func (s StageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StageAttributes) InternalWithRef ¶
func (s StageAttributes) InternalWithRef(ref terra.Reference) StageAttributes
func (StageAttributes) Name ¶
func (s StageAttributes) Name() terra.StringValue
type StageState ¶
type StageState struct { Name string `json:"name"` Action []StageActionState `json:"action"` }
Click to show internal directories.
Click to hide internal directories.