aws_devopsguru_resource_collection

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 Args

type Args struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Cloudformation: min=0
	Cloudformation []Cloudformation `hcl:"cloudformation,block" validate:"min=0"`
	// Tags: min=0
	Tags []Tags `hcl:"tags,block" validate:"min=0"`
}

Args contains the configurations for aws_devopsguru_resource_collection.

type Cloudformation

type Cloudformation struct {
	// StackNames: list of string, required
	StackNames terra.ListValue[terra.StringValue] `hcl:"stack_names,attr" validate:"required"`
}

type CloudformationAttributes

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

func (CloudformationAttributes) InternalRef

func (c CloudformationAttributes) InternalRef() (terra.Reference, error)

func (CloudformationAttributes) InternalTokens

func (c CloudformationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudformationAttributes) InternalWithRef

func (CloudformationAttributes) StackNames

type CloudformationState

type CloudformationState struct {
	StackNames []string `json:"stack_names"`
}

type DataArgs

type DataArgs struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Cloudformation: min=0
	Cloudformation []DataCloudformation `hcl:"cloudformation,block" validate:"min=0"`
	// Tags: min=0
	Tags []DataTags `hcl:"tags,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_devopsguru_resource_collection.

type DataCloudformation

type DataCloudformation struct{}

type DataCloudformationAttributes

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

func (DataCloudformationAttributes) InternalRef

func (DataCloudformationAttributes) InternalTokens

func (c DataCloudformationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCloudformationAttributes) InternalWithRef

func (DataCloudformationAttributes) StackNames

type DataCloudformationState

type DataCloudformationState struct {
	StackNames []string `json:"stack_names"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_devopsguru_resource_collection.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (adrc *DataSource) Attributes() dataAwsDevopsguruResourceCollectionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (adrc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (adrc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTags

type DataTags struct{}

type DataTagsAttributes

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

func (DataTagsAttributes) AppBoundaryKey

func (t DataTagsAttributes) AppBoundaryKey() terra.StringValue

func (DataTagsAttributes) InternalRef

func (t DataTagsAttributes) InternalRef() (terra.Reference, error)

func (DataTagsAttributes) InternalTokens

func (t DataTagsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTagsAttributes) InternalWithRef

func (t DataTagsAttributes) InternalWithRef(ref terra.Reference) DataTagsAttributes

func (DataTagsAttributes) TagValues

type DataTagsState

type DataTagsState struct {
	AppBoundaryKey string   `json:"app_boundary_key"`
	TagValues      []string `json:"tag_values"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adrc *Resource) Attributes() awsDevopsguruResourceCollectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adrc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adrc *Resource) State() (*awsDevopsguruResourceCollectionState, bool)

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

func (*Resource) StateMust

func (adrc *Resource) StateMust() *awsDevopsguruResourceCollectionState

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

func (*Resource) Type

func (adrc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Tags

type Tags struct {
	// AppBoundaryKey: string, required
	AppBoundaryKey terra.StringValue `hcl:"app_boundary_key,attr" validate:"required"`
	// TagValues: list of string, required
	TagValues terra.ListValue[terra.StringValue] `hcl:"tag_values,attr" validate:"required"`
}

type TagsAttributes

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

func (TagsAttributes) AppBoundaryKey

func (t TagsAttributes) AppBoundaryKey() terra.StringValue

func (TagsAttributes) InternalRef

func (t TagsAttributes) InternalRef() (terra.Reference, error)

func (TagsAttributes) InternalTokens

func (t TagsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TagsAttributes) InternalWithRef

func (t TagsAttributes) InternalWithRef(ref terra.Reference) TagsAttributes

func (TagsAttributes) TagValues

type TagsState

type TagsState struct {
	AppBoundaryKey string   `json:"app_boundary_key"`
	TagValues      []string `json:"tag_values"`
}

Jump to

Keyboard shortcuts

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