Documentation ¶
Index ¶
- type Args
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) Parameters() terra.SetValue[ConfigurationParametersAttributes]
- func (c ConfigurationAttributes) Type() terra.StringValue
- type ConfigurationParameters
- type ConfigurationParametersAttributes
- func (p ConfigurationParametersAttributes) InternalRef() (terra.Reference, error)
- func (p ConfigurationParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ConfigurationParametersAttributes) InternalWithRef(ref terra.Reference) ConfigurationParametersAttributes
- func (p ConfigurationParametersAttributes) Name() terra.StringValue
- func (p ConfigurationParametersAttributes) Values() terra.ListValue[terra.StringValue]
- type ConfigurationParametersState
- type ConfigurationState
- type Resource
- func (arg *Resource) Attributes() awsResourcegroupsGroupAttributes
- func (arg *Resource) Configuration() interface{}
- func (arg *Resource) DependOn() terra.Reference
- func (arg *Resource) Dependencies() terra.Dependencies
- func (arg *Resource) ImportState(state io.Reader) error
- func (arg *Resource) LifecycleManagement() *terra.Lifecycle
- func (arg *Resource) LocalName() string
- func (arg *Resource) State() (*awsResourcegroupsGroupState, bool)
- func (arg *Resource) StateMust() *awsResourcegroupsGroupState
- func (arg *Resource) Type() string
- type ResourceQuery
- type ResourceQueryAttributes
- func (rq ResourceQueryAttributes) InternalRef() (terra.Reference, error)
- func (rq ResourceQueryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rq ResourceQueryAttributes) InternalWithRef(ref terra.Reference) ResourceQueryAttributes
- func (rq ResourceQueryAttributes) Query() terra.StringValue
- func (rq ResourceQueryAttributes) Type() terra.StringValue
- type ResourceQueryState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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"` // 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"` // Configuration: min=0 Configuration []Configuration `hcl:"configuration,block" validate:"min=0"` // ResourceQuery: optional ResourceQuery *ResourceQuery `hcl:"resource_query,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_resourcegroups_group.
type Configuration ¶
type Configuration struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // ConfigurationParameters: min=0 Parameters []ConfigurationParameters `hcl:"parameters,block" validate:"min=0"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) Parameters ¶
func (c ConfigurationAttributes) Parameters() terra.SetValue[ConfigurationParametersAttributes]
func (ConfigurationAttributes) Type ¶
func (c ConfigurationAttributes) Type() terra.StringValue
type ConfigurationParameters ¶
type ConfigurationParameters struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ConfigurationParametersAttributes ¶
type ConfigurationParametersAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationParametersAttributes) InternalRef ¶
func (p ConfigurationParametersAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationParametersAttributes) InternalTokens ¶
func (p ConfigurationParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationParametersAttributes) InternalWithRef ¶
func (p ConfigurationParametersAttributes) InternalWithRef(ref terra.Reference) ConfigurationParametersAttributes
func (ConfigurationParametersAttributes) Name ¶
func (p ConfigurationParametersAttributes) Name() terra.StringValue
func (ConfigurationParametersAttributes) Values ¶
func (p ConfigurationParametersAttributes) Values() terra.ListValue[terra.StringValue]
type ConfigurationState ¶
type ConfigurationState struct { Type string `json:"type"` Parameters []ConfigurationParametersState `json:"parameters"` }
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_resourcegroups_group.
func (*Resource) Attributes ¶
func (arg *Resource) Attributes() awsResourcegroupsGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arg *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 ResourceQuery ¶
type ResourceQuery struct { // Query: string, required Query terra.StringValue `hcl:"query,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type ResourceQueryAttributes ¶
type ResourceQueryAttributes struct {
// contains filtered or unexported fields
}
func (ResourceQueryAttributes) InternalRef ¶
func (rq ResourceQueryAttributes) InternalRef() (terra.Reference, error)
func (ResourceQueryAttributes) InternalTokens ¶
func (rq ResourceQueryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourceQueryAttributes) InternalWithRef ¶
func (rq ResourceQueryAttributes) InternalWithRef(ref terra.Reference) ResourceQueryAttributes
func (ResourceQueryAttributes) Query ¶
func (rq ResourceQueryAttributes) Query() terra.StringValue
func (ResourceQueryAttributes) Type ¶
func (rq ResourceQueryAttributes) Type() terra.StringValue
type ResourceQueryState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() 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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.