aws_cloudsearch_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 Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MultiAz: bool, optional
	MultiAz terra.BoolValue `hcl:"multi_az,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// EndpointOptions: optional
	EndpointOptions *EndpointOptions `hcl:"endpoint_options,block"`
	// IndexField: min=0
	IndexField []IndexField `hcl:"index_field,block" validate:"min=0"`
	// ScalingParameters: optional
	ScalingParameters *ScalingParameters `hcl:"scaling_parameters,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_cloudsearch_domain.

type EndpointOptions

type EndpointOptions struct {
	// EnforceHttps: bool, optional
	EnforceHttps terra.BoolValue `hcl:"enforce_https,attr"`
	// TlsSecurityPolicy: string, optional
	TlsSecurityPolicy terra.StringValue `hcl:"tls_security_policy,attr"`
}

type EndpointOptionsAttributes

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

func (EndpointOptionsAttributes) EnforceHttps

func (eo EndpointOptionsAttributes) EnforceHttps() terra.BoolValue

func (EndpointOptionsAttributes) InternalRef

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

func (EndpointOptionsAttributes) InternalTokens

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

func (EndpointOptionsAttributes) InternalWithRef

func (EndpointOptionsAttributes) TlsSecurityPolicy

func (eo EndpointOptionsAttributes) TlsSecurityPolicy() terra.StringValue

type EndpointOptionsState

type EndpointOptionsState struct {
	EnforceHttps      bool   `json:"enforce_https"`
	TlsSecurityPolicy string `json:"tls_security_policy"`
}

type IndexField

type IndexField struct {
	// AnalysisScheme: string, optional
	AnalysisScheme terra.StringValue `hcl:"analysis_scheme,attr"`
	// DefaultValue: string, optional
	DefaultValue terra.StringValue `hcl:"default_value,attr"`
	// Facet: bool, optional
	Facet terra.BoolValue `hcl:"facet,attr"`
	// Highlight: bool, optional
	Highlight terra.BoolValue `hcl:"highlight,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Return: bool, optional
	Return terra.BoolValue `hcl:"return,attr"`
	// Search: bool, optional
	Search terra.BoolValue `hcl:"search,attr"`
	// Sort: bool, optional
	Sort terra.BoolValue `hcl:"sort,attr"`
	// SourceFields: string, optional
	SourceFields terra.StringValue `hcl:"source_fields,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type IndexFieldAttributes

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

func (IndexFieldAttributes) AnalysisScheme

func (_if IndexFieldAttributes) AnalysisScheme() terra.StringValue

func (IndexFieldAttributes) DefaultValue

func (_if IndexFieldAttributes) DefaultValue() terra.StringValue

func (IndexFieldAttributes) Facet

func (_if IndexFieldAttributes) Facet() terra.BoolValue

func (IndexFieldAttributes) Highlight

func (_if IndexFieldAttributes) Highlight() terra.BoolValue

func (IndexFieldAttributes) InternalRef

func (_if IndexFieldAttributes) InternalRef() (terra.Reference, error)

func (IndexFieldAttributes) InternalTokens

func (_if IndexFieldAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexFieldAttributes) InternalWithRef

func (_if IndexFieldAttributes) InternalWithRef(ref terra.Reference) IndexFieldAttributes

func (IndexFieldAttributes) Name

func (IndexFieldAttributes) Return

func (_if IndexFieldAttributes) Return() terra.BoolValue

func (IndexFieldAttributes) Search

func (_if IndexFieldAttributes) Search() terra.BoolValue

func (IndexFieldAttributes) Sort

func (IndexFieldAttributes) SourceFields

func (_if IndexFieldAttributes) SourceFields() terra.StringValue

func (IndexFieldAttributes) Type

type IndexFieldState

type IndexFieldState struct {
	AnalysisScheme string `json:"analysis_scheme"`
	DefaultValue   string `json:"default_value"`
	Facet          bool   `json:"facet"`
	Highlight      bool   `json:"highlight"`
	Name           string `json:"name"`
	Return         bool   `json:"return"`
	Search         bool   `json:"search"`
	Sort           bool   `json:"sort"`
	SourceFields   string `json:"source_fields"`
	Type           string `json:"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_cloudsearch_domain.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acd *Resource) Attributes() awsCloudsearchDomainAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acd *Resource) State() (*awsCloudsearchDomainState, bool)

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

func (*Resource) StateMust

func (acd *Resource) StateMust() *awsCloudsearchDomainState

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

func (*Resource) Type

func (acd *Resource) Type() string

Type returns the Terraform object type for Resource.

type ScalingParameters

type ScalingParameters struct {
	// DesiredInstanceType: string, optional
	DesiredInstanceType terra.StringValue `hcl:"desired_instance_type,attr"`
	// DesiredPartitionCount: number, optional
	DesiredPartitionCount terra.NumberValue `hcl:"desired_partition_count,attr"`
	// DesiredReplicationCount: number, optional
	DesiredReplicationCount terra.NumberValue `hcl:"desired_replication_count,attr"`
}

type ScalingParametersAttributes

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

func (ScalingParametersAttributes) DesiredInstanceType

func (sp ScalingParametersAttributes) DesiredInstanceType() terra.StringValue

func (ScalingParametersAttributes) DesiredPartitionCount

func (sp ScalingParametersAttributes) DesiredPartitionCount() terra.NumberValue

func (ScalingParametersAttributes) DesiredReplicationCount

func (sp ScalingParametersAttributes) DesiredReplicationCount() terra.NumberValue

func (ScalingParametersAttributes) InternalRef

func (sp ScalingParametersAttributes) InternalRef() (terra.Reference, error)

func (ScalingParametersAttributes) InternalTokens

func (sp ScalingParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScalingParametersAttributes) InternalWithRef

type ScalingParametersState

type ScalingParametersState struct {
	DesiredInstanceType     string  `json:"desired_instance_type"`
	DesiredPartitionCount   float64 `json:"desired_partition_count"`
	DesiredReplicationCount float64 `json:"desired_replication_count"`
}

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