Documentation ¶
Index ¶
- type DataArgs
- type DataFilter
- type DataFilterAttributes
- func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
- func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
- func (f DataFilterAttributes) Name() terra.StringValue
- func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
- type DataFilterState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // AllAvailabilityZones: bool, optional AllAvailabilityZones terra.BoolValue `hcl:"all_availability_zones,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // State: string, optional State terra.StringValue `hcl:"state,attr"` // ZoneId: string, optional ZoneId terra.StringValue `hcl:"zone_id,attr"` // Filter: min=0 Filter []DataFilter `hcl:"filter,block" validate:"min=0"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_availability_zone.
type DataFilter ¶
type DataFilter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataFilterAttributes ¶
type DataFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataFilterAttributes) InternalRef ¶
func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
func (DataFilterAttributes) InternalTokens ¶
func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFilterAttributes) InternalWithRef ¶
func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
func (DataFilterAttributes) Name ¶
func (f DataFilterAttributes) Name() terra.StringValue
func (DataFilterAttributes) Values ¶
func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
type DataFilterState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_availability_zone.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aaz *DataSource) Attributes() dataAwsAvailabilityZoneAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aaz *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aaz *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aaz *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
Click to show internal directories.
Click to hide internal directories.