aws_connect_quick_connect

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceId: string, required
	InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// 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"`
	// QuickConnectConfig: required
	QuickConnectConfig *QuickConnectConfig `hcl:"quick_connect_config,block" validate:"required"`
}

Args contains the configurations for aws_connect_quick_connect.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceId: string, required
	InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// QuickConnectId: string, optional
	QuickConnectId terra.StringValue `hcl:"quick_connect_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_connect_quick_connect.

type DataQuickConnectConfigAttributes

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

func (DataQuickConnectConfigAttributes) InternalRef

func (DataQuickConnectConfigAttributes) InternalTokens

func (qcc DataQuickConnectConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataQuickConnectConfigAttributes) InternalWithRef

func (DataQuickConnectConfigAttributes) PhoneConfig

func (DataQuickConnectConfigAttributes) QueueConfig

func (DataQuickConnectConfigAttributes) QuickConnectType

func (qcc DataQuickConnectConfigAttributes) QuickConnectType() terra.StringValue

func (DataQuickConnectConfigAttributes) UserConfig

type DataQuickConnectConfigPhoneConfigAttributes

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

func (DataQuickConnectConfigPhoneConfigAttributes) InternalRef

func (DataQuickConnectConfigPhoneConfigAttributes) InternalTokens

func (DataQuickConnectConfigPhoneConfigAttributes) InternalWithRef

func (DataQuickConnectConfigPhoneConfigAttributes) PhoneNumber

type DataQuickConnectConfigPhoneConfigState

type DataQuickConnectConfigPhoneConfigState struct {
	PhoneNumber string `json:"phone_number"`
}

type DataQuickConnectConfigQueueConfigAttributes

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

func (DataQuickConnectConfigQueueConfigAttributes) ContactFlowId

func (DataQuickConnectConfigQueueConfigAttributes) InternalRef

func (DataQuickConnectConfigQueueConfigAttributes) InternalTokens

func (DataQuickConnectConfigQueueConfigAttributes) InternalWithRef

func (DataQuickConnectConfigQueueConfigAttributes) QueueId

type DataQuickConnectConfigQueueConfigState

type DataQuickConnectConfigQueueConfigState struct {
	ContactFlowId string `json:"contact_flow_id"`
	QueueId       string `json:"queue_id"`
}

type DataQuickConnectConfigState

type DataQuickConnectConfigState struct {
	QuickConnectType string                                   `json:"quick_connect_type"`
	PhoneConfig      []DataQuickConnectConfigPhoneConfigState `json:"phone_config"`
	QueueConfig      []DataQuickConnectConfigQueueConfigState `json:"queue_config"`
	UserConfig       []DataQuickConnectConfigUserConfigState  `json:"user_config"`
}

type DataQuickConnectConfigUserConfigAttributes

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

func (DataQuickConnectConfigUserConfigAttributes) ContactFlowId

func (DataQuickConnectConfigUserConfigAttributes) InternalRef

func (DataQuickConnectConfigUserConfigAttributes) InternalTokens

func (DataQuickConnectConfigUserConfigAttributes) InternalWithRef

func (DataQuickConnectConfigUserConfigAttributes) UserId

type DataQuickConnectConfigUserConfigState

type DataQuickConnectConfigUserConfigState struct {
	ContactFlowId string `json:"contact_flow_id"`
	UserId        string `json:"user_id"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_connect_quick_connect.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acqc *DataSource) Attributes() dataAwsConnectQuickConnectAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acqc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acqc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type QuickConnectConfig

type QuickConnectConfig struct {
	// QuickConnectType: string, required
	QuickConnectType terra.StringValue `hcl:"quick_connect_type,attr" validate:"required"`
	// QuickConnectConfigPhoneConfig: min=0
	PhoneConfig []QuickConnectConfigPhoneConfig `hcl:"phone_config,block" validate:"min=0"`
	// QuickConnectConfigQueueConfig: min=0
	QueueConfig []QuickConnectConfigQueueConfig `hcl:"queue_config,block" validate:"min=0"`
	// QuickConnectConfigUserConfig: min=0
	UserConfig []QuickConnectConfigUserConfig `hcl:"user_config,block" validate:"min=0"`
}

type QuickConnectConfigAttributes

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

func (QuickConnectConfigAttributes) InternalRef

func (qcc QuickConnectConfigAttributes) InternalRef() (terra.Reference, error)

func (QuickConnectConfigAttributes) InternalTokens

func (qcc QuickConnectConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QuickConnectConfigAttributes) InternalWithRef

func (QuickConnectConfigAttributes) PhoneConfig

func (QuickConnectConfigAttributes) QueueConfig

func (QuickConnectConfigAttributes) QuickConnectType

func (qcc QuickConnectConfigAttributes) QuickConnectType() terra.StringValue

func (QuickConnectConfigAttributes) UserConfig

type QuickConnectConfigPhoneConfig

type QuickConnectConfigPhoneConfig struct {
	// PhoneNumber: string, required
	PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"`
}

type QuickConnectConfigPhoneConfigAttributes

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

func (QuickConnectConfigPhoneConfigAttributes) InternalRef

func (QuickConnectConfigPhoneConfigAttributes) InternalTokens

func (QuickConnectConfigPhoneConfigAttributes) InternalWithRef

func (QuickConnectConfigPhoneConfigAttributes) PhoneNumber

type QuickConnectConfigPhoneConfigState

type QuickConnectConfigPhoneConfigState struct {
	PhoneNumber string `json:"phone_number"`
}

type QuickConnectConfigQueueConfig

type QuickConnectConfigQueueConfig struct {
	// ContactFlowId: string, required
	ContactFlowId terra.StringValue `hcl:"contact_flow_id,attr" validate:"required"`
	// QueueId: string, required
	QueueId terra.StringValue `hcl:"queue_id,attr" validate:"required"`
}

type QuickConnectConfigQueueConfigAttributes

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

func (QuickConnectConfigQueueConfigAttributes) ContactFlowId

func (QuickConnectConfigQueueConfigAttributes) InternalRef

func (QuickConnectConfigQueueConfigAttributes) InternalTokens

func (QuickConnectConfigQueueConfigAttributes) InternalWithRef

func (QuickConnectConfigQueueConfigAttributes) QueueId

type QuickConnectConfigQueueConfigState

type QuickConnectConfigQueueConfigState struct {
	ContactFlowId string `json:"contact_flow_id"`
	QueueId       string `json:"queue_id"`
}

type QuickConnectConfigState

type QuickConnectConfigState struct {
	QuickConnectType string                               `json:"quick_connect_type"`
	PhoneConfig      []QuickConnectConfigPhoneConfigState `json:"phone_config"`
	QueueConfig      []QuickConnectConfigQueueConfigState `json:"queue_config"`
	UserConfig       []QuickConnectConfigUserConfigState  `json:"user_config"`
}

type QuickConnectConfigUserConfig

type QuickConnectConfigUserConfig struct {
	// ContactFlowId: string, required
	ContactFlowId terra.StringValue `hcl:"contact_flow_id,attr" validate:"required"`
	// UserId: string, required
	UserId terra.StringValue `hcl:"user_id,attr" validate:"required"`
}

type QuickConnectConfigUserConfigAttributes

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

func (QuickConnectConfigUserConfigAttributes) ContactFlowId

func (QuickConnectConfigUserConfigAttributes) InternalRef

func (QuickConnectConfigUserConfigAttributes) InternalTokens

func (QuickConnectConfigUserConfigAttributes) InternalWithRef

func (QuickConnectConfigUserConfigAttributes) UserId

type QuickConnectConfigUserConfigState

type QuickConnectConfigUserConfigState struct {
	ContactFlowId string `json:"contact_flow_id"`
	UserId        string `json:"user_id"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acqc *Resource) Attributes() awsConnectQuickConnectAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acqc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acqc *Resource) State() (*awsConnectQuickConnectState, bool)

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

func (*Resource) StateMust

func (acqc *Resource) StateMust() *awsConnectQuickConnectState

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

func (*Resource) Type

func (acqc *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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