aws_appconfig_extension

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 ActionPoint

type ActionPoint struct {
	// Point: string, required
	Point terra.StringValue `hcl:"point,attr" validate:"required"`
	// ActionPointAction: min=1
	Action []ActionPointAction `hcl:"action,block" validate:"min=1"`
}

type ActionPointAction

type ActionPointAction struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type ActionPointActionAttributes

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

func (ActionPointActionAttributes) Description

func (ActionPointActionAttributes) InternalRef

func (a ActionPointActionAttributes) InternalRef() (terra.Reference, error)

func (ActionPointActionAttributes) InternalTokens

func (a ActionPointActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionPointActionAttributes) InternalWithRef

func (ActionPointActionAttributes) Name

func (ActionPointActionAttributes) RoleArn

func (ActionPointActionAttributes) Uri

type ActionPointActionState

type ActionPointActionState struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	RoleArn     string `json:"role_arn"`
	Uri         string `json:"uri"`
}

type ActionPointAttributes

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

func (ActionPointAttributes) Action

func (ActionPointAttributes) InternalRef

func (ap ActionPointAttributes) InternalRef() (terra.Reference, error)

func (ActionPointAttributes) InternalTokens

func (ap ActionPointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionPointAttributes) InternalWithRef

func (ActionPointAttributes) Point

type ActionPointState

type ActionPointState struct {
	Point  string                   `json:"point"`
	Action []ActionPointActionState `json:"action"`
}

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"`
	// ActionPoint: min=1
	ActionPoint []ActionPoint `hcl:"action_point,block" validate:"min=1"`
	// Parameter: min=0
	Parameter []Parameter `hcl:"parameter,block" validate:"min=0"`
}

Args contains the configurations for aws_appconfig_extension.

type Parameter

type Parameter struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Required: bool, optional
	Required terra.BoolValue `hcl:"required,attr"`
}

type ParameterAttributes

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

func (ParameterAttributes) Description

func (p ParameterAttributes) Description() terra.StringValue

func (ParameterAttributes) InternalRef

func (p ParameterAttributes) InternalRef() (terra.Reference, error)

func (ParameterAttributes) InternalTokens

func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterAttributes) InternalWithRef

func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes

func (ParameterAttributes) Name

func (ParameterAttributes) Required

func (p ParameterAttributes) Required() terra.BoolValue

type ParameterState

type ParameterState struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	Required    bool   `json:"required"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aae *Resource) Attributes() awsAppconfigExtensionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aae *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aae *Resource) State() (*awsAppconfigExtensionState, bool)

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

func (*Resource) StateMust

func (aae *Resource) StateMust() *awsAppconfigExtensionState

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

func (*Resource) Type

func (aae *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