Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (aci *Resource) Attributes() awsConnectInstanceAttributes
- func (aci *Resource) Configuration() interface{}
- func (aci *Resource) DependOn() terra.Reference
- func (aci *Resource) Dependencies() terra.Dependencies
- func (aci *Resource) ImportState(state io.Reader) error
- func (aci *Resource) LifecycleManagement() *terra.Lifecycle
- func (aci *Resource) LocalName() string
- func (aci *Resource) State() (*awsConnectInstanceState, bool)
- func (aci *Resource) StateMust() *awsConnectInstanceState
- func (aci *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AutoResolveBestVoicesEnabled: bool, optional AutoResolveBestVoicesEnabled terra.BoolValue `hcl:"auto_resolve_best_voices_enabled,attr"` // ContactFlowLogsEnabled: bool, optional ContactFlowLogsEnabled terra.BoolValue `hcl:"contact_flow_logs_enabled,attr"` // ContactLensEnabled: bool, optional ContactLensEnabled terra.BoolValue `hcl:"contact_lens_enabled,attr"` // DirectoryId: string, optional DirectoryId terra.StringValue `hcl:"directory_id,attr"` // EarlyMediaEnabled: bool, optional EarlyMediaEnabled terra.BoolValue `hcl:"early_media_enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdentityManagementType: string, required IdentityManagementType terra.StringValue `hcl:"identity_management_type,attr" validate:"required"` // InboundCallsEnabled: bool, required InboundCallsEnabled terra.BoolValue `hcl:"inbound_calls_enabled,attr" validate:"required"` // InstanceAlias: string, optional InstanceAlias terra.StringValue `hcl:"instance_alias,attr"` // MultiPartyConferenceEnabled: bool, optional MultiPartyConferenceEnabled terra.BoolValue `hcl:"multi_party_conference_enabled,attr"` // OutboundCallsEnabled: bool, required OutboundCallsEnabled terra.BoolValue `hcl:"outbound_calls_enabled,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_connect_instance.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceAlias: string, optional InstanceAlias terra.StringValue `hcl:"instance_alias,attr"` // InstanceId: string, optional InstanceId terra.StringValue `hcl:"instance_id,attr"` }
DataArgs contains the configurations for aws_connect_instance.
type DataSource ¶
DataSource represents the Terraform data resource aws_connect_instance.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aci *DataSource) Attributes() dataAwsConnectInstanceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aci *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aci *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aci *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_instance.
func (*Resource) Attributes ¶
func (aci *Resource) Attributes() awsConnectInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aci *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aci *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.
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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