code: func (r AWSEFSFileSystem) MarshalJSON() ([]byte, error) {
  	type Properties AWSEFSFileSystem
  	return json.Marshal(&struct {
  		Type           string
  		Properties     Properties
  		DependsOn      []string                `json:"DependsOn,omitempty"`
  		Metadata       map[string]interface{}  `json:"Metadata,omitempty"`
  		DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"`
  	}{
  		Type:           r.AWSCloudFormationType(),
  		Properties:     (Properties)(r),
  		DependsOn:      r._dependsOn,
  		Metadata:       r._metadata,
  		DeletionPolicy: r._deletionPolicy,
  	})
  }
docs: // MarshalJSON is a custom JSON marshalling hook that embeds this object into
  // an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.