aws_autoscaling_groups

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Names: list of string, optional
	Names terra.ListValue[terra.StringValue] `hcl:"names,attr"`
	// Filter: min=0
	Filter []DataFilter `hcl:"filter,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_autoscaling_groups.

type DataFilter

type DataFilter struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type DataFilterAttributes

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

func (DataFilterAttributes) InternalRef

func (f DataFilterAttributes) InternalRef() (terra.Reference, error)

func (DataFilterAttributes) InternalTokens

func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataFilterAttributes) InternalWithRef

func (DataFilterAttributes) Name

func (DataFilterAttributes) Values

type DataFilterState

type DataFilterState struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_autoscaling_groups.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aag *DataSource) Attributes() dataAwsAutoscalingGroupsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aag *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aag *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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