aws_opsworks_application

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 AppSource

type AppSource struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Revision: string, optional
	Revision terra.StringValue `hcl:"revision,attr"`
	// SshKey: string, optional
	SshKey terra.StringValue `hcl:"ssh_key,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type AppSourceAttributes

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

func (AppSourceAttributes) InternalRef

func (as AppSourceAttributes) InternalRef() (terra.Reference, error)

func (AppSourceAttributes) InternalTokens

func (as AppSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AppSourceAttributes) InternalWithRef

func (as AppSourceAttributes) InternalWithRef(ref terra.Reference) AppSourceAttributes

func (AppSourceAttributes) Password

func (as AppSourceAttributes) Password() terra.StringValue

func (AppSourceAttributes) Revision

func (as AppSourceAttributes) Revision() terra.StringValue

func (AppSourceAttributes) SshKey

func (AppSourceAttributes) Type

func (AppSourceAttributes) Url

func (AppSourceAttributes) Username

func (as AppSourceAttributes) Username() terra.StringValue

type AppSourceState

type AppSourceState struct {
	Password string `json:"password"`
	Revision string `json:"revision"`
	SshKey   string `json:"ssh_key"`
	Type     string `json:"type"`
	Url      string `json:"url"`
	Username string `json:"username"`
}

type Args

type Args struct {
	// AutoBundleOnDeploy: string, optional
	AutoBundleOnDeploy terra.StringValue `hcl:"auto_bundle_on_deploy,attr"`
	// AwsFlowRubySettings: string, optional
	AwsFlowRubySettings terra.StringValue `hcl:"aws_flow_ruby_settings,attr"`
	// DataSourceArn: string, optional
	DataSourceArn terra.StringValue `hcl:"data_source_arn,attr"`
	// DataSourceDatabaseName: string, optional
	DataSourceDatabaseName terra.StringValue `hcl:"data_source_database_name,attr"`
	// DataSourceType: string, optional
	DataSourceType terra.StringValue `hcl:"data_source_type,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DocumentRoot: string, optional
	DocumentRoot terra.StringValue `hcl:"document_root,attr"`
	// Domains: list of string, optional
	Domains terra.ListValue[terra.StringValue] `hcl:"domains,attr"`
	// EnableSsl: bool, optional
	EnableSsl terra.BoolValue `hcl:"enable_ssl,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RailsEnv: string, optional
	RailsEnv terra.StringValue `hcl:"rails_env,attr"`
	// ShortName: string, optional
	ShortName terra.StringValue `hcl:"short_name,attr"`
	// StackId: string, required
	StackId terra.StringValue `hcl:"stack_id,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// AppSource: min=0
	AppSource []AppSource `hcl:"app_source,block" validate:"min=0"`
	// Environment: min=0
	Environment []Environment `hcl:"environment,block" validate:"min=0"`
	// SslConfiguration: min=0
	SslConfiguration []SslConfiguration `hcl:"ssl_configuration,block" validate:"min=0"`
}

Args contains the configurations for aws_opsworks_application.

type Environment

type Environment struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Secure: bool, optional
	Secure terra.BoolValue `hcl:"secure,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type EnvironmentAttributes

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

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) Key

func (EnvironmentAttributes) Secure

func (EnvironmentAttributes) Value

type EnvironmentState

type EnvironmentState struct {
	Key    string `json:"key"`
	Secure bool   `json:"secure"`
	Value  string `json:"value"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aoa *Resource) Attributes() awsOpsworksApplicationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aoa *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aoa *Resource) State() (*awsOpsworksApplicationState, bool)

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

func (*Resource) StateMust

func (aoa *Resource) StateMust() *awsOpsworksApplicationState

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

func (*Resource) Type

func (aoa *Resource) Type() string

Type returns the Terraform object type for Resource.

type SslConfiguration

type SslConfiguration struct {
	// Certificate: string, required
	Certificate terra.StringValue `hcl:"certificate,attr" validate:"required"`
	// Chain: string, optional
	Chain terra.StringValue `hcl:"chain,attr"`
	// PrivateKey: string, required
	PrivateKey terra.StringValue `hcl:"private_key,attr" validate:"required"`
}

type SslConfigurationAttributes

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

func (SslConfigurationAttributes) Certificate

func (sc SslConfigurationAttributes) Certificate() terra.StringValue

func (SslConfigurationAttributes) Chain

func (SslConfigurationAttributes) InternalRef

func (sc SslConfigurationAttributes) InternalRef() (terra.Reference, error)

func (SslConfigurationAttributes) InternalTokens

func (sc SslConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SslConfigurationAttributes) InternalWithRef

func (SslConfigurationAttributes) PrivateKey

type SslConfigurationState

type SslConfigurationState struct {
	Certificate string `json:"certificate"`
	Chain       string `json:"chain"`
	PrivateKey  string `json:"private_key"`
}

Jump to

Keyboard shortcuts

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