aws_elastic_beanstalk_application

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 AppversionLifecycle

type AppversionLifecycle struct {
	// DeleteSourceFromS3: bool, optional
	DeleteSourceFromS3 terra.BoolValue `hcl:"delete_source_from_s3,attr"`
	// MaxAgeInDays: number, optional
	MaxAgeInDays terra.NumberValue `hcl:"max_age_in_days,attr"`
	// MaxCount: number, optional
	MaxCount terra.NumberValue `hcl:"max_count,attr"`
	// ServiceRole: string, required
	ServiceRole terra.StringValue `hcl:"service_role,attr" validate:"required"`
}

type AppversionLifecycleAttributes

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

func (AppversionLifecycleAttributes) DeleteSourceFromS3

func (al AppversionLifecycleAttributes) DeleteSourceFromS3() terra.BoolValue

func (AppversionLifecycleAttributes) InternalRef

func (al AppversionLifecycleAttributes) InternalRef() (terra.Reference, error)

func (AppversionLifecycleAttributes) InternalTokens

func (al AppversionLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AppversionLifecycleAttributes) InternalWithRef

func (AppversionLifecycleAttributes) MaxAgeInDays

func (AppversionLifecycleAttributes) MaxCount

func (AppversionLifecycleAttributes) ServiceRole

type AppversionLifecycleState

type AppversionLifecycleState struct {
	DeleteSourceFromS3 bool    `json:"delete_source_from_s3"`
	MaxAgeInDays       float64 `json:"max_age_in_days"`
	MaxCount           float64 `json:"max_count"`
	ServiceRole        string  `json:"service_role"`
}

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,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"`
	// AppversionLifecycle: optional
	AppversionLifecycle *AppversionLifecycle `hcl:"appversion_lifecycle,block"`
}

Args contains the configurations for aws_elastic_beanstalk_application.

type DataAppversionLifecycleAttributes

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

func (DataAppversionLifecycleAttributes) DeleteSourceFromS3

func (al DataAppversionLifecycleAttributes) DeleteSourceFromS3() terra.BoolValue

func (DataAppversionLifecycleAttributes) InternalRef

func (DataAppversionLifecycleAttributes) InternalTokens

func (al DataAppversionLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAppversionLifecycleAttributes) InternalWithRef

func (DataAppversionLifecycleAttributes) MaxAgeInDays

func (DataAppversionLifecycleAttributes) MaxCount

func (DataAppversionLifecycleAttributes) ServiceRole

type DataAppversionLifecycleState

type DataAppversionLifecycleState struct {
	DeleteSourceFromS3 bool    `json:"delete_source_from_s3"`
	MaxAgeInDays       float64 `json:"max_age_in_days"`
	MaxCount           float64 `json:"max_count"`
	ServiceRole        string  `json:"service_role"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_elastic_beanstalk_application.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_elastic_beanstalk_application.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aeba *DataSource) Attributes() dataAwsElasticBeanstalkApplicationAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aeba *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aeba *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aeba *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aeba *Resource) Attributes() awsElasticBeanstalkApplicationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aeba *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aeba *Resource) State() (*awsElasticBeanstalkApplicationState, bool)

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

func (*Resource) StateMust

func (aeba *Resource) StateMust() *awsElasticBeanstalkApplicationState

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

func (*Resource) Type

func (aeba *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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