Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( DataSourceType = "DataSource" ResourceType = "Resource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
func NewResource ¶
NewResource creates a Resource type from the corresponding resource's CloudFormation Schema file
type TemplateData ¶
type TemplateData struct {
	AcceptanceTestFunctionPrefix  string
	AttributeNameMap              map[string]string
	CloudFormationTypeName        string
	CreateTimeoutInMinutes        int
	DeleteTimeoutInMinutes        int
	FactoryFunctionName           string
	FrameworkPlanModifierPackages []string
	FrameworkValidatorsPackages   []string
	HasRequiredAttribute          bool
	HasUpdateMethod               bool
	ImportFrameworkTypes          bool
	ImportFrameworkJSONTypes      bool
	ImportFrameworkTimeTypes      bool
	ImportFrameworkValidator      bool
	ImportInternalTypes           bool
	ImportRegexp                  bool
	PackageName                   string
	RootPropertiesSchema          string
	SchemaDescription             string
	SchemaVersion                 int64
	SyntheticIDAttribute          bool
	TerraformTypeName             string
	UpdateTimeoutInMinutes        int
	WriteOnlyPropertyPaths        []string
}
    func GenerateTemplateData ¶ added in v0.69.0
func GenerateTemplateData(ui cli.Ui, cfTypeSchemaFile, resType, tfResourceType, packageName string) (*TemplateData, error)
GenerateTemplateData generates the template body from the Resource constructed from a CloudFormation type's Schema file. This method can be applied to both singular data source and resource types.
 Click to show internal directories. 
   Click to hide internal directories.