aws_opensearch_outbound_connection

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 {
	// AcceptConnection: bool, optional
	AcceptConnection terra.BoolValue `hcl:"accept_connection,attr"`
	// ConnectionAlias: string, required
	ConnectionAlias terra.StringValue `hcl:"connection_alias,attr" validate:"required"`
	// ConnectionMode: string, optional
	ConnectionMode terra.StringValue `hcl:"connection_mode,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ConnectionProperties: optional
	ConnectionProperties *ConnectionProperties `hcl:"connection_properties,block"`
	// LocalDomainInfo: required
	LocalDomainInfo *LocalDomainInfo `hcl:"local_domain_info,block" validate:"required"`
	// RemoteDomainInfo: required
	RemoteDomainInfo *RemoteDomainInfo `hcl:"remote_domain_info,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_opensearch_outbound_connection.

type ConnectionProperties

type ConnectionProperties struct {
	// ConnectionPropertiesCrossClusterSearch: optional
	CrossClusterSearch *ConnectionPropertiesCrossClusterSearch `hcl:"cross_cluster_search,block"`
}

type ConnectionPropertiesAttributes

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

func (ConnectionPropertiesAttributes) CrossClusterSearch

func (ConnectionPropertiesAttributes) Endpoint

func (ConnectionPropertiesAttributes) InternalRef

func (ConnectionPropertiesAttributes) InternalTokens

func (cp ConnectionPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectionPropertiesAttributes) InternalWithRef

type ConnectionPropertiesCrossClusterSearch

type ConnectionPropertiesCrossClusterSearch struct {
	// SkipUnavailable: string, optional
	SkipUnavailable terra.StringValue `hcl:"skip_unavailable,attr"`
}

type ConnectionPropertiesCrossClusterSearchAttributes

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

func (ConnectionPropertiesCrossClusterSearchAttributes) InternalRef

func (ConnectionPropertiesCrossClusterSearchAttributes) InternalTokens

func (ConnectionPropertiesCrossClusterSearchAttributes) InternalWithRef

func (ConnectionPropertiesCrossClusterSearchAttributes) SkipUnavailable

type ConnectionPropertiesCrossClusterSearchState

type ConnectionPropertiesCrossClusterSearchState struct {
	SkipUnavailable string `json:"skip_unavailable"`
}

type ConnectionPropertiesState

type ConnectionPropertiesState struct {
	Endpoint           string                                        `json:"endpoint"`
	CrossClusterSearch []ConnectionPropertiesCrossClusterSearchState `json:"cross_cluster_search"`
}

type LocalDomainInfo

type LocalDomainInfo struct {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// OwnerId: string, required
	OwnerId terra.StringValue `hcl:"owner_id,attr" validate:"required"`
	// Region: string, required
	Region terra.StringValue `hcl:"region,attr" validate:"required"`
}

type LocalDomainInfoAttributes

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

func (LocalDomainInfoAttributes) DomainName

func (ldi LocalDomainInfoAttributes) DomainName() terra.StringValue

func (LocalDomainInfoAttributes) InternalRef

func (ldi LocalDomainInfoAttributes) InternalRef() (terra.Reference, error)

func (LocalDomainInfoAttributes) InternalTokens

func (ldi LocalDomainInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocalDomainInfoAttributes) InternalWithRef

func (LocalDomainInfoAttributes) OwnerId

func (LocalDomainInfoAttributes) Region

type LocalDomainInfoState

type LocalDomainInfoState struct {
	DomainName string `json:"domain_name"`
	OwnerId    string `json:"owner_id"`
	Region     string `json:"region"`
}

type RemoteDomainInfo

type RemoteDomainInfo struct {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// OwnerId: string, required
	OwnerId terra.StringValue `hcl:"owner_id,attr" validate:"required"`
	// Region: string, required
	Region terra.StringValue `hcl:"region,attr" validate:"required"`
}

type RemoteDomainInfoAttributes

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

func (RemoteDomainInfoAttributes) DomainName

func (rdi RemoteDomainInfoAttributes) DomainName() terra.StringValue

func (RemoteDomainInfoAttributes) InternalRef

func (rdi RemoteDomainInfoAttributes) InternalRef() (terra.Reference, error)

func (RemoteDomainInfoAttributes) InternalTokens

func (rdi RemoteDomainInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RemoteDomainInfoAttributes) InternalWithRef

func (RemoteDomainInfoAttributes) OwnerId

func (RemoteDomainInfoAttributes) Region

type RemoteDomainInfoState

type RemoteDomainInfoState struct {
	DomainName string `json:"domain_name"`
	OwnerId    string `json:"owner_id"`
	Region     string `json:"region"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aooc *Resource) Attributes() awsOpensearchOutboundConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aooc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aooc *Resource) State() (*awsOpensearchOutboundConnectionState, bool)

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

func (*Resource) StateMust

func (aooc *Resource) StateMust() *awsOpensearchOutboundConnectionState

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

func (*Resource) Type

func (aooc *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"`
}

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

type TimeoutsState

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

Jump to

Keyboard shortcuts

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