/
attribute.go
33 lines (31 loc) · 946 Bytes
/
attribute.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package schema
import (
"github.com/hashicorp/terraform-plugin-framework/internal/fwschema"
)
// Attribute define a value field inside the Schema. Implementations in this
// package include:
// - BoolAttribute
// - Float64Attribute
// - Int64Attribute
// - ListAttribute
// - MapAttribute
// - NumberAttribute
// - ObjectAttribute
// - SetAttribute
// - StringAttribute
//
// Additionally, the NestedAttribute interface extends Attribute with nested
// attributes. Only supported in protocol version 6. Implementations in this
// package include:
// - ListNestedAttribute
// - MapNestedAttribute
// - SetNestedAttribute
// - SingleNestedAttribute
//
// In practitioner configurations, an equals sign (=) is required to set
// the value. [Configuration Reference]
//
// [Configuration Reference]: https://developer.hashicorp.com/terraform/language/syntax/configuration
type Attribute interface {
fwschema.Attribute
}