aws_connect_user

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 {
	// DirectoryUserId: string, optional
	DirectoryUserId terra.StringValue `hcl:"directory_user_id,attr"`
	// HierarchyGroupId: string, optional
	HierarchyGroupId terra.StringValue `hcl:"hierarchy_group_id,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"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// RoutingProfileId: string, required
	RoutingProfileId terra.StringValue `hcl:"routing_profile_id,attr" validate:"required"`
	// SecurityProfileIds: set of string, required
	SecurityProfileIds terra.SetValue[terra.StringValue] `hcl:"security_profile_ids,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"`
	// IdentityInfo: optional
	IdentityInfo *IdentityInfo `hcl:"identity_info,block"`
	// PhoneConfig: required
	PhoneConfig *PhoneConfig `hcl:"phone_config,block" validate:"required"`
}

Args contains the configurations for aws_connect_user.

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

DataArgs contains the configurations for aws_connect_user.

type DataIdentityInfoAttributes

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

func (DataIdentityInfoAttributes) Email

func (DataIdentityInfoAttributes) FirstName

func (DataIdentityInfoAttributes) InternalRef

func (ii DataIdentityInfoAttributes) InternalRef() (terra.Reference, error)

func (DataIdentityInfoAttributes) InternalTokens

func (ii DataIdentityInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIdentityInfoAttributes) InternalWithRef

func (DataIdentityInfoAttributes) LastName

type DataIdentityInfoState

type DataIdentityInfoState struct {
	Email     string `json:"email"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
}

type DataPhoneConfigAttributes

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

func (DataPhoneConfigAttributes) AfterContactWorkTimeLimit

func (pc DataPhoneConfigAttributes) AfterContactWorkTimeLimit() terra.NumberValue

func (DataPhoneConfigAttributes) AutoAccept

func (pc DataPhoneConfigAttributes) AutoAccept() terra.BoolValue

func (DataPhoneConfigAttributes) DeskPhoneNumber

func (pc DataPhoneConfigAttributes) DeskPhoneNumber() terra.StringValue

func (DataPhoneConfigAttributes) InternalRef

func (pc DataPhoneConfigAttributes) InternalRef() (terra.Reference, error)

func (DataPhoneConfigAttributes) InternalTokens

func (pc DataPhoneConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPhoneConfigAttributes) InternalWithRef

func (DataPhoneConfigAttributes) PhoneType

type DataPhoneConfigState

type DataPhoneConfigState struct {
	AfterContactWorkTimeLimit float64 `json:"after_contact_work_time_limit"`
	AutoAccept                bool    `json:"auto_accept"`
	DeskPhoneNumber           string  `json:"desk_phone_number"`
	PhoneType                 string  `json:"phone_type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_connect_user.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acu *DataSource) Attributes() dataAwsConnectUserAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acu *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acu *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type IdentityInfo

type IdentityInfo struct {
	// Email: string, optional
	Email terra.StringValue `hcl:"email,attr"`
	// FirstName: string, optional
	FirstName terra.StringValue `hcl:"first_name,attr"`
	// LastName: string, optional
	LastName terra.StringValue `hcl:"last_name,attr"`
}

type IdentityInfoAttributes

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

func (IdentityInfoAttributes) Email

func (IdentityInfoAttributes) FirstName

func (ii IdentityInfoAttributes) FirstName() terra.StringValue

func (IdentityInfoAttributes) InternalRef

func (ii IdentityInfoAttributes) InternalRef() (terra.Reference, error)

func (IdentityInfoAttributes) InternalTokens

func (ii IdentityInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IdentityInfoAttributes) InternalWithRef

func (IdentityInfoAttributes) LastName

type IdentityInfoState

type IdentityInfoState struct {
	Email     string `json:"email"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
}

type PhoneConfig

type PhoneConfig struct {
	// AfterContactWorkTimeLimit: number, optional
	AfterContactWorkTimeLimit terra.NumberValue `hcl:"after_contact_work_time_limit,attr"`
	// AutoAccept: bool, optional
	AutoAccept terra.BoolValue `hcl:"auto_accept,attr"`
	// DeskPhoneNumber: string, optional
	DeskPhoneNumber terra.StringValue `hcl:"desk_phone_number,attr"`
	// PhoneType: string, required
	PhoneType terra.StringValue `hcl:"phone_type,attr" validate:"required"`
}

type PhoneConfigAttributes

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

func (PhoneConfigAttributes) AfterContactWorkTimeLimit

func (pc PhoneConfigAttributes) AfterContactWorkTimeLimit() terra.NumberValue

func (PhoneConfigAttributes) AutoAccept

func (pc PhoneConfigAttributes) AutoAccept() terra.BoolValue

func (PhoneConfigAttributes) DeskPhoneNumber

func (pc PhoneConfigAttributes) DeskPhoneNumber() terra.StringValue

func (PhoneConfigAttributes) InternalRef

func (pc PhoneConfigAttributes) InternalRef() (terra.Reference, error)

func (PhoneConfigAttributes) InternalTokens

func (pc PhoneConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PhoneConfigAttributes) InternalWithRef

func (PhoneConfigAttributes) PhoneType

func (pc PhoneConfigAttributes) PhoneType() terra.StringValue

type PhoneConfigState

type PhoneConfigState struct {
	AfterContactWorkTimeLimit float64 `json:"after_contact_work_time_limit"`
	AutoAccept                bool    `json:"auto_accept"`
	DeskPhoneNumber           string  `json:"desk_phone_number"`
	PhoneType                 string  `json:"phone_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_connect_user.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acu *Resource) Attributes() awsConnectUserAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acu *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acu *Resource) State() (*awsConnectUserState, bool)

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

func (*Resource) StateMust

func (acu *Resource) StateMust() *awsConnectUserState

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

func (*Resource) Type

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