github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/builtin/providers/aws/resource_aws_opsworks_memcached_layer.go (about)

     1  package aws
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/helper/schema"
     5  )
     6  
     7  func resourceAwsOpsworksMemcachedLayer() *schema.Resource {
     8  	layerType := &opsworksLayerType{
     9  		TypeName:         "memcached",
    10  		DefaultLayerName: "Memcached",
    11  
    12  		Attributes: map[string]*opsworksLayerTypeAttribute{
    13  			"allocated_memory": &opsworksLayerTypeAttribute{
    14  				AttrName: "MemcachedMemory",
    15  				Type:     schema.TypeInt,
    16  				Default:  512,
    17  			},
    18  		},
    19  	}
    20  
    21  	return layerType.SchemaResource()
    22  }