Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
func (Emitter) EmitRootPropertiesSchema ¶
EmitRootPropertiesSchema generates the Terraform Plugin SDK code for a CloudFormation root schema and emits the generated code to the emitter's Writer. Code features are returned. The root schema is the map of root property names to Attributes.
type Features ¶
type Features struct { HasIDRootProperty bool // Has a root property named "id". HasRequiredRootProperty bool // At least one root property is required. HasUpdatableProperty bool // At least one property can be updated. HasValidator bool // At least one validator. UsesFrameworkTypes bool // Uses a type from the terraform-plugin-framework/types package. UsesInternalValidate bool // Uses a type or function from the internal/validate package. UsesRegexpInValidation bool // Uses a type from the Go standard regexp package for attribute validation. FrameworkPlanModifierPackages []string // Package names for any terraform-plugin-framework plan modifiers. May contain duplicates. FrameworkValidatorsPackages []string // Package names for any terraform-plugin-framework-validators validators. May contain duplicates. }
Features of the emitted code.
Click to show internal directories.
Click to hide internal directories.