aws_connect_routing_profile

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 {
	// DefaultOutboundQueueId: string, required
	DefaultOutboundQueueId terra.StringValue `hcl:"default_outbound_queue_id,attr" validate:"required"`
	// Description: string, required
	Description terra.StringValue `hcl:"description,attr" validate:"required"`
	// 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"`
	// MediaConcurrencies: min=1
	MediaConcurrencies []MediaConcurrencies `hcl:"media_concurrencies,block" validate:"min=1"`
	// QueueConfigs: min=0,max=10
	QueueConfigs []QueueConfigs `hcl:"queue_configs,block" validate:"min=0,max=10"`
}

Args contains the configurations for aws_connect_routing_profile.

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"`
	// RoutingProfileId: string, optional
	RoutingProfileId terra.StringValue `hcl:"routing_profile_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_connect_routing_profile.

type DataMediaConcurrenciesAttributes

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

func (DataMediaConcurrenciesAttributes) Channel

func (DataMediaConcurrenciesAttributes) Concurrency

func (DataMediaConcurrenciesAttributes) InternalRef

func (DataMediaConcurrenciesAttributes) InternalTokens

func (mc DataMediaConcurrenciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataMediaConcurrenciesAttributes) InternalWithRef

type DataMediaConcurrenciesState

type DataMediaConcurrenciesState struct {
	Channel     string  `json:"channel"`
	Concurrency float64 `json:"concurrency"`
}

type DataQueueConfigsAttributes

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

func (DataQueueConfigsAttributes) Channel

func (DataQueueConfigsAttributes) Delay

func (DataQueueConfigsAttributes) InternalRef

func (qc DataQueueConfigsAttributes) InternalRef() (terra.Reference, error)

func (DataQueueConfigsAttributes) InternalTokens

func (qc DataQueueConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataQueueConfigsAttributes) InternalWithRef

func (DataQueueConfigsAttributes) Priority

func (DataQueueConfigsAttributes) QueueArn

func (DataQueueConfigsAttributes) QueueId

func (DataQueueConfigsAttributes) QueueName

type DataQueueConfigsState

type DataQueueConfigsState struct {
	Channel   string  `json:"channel"`
	Delay     float64 `json:"delay"`
	Priority  float64 `json:"priority"`
	QueueArn  string  `json:"queue_arn"`
	QueueId   string  `json:"queue_id"`
	QueueName string  `json:"queue_name"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_connect_routing_profile.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acrp *DataSource) Attributes() dataAwsConnectRoutingProfileAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acrp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acrp *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type MediaConcurrencies

type MediaConcurrencies struct {
	// Channel: string, required
	Channel terra.StringValue `hcl:"channel,attr" validate:"required"`
	// Concurrency: number, required
	Concurrency terra.NumberValue `hcl:"concurrency,attr" validate:"required"`
}

type MediaConcurrenciesAttributes

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

func (MediaConcurrenciesAttributes) Channel

func (MediaConcurrenciesAttributes) Concurrency

func (MediaConcurrenciesAttributes) InternalRef

func (mc MediaConcurrenciesAttributes) InternalRef() (terra.Reference, error)

func (MediaConcurrenciesAttributes) InternalTokens

func (mc MediaConcurrenciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MediaConcurrenciesAttributes) InternalWithRef

type MediaConcurrenciesState

type MediaConcurrenciesState struct {
	Channel     string  `json:"channel"`
	Concurrency float64 `json:"concurrency"`
}

type QueueConfigs

type QueueConfigs struct {
	// Channel: string, required
	Channel terra.StringValue `hcl:"channel,attr" validate:"required"`
	// Delay: number, required
	Delay terra.NumberValue `hcl:"delay,attr" validate:"required"`
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// QueueId: string, required
	QueueId terra.StringValue `hcl:"queue_id,attr" validate:"required"`
}

type QueueConfigsAssociatedAttributes

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

func (QueueConfigsAssociatedAttributes) Channel

func (QueueConfigsAssociatedAttributes) Delay

func (QueueConfigsAssociatedAttributes) InternalRef

func (QueueConfigsAssociatedAttributes) InternalTokens

func (qca QueueConfigsAssociatedAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueueConfigsAssociatedAttributes) InternalWithRef

func (QueueConfigsAssociatedAttributes) Priority

func (QueueConfigsAssociatedAttributes) QueueArn

func (QueueConfigsAssociatedAttributes) QueueId

func (QueueConfigsAssociatedAttributes) QueueName

type QueueConfigsAssociatedState

type QueueConfigsAssociatedState struct {
	Channel   string  `json:"channel"`
	Delay     float64 `json:"delay"`
	Priority  float64 `json:"priority"`
	QueueArn  string  `json:"queue_arn"`
	QueueId   string  `json:"queue_id"`
	QueueName string  `json:"queue_name"`
}

type QueueConfigsAttributes

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

func (QueueConfigsAttributes) Channel

func (QueueConfigsAttributes) Delay

func (QueueConfigsAttributes) InternalRef

func (qc QueueConfigsAttributes) InternalRef() (terra.Reference, error)

func (QueueConfigsAttributes) InternalTokens

func (qc QueueConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueueConfigsAttributes) InternalWithRef

func (QueueConfigsAttributes) Priority

func (QueueConfigsAttributes) QueueArn

func (QueueConfigsAttributes) QueueId

func (QueueConfigsAttributes) QueueName

func (qc QueueConfigsAttributes) QueueName() terra.StringValue

type QueueConfigsState

type QueueConfigsState struct {
	Channel   string  `json:"channel"`
	Delay     float64 `json:"delay"`
	Priority  float64 `json:"priority"`
	QueueArn  string  `json:"queue_arn"`
	QueueId   string  `json:"queue_id"`
	QueueName string  `json:"queue_name"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acrp *Resource) Attributes() awsConnectRoutingProfileAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acrp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acrp *Resource) State() (*awsConnectRoutingProfileState, bool)

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

func (*Resource) StateMust

func (acrp *Resource) StateMust() *awsConnectRoutingProfileState

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

func (*Resource) Type

func (acrp *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