aws_elasticache_replication_group

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 {
	// ApplyImmediately: bool, optional
	ApplyImmediately terra.BoolValue `hcl:"apply_immediately,attr"`
	// AtRestEncryptionEnabled: bool, optional
	AtRestEncryptionEnabled terra.BoolValue `hcl:"at_rest_encryption_enabled,attr"`
	// AuthToken: string, optional
	AuthToken terra.StringValue `hcl:"auth_token,attr"`
	// AuthTokenUpdateStrategy: string, optional
	AuthTokenUpdateStrategy terra.StringValue `hcl:"auth_token_update_strategy,attr"`
	// AutoMinorVersionUpgrade: string, optional
	AutoMinorVersionUpgrade terra.StringValue `hcl:"auto_minor_version_upgrade,attr"`
	// AutomaticFailoverEnabled: bool, optional
	AutomaticFailoverEnabled terra.BoolValue `hcl:"automatic_failover_enabled,attr"`
	// DataTieringEnabled: bool, optional
	DataTieringEnabled terra.BoolValue `hcl:"data_tiering_enabled,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Engine: string, optional
	Engine terra.StringValue `hcl:"engine,attr"`
	// EngineVersion: string, optional
	EngineVersion terra.StringValue `hcl:"engine_version,attr"`
	// FinalSnapshotIdentifier: string, optional
	FinalSnapshotIdentifier terra.StringValue `hcl:"final_snapshot_identifier,attr"`
	// GlobalReplicationGroupId: string, optional
	GlobalReplicationGroupId terra.StringValue `hcl:"global_replication_group_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpDiscovery: string, optional
	IpDiscovery terra.StringValue `hcl:"ip_discovery,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// MaintenanceWindow: string, optional
	MaintenanceWindow terra.StringValue `hcl:"maintenance_window,attr"`
	// MultiAzEnabled: bool, optional
	MultiAzEnabled terra.BoolValue `hcl:"multi_az_enabled,attr"`
	// NetworkType: string, optional
	NetworkType terra.StringValue `hcl:"network_type,attr"`
	// NodeType: string, optional
	NodeType terra.StringValue `hcl:"node_type,attr"`
	// NotificationTopicArn: string, optional
	NotificationTopicArn terra.StringValue `hcl:"notification_topic_arn,attr"`
	// NumCacheClusters: number, optional
	NumCacheClusters terra.NumberValue `hcl:"num_cache_clusters,attr"`
	// NumNodeGroups: number, optional
	NumNodeGroups terra.NumberValue `hcl:"num_node_groups,attr"`
	// ParameterGroupName: string, optional
	ParameterGroupName terra.StringValue `hcl:"parameter_group_name,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PreferredCacheClusterAzs: list of string, optional
	PreferredCacheClusterAzs terra.ListValue[terra.StringValue] `hcl:"preferred_cache_cluster_azs,attr"`
	// ReplicasPerNodeGroup: number, optional
	ReplicasPerNodeGroup terra.NumberValue `hcl:"replicas_per_node_group,attr"`
	// ReplicationGroupId: string, required
	ReplicationGroupId terra.StringValue `hcl:"replication_group_id,attr" validate:"required"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SecurityGroupNames: set of string, optional
	SecurityGroupNames terra.SetValue[terra.StringValue] `hcl:"security_group_names,attr"`
	// SnapshotArns: set of string, optional
	SnapshotArns terra.SetValue[terra.StringValue] `hcl:"snapshot_arns,attr"`
	// SnapshotName: string, optional
	SnapshotName terra.StringValue `hcl:"snapshot_name,attr"`
	// SnapshotRetentionLimit: number, optional
	SnapshotRetentionLimit terra.NumberValue `hcl:"snapshot_retention_limit,attr"`
	// SnapshotWindow: string, optional
	SnapshotWindow terra.StringValue `hcl:"snapshot_window,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"`
	// TransitEncryptionEnabled: bool, optional
	TransitEncryptionEnabled terra.BoolValue `hcl:"transit_encryption_enabled,attr"`
	// UserGroupIds: set of string, optional
	UserGroupIds terra.SetValue[terra.StringValue] `hcl:"user_group_ids,attr"`
	// LogDeliveryConfiguration: min=0,max=2
	LogDeliveryConfiguration []LogDeliveryConfiguration `hcl:"log_delivery_configuration,block" validate:"min=0,max=2"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_elasticache_replication_group.

type DataArgs

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

DataArgs contains the configurations for aws_elasticache_replication_group.

type DataLogDeliveryConfigurationAttributes

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

func (DataLogDeliveryConfigurationAttributes) Destination

func (DataLogDeliveryConfigurationAttributes) DestinationType

func (DataLogDeliveryConfigurationAttributes) InternalRef

func (DataLogDeliveryConfigurationAttributes) InternalTokens

func (DataLogDeliveryConfigurationAttributes) InternalWithRef

func (DataLogDeliveryConfigurationAttributes) LogFormat

func (DataLogDeliveryConfigurationAttributes) LogType

type DataLogDeliveryConfigurationState

type DataLogDeliveryConfigurationState struct {
	Destination     string `json:"destination"`
	DestinationType string `json:"destination_type"`
	LogFormat       string `json:"log_format"`
	LogType         string `json:"log_type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_elasticache_replication_group.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aerg *DataSource) Attributes() dataAwsElasticacheReplicationGroupAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aerg *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aerg *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type LogDeliveryConfiguration

type LogDeliveryConfiguration struct {
	// Destination: string, required
	Destination terra.StringValue `hcl:"destination,attr" validate:"required"`
	// DestinationType: string, required
	DestinationType terra.StringValue `hcl:"destination_type,attr" validate:"required"`
	// LogFormat: string, required
	LogFormat terra.StringValue `hcl:"log_format,attr" validate:"required"`
	// LogType: string, required
	LogType terra.StringValue `hcl:"log_type,attr" validate:"required"`
}

type LogDeliveryConfigurationAttributes

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

func (LogDeliveryConfigurationAttributes) Destination

func (LogDeliveryConfigurationAttributes) DestinationType

func (LogDeliveryConfigurationAttributes) InternalRef

func (LogDeliveryConfigurationAttributes) InternalTokens

func (ldc LogDeliveryConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogDeliveryConfigurationAttributes) InternalWithRef

func (LogDeliveryConfigurationAttributes) LogFormat

func (LogDeliveryConfigurationAttributes) LogType

type LogDeliveryConfigurationState

type LogDeliveryConfigurationState struct {
	Destination     string `json:"destination"`
	DestinationType string `json:"destination_type"`
	LogFormat       string `json:"log_format"`
	LogType         string `json:"log_type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aerg *Resource) Attributes() awsElasticacheReplicationGroupAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aerg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aerg *Resource) State() (*awsElasticacheReplicationGroupState, bool)

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

func (*Resource) StateMust

func (aerg *Resource) StateMust() *awsElasticacheReplicationGroupState

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

func (*Resource) Type

func (aerg *Resource) Type() string

Type returns the Terraform object type for Resource.

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