aws_dax_cluster

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 {
	// AvailabilityZones: set of string, optional
	AvailabilityZones terra.SetValue[terra.StringValue] `hcl:"availability_zones,attr"`
	// ClusterEndpointEncryptionType: string, optional
	ClusterEndpointEncryptionType terra.StringValue `hcl:"cluster_endpoint_encryption_type,attr"`
	// ClusterName: string, required
	ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// IamRoleArn: string, required
	IamRoleArn terra.StringValue `hcl:"iam_role_arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MaintenanceWindow: string, optional
	MaintenanceWindow terra.StringValue `hcl:"maintenance_window,attr"`
	// NodeType: string, required
	NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"`
	// NotificationTopicArn: string, optional
	NotificationTopicArn terra.StringValue `hcl:"notification_topic_arn,attr"`
	// ParameterGroupName: string, optional
	ParameterGroupName terra.StringValue `hcl:"parameter_group_name,attr"`
	// ReplicationFactor: number, required
	ReplicationFactor terra.NumberValue `hcl:"replication_factor,attr" validate:"required"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetGroupName: string, optional
	SubnetGroupName terra.StringValue `hcl:"subnet_group_name,attr"`
	// 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"`
	// ServerSideEncryption: optional
	ServerSideEncryption *ServerSideEncryption `hcl:"server_side_encryption,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_dax_cluster.

type NodesAttributes

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

func (NodesAttributes) Address

func (n NodesAttributes) Address() terra.StringValue

func (NodesAttributes) AvailabilityZone

func (n NodesAttributes) AvailabilityZone() terra.StringValue

func (NodesAttributes) Id

func (NodesAttributes) InternalRef

func (n NodesAttributes) InternalRef() (terra.Reference, error)

func (NodesAttributes) InternalTokens

func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodesAttributes) InternalWithRef

func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes

func (NodesAttributes) Port

type NodesState

type NodesState struct {
	Address          string  `json:"address"`
	AvailabilityZone string  `json:"availability_zone"`
	Id               string  `json:"id"`
	Port             float64 `json:"port"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adc *Resource) Attributes() awsDaxClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adc *Resource) State() (*awsDaxClusterState, bool)

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

func (*Resource) StateMust

func (adc *Resource) StateMust() *awsDaxClusterState

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

func (*Resource) Type

func (adc *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServerSideEncryption

type ServerSideEncryption struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type ServerSideEncryptionAttributes

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

func (ServerSideEncryptionAttributes) Enabled

func (ServerSideEncryptionAttributes) InternalRef

func (sse ServerSideEncryptionAttributes) InternalRef() (terra.Reference, error)

func (ServerSideEncryptionAttributes) InternalTokens

func (sse ServerSideEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServerSideEncryptionAttributes) InternalWithRef

type ServerSideEncryptionState

type ServerSideEncryptionState struct {
	Enabled bool `json:"enabled"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

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

func (TimeoutsAttributes) InternalTokens

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

func (TimeoutsAttributes) InternalWithRef

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

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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