aws_elasticsearch_domain

package
v5.45.0 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 AdvancedSecurityOptions

type AdvancedSecurityOptions struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// InternalUserDatabaseEnabled: bool, optional
	InternalUserDatabaseEnabled terra.BoolValue `hcl:"internal_user_database_enabled,attr"`
	// AdvancedSecurityOptionsMasterUserOptions: optional
	MasterUserOptions *AdvancedSecurityOptionsMasterUserOptions `hcl:"master_user_options,block"`
}

type AdvancedSecurityOptionsAttributes

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

func (AdvancedSecurityOptionsAttributes) Enabled

func (AdvancedSecurityOptionsAttributes) InternalRef

func (AdvancedSecurityOptionsAttributes) InternalTokens

func (aso AdvancedSecurityOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedSecurityOptionsAttributes) InternalUserDatabaseEnabled

func (aso AdvancedSecurityOptionsAttributes) InternalUserDatabaseEnabled() terra.BoolValue

func (AdvancedSecurityOptionsAttributes) InternalWithRef

func (AdvancedSecurityOptionsAttributes) MasterUserOptions

type AdvancedSecurityOptionsMasterUserOptions

type AdvancedSecurityOptionsMasterUserOptions struct {
	// MasterUserArn: string, optional
	MasterUserArn terra.StringValue `hcl:"master_user_arn,attr"`
	// MasterUserName: string, optional
	MasterUserName terra.StringValue `hcl:"master_user_name,attr"`
	// MasterUserPassword: string, optional
	MasterUserPassword terra.StringValue `hcl:"master_user_password,attr"`
}

type AdvancedSecurityOptionsMasterUserOptionsAttributes

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

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) InternalRef

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) InternalTokens

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) InternalWithRef

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) MasterUserArn

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) MasterUserName

func (AdvancedSecurityOptionsMasterUserOptionsAttributes) MasterUserPassword

type AdvancedSecurityOptionsMasterUserOptionsState

type AdvancedSecurityOptionsMasterUserOptionsState struct {
	MasterUserArn      string `json:"master_user_arn"`
	MasterUserName     string `json:"master_user_name"`
	MasterUserPassword string `json:"master_user_password"`
}

type AdvancedSecurityOptionsState

type AdvancedSecurityOptionsState struct {
	Enabled                     bool                                            `json:"enabled"`
	InternalUserDatabaseEnabled bool                                            `json:"internal_user_database_enabled"`
	MasterUserOptions           []AdvancedSecurityOptionsMasterUserOptionsState `json:"master_user_options"`
}

type Args

type Args struct {
	// AccessPolicies: string, optional
	AccessPolicies terra.StringValue `hcl:"access_policies,attr"`
	// AdvancedOptions: map of string, optional
	AdvancedOptions terra.MapValue[terra.StringValue] `hcl:"advanced_options,attr"`
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// ElasticsearchVersion: string, optional
	ElasticsearchVersion terra.StringValue `hcl:"elasticsearch_version,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,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"`
	// AdvancedSecurityOptions: optional
	AdvancedSecurityOptions *AdvancedSecurityOptions `hcl:"advanced_security_options,block"`
	// AutoTuneOptions: optional
	AutoTuneOptions *AutoTuneOptions `hcl:"auto_tune_options,block"`
	// ClusterConfig: optional
	ClusterConfig *ClusterConfig `hcl:"cluster_config,block"`
	// CognitoOptions: optional
	CognitoOptions *CognitoOptions `hcl:"cognito_options,block"`
	// DomainEndpointOptions: optional
	DomainEndpointOptions *DomainEndpointOptions `hcl:"domain_endpoint_options,block"`
	// EbsOptions: optional
	EbsOptions *EbsOptions `hcl:"ebs_options,block"`
	// EncryptAtRest: optional
	EncryptAtRest *EncryptAtRest `hcl:"encrypt_at_rest,block"`
	// LogPublishingOptions: min=0
	LogPublishingOptions []LogPublishingOptions `hcl:"log_publishing_options,block" validate:"min=0"`
	// NodeToNodeEncryption: optional
	NodeToNodeEncryption *NodeToNodeEncryption `hcl:"node_to_node_encryption,block"`
	// SnapshotOptions: optional
	SnapshotOptions *SnapshotOptions `hcl:"snapshot_options,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcOptions: optional
	VpcOptions *VpcOptions `hcl:"vpc_options,block"`
}

Args contains the configurations for aws_elasticsearch_domain.

type AutoTuneOptions

type AutoTuneOptions struct {
	// DesiredState: string, required
	DesiredState terra.StringValue `hcl:"desired_state,attr" validate:"required"`
	// RollbackOnDisable: string, optional
	RollbackOnDisable terra.StringValue `hcl:"rollback_on_disable,attr"`
	// AutoTuneOptionsMaintenanceSchedule: min=0
	MaintenanceSchedule []AutoTuneOptionsMaintenanceSchedule `hcl:"maintenance_schedule,block" validate:"min=0"`
}

type AutoTuneOptionsAttributes

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

func (AutoTuneOptionsAttributes) DesiredState

func (ato AutoTuneOptionsAttributes) DesiredState() terra.StringValue

func (AutoTuneOptionsAttributes) InternalRef

func (ato AutoTuneOptionsAttributes) InternalRef() (terra.Reference, error)

func (AutoTuneOptionsAttributes) InternalTokens

func (ato AutoTuneOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoTuneOptionsAttributes) InternalWithRef

func (AutoTuneOptionsAttributes) MaintenanceSchedule

func (AutoTuneOptionsAttributes) RollbackOnDisable

func (ato AutoTuneOptionsAttributes) RollbackOnDisable() terra.StringValue

type AutoTuneOptionsMaintenanceSchedule

type AutoTuneOptionsMaintenanceSchedule struct {
	// CronExpressionForRecurrence: string, required
	CronExpressionForRecurrence terra.StringValue `hcl:"cron_expression_for_recurrence,attr" validate:"required"`
	// StartAt: string, required
	StartAt terra.StringValue `hcl:"start_at,attr" validate:"required"`
	// AutoTuneOptionsMaintenanceScheduleDuration: required
	Duration *AutoTuneOptionsMaintenanceScheduleDuration `hcl:"duration,block" validate:"required"`
}

type AutoTuneOptionsMaintenanceScheduleAttributes

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

func (AutoTuneOptionsMaintenanceScheduleAttributes) CronExpressionForRecurrence

func (ms AutoTuneOptionsMaintenanceScheduleAttributes) CronExpressionForRecurrence() terra.StringValue

func (AutoTuneOptionsMaintenanceScheduleAttributes) Duration

func (AutoTuneOptionsMaintenanceScheduleAttributes) InternalRef

func (AutoTuneOptionsMaintenanceScheduleAttributes) InternalTokens

func (AutoTuneOptionsMaintenanceScheduleAttributes) InternalWithRef

func (AutoTuneOptionsMaintenanceScheduleAttributes) StartAt

type AutoTuneOptionsMaintenanceScheduleDuration

type AutoTuneOptionsMaintenanceScheduleDuration struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type AutoTuneOptionsMaintenanceScheduleDurationAttributes

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

func (AutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalRef

func (AutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalTokens

func (AutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalWithRef

func (AutoTuneOptionsMaintenanceScheduleDurationAttributes) Unit

func (AutoTuneOptionsMaintenanceScheduleDurationAttributes) Value

type AutoTuneOptionsMaintenanceScheduleDurationState

type AutoTuneOptionsMaintenanceScheduleDurationState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type AutoTuneOptionsMaintenanceScheduleState

type AutoTuneOptionsMaintenanceScheduleState struct {
	CronExpressionForRecurrence string                                            `json:"cron_expression_for_recurrence"`
	StartAt                     string                                            `json:"start_at"`
	Duration                    []AutoTuneOptionsMaintenanceScheduleDurationState `json:"duration"`
}

type AutoTuneOptionsState

type AutoTuneOptionsState struct {
	DesiredState        string                                    `json:"desired_state"`
	RollbackOnDisable   string                                    `json:"rollback_on_disable"`
	MaintenanceSchedule []AutoTuneOptionsMaintenanceScheduleState `json:"maintenance_schedule"`
}

type ClusterConfig

type ClusterConfig struct {
	// DedicatedMasterCount: number, optional
	DedicatedMasterCount terra.NumberValue `hcl:"dedicated_master_count,attr"`
	// DedicatedMasterEnabled: bool, optional
	DedicatedMasterEnabled terra.BoolValue `hcl:"dedicated_master_enabled,attr"`
	// DedicatedMasterType: string, optional
	DedicatedMasterType terra.StringValue `hcl:"dedicated_master_type,attr"`
	// InstanceCount: number, optional
	InstanceCount terra.NumberValue `hcl:"instance_count,attr"`
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// WarmCount: number, optional
	WarmCount terra.NumberValue `hcl:"warm_count,attr"`
	// WarmEnabled: bool, optional
	WarmEnabled terra.BoolValue `hcl:"warm_enabled,attr"`
	// WarmType: string, optional
	WarmType terra.StringValue `hcl:"warm_type,attr"`
	// ZoneAwarenessEnabled: bool, optional
	ZoneAwarenessEnabled terra.BoolValue `hcl:"zone_awareness_enabled,attr"`
	// ClusterConfigColdStorageOptions: optional
	ColdStorageOptions *ClusterConfigColdStorageOptions `hcl:"cold_storage_options,block"`
	// ClusterConfigZoneAwarenessConfig: optional
	ZoneAwarenessConfig *ClusterConfigZoneAwarenessConfig `hcl:"zone_awareness_config,block"`
}

type ClusterConfigAttributes

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

func (ClusterConfigAttributes) ColdStorageOptions

func (ClusterConfigAttributes) DedicatedMasterCount

func (cc ClusterConfigAttributes) DedicatedMasterCount() terra.NumberValue

func (ClusterConfigAttributes) DedicatedMasterEnabled

func (cc ClusterConfigAttributes) DedicatedMasterEnabled() terra.BoolValue

func (ClusterConfigAttributes) DedicatedMasterType

func (cc ClusterConfigAttributes) DedicatedMasterType() terra.StringValue

func (ClusterConfigAttributes) InstanceCount

func (cc ClusterConfigAttributes) InstanceCount() terra.NumberValue

func (ClusterConfigAttributes) InstanceType

func (cc ClusterConfigAttributes) InstanceType() terra.StringValue

func (ClusterConfigAttributes) InternalRef

func (cc ClusterConfigAttributes) InternalRef() (terra.Reference, error)

func (ClusterConfigAttributes) InternalTokens

func (cc ClusterConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClusterConfigAttributes) InternalWithRef

func (ClusterConfigAttributes) WarmCount

func (cc ClusterConfigAttributes) WarmCount() terra.NumberValue

func (ClusterConfigAttributes) WarmEnabled

func (cc ClusterConfigAttributes) WarmEnabled() terra.BoolValue

func (ClusterConfigAttributes) WarmType

func (ClusterConfigAttributes) ZoneAwarenessConfig

func (ClusterConfigAttributes) ZoneAwarenessEnabled

func (cc ClusterConfigAttributes) ZoneAwarenessEnabled() terra.BoolValue

type ClusterConfigColdStorageOptions

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

type ClusterConfigColdStorageOptionsAttributes

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

func (ClusterConfigColdStorageOptionsAttributes) Enabled

func (ClusterConfigColdStorageOptionsAttributes) InternalRef

func (ClusterConfigColdStorageOptionsAttributes) InternalTokens

func (ClusterConfigColdStorageOptionsAttributes) InternalWithRef

type ClusterConfigColdStorageOptionsState

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

type ClusterConfigState

type ClusterConfigState struct {
	DedicatedMasterCount   float64                                 `json:"dedicated_master_count"`
	DedicatedMasterEnabled bool                                    `json:"dedicated_master_enabled"`
	DedicatedMasterType    string                                  `json:"dedicated_master_type"`
	InstanceCount          float64                                 `json:"instance_count"`
	InstanceType           string                                  `json:"instance_type"`
	WarmCount              float64                                 `json:"warm_count"`
	WarmEnabled            bool                                    `json:"warm_enabled"`
	WarmType               string                                  `json:"warm_type"`
	ZoneAwarenessEnabled   bool                                    `json:"zone_awareness_enabled"`
	ColdStorageOptions     []ClusterConfigColdStorageOptionsState  `json:"cold_storage_options"`
	ZoneAwarenessConfig    []ClusterConfigZoneAwarenessConfigState `json:"zone_awareness_config"`
}

type ClusterConfigZoneAwarenessConfig

type ClusterConfigZoneAwarenessConfig struct {
	// AvailabilityZoneCount: number, optional
	AvailabilityZoneCount terra.NumberValue `hcl:"availability_zone_count,attr"`
}

type ClusterConfigZoneAwarenessConfigAttributes

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

func (ClusterConfigZoneAwarenessConfigAttributes) AvailabilityZoneCount

func (zac ClusterConfigZoneAwarenessConfigAttributes) AvailabilityZoneCount() terra.NumberValue

func (ClusterConfigZoneAwarenessConfigAttributes) InternalRef

func (ClusterConfigZoneAwarenessConfigAttributes) InternalTokens

func (ClusterConfigZoneAwarenessConfigAttributes) InternalWithRef

type ClusterConfigZoneAwarenessConfigState

type ClusterConfigZoneAwarenessConfigState struct {
	AvailabilityZoneCount float64 `json:"availability_zone_count"`
}

type CognitoOptions

type CognitoOptions struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// IdentityPoolId: string, required
	IdentityPoolId terra.StringValue `hcl:"identity_pool_id,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// UserPoolId: string, required
	UserPoolId terra.StringValue `hcl:"user_pool_id,attr" validate:"required"`
}

type CognitoOptionsAttributes

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

func (CognitoOptionsAttributes) Enabled

func (CognitoOptionsAttributes) IdentityPoolId

func (co CognitoOptionsAttributes) IdentityPoolId() terra.StringValue

func (CognitoOptionsAttributes) InternalRef

func (co CognitoOptionsAttributes) InternalRef() (terra.Reference, error)

func (CognitoOptionsAttributes) InternalTokens

func (co CognitoOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CognitoOptionsAttributes) InternalWithRef

func (CognitoOptionsAttributes) RoleArn

func (CognitoOptionsAttributes) UserPoolId

func (co CognitoOptionsAttributes) UserPoolId() terra.StringValue

type CognitoOptionsState

type CognitoOptionsState struct {
	Enabled        bool   `json:"enabled"`
	IdentityPoolId string `json:"identity_pool_id"`
	RoleArn        string `json:"role_arn"`
	UserPoolId     string `json:"user_pool_id"`
}

type DataAdvancedSecurityOptionsAttributes

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

func (DataAdvancedSecurityOptionsAttributes) Enabled

func (DataAdvancedSecurityOptionsAttributes) InternalRef

func (DataAdvancedSecurityOptionsAttributes) InternalTokens

func (DataAdvancedSecurityOptionsAttributes) InternalUserDatabaseEnabled

func (aso DataAdvancedSecurityOptionsAttributes) InternalUserDatabaseEnabled() terra.BoolValue

func (DataAdvancedSecurityOptionsAttributes) InternalWithRef

type DataAdvancedSecurityOptionsState

type DataAdvancedSecurityOptionsState struct {
	Enabled                     bool `json:"enabled"`
	InternalUserDatabaseEnabled bool `json:"internal_user_database_enabled"`
}

type DataArgs

type DataArgs struct {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_elasticsearch_domain.

type DataAutoTuneOptionsAttributes

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

func (DataAutoTuneOptionsAttributes) DesiredState

func (ato DataAutoTuneOptionsAttributes) DesiredState() terra.StringValue

func (DataAutoTuneOptionsAttributes) InternalRef

func (ato DataAutoTuneOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataAutoTuneOptionsAttributes) InternalTokens

func (ato DataAutoTuneOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAutoTuneOptionsAttributes) InternalWithRef

func (DataAutoTuneOptionsAttributes) MaintenanceSchedule

func (DataAutoTuneOptionsAttributes) RollbackOnDisable

func (ato DataAutoTuneOptionsAttributes) RollbackOnDisable() terra.StringValue

type DataAutoTuneOptionsMaintenanceScheduleAttributes

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

func (DataAutoTuneOptionsMaintenanceScheduleAttributes) CronExpressionForRecurrence

func (ms DataAutoTuneOptionsMaintenanceScheduleAttributes) CronExpressionForRecurrence() terra.StringValue

func (DataAutoTuneOptionsMaintenanceScheduleAttributes) InternalRef

func (DataAutoTuneOptionsMaintenanceScheduleAttributes) InternalTokens

func (DataAutoTuneOptionsMaintenanceScheduleAttributes) InternalWithRef

func (DataAutoTuneOptionsMaintenanceScheduleAttributes) StartAt

type DataAutoTuneOptionsMaintenanceScheduleDurationAttributes

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

func (DataAutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalRef

func (DataAutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalTokens

func (DataAutoTuneOptionsMaintenanceScheduleDurationAttributes) InternalWithRef

func (DataAutoTuneOptionsMaintenanceScheduleDurationAttributes) Unit

func (DataAutoTuneOptionsMaintenanceScheduleDurationAttributes) Value

type DataAutoTuneOptionsMaintenanceScheduleDurationState

type DataAutoTuneOptionsMaintenanceScheduleDurationState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type DataAutoTuneOptionsMaintenanceScheduleState

type DataAutoTuneOptionsMaintenanceScheduleState struct {
	CronExpressionForRecurrence string                                                `json:"cron_expression_for_recurrence"`
	StartAt                     string                                                `json:"start_at"`
	Duration                    []DataAutoTuneOptionsMaintenanceScheduleDurationState `json:"duration"`
}

type DataAutoTuneOptionsState

type DataAutoTuneOptionsState struct {
	DesiredState        string                                        `json:"desired_state"`
	RollbackOnDisable   string                                        `json:"rollback_on_disable"`
	MaintenanceSchedule []DataAutoTuneOptionsMaintenanceScheduleState `json:"maintenance_schedule"`
}

type DataClusterConfigAttributes

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

func (DataClusterConfigAttributes) ColdStorageOptions

func (DataClusterConfigAttributes) DedicatedMasterCount

func (cc DataClusterConfigAttributes) DedicatedMasterCount() terra.NumberValue

func (DataClusterConfigAttributes) DedicatedMasterEnabled

func (cc DataClusterConfigAttributes) DedicatedMasterEnabled() terra.BoolValue

func (DataClusterConfigAttributes) DedicatedMasterType

func (cc DataClusterConfigAttributes) DedicatedMasterType() terra.StringValue

func (DataClusterConfigAttributes) InstanceCount

func (cc DataClusterConfigAttributes) InstanceCount() terra.NumberValue

func (DataClusterConfigAttributes) InstanceType

func (cc DataClusterConfigAttributes) InstanceType() terra.StringValue

func (DataClusterConfigAttributes) InternalRef

func (cc DataClusterConfigAttributes) InternalRef() (terra.Reference, error)

func (DataClusterConfigAttributes) InternalTokens

func (cc DataClusterConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataClusterConfigAttributes) InternalWithRef

func (DataClusterConfigAttributes) WarmCount

func (DataClusterConfigAttributes) WarmEnabled

func (cc DataClusterConfigAttributes) WarmEnabled() terra.BoolValue

func (DataClusterConfigAttributes) WarmType

func (DataClusterConfigAttributes) ZoneAwarenessConfig

func (DataClusterConfigAttributes) ZoneAwarenessEnabled

func (cc DataClusterConfigAttributes) ZoneAwarenessEnabled() terra.BoolValue

type DataClusterConfigColdStorageOptionsAttributes

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

func (DataClusterConfigColdStorageOptionsAttributes) Enabled

func (DataClusterConfigColdStorageOptionsAttributes) InternalRef

func (DataClusterConfigColdStorageOptionsAttributes) InternalTokens

func (DataClusterConfigColdStorageOptionsAttributes) InternalWithRef

type DataClusterConfigColdStorageOptionsState

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

type DataClusterConfigState

type DataClusterConfigState struct {
	DedicatedMasterCount   float64                                     `json:"dedicated_master_count"`
	DedicatedMasterEnabled bool                                        `json:"dedicated_master_enabled"`
	DedicatedMasterType    string                                      `json:"dedicated_master_type"`
	InstanceCount          float64                                     `json:"instance_count"`
	InstanceType           string                                      `json:"instance_type"`
	WarmCount              float64                                     `json:"warm_count"`
	WarmEnabled            bool                                        `json:"warm_enabled"`
	WarmType               string                                      `json:"warm_type"`
	ZoneAwarenessEnabled   bool                                        `json:"zone_awareness_enabled"`
	ColdStorageOptions     []DataClusterConfigColdStorageOptionsState  `json:"cold_storage_options"`
	ZoneAwarenessConfig    []DataClusterConfigZoneAwarenessConfigState `json:"zone_awareness_config"`
}

type DataClusterConfigZoneAwarenessConfigAttributes

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

func (DataClusterConfigZoneAwarenessConfigAttributes) AvailabilityZoneCount

func (DataClusterConfigZoneAwarenessConfigAttributes) InternalRef

func (DataClusterConfigZoneAwarenessConfigAttributes) InternalTokens

func (DataClusterConfigZoneAwarenessConfigAttributes) InternalWithRef

type DataClusterConfigZoneAwarenessConfigState

type DataClusterConfigZoneAwarenessConfigState struct {
	AvailabilityZoneCount float64 `json:"availability_zone_count"`
}

type DataCognitoOptionsAttributes

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

func (DataCognitoOptionsAttributes) Enabled

func (DataCognitoOptionsAttributes) IdentityPoolId

func (co DataCognitoOptionsAttributes) IdentityPoolId() terra.StringValue

func (DataCognitoOptionsAttributes) InternalRef

func (co DataCognitoOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataCognitoOptionsAttributes) InternalTokens

func (co DataCognitoOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCognitoOptionsAttributes) InternalWithRef

func (DataCognitoOptionsAttributes) RoleArn

func (DataCognitoOptionsAttributes) UserPoolId

type DataCognitoOptionsState

type DataCognitoOptionsState struct {
	Enabled        bool   `json:"enabled"`
	IdentityPoolId string `json:"identity_pool_id"`
	RoleArn        string `json:"role_arn"`
	UserPoolId     string `json:"user_pool_id"`
}

type DataEbsOptionsAttributes

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

func (DataEbsOptionsAttributes) EbsEnabled

func (eo DataEbsOptionsAttributes) EbsEnabled() terra.BoolValue

func (DataEbsOptionsAttributes) InternalRef

func (eo DataEbsOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataEbsOptionsAttributes) InternalTokens

func (eo DataEbsOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEbsOptionsAttributes) InternalWithRef

func (DataEbsOptionsAttributes) Iops

func (DataEbsOptionsAttributes) Throughput

func (eo DataEbsOptionsAttributes) Throughput() terra.NumberValue

func (DataEbsOptionsAttributes) VolumeSize

func (eo DataEbsOptionsAttributes) VolumeSize() terra.NumberValue

func (DataEbsOptionsAttributes) VolumeType

func (eo DataEbsOptionsAttributes) VolumeType() terra.StringValue

type DataEbsOptionsState

type DataEbsOptionsState struct {
	EbsEnabled bool    `json:"ebs_enabled"`
	Iops       float64 `json:"iops"`
	Throughput float64 `json:"throughput"`
	VolumeSize float64 `json:"volume_size"`
	VolumeType string  `json:"volume_type"`
}

type DataEncryptionAtRestAttributes

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

func (DataEncryptionAtRestAttributes) Enabled

func (DataEncryptionAtRestAttributes) InternalRef

func (ear DataEncryptionAtRestAttributes) InternalRef() (terra.Reference, error)

func (DataEncryptionAtRestAttributes) InternalTokens

func (ear DataEncryptionAtRestAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEncryptionAtRestAttributes) InternalWithRef

func (DataEncryptionAtRestAttributes) KmsKeyId

type DataEncryptionAtRestState

type DataEncryptionAtRestState struct {
	Enabled  bool   `json:"enabled"`
	KmsKeyId string `json:"kms_key_id"`
}

type DataLogPublishingOptionsAttributes

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

func (DataLogPublishingOptionsAttributes) CloudwatchLogGroupArn

func (lpo DataLogPublishingOptionsAttributes) CloudwatchLogGroupArn() terra.StringValue

func (DataLogPublishingOptionsAttributes) Enabled

func (DataLogPublishingOptionsAttributes) InternalRef

func (DataLogPublishingOptionsAttributes) InternalTokens

func (lpo DataLogPublishingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLogPublishingOptionsAttributes) InternalWithRef

func (DataLogPublishingOptionsAttributes) LogType

type DataLogPublishingOptionsState

type DataLogPublishingOptionsState struct {
	CloudwatchLogGroupArn string `json:"cloudwatch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogType               string `json:"log_type"`
}

type DataNodeToNodeEncryptionAttributes

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

func (DataNodeToNodeEncryptionAttributes) Enabled

func (DataNodeToNodeEncryptionAttributes) InternalRef

func (DataNodeToNodeEncryptionAttributes) InternalTokens

func (ntne DataNodeToNodeEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNodeToNodeEncryptionAttributes) InternalWithRef

type DataNodeToNodeEncryptionState

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

type DataSnapshotOptionsAttributes

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

func (DataSnapshotOptionsAttributes) AutomatedSnapshotStartHour

func (so DataSnapshotOptionsAttributes) AutomatedSnapshotStartHour() terra.NumberValue

func (DataSnapshotOptionsAttributes) InternalRef

func (so DataSnapshotOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataSnapshotOptionsAttributes) InternalTokens

func (so DataSnapshotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSnapshotOptionsAttributes) InternalWithRef

type DataSnapshotOptionsState

type DataSnapshotOptionsState struct {
	AutomatedSnapshotStartHour float64 `json:"automated_snapshot_start_hour"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_elasticsearch_domain.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aed *DataSource) Attributes() dataAwsElasticsearchDomainAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aed *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aed *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataVpcOptionsAttributes

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

func (DataVpcOptionsAttributes) AvailabilityZones

func (vo DataVpcOptionsAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (DataVpcOptionsAttributes) InternalRef

func (vo DataVpcOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataVpcOptionsAttributes) InternalTokens

func (vo DataVpcOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataVpcOptionsAttributes) InternalWithRef

func (DataVpcOptionsAttributes) SecurityGroupIds

func (vo DataVpcOptionsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (DataVpcOptionsAttributes) SubnetIds

func (DataVpcOptionsAttributes) VpcId

type DataVpcOptionsState

type DataVpcOptionsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	SecurityGroupIds  []string `json:"security_group_ids"`
	SubnetIds         []string `json:"subnet_ids"`
	VpcId             string   `json:"vpc_id"`
}

type DomainEndpointOptions

type DomainEndpointOptions struct {
	// CustomEndpoint: string, optional
	CustomEndpoint terra.StringValue `hcl:"custom_endpoint,attr"`
	// CustomEndpointCertificateArn: string, optional
	CustomEndpointCertificateArn terra.StringValue `hcl:"custom_endpoint_certificate_arn,attr"`
	// CustomEndpointEnabled: bool, optional
	CustomEndpointEnabled terra.BoolValue `hcl:"custom_endpoint_enabled,attr"`
	// EnforceHttps: bool, optional
	EnforceHttps terra.BoolValue `hcl:"enforce_https,attr"`
	// TlsSecurityPolicy: string, optional
	TlsSecurityPolicy terra.StringValue `hcl:"tls_security_policy,attr"`
}

type DomainEndpointOptionsAttributes

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

func (DomainEndpointOptionsAttributes) CustomEndpoint

func (deo DomainEndpointOptionsAttributes) CustomEndpoint() terra.StringValue

func (DomainEndpointOptionsAttributes) CustomEndpointCertificateArn

func (deo DomainEndpointOptionsAttributes) CustomEndpointCertificateArn() terra.StringValue

func (DomainEndpointOptionsAttributes) CustomEndpointEnabled

func (deo DomainEndpointOptionsAttributes) CustomEndpointEnabled() terra.BoolValue

func (DomainEndpointOptionsAttributes) EnforceHttps

func (deo DomainEndpointOptionsAttributes) EnforceHttps() terra.BoolValue

func (DomainEndpointOptionsAttributes) InternalRef

func (DomainEndpointOptionsAttributes) InternalTokens

func (deo DomainEndpointOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DomainEndpointOptionsAttributes) InternalWithRef

func (DomainEndpointOptionsAttributes) TlsSecurityPolicy

func (deo DomainEndpointOptionsAttributes) TlsSecurityPolicy() terra.StringValue

type DomainEndpointOptionsState

type DomainEndpointOptionsState struct {
	CustomEndpoint               string `json:"custom_endpoint"`
	CustomEndpointCertificateArn string `json:"custom_endpoint_certificate_arn"`
	CustomEndpointEnabled        bool   `json:"custom_endpoint_enabled"`
	EnforceHttps                 bool   `json:"enforce_https"`
	TlsSecurityPolicy            string `json:"tls_security_policy"`
}

type EbsOptions

type EbsOptions struct {
	// EbsEnabled: bool, required
	EbsEnabled terra.BoolValue `hcl:"ebs_enabled,attr" validate:"required"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type EbsOptionsAttributes

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

func (EbsOptionsAttributes) EbsEnabled

func (eo EbsOptionsAttributes) EbsEnabled() terra.BoolValue

func (EbsOptionsAttributes) InternalRef

func (eo EbsOptionsAttributes) InternalRef() (terra.Reference, error)

func (EbsOptionsAttributes) InternalTokens

func (eo EbsOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsOptionsAttributes) InternalWithRef

func (eo EbsOptionsAttributes) InternalWithRef(ref terra.Reference) EbsOptionsAttributes

func (EbsOptionsAttributes) Iops

func (EbsOptionsAttributes) Throughput

func (eo EbsOptionsAttributes) Throughput() terra.NumberValue

func (EbsOptionsAttributes) VolumeSize

func (eo EbsOptionsAttributes) VolumeSize() terra.NumberValue

func (EbsOptionsAttributes) VolumeType

func (eo EbsOptionsAttributes) VolumeType() terra.StringValue

type EbsOptionsState

type EbsOptionsState struct {
	EbsEnabled bool    `json:"ebs_enabled"`
	Iops       float64 `json:"iops"`
	Throughput float64 `json:"throughput"`
	VolumeSize float64 `json:"volume_size"`
	VolumeType string  `json:"volume_type"`
}

type EncryptAtRest

type EncryptAtRest struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
}

type EncryptAtRestAttributes

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

func (EncryptAtRestAttributes) Enabled

func (ear EncryptAtRestAttributes) Enabled() terra.BoolValue

func (EncryptAtRestAttributes) InternalRef

func (ear EncryptAtRestAttributes) InternalRef() (terra.Reference, error)

func (EncryptAtRestAttributes) InternalTokens

func (ear EncryptAtRestAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptAtRestAttributes) InternalWithRef

func (EncryptAtRestAttributes) KmsKeyId

func (ear EncryptAtRestAttributes) KmsKeyId() terra.StringValue

type EncryptAtRestState

type EncryptAtRestState struct {
	Enabled  bool   `json:"enabled"`
	KmsKeyId string `json:"kms_key_id"`
}

type LogPublishingOptions

type LogPublishingOptions struct {
	// CloudwatchLogGroupArn: string, required
	CloudwatchLogGroupArn terra.StringValue `hcl:"cloudwatch_log_group_arn,attr" validate:"required"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogType: string, required
	LogType terra.StringValue `hcl:"log_type,attr" validate:"required"`
}

type LogPublishingOptionsAttributes

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

func (LogPublishingOptionsAttributes) CloudwatchLogGroupArn

func (lpo LogPublishingOptionsAttributes) CloudwatchLogGroupArn() terra.StringValue

func (LogPublishingOptionsAttributes) Enabled

func (LogPublishingOptionsAttributes) InternalRef

func (lpo LogPublishingOptionsAttributes) InternalRef() (terra.Reference, error)

func (LogPublishingOptionsAttributes) InternalTokens

func (lpo LogPublishingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogPublishingOptionsAttributes) InternalWithRef

func (LogPublishingOptionsAttributes) LogType

type LogPublishingOptionsState

type LogPublishingOptionsState struct {
	CloudwatchLogGroupArn string `json:"cloudwatch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogType               string `json:"log_type"`
}

type NodeToNodeEncryption

type NodeToNodeEncryption struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type NodeToNodeEncryptionAttributes

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

func (NodeToNodeEncryptionAttributes) Enabled

func (NodeToNodeEncryptionAttributes) InternalRef

func (ntne NodeToNodeEncryptionAttributes) InternalRef() (terra.Reference, error)

func (NodeToNodeEncryptionAttributes) InternalTokens

func (ntne NodeToNodeEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeToNodeEncryptionAttributes) InternalWithRef

type NodeToNodeEncryptionState

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

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aed *Resource) Attributes() awsElasticsearchDomainAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aed *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aed *Resource) State() (*awsElasticsearchDomainState, bool)

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

func (*Resource) StateMust

func (aed *Resource) StateMust() *awsElasticsearchDomainState

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

func (*Resource) Type

func (aed *Resource) Type() string

Type returns the Terraform object type for Resource.

type SnapshotOptions

type SnapshotOptions struct {
	// AutomatedSnapshotStartHour: number, required
	AutomatedSnapshotStartHour terra.NumberValue `hcl:"automated_snapshot_start_hour,attr" validate:"required"`
}

type SnapshotOptionsAttributes

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

func (SnapshotOptionsAttributes) AutomatedSnapshotStartHour

func (so SnapshotOptionsAttributes) AutomatedSnapshotStartHour() terra.NumberValue

func (SnapshotOptionsAttributes) InternalRef

func (so SnapshotOptionsAttributes) InternalRef() (terra.Reference, error)

func (SnapshotOptionsAttributes) InternalTokens

func (so SnapshotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnapshotOptionsAttributes) InternalWithRef

type SnapshotOptionsState

type SnapshotOptionsState struct {
	AutomatedSnapshotStartHour float64 `json:"automated_snapshot_start_hour"`
}

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"`
}

type VpcOptions

type VpcOptions struct {
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
}

type VpcOptionsAttributes

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

func (VpcOptionsAttributes) AvailabilityZones

func (vo VpcOptionsAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (VpcOptionsAttributes) InternalRef

func (vo VpcOptionsAttributes) InternalRef() (terra.Reference, error)

func (VpcOptionsAttributes) InternalTokens

func (vo VpcOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcOptionsAttributes) InternalWithRef

func (vo VpcOptionsAttributes) InternalWithRef(ref terra.Reference) VpcOptionsAttributes

func (VpcOptionsAttributes) SecurityGroupIds

func (vo VpcOptionsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcOptionsAttributes) SubnetIds

func (VpcOptionsAttributes) VpcId

type VpcOptionsState

type VpcOptionsState struct {
	AvailabilityZones []string `json:"availability_zones"`
	SecurityGroupIds  []string `json:"security_group_ids"`
	SubnetIds         []string `json:"subnet_ids"`
	VpcId             string   `json:"vpc_id"`
}

Jump to

Keyboard shortcuts

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