Documentation ¶
Index ¶
- type Args
- type Config
- type ConfigAttributes
- func (c ConfigAttributes) Day() terra.StringValue
- func (c ConfigAttributes) EndTime() terra.ListValue[ConfigEndTimeAttributes]
- func (c ConfigAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
- func (c ConfigAttributes) StartTime() terra.ListValue[ConfigStartTimeAttributes]
- type ConfigEndTime
- type ConfigEndTimeAttributes
- func (et ConfigEndTimeAttributes) Hours() terra.NumberValue
- func (et ConfigEndTimeAttributes) InternalRef() (terra.Reference, error)
- func (et ConfigEndTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (et ConfigEndTimeAttributes) InternalWithRef(ref terra.Reference) ConfigEndTimeAttributes
- func (et ConfigEndTimeAttributes) Minutes() terra.NumberValue
- type ConfigEndTimeState
- type ConfigStartTime
- type ConfigStartTimeAttributes
- func (st ConfigStartTimeAttributes) Hours() terra.NumberValue
- func (st ConfigStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (st ConfigStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st ConfigStartTimeAttributes) InternalWithRef(ref terra.Reference) ConfigStartTimeAttributes
- func (st ConfigStartTimeAttributes) Minutes() terra.NumberValue
- type ConfigStartTimeState
- type ConfigState
- type DataArgs
- type DataConfigAttributes
- func (c DataConfigAttributes) Day() terra.StringValue
- func (c DataConfigAttributes) EndTime() terra.ListValue[DataConfigEndTimeAttributes]
- func (c DataConfigAttributes) InternalRef() (terra.Reference, error)
- func (c DataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataConfigAttributes) InternalWithRef(ref terra.Reference) DataConfigAttributes
- func (c DataConfigAttributes) StartTime() terra.ListValue[DataConfigStartTimeAttributes]
- type DataConfigEndTimeAttributes
- func (et DataConfigEndTimeAttributes) Hours() terra.NumberValue
- func (et DataConfigEndTimeAttributes) InternalRef() (terra.Reference, error)
- func (et DataConfigEndTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (et DataConfigEndTimeAttributes) InternalWithRef(ref terra.Reference) DataConfigEndTimeAttributes
- func (et DataConfigEndTimeAttributes) Minutes() terra.NumberValue
- type DataConfigEndTimeState
- type DataConfigStartTimeAttributes
- func (st DataConfigStartTimeAttributes) Hours() terra.NumberValue
- func (st DataConfigStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (st DataConfigStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st DataConfigStartTimeAttributes) InternalWithRef(ref terra.Reference) DataConfigStartTimeAttributes
- func (st DataConfigStartTimeAttributes) Minutes() terra.NumberValue
- type DataConfigStartTimeState
- type DataConfigState
- type DataSource
- type Resource
- func (achoo *Resource) Attributes() awsConnectHoursOfOperationAttributes
- func (achoo *Resource) Configuration() interface{}
- func (achoo *Resource) DependOn() terra.Reference
- func (achoo *Resource) Dependencies() terra.Dependencies
- func (achoo *Resource) ImportState(state io.Reader) error
- func (achoo *Resource) LifecycleManagement() *terra.Lifecycle
- func (achoo *Resource) LocalName() string
- func (achoo *Resource) State() (*awsConnectHoursOfOperationState, bool)
- func (achoo *Resource) StateMust() *awsConnectHoursOfOperationState
- func (achoo *Resource) Type() string
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"` // TimeZone: string, required TimeZone terra.StringValue `hcl:"time_zone,attr" validate:"required"` // Config: min=1 Config []Config `hcl:"config,block" validate:"min=1"` }
Args contains the configurations for aws_connect_hours_of_operation.
type Config ¶
type Config struct { // Day: string, required Day terra.StringValue `hcl:"day,attr" validate:"required"` // ConfigEndTime: required EndTime *ConfigEndTime `hcl:"end_time,block" validate:"required"` // ConfigStartTime: required StartTime *ConfigStartTime `hcl:"start_time,block" validate:"required"` }
type ConfigAttributes ¶
type ConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigAttributes) Day ¶
func (c ConfigAttributes) Day() terra.StringValue
func (ConfigAttributes) EndTime ¶
func (c ConfigAttributes) EndTime() terra.ListValue[ConfigEndTimeAttributes]
func (ConfigAttributes) InternalRef ¶
func (c ConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfigAttributes) InternalTokens ¶
func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigAttributes) InternalWithRef ¶
func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
func (ConfigAttributes) StartTime ¶
func (c ConfigAttributes) StartTime() terra.ListValue[ConfigStartTimeAttributes]
type ConfigEndTime ¶
type ConfigEndTime struct { // Hours: number, required Hours terra.NumberValue `hcl:"hours,attr" validate:"required"` // Minutes: number, required Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"` }
type ConfigEndTimeAttributes ¶
type ConfigEndTimeAttributes struct {
// contains filtered or unexported fields
}
func (ConfigEndTimeAttributes) Hours ¶
func (et ConfigEndTimeAttributes) Hours() terra.NumberValue
func (ConfigEndTimeAttributes) InternalRef ¶
func (et ConfigEndTimeAttributes) InternalRef() (terra.Reference, error)
func (ConfigEndTimeAttributes) InternalTokens ¶
func (et ConfigEndTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigEndTimeAttributes) InternalWithRef ¶
func (et ConfigEndTimeAttributes) InternalWithRef(ref terra.Reference) ConfigEndTimeAttributes
func (ConfigEndTimeAttributes) Minutes ¶
func (et ConfigEndTimeAttributes) Minutes() terra.NumberValue
type ConfigEndTimeState ¶
type ConfigStartTime ¶
type ConfigStartTime struct { // Hours: number, required Hours terra.NumberValue `hcl:"hours,attr" validate:"required"` // Minutes: number, required Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"` }
type ConfigStartTimeAttributes ¶
type ConfigStartTimeAttributes struct {
// contains filtered or unexported fields
}
func (ConfigStartTimeAttributes) Hours ¶
func (st ConfigStartTimeAttributes) Hours() terra.NumberValue
func (ConfigStartTimeAttributes) InternalRef ¶
func (st ConfigStartTimeAttributes) InternalRef() (terra.Reference, error)
func (ConfigStartTimeAttributes) InternalTokens ¶
func (st ConfigStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigStartTimeAttributes) InternalWithRef ¶
func (st ConfigStartTimeAttributes) InternalWithRef(ref terra.Reference) ConfigStartTimeAttributes
func (ConfigStartTimeAttributes) Minutes ¶
func (st ConfigStartTimeAttributes) Minutes() terra.NumberValue
type ConfigStartTimeState ¶
type ConfigState ¶
type ConfigState struct { Day string `json:"day"` EndTime []ConfigEndTimeState `json:"end_time"` StartTime []ConfigStartTimeState `json:"start_time"` }
type DataArgs ¶
type DataArgs struct { // HoursOfOperationId: string, optional HoursOfOperationId terra.StringValue `hcl:"hours_of_operation_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, optional Name terra.StringValue `hcl:"name,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_connect_hours_of_operation.
type DataConfigAttributes ¶
type DataConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataConfigAttributes) Day ¶
func (c DataConfigAttributes) Day() terra.StringValue
func (DataConfigAttributes) EndTime ¶
func (c DataConfigAttributes) EndTime() terra.ListValue[DataConfigEndTimeAttributes]
func (DataConfigAttributes) InternalRef ¶
func (c DataConfigAttributes) InternalRef() (terra.Reference, error)
func (DataConfigAttributes) InternalTokens ¶
func (c DataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataConfigAttributes) InternalWithRef ¶
func (c DataConfigAttributes) InternalWithRef(ref terra.Reference) DataConfigAttributes
func (DataConfigAttributes) StartTime ¶
func (c DataConfigAttributes) StartTime() terra.ListValue[DataConfigStartTimeAttributes]
type DataConfigEndTimeAttributes ¶
type DataConfigEndTimeAttributes struct {
// contains filtered or unexported fields
}
func (DataConfigEndTimeAttributes) Hours ¶
func (et DataConfigEndTimeAttributes) Hours() terra.NumberValue
func (DataConfigEndTimeAttributes) InternalRef ¶
func (et DataConfigEndTimeAttributes) InternalRef() (terra.Reference, error)
func (DataConfigEndTimeAttributes) InternalTokens ¶
func (et DataConfigEndTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataConfigEndTimeAttributes) InternalWithRef ¶
func (et DataConfigEndTimeAttributes) InternalWithRef(ref terra.Reference) DataConfigEndTimeAttributes
func (DataConfigEndTimeAttributes) Minutes ¶
func (et DataConfigEndTimeAttributes) Minutes() terra.NumberValue
type DataConfigEndTimeState ¶
type DataConfigStartTimeAttributes ¶
type DataConfigStartTimeAttributes struct {
// contains filtered or unexported fields
}
func (DataConfigStartTimeAttributes) Hours ¶
func (st DataConfigStartTimeAttributes) Hours() terra.NumberValue
func (DataConfigStartTimeAttributes) InternalRef ¶
func (st DataConfigStartTimeAttributes) InternalRef() (terra.Reference, error)
func (DataConfigStartTimeAttributes) InternalTokens ¶
func (st DataConfigStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataConfigStartTimeAttributes) InternalWithRef ¶
func (st DataConfigStartTimeAttributes) InternalWithRef(ref terra.Reference) DataConfigStartTimeAttributes
func (DataConfigStartTimeAttributes) Minutes ¶
func (st DataConfigStartTimeAttributes) Minutes() terra.NumberValue
type DataConfigState ¶
type DataConfigState struct { Day string `json:"day"` EndTime []DataConfigEndTimeState `json:"end_time"` StartTime []DataConfigStartTimeState `json:"start_time"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_connect_hours_of_operation.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (achoo *DataSource) Attributes() dataAwsConnectHoursOfOperationAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (achoo *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (achoo *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (achoo *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_hours_of_operation.
func (*Resource) Attributes ¶
func (achoo *Resource) Attributes() awsConnectHoursOfOperationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (achoo *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (achoo *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.