Documentation
¶
Index ¶
- type Args
- type Resource
- func (addp *Resource) Attributes() awsDevicefarmDevicePoolAttributes
- func (addp *Resource) Configuration() interface{}
- func (addp *Resource) DependOn() terra.Reference
- func (addp *Resource) Dependencies() terra.Dependencies
- func (addp *Resource) ImportState(state io.Reader) error
- func (addp *Resource) LifecycleManagement() *terra.Lifecycle
- func (addp *Resource) LocalName() string
- func (addp *Resource) State() (*awsDevicefarmDevicePoolState, bool)
- func (addp *Resource) StateMust() *awsDevicefarmDevicePoolState
- func (addp *Resource) Type() string
- type Rule
- type RuleAttributes
- func (r RuleAttributes) Attribute() terra.StringValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Operator() terra.StringValue
- func (r RuleAttributes) Value() terra.StringValue
- type RuleState
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"` // MaxDevices: number, optional MaxDevices terra.NumberValue `hcl:"max_devices,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ProjectArn: string, required ProjectArn terra.StringValue `hcl:"project_arn,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"` // Rule: min=1 Rule []Rule `hcl:"rule,block" validate:"min=1"` }
Args contains the configurations for aws_devicefarm_device_pool.
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_devicefarm_device_pool.
func (*Resource) Attributes ¶
func (addp *Resource) Attributes() awsDevicefarmDevicePoolAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (addp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (addp *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 Rule ¶
type Rule struct { // Attribute: string, optional Attribute terra.StringValue `hcl:"attribute,attr"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) Attribute ¶
func (r RuleAttributes) Attribute() terra.StringValue
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
func (RuleAttributes) Operator ¶
func (r RuleAttributes) Operator() terra.StringValue
func (RuleAttributes) Value ¶
func (r RuleAttributes) Value() terra.StringValue
Click to show internal directories.
Click to hide internal directories.